Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #2412 (new defect)

Opened 11 years ago

make errors - CentOS 5 x64 with kernel 2.6.18-194.el5-x86_64

Reported by: mspector@icwgroup.com Assigned to:
Priority: minor Milestone:
Component: madwifi: other Version: v0.9.4
Keywords: Cc: GCC 4.1.2
Patch is attached: 0 Pending: 0

Description

I'm having an issue with pointer references when I make the project. SInce the wireless driver is the ONLY network interface this machine has, I'm re-typing the relevant output -- so please excuse typos -- I've only had 1 cup of coffee this morning...

I have read thru the FAQ for make, and set my KERNELPATH to /usr/src/kernels/2.6.18-194.el5-x86_64, and set my TARGET to x86_64-elf. make is returning: [root@san8tsvqh1 madwifi-0.9.4]# make info The following settings will be used for compilation: TARGET : x86_64-elf ARCH : x86_64 BUS : PCI KERNELRELEASE: 2.6.18-194.el5 KERNELPATH : /usr/src/kernels/2.6.18-194.el5-x86_64/ KERNELCONF : /usr/src/kernels/2.6.18-194.el5-x86_64//.config KMODPATH : /lib/modules/2.6.18-194.el5/net KMODSUF : ko

[root@san8tsvqh1 madwifi-0.9.4]# make Checking requirements... ok. Checking kernel configuration... ok. make -C /usr/src/kernels/2.6.18-194.el5-x86_64/ SUBDIRS=/root/Desktop/madwifi-0.9.4 modules make[1]: Entering directory `/usr/src/kernels/2.6.18-194.el5-x86_64'

CC [M] /root/Desktop/madwifi-0.9.4/ath/if_ath.o

In file included from <command line>:1: /root/Desktop/madwifi-0.9.4/ath/../include/compat.h:140: error: redefinition of 'skb_end_pointer' include/linux/skbuff.h:416: error: previous definition of 'skb_end_pointer' was here /root/Desktop/madwifi-0.9.4/ath/../include/compat.h:145: error: redefinition of 'skb_tail_pointer' include/linux/skbuff.h:922: error: previous definition of 'skb_tail_pointer' was here /root/Desktop/madwifi-0.9.4/ath/../include/compat.h:150: error: redefinition of 'skb_set_network_header' include/linux/skbuff.h:1127: error: previous definition of 'skb_set_network_header' was here /root/Desktop/madwifi-0.9.4/ath/../include/compat.h:155: error: redefinition of 'skb_reset_network_header' include/linux/skbuff.h:1122: error: previous definition of 'skb_reset_network_header' was here /root/Desktop/madwifi-0.9.4/ath/../include/compat.h:160: error: redefinition of 'skb_mac_header' include/linux/skbuff.h:1142: error: previous definition of 'skb_mac_header' was here /root/Desktop/madwifi-0.9.4/ath/../include/compat.h:165: error: redefinition of 'skb_reset_mac_header' include/linux/skbuff.h:1152: error: previous definition of 'skb_reset_mac_header' was here make[3]: *** /root/Desktop/madwifi-0.9.4/ath/if_ath.o Error 1 make[2]: *** /root/Desktop/madwifi-0.9.4/ath Error 2 make[1]: *** [_module_/root/Desktop/madwifi-0.9.4] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.18-194.el5-x86_64' make: *** [modules] Error 2