Re: [Madwifi-users] Tr: error in compliling madwifi
Status: Beta
Brought to you by:
otaku
From: Pavel R. <pr...@gn...> - 2006-08-11 12:59:57
|
Hello! On Wed, 2006-08-09 at 19:52 +0200, chikh omar wrote: > > then when i do make madwifi i got this error: > > > > In file included from > > > /usr/src/linux-2.4.20-8/include/linux/modversions.h:132, > > from > > /usr/src/linux-2.4.20-8/include/linux/module.h:21, > > from if_ath_pci.c:47: > > > /usr/src/linux-2.4.20-8/include/linux/modules/i386_ksyms.ver:92:1: > > "EISA_bus" redefined > > In file included from > > /usr/src/linux-2.4.20-8/include/linux/prefetch.h:13, > > from > > /usr/src/linux-2.4.20-8/include/linux/list.h:6, > > from > > /usr/src/linux-2.4.20-8/include/linux/module.h:12, > > from if_ath_pci.c:47: > > > /usr/src/linux-2.4.20-8/include/asm/processor.h:267:1: > > this is the location of the previous definition That's some internal inconsistency in the kernel. MadWifi doesn't do anything EISA specific. Search on Google for "EISA_bus redefined" shows that many other drivers cannot be compiled against the 2.4.20-8 kernel. I suggest that you upgrade to the latest kernel from Fedora Legacy. It's a good idea for other reasons too. > > cc1: warnings being treated as errors > > if_ath_pci.c: In function `ath_pci_probe': > > if_ath_pci.c:179: warning: implicit declaration of > > function `alloc_netdev' > > if_ath_pci.c:179: warning: assignment makes pointer > > from integer without a cast I have fixed it in Subversion. You'll still encounter a problem compiling wlan_ccmp, but you can remove it from net80211/Makefile if you don't need CCMP encryption. -- Regards, Pavel Roskin |