* cannot compile compate-wirless snapshots
@ 2009-09-26 2:57 Malte Gell
2009-09-26 10:06 ` Hauke Mehrtens
0 siblings, 1 reply; 8+ messages in thread
From: Malte Gell @ 2009-09-26 2:57 UTC (permalink / raw)
To: linux-wireless
Hello,
actually I can build the stable compat-wirless-2.6.30.ta.bz2 just fine.
But I get make errors, when I try to build the daily snapshot, see below. I
use openSUSE on a 2.6.27 kernel.
Thanx, Malte
2[malte_gell@linux-61r3]12535 04:50~/download/src/wifi/compat-
wireless-2009-09-25> make
make -C /lib/modules/2.6.27.29-0.1-k7/build
M=/home/malte_gell/download/src/wifi/compat-wireless-2009-09-25 modules
make[1]: Entering directory `/usr/src/linux-2.6.27.29-0.1'
CC [M] /home/malte_gell/download/src/wifi/compat-
wireless-2009-09-25/drivers/net/wireless/ath/main.o
In file included from /home/malte_gell/download/src/wifi/compat-
wireless-2009-09-25/include/net/compat.h:19,
from <command-line>:0:
/home/malte_gell/download/src/wifi/compat-
wireless-2009-09-25/include/net/compat-2.6.28.h:152: error: redefinition of
'struct tracepoint'
In file included from /home/malte_gell/download/src/wifi/compat-
wireless-2009-09-25/include/net/compat.h:19,
from <command-line>:0:
/home/malte_gell/download/src/wifi/compat-
wireless-2009-09-25/include/net/compat-2.6.28.h:182:1: warning: "DEFINE_TRACE"
redefined
In file included from include/linux/module.h:19,
from include/linux/textsearch.h:7,
from include/linux/skbuff.h:26,
from /home/malte_gell/download/src/wifi/compat-
wireless-2009-09-25/include/net/compat-2.6.28.h:10,
from /home/malte_gell/download/src/wifi/compat-
wireless-2009-09-25/include/net/compat.h:19,
from <command-line>:0:
include/linux/tracepoint.h:86:1: warning: this is the location of the previous
definition
/home/malte_gell/download/src/wifi/compat-
wireless-2009-09-25/include/net/compat-2.6.28.h:186: error: redefinition of
'tracepoint_update_probe_range'
include/linux/tracepoint.h:100: error: previous definition of
'tracepoint_update_probe_range' was here
make[4]: *** [/home/malte_gell/download/src/wifi/compat-
wireless-2009-09-25/drivers/net/wireless/ath/main.o] Error 1
make[3]: *** [/home/malte_gell/download/src/wifi/compat-
wireless-2009-09-25/drivers/net/wireless/ath] Error 2
make[2]: *** [/home/malte_gell/download/src/wifi/compat-
wireless-2009-09-25/drivers/net/wireless] Error 2
make[1]: *** [_module_/home/malte_gell/download/src/wifi/compat-
wireless-2009-09-25] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.27.29-0.1'
make: *** [modules] Error 2
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: cannot compile compate-wirless snapshots
2009-09-26 2:57 cannot compile compate-wirless snapshots Malte Gell
@ 2009-09-26 10:06 ` Hauke Mehrtens
2009-09-29 8:47 ` Malte Gell
2009-09-29 8:50 ` Malte Gell
0 siblings, 2 replies; 8+ messages in thread
From: Hauke Mehrtens @ 2009-09-26 10:06 UTC (permalink / raw)
To: Malte Gell; +Cc: linux-wireless
[-- Attachment #1: Type: text/plain, Size: 2723 bytes --]
Malte Gell wrote:
> Hello,
>
> actually I can build the stable compat-wirless-2.6.30.ta.bz2 just fine.
>
> But I get make errors, when I try to build the daily snapshot, see below. I
> use openSUSE on a 2.6.27 kernel.
>
> Thanx, Malte
>
>
> 2[malte_gell@linux-61r3]12535 04:50~/download/src/wifi/compat-
> wireless-2009-09-25> make
> make -C /lib/modules/2.6.27.29-0.1-k7/build
> M=/home/malte_gell/download/src/wifi/compat-wireless-2009-09-25 modules
> make[1]: Entering directory `/usr/src/linux-2.6.27.29-0.1'
> CC [M] /home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-25/drivers/net/wireless/ath/main.o
> In file included from /home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-25/include/net/compat.h:19,
> from <command-line>:0:
> /home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-25/include/net/compat-2.6.28.h:152: error: redefinition of
> 'struct tracepoint'
> In file included from /home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-25/include/net/compat.h:19,
> from <command-line>:0:
> /home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-25/include/net/compat-2.6.28.h:182:1: warning: "DEFINE_TRACE"
> redefined
> In file included from include/linux/module.h:19,
> from include/linux/textsearch.h:7,
> from include/linux/skbuff.h:26,
> from /home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-25/include/net/compat-2.6.28.h:10,
> from /home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-25/include/net/compat.h:19,
> from <command-line>:0:
> include/linux/tracepoint.h:86:1: warning: this is the location of the previous
> definition
> /home/malte_gell/download/src/wifi/compat-
> wireless-2009-09-25/include/net/compat-2.6.28.h:186: error: redefinition of
> 'tracepoint_update_probe_range'
> include/linux/tracepoint.h:100: error: previous definition of
> 'tracepoint_update_probe_range' was here
Hi,
what kernel are you using? It looks to me you are using 2.6.27, but the
2.6.27 mainline kernel does *not* contain the tracepoint infrastructure
and include/linux/tracepoint.h, like your kernel. Did you made some big
modifications to your kernel or is it the default openSUSE kernel?
Does this file exists in your installation?
/lib/modules/`uname -r`/build/include/linux/tracepoint.h ?
Compat-wireless checks the kernel version and adds some compat code
based on the things the mainline kernel misses in this version, but this
is not working correctly with kernel, because it looks like it contains
some "bad" modifications.
Hauke
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 898 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: cannot compile compate-wirless snapshots
2009-09-26 10:06 ` Hauke Mehrtens
@ 2009-09-29 8:47 ` Malte Gell
2009-09-29 8:50 ` Malte Gell
1 sibling, 0 replies; 8+ messages in thread
From: Malte Gell @ 2009-09-29 8:47 UTC (permalink / raw)
To: Hauke Mehrtens; +Cc: linux-wireless
Hello, sorry for my late reply....
Hauke Mehrtens <hauke@hauke-m.de> wrote
> Malte Gell wrote:
> > Hello,
> >
> > actually I can build the stable compat-wirless-2.6.30.ta.bz2 just fine.
> >
> > But I get make errors, when I try to build the daily snapshot, see below.
> > I use openSUSE on a 2.6.27 kernel.
> what kernel are you using?
2.6.27.29-0.1 from openSUSE 11.1
> Does this file exists in your installation?
> /lib/modules/`uname -r`/build/include/linux/tracepoint.h ?
Yes ! The kernel tracepoint API is there in openSuSE11.1, but I still cannot
compile compat-wireless-2.6
Besides tracepoint thing, does ar9170us require 2.6.29? As said, tracepoint
does exist in my kernel....
thanx
Malte
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: cannot compile compate-wirless snapshots
2009-09-26 10:06 ` Hauke Mehrtens
2009-09-29 8:47 ` Malte Gell
@ 2009-09-29 8:50 ` Malte Gell
2009-09-29 9:00 ` Hin-Tak Leung
1 sibling, 1 reply; 8+ messages in thread
From: Malte Gell @ 2009-09-29 8:50 UTC (permalink / raw)
To: Hauke Mehrtens; +Cc: linux-wireless
Hauke Mehrtens <hauke@hauke-m.de> wrote
> Does this file exists in your installation?
> /lib/modules/`uname -r`/build/include/linux/tracepoint.h ?
Yes, but, look:
cd /usr/src/linux
grep -i tracepoint .config
# CONFIG_TRACEPOINTS is not set
Do I need to set it to yes?
Malte
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: cannot compile compate-wirless snapshots
2009-09-29 8:50 ` Malte Gell
@ 2009-09-29 9:00 ` Hin-Tak Leung
2009-09-29 18:27 ` Gábor Stefanik
0 siblings, 1 reply; 8+ messages in thread
From: Hin-Tak Leung @ 2009-09-29 9:00 UTC (permalink / raw)
To: Malte Gell; +Cc: Hauke Mehrtens, linux-wireless
On Tue, Sep 29, 2009 at 9:50 AM, Malte Gell <malte.gell@gmx.de> wrote:
>
> Hauke Mehrtens <hauke@hauke-m.de> wrote
>
>
>> Does this file exists in your installation?
>> /lib/modules/`uname -r`/build/include/linux/tracepoint.h ?
>
> Yes, but, look:
>
> cd /usr/src/linux
>
> grep -i tracepoint .config
>
> # CONFIG_TRACEPOINTS is not set
>
> Do I need to set it to yes?
>
> Malte
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
No. You should not manually edit any kernel config file (the
compat-wireless module should be built against a config matching your
running kernel, not a massaged version of it) and what is in
/usr/src/linux is irrelevant , because that is not your running
kernel.
The relevant config is probably /boot/config-`uname -r`, but, please
do *not* modify it.
I already wrote - your best bet is simply deleting all the 'error
redefintion' parts from net/compat-2.6.28.h, since your kernel tree is
somewhere between 2.6.27 and 2.6.28 . (and also delete some part of
net/compat-2.6.28.c when possible later linker error arises).
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: cannot compile compate-wirless snapshots
2009-09-29 9:00 ` Hin-Tak Leung
@ 2009-09-29 18:27 ` Gábor Stefanik
2009-09-29 18:52 ` John W. Linville
2009-09-30 1:19 ` Hin-Tak Leung
0 siblings, 2 replies; 8+ messages in thread
From: Gábor Stefanik @ 2009-09-29 18:27 UTC (permalink / raw)
To: Hin-Tak Leung; +Cc: Malte Gell, Hauke Mehrtens, linux-wireless
On Tue, Sep 29, 2009 at 11:00 AM, Hin-Tak Leung <hintak.leung@gmail.com> wrote:
> On Tue, Sep 29, 2009 at 9:50 AM, Malte Gell <malte.gell@gmx.de> wrote:
>>
>> Hauke Mehrtens <hauke@hauke-m.de> wrote
>>
>>
>>> Does this file exists in your installation?
>>> /lib/modules/`uname -r`/build/include/linux/tracepoint.h ?
>>
>> Yes, but, look:
>>
>> cd /usr/src/linux
>>
>> grep -i tracepoint .config
>>
>> # CONFIG_TRACEPOINTS is not set
>>
>> Do I need to set it to yes?
>>
>> Malte
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>
> No. You should not manually edit any kernel config file (the
> compat-wireless module should be built against a config matching your
> running kernel, not a massaged version of it) and what is in
> /usr/src/linux is irrelevant , because that is not your running
> kernel.
>
> The relevant config is probably /boot/config-`uname -r`, but, please
> do *not* modify it.
>
It should be in /proc/config.gz. (/boot/config-* is an Ubuntuism.)
> I already wrote - your best bet is simply deleting all the 'error
> redefintion' parts from net/compat-2.6.28.h, since your kernel tree is
> somewhere between 2.6.27 and 2.6.28 . (and also delete some part of
> net/compat-2.6.28.c when possible later linker error arises).
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: cannot compile compate-wirless snapshots
2009-09-29 18:27 ` Gábor Stefanik
@ 2009-09-29 18:52 ` John W. Linville
2009-09-30 1:19 ` Hin-Tak Leung
1 sibling, 0 replies; 8+ messages in thread
From: John W. Linville @ 2009-09-29 18:52 UTC (permalink / raw)
To: Gábor Stefanik
Cc: Hin-Tak Leung, Malte Gell, Hauke Mehrtens, linux-wireless
On Tue, Sep 29, 2009 at 08:27:20PM +0200, Gábor Stefanik wrote:
> On Tue, Sep 29, 2009 at 11:00 AM, Hin-Tak Leung <hintak.leung@gmail.com> wrote:
> > The relevant config is probably /boot/config-`uname -r`, but, please
> > do *not* modify it.
> >
>
> It should be in /proc/config.gz. (/boot/config-* is an Ubuntuism.)
No -- it is at least that way in Fedora and RHEL as well.
John
--
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: cannot compile compate-wirless snapshots
2009-09-29 18:27 ` Gábor Stefanik
2009-09-29 18:52 ` John W. Linville
@ 2009-09-30 1:19 ` Hin-Tak Leung
1 sibling, 0 replies; 8+ messages in thread
From: Hin-Tak Leung @ 2009-09-30 1:19 UTC (permalink / raw)
To: Gábor Stefanik; +Cc: Malte Gell, Hauke Mehrtens, linux-wireless
2009/9/29 Gábor Stefanik <netrolller.3d@gmail.com>:
> On Tue, Sep 29, 2009 at 11:00 AM, Hin-Tak Leung <hintak.leung@gmail.com> wrote:
>> The relevant config is probably /boot/config-`uname -r`, but, please
>> do *not* modify it.
>>
>
> It should be in /proc/config.gz. (/boot/config-* is an Ubuntuism.)
John pointed out Fedora & RHEL does /boot/config-* . (and don't
provide /proc/config.gz). I don't know which distro does
/proc/config.gz Obviously neither Ubuntu nor Fedora/RHEL; maybe one of
Mandriva/Debian/Suse?
As a point of interest, /boot also contains the init ramdisk, the
kernel symbol map besides the kernel image (beside some
grub/boot-loader files), so it isn't too much to have another kernel
related file. For the purist, building the kernel to have
self-knowledge of its own config under /proc is a neat thing, but
OTOH, it uses kernel memory to provide what is very static unchanging
info under /proc, which is unwise.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-09-30 1:19 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-26 2:57 cannot compile compate-wirless snapshots Malte Gell
2009-09-26 10:06 ` Hauke Mehrtens
2009-09-29 8:47 ` Malte Gell
2009-09-29 8:50 ` Malte Gell
2009-09-29 9:00 ` Hin-Tak Leung
2009-09-29 18:27 ` Gábor Stefanik
2009-09-29 18:52 ` John W. Linville
2009-09-30 1:19 ` Hin-Tak Leung
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).