WPA, Madwifi & kernel 2.6.11

Fredrik Karlsson dargosch
Fri Dec 30 02:03:30 PST 2005


Hi,

Sorry for the cross-post, but I don't know what is causeing this error.
I am trying to install the 0.5.0 version of wpa_supplicant with
madwifi support using a Gentoo ebuild script. What I get is this:

....
i686-pc-linux-gnu-gcc -O3 -pipe -march=athlon-xp -fomit-frame-pointer
-I. -I../utils -I../hostapd -DCONFIG_BACKEND_FILE
-DCONFIG_DRIVER_HOSTAP -DCONFIG_DRIVER_WEXT -DCONFIG_DRIVER_PRISM54
-DCONFIG_DRIVER_MADWIFI -DCONFIG_DRIVER_ATMEL
-DCONFIG_DRIVER_NDISWRAPPER -DCONFIG_DRIVER_IPW -DCONFIG_DRIVER_WIRED
-DEAP_TLS -DEAP_PEAP -DEAP_TTLS -DEAP_MD5 -DEAP_MSCHAPv2 -DEAP_GTC
-DEAP_OTP -DEAP_LEAP -DEAP_PSK -DEAP_TLV -DIEEE8021X_EAPOL
-DEAP_TLS_FUNCS -DPKCS12_FUNCS -DCONFIG_SMARTCARD
-DCONFIG_WIRELESS_EXTENSION -DCONFIG_CTRL_IFACE -DCONFIG_READLINE
-DCONFIG_STAKEY   -c -o driver_madwifi.o driver_madwifi.c
driver_madwifi.c:27:28: include/compat.h: No such file or directory
driver_madwifi.c:28:32: net80211/ieee80211.h: No such file or directory
driver_madwifi.c:34:39: net80211/ieee80211_crypto.h: No such file or directory
driver_madwifi.c:35:38: net80211/ieee80211_ioctl.h: No such file or directory
driver_madwifi.c: In function `set80211priv':
driver_madwifi.c:98: error: `IEEE80211_IOCTL_SETPARAM' undeclared
(first use in this function)
driver_madwifi.c:98: error: (Each undeclared identifier is reported only once
driver_madwifi.c:98: error: for each function it appears in.)
driver_madwifi.c:99: error: `IEEE80211_IOCTL_CHANLIST' undeclared
(first use in this function)
driver_madwifi.c: In function `set80211param':
driver_madwifi.c:139: error: `IEEE80211_IOCTL_SETPARAM' undeclared
(first use in this function)
driver_madwifi.c: In function `wpa_driver_madwifi_set_wpa_ie':
driver_madwifi.c:159: error: `IEEE80211_IOCTL_SETOPTIE' undeclared
(first use in this function)
driver_madwifi.c: In function `wpa_driver_madwifi_del_key':
driver_madwifi.c:170: error: storage size of `wk' isn't known
driver_madwifi.c:176: error: `IEEE80211_ADDR_LEN' undeclared (first
use in this function)
driver_madwifi.c:178: error: `IEEE80211_IOCTL_DELKEY' undeclared
(first use in this function)
driver_madwifi.c: In function `wpa_driver_madwifi_set_key':
driver_madwifi.c:188: error: storage size of `wk' isn't known
driver_madwifi.c:210: error: `IEEE80211_CIPHER_WEP' undeclared (first
use in this function)
driver_madwifi.c:214: error: `IEEE80211_CIPHER_TKIP' undeclared (first
use in this function)
driver_madwifi.c:218: error: `IEEE80211_CIPHER_AES_CCM' undeclared
(first use in this function)
driver_madwifi.c:243: error: `IEEE80211_KEY_RECV' undeclared (first
use in this function)
driver_madwifi.c:246: error: `IEEE80211_KEY_GROUP' undeclared (first
use in this function)
driver_madwifi.c:248: error: `IEEE80211_KEY_XMIT' undeclared (first
use in this function)
driver_madwifi.c:248: error: `IEEE80211_KEY_DEFAULT' undeclared (first
use in this function)
driver_madwifi.c:249: error: `IEEE80211_ADDR_LEN' undeclared (first
use in this function)
driver_madwifi.c:257: error: `IEEE80211_IOCTL_SETKEY' undeclared
(first use in this function)
driver_madwifi.c: In function `wpa_driver_madwifi_set_countermeasures':
driver_madwifi.c:265: error: `IEEE80211_PARAM_COUNTERMEASURES'
undeclared (first use in this function)
driver_madwifi.c: In function `wpa_driver_madwifi_set_drop_unencrypted':
driver_madwifi.c:274: error: `IEEE80211_PARAM_DROPUNENCRYPTED'
undeclared (first use in this function)
driver_madwifi.c: In function `wpa_driver_madwifi_deauthenticate':
driver_madwifi.c:281: error: storage size of `mlme' isn't known
driver_madwifi.c:284: error: `IEEE80211_MLME_DEAUTH' undeclared (first
use in this function)
driver_madwifi.c:286: error: `IEEE80211_ADDR_LEN' undeclared (first
use in this function)
driver_madwifi.c:287: error: `IEEE80211_IOCTL_SETMLME' undeclared
(first use in this function)
driver_madwifi.c: In function `wpa_driver_madwifi_disassociate':
driver_madwifi.c:294: error: storage size of `mlme' isn't known
driver_madwifi.c:297: error: `IEEE80211_MLME_DISASSOC' undeclared
(first use in this function)
driver_madwifi.c:299: error: `IEEE80211_ADDR_LEN' undeclared (first
use in this function)
driver_madwifi.c:300: error: `IEEE80211_IOCTL_SETMLME' undeclared
(first use in this function)
driver_madwifi.c: In function `wpa_driver_madwifi_associate':
driver_madwifi.c:308: error: storage size of `mlme' isn't known
driver_madwifi.c:331: error: `IEEE80211_PARAM_PRIVACY' undeclared
(first use in this function)
driver_madwifi.c:335: error: `IEEE80211_PARAM_WPA' undeclared (first
use in this function)
driver_madwifi.c:344: error: `IEEE80211_PARAM_ROAMING' undeclared
(first use in this function)
driver_madwifi.c:355: error: `IEEE80211_MLME_ASSOC' undeclared (first
use in this function)
driver_madwifi.c:356: error: `IEEE80211_ADDR_LEN' undeclared (first
use in this function)
driver_madwifi.c:357: error: `IEEE80211_IOCTL_SETMLME' undeclared
(first use in this function)
driver_madwifi.c: In function `wpa_driver_madwifi_set_auth_alg':
driver_madwifi.c:373: error: `IEEE80211_AUTH_AUTO' undeclared (first
use in this function)
driver_madwifi.c:375: error: `IEEE80211_AUTH_SHARED' undeclared (first
use in this function)
driver_madwifi.c:377: error: `IEEE80211_AUTH_OPEN' undeclared (first
use in this function)
driver_madwifi.c:379: error: `IEEE80211_PARAM_AUTHMODE' undeclared
(first use in this function)
driver_madwifi.c: In function `wpa_driver_madwifi_init':
driver_madwifi.c:457: error: `IEEE80211_PARAM_ROAMING' undeclared
(first use in this function)
driver_madwifi.c:463: error: `IEEE80211_PARAM_WPA' undeclared (first
use in this function)
driver_madwifi.c: In function `wpa_driver_madwifi_deinit':
driver_madwifi.c:489: error: `IEEE80211_PARAM_ROAMING' undeclared
(first use in this function)
driver_madwifi.c:493: error: `IEEE80211_PARAM_PRIVACY' undeclared
(first use in this function)
driver_madwifi.c:497: error: `IEEE80211_PARAM_WPA' undeclared (first
use in this function)
make: *** [driver_madwifi.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: net-wireless/wpa_supplicant-0.5.0 failed.
!!! Function src_compile, Line 81, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


What is wrong? Building without madwifi support seems to work, but I
cannot test the thing since I need WPA to connect to the AP. The 0.4.7
ebuild gives a similar result.

I am using the 0.1_pre20050420-r1 ebuild of madwifi and the
2.6.11-gentoo-r3 kernel..
Is something missing somewhere?


/Fredrik



--
My Gentoo + PVR-350 + IVTV + MythTV blog is on
http://gentoomythtv.blogspot.com/




More information about the Hostap mailing list