Problem compiling 0.3.9
Karl
kwp
Fri Jul 1 19:57:00 PDT 2005
Hi All,
I am attempting to compile wpa_supplicant-0.3.9 with madwifi support,
and am running into the following error; I've followed the directions
(editing the .config file to include " CONFIG_DRIVER_MADWIFI=y and
CFLAGS += -I../madwifi/wpa ) with no success.
The madwifi driver (which works) is in ../madwifi, but there is no "wpa"
directory there (so why the +=-I../madwifi/wpa is there escapes me -
could this be the problem?). This is the current madwifi CVS version,
but I've tried others (including the "WPA" branch mentioned at
www.linux-wireless.com/Wireless/WPA/ ) and none have the "wpa" directory.
Can anyone tell me why this won't build, and what I need to do to fix it?
Thanks,
Karl
Error is as follows:
$ make
cc -MMD -O2 -Wall -g -I../driver/modules -I../utils -I../hostapd
-I../madwifi/wpa -DCONFIG_DRIVER_HOSTAP -DCONFIG_DRIVER_WEXT
-DCONFIG_DRIVER_PRISM54 -DCONFIG_DRIVER_MADWIFI -DCONFIG_DRIVER_ATMEL
-DEAP_TLS -DEAP_PEAP -DEAP_TTLS -DEAP_MD5 -DEAP_MSCHAPv2 -DEAP_GTC
-DEAP_OTP -DEAP_LEAP-DEAP_TLV -DIEEE8021X_EAPOL -DEAP_TLS_FUNCS
-DPKCS12_FUNCS -DCONFIG_WIRELESS_EXTENSION -DCONFIG_CTRL_IFACE -c -o
driver_madwifi.o driver_madwifi.c
driver_madwifi.c:30:28: warning: include/compat.h: No such file or directory
driver_madwifi.c:31:32: warning: net80211/ieee80211.h: No such file or
directory
driver_madwifi.c:37:39: warning: net80211/ieee80211_crypto.h: No such
file or directory
driver_madwifi.c:38:38: warning: net80211/ieee80211_ioctl.h: No such
file or directory
driver_madwifi.c: In function `set80211priv':
driver_madwifi.c:92: error: `IEEE80211_IOCTL_SETPARAM' undeclared (first
use in this function)
driver_madwifi.c:92: error: (Each undeclared identifier is reported only
once
driver_madwifi.c:92: error: for each function it appears in.)
driver_madwifi.c:93: error: `IEEE80211_IOCTL_CHANLIST' undeclared (first
use in this function)
driver_madwifi.c: In function `set80211param':
driver_madwifi.c:114: error: `IEEE80211_IOCTL_SETPARAM' undeclared
(first use in this function)
driver_madwifi.c: In function `wpa_driver_madwifi_set_wpa_ie':
driver_madwifi.c:134: error: `IEEE80211_IOCTL_SETOPTIE' undeclared
(first use in this function)
driver_madwifi.c: In function `wpa_driver_madwifi_del_key':
driver_madwifi.c:145: error: storage size of `wk' isn't known
driver_madwifi.c:151: error: `IEEE80211_ADDR_LEN' undeclared (first use
in this function)
driver_madwifi.c:153: error: `IEEE80211_IOCTL_DELKEY' undeclared (first
use in this function)
driver_madwifi.c:145: warning: unused variable `wk'
driver_madwifi.c: In function `wpa_driver_madwifi_set_key':
driver_madwifi.c:163: error: storage size of `wk' isn't known
driver_madwifi.c:173: error: `IEEE80211_CIPHER_WEP' undeclared (first
use in this function)
driver_madwifi.c:177: error: `IEEE80211_CIPHER_TKIP' undeclared (first
use in this function)
driver_madwifi.c:181: error: `IEEE80211_CIPHER_AES_CCM' undeclared
(first use in this function)
driver_madwifi.c:206: error: `IEEE80211_KEY_RECV' undeclared (first use
in this function)
driver_madwifi.c:208: error: `IEEE80211_KEY_XMIT' undeclared (first use
in this function)
driver_madwifi.c:208: error: `IEEE80211_KEY_DEFAULT' undeclared (first
use in this function)
driver_madwifi.c:209: error: `IEEE80211_ADDR_LEN' undeclared (first use
in this function)
driver_madwifi.c:217: error: `IEEE80211_IOCTL_SETKEY' undeclared (first
use in this function)
driver_madwifi.c:163: warning: unused variable `wk'
driver_madwifi.c: In function `wpa_driver_madwifi_set_countermeasures':
driver_madwifi.c:225: error: `IEEE80211_PARAM_COUNTERMEASURES'
undeclared (first use in this function)
driver_madwifi.c: In function `wpa_driver_madwifi_set_drop_unencrypted':
driver_madwifi.c:234: error: `IEEE80211_PARAM_DROPUNENCRYPTED'
undeclared (first use in this function)
driver_madwifi.c: In function `wpa_driver_madwifi_deauthenticate':
driver_madwifi.c:241: error: storage size of `mlme' isn't known
driver_madwifi.c:244: error: `IEEE80211_MLME_DEAUTH' undeclared (first
use in this function)
driver_madwifi.c:246: error: `IEEE80211_ADDR_LEN' undeclared (first use
in this function)
driver_madwifi.c:247: error: `IEEE80211_IOCTL_SETMLME' undeclared (first
use in this function)
driver_madwifi.c:241: warning: unused variable `mlme'
driver_madwifi.c: In function `wpa_driver_madwifi_disassociate':
driver_madwifi.c:254: error: storage size of `mlme' isn't known
driver_madwifi.c:257: error: `IEEE80211_MLME_DISASSOC' undeclared (first
use in this function)
driver_madwifi.c:259: error: `IEEE80211_ADDR_LEN' undeclared (first use
in this function)
driver_madwifi.c:260: error: `IEEE80211_IOCTL_SETMLME' undeclared (first
use in this function)
driver_madwifi.c:254: warning: unused variable `mlme'
driver_madwifi.c: In function `wpa_driver_madwifi_associate':
driver_madwifi.c:268: error: storage size of `mlme' isn't known
driver_madwifi.c:291: error: `IEEE80211_PARAM_PRIVACY' undeclared (first
use in this function)
driver_madwifi.c:295: error: `IEEE80211_PARAM_WPA' undeclared (first use
in this function)
driver_madwifi.c:304: error: `IEEE80211_PARAM_ROAMING' undeclared (first
use in this function)
driver_madwifi.c:315: error: `IEEE80211_MLME_ASSOC' undeclared (first
use in this function)
driver_madwifi.c:316: error: `IEEE80211_ADDR_LEN' undeclared (first use
in this function)
driver_madwifi.c:317: error: `IEEE80211_IOCTL_SETMLME' undeclared (first
use in this function)
driver_madwifi.c:268: warning: unused variable `mlme'
driver_madwifi.c: In function `wpa_driver_madwifi_set_auth_alg':
driver_madwifi.c:333: error: `IEEE80211_AUTH_AUTO' undeclared (first use
in this function)
driver_madwifi.c:335: error: `IEEE80211_AUTH_SHARED' undeclared (first
use in this function)
driver_madwifi.c:337: error: `IEEE80211_AUTH_OPEN' undeclared (first use
in this function)
driver_madwifi.c:339: error: `IEEE80211_PARAM_AUTHMODE' undeclared
(first use in this function)
driver_madwifi.c: In function `wpa_driver_madwifi_init':
driver_madwifi.c:406: error: `IEEE80211_PARAM_ROAMING' undeclared (first
use in this function)
driver_madwifi.c:412: error: `IEEE80211_PARAM_WPA' undeclared (first use
in this function)
driver_madwifi.c: In function `wpa_driver_madwifi_deinit':
driver_madwifi.c:438: error: `IEEE80211_PARAM_ROAMING' undeclared (first
use in this function)
driver_madwifi.c:442: error: `IEEE80211_PARAM_PRIVACY' undeclared (first
use in this function)
driver_madwifi.c:446: error: `IEEE80211_PARAM_WPA' undeclared (first use
in this function)
make: *** [driver_madwifi.o] Error 1
More information about the Hostap
mailing list