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 15 years ago

Last modified 14 years ago

madwifi- 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:


Yesterday I built a 2.6.23 kernel (and today a update) but I can't rebuild madwifi- 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- modules
make[1]: Entering directory `/usr/src/linux-'
  CC [M]  /usr/src/madwifi-
  CC [M]  /usr/src/madwifi-
cc1: warnings being treated as errors
In file included from /usr/src/madwifi-,
                 from /usr/src/madwifi-
/usr/src/madwifi- warning: 'struct file_operations' declared inside parameter list
/usr/src/madwifi- warning: its scope is only this definition or declaration, which is probably not what you want
make[3]: *** [/usr/src/madwifi-] Error 1
make[2]: *** [/usr/src/madwifi-] Error 2
make[1]: *** [_module_/usr/src/madwifi-] Error 2
make[1]: Leaving directory `/usr/src/linux-'
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


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


It has to be in net80211/ieee80211_linux.h

add #include <linux/fs.h>