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 #1589 (new defect)

Opened 12 years ago

Last modified 11 years ago

madwifi-0.9.3.2 fails to build with 2.6.23 kernel

Reported by: anonymous Assigned to:
Priority: major Milestone:
Component: madwifi: other Version: v0.9.3.2
Keywords: Cc:
Patch is attached: 0 Pending:

Description

Yesterday I built a 2.6.23 kernel (and today a 2.6.23.1 update) but I can't rebuild madwifi-0.9.3.2 to go with it. Is there some additional kernel option I need to set or is this a known bug. I will try building the latest svn snapshot later...

Checking requirements... ok.
Checking kernel configuration... ok.
/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/madwifi-0.9.3.2 modules
make[1]: Entering directory `/usr/src/linux-2.6.23.1'
  CC [M]  /usr/src/madwifi-0.9.3.2/ath/if_ath.o
  CC [M]  /usr/src/madwifi-0.9.3.2/ath/if_ath_pci.o
cc1: warnings being treated as errors
In file included from /usr/src/madwifi-0.9.3.2/ath/../net80211/if_media.h:45,
                 from /usr/src/madwifi-0.9.3.2/ath/if_ath_pci.c:62:
/usr/src/madwifi-0.9.3.2/ath/../net80211/ieee80211_linux.h:532: warning: 'struct file_operations' declared inside parameter list
/usr/src/madwifi-0.9.3.2/ath/../net80211/ieee80211_linux.h:532: warning: its scope is only this definition or declaration, which is probably not what you want
make[3]: *** [/usr/src/madwifi-0.9.3.2/ath/if_ath_pci.o] Error 1
make[2]: *** [/usr/src/madwifi-0.9.3.2/ath] Error 2
make[1]: *** [_module_/usr/src/madwifi-0.9.3.2] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.23.1'
make: *** [modules] Error 2

Change History

10/16/07 19:19:27 changed by anonymous

Workaround: add an

#include <linux/fs.h>

in ieee80211/ieee80211.h

p.

10/17/07 07:03:54 changed by mrenzmann

This has been fixed in trunk and releases/0.9.3 already, a new release (v0.9.3.3) is on its way.

12/12/07 16:10:19 changed by david.mercier@gmail.com

Err...

It has to be in net80211/ieee80211_linux.h

add #include <linux/fs.h>