MADWIFI - hostapd - IEEE80211_CHAN_BYTES' undeclared

Ashant Chalasani ashant
Wed Sep 7 03:33:28 PDT 2005


Just wanted to report the following, incase someone else faced the same 
problem.

Trying to compile hostapd-0.3.9 for Madwifi-CVS-Snapshot (2005-09-06), I 
got errors of a number of parameters missing in the ieee80211_ioctl.h 
header file...

----
In file included from driver_madwifi.c:27:
../madwifi/net80211/ieee80211_ioctl.h:254: `IEEE80211_CHAN_BYTES' 
undeclared here (not in a function)
../madwifi/net80211/ieee80211_ioctl.h:262: `IEEE80211_CHAN_MAX' 
undeclared here (not in a function)
../madwifi/net80211/ieee80211_ioctl.h:301: `IEEE80211_RATE_MAXSIZE' 
undeclared here (not in a function)
driver_madwifi.c: In function `madwifi_set_ieee8021x':
driver_madwifi.c:297: `IEEE80211_AUTH_AUTO' undeclared (first use in 
this function)
driver_madwifi.c:297: (Each undeclared identifier is reported only once
driver_madwifi.c:297: for each function it appears in.)
driver_madwifi.c:310: `IEEE80211_AUTH_WPA' undeclared (first use in this 
function)
driver_madwifi.c:310: `IEEE80211_AUTH_8021X' undeclared (first use in 
this function)
make: *** [driver_madwifi.o] Error 1
----

The errors are not seen when compiling hostapd-0.4.4 with latest 
snapshot of Madwifi-CVS.

NB: the same errors were also not thrown when compiling hostapd-0.3.9 
with Madwifi-BSD branch from around June/July-2005.

Apparently the BSD branch has since been merged with the main-stream 
Madwifi branch.


----
Ashant Chalasani
http://www.wapsol.de





More information about the Hostap mailing list