Search Linux Wireless

Re: cannot compile compate-wirless snapshots

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux