problems compiling wpa_supplicant

Pelusa Vali pelusitavali at postmaster.co.uk
Thu Mar 9 11:24:53 EST 2006


hi everybody, i'm trying to compile wpa_supplicant 0.4.8 to use it with atheros based card,i want to use tls, this is my .config file:

FLAGS += -I/usr/local/ssl/include
LIBS += -L/usr/local/ssl/lib


CONFIG_DRIVER_MADWIFI=y
CFLAGS += -I../usr/src/madwifi-ng-r1457-20060228/
CONFIG_DRIVER_WEXT=y
CONFIG_DRIVER_TEST=y
CONFIG_DRIVER_WIRED=y
CONFIG_IEEE8021X_EAPOL=y
CONFIG_EAP_TLS=y
CONFIG_PKCS12=y
CONFIG_EAPOL_TEST=y
CONFIG_CTRL_IFACE=y
CONFIG_BACKEND=file

but when i do make, i get this:

driver_madwifi.c:31:28: include/compat.h: No such file or directory
driver_madwifi.c:32:32: net80211/ieee80211.h: No such file or directory
driver_madwifi.c:38:39: net80211/ieee80211_crypto.h: No such file or directory
driver_madwifi.c:39:38: net80211/ieee80211_ioctl.h: No such file or directory
driver_madwifi.c: In function `set80211priv':
driver_madwifi.c:102: error: `IEEE80211_IOCTL_SETPARAM' undeclared (first use in this function)
driver_madwifi.c:102: error: (Each undeclared identifier is reported only once
driver_madwifi.c:102: error: for each function it appears in.)
driver_madwifi.c:103: error: `IEEE80211_IOCTL_CHANLIST' undeclared (first use in this function)
driver_madwifi.c: In function `set80211param':
driver_madwifi.c:143: error: `IEEE80211_IOCTL_SETPARAM' undeclared (first use in this function)
driver_madwifi.c: In function `wpa_driver_madwifi_set_wpa_ie':
driver_madwifi.c:163: error: `IEEE80211_IOCTL_SETOPTIE' undeclared (first use in this function)
driver_madwifi.c: In function `wpa_driver_madwifi_del_key':
driver_madwifi.c:174: error: storage size of `wk' isn't known
driver_madwifi.c:180: error: `IEEE80211_ADDR_LEN' undeclared (first use in this function)
driver_madwifi.c:182: error: `IEEE80211_IOCTL_DELKEY' undeclared (first use in this function)
driver_madwifi.c:174: warning: unused variable `wk'
driver_madwifi.c: In function `wpa_driver_madwifi_set_key':
driver_madwifi.c:192: error: storage size of `wk' isn't known
driver_madwifi.c:214: error: `IEEE80211_CIPHER_WEP' undeclared (first use in this function)
driver_madwifi.c:218: error: `IEEE80211_CIPHER_TKIP' undeclared (first use in this function)
driver_madwifi.c:222: error: `IEEE80211_CIPHER_AES_CCM' undeclared (first use in this function)
driver_madwifi.c:247: error: `IEEE80211_KEY_RECV' undeclared (first use in this function)
driver_madwifi.c:250: error: `IEEE80211_KEY_GROUP' undeclared (first use in this function)
driver_madwifi.c:252: error: `IEEE80211_KEY_XMIT' undeclared (first use in this function)
driver_madwifi.c:252: error: `IEEE80211_KEY_DEFAULT' undeclared (first use in this function)
driver_madwifi.c:253: error: `IEEE80211_ADDR_LEN' undeclared (first use in this function)
driver_madwifi.c:261: error: `IEEE80211_IOCTL_SETKEY' undeclared (first use in this function)
driver_madwifi.c:192: warning: unused variable `wk'
driver_madwifi.c: In function `wpa_driver_madwifi_set_countermeasures':
driver_madwifi.c:269: error: `IEEE80211_PARAM_COUNTERMEASURES' undeclared (first use in this function)
driver_madwifi.c: In function `wpa_driver_madwifi_set_drop_unencrypted':
driver_madwifi.c:278: error: `IEEE80211_PARAM_DROPUNENCRYPTED' undeclared (first use in this function)
driver_madwifi.c: In function `wpa_driver_madwifi_deauthenticate':
driver_madwifi.c:285: error: storage size of `mlme' isn't known
driver_madwifi.c:288: error: `IEEE80211_MLME_DEAUTH' undeclared (first use in this function)
driver_madwifi.c:290: error: `IEEE80211_ADDR_LEN' undeclared (first use in this function)
driver_madwifi.c:291: error: `IEEE80211_IOCTL_SETMLME' undeclared (first use in this function)
driver_madwifi.c:285: warning: unused variable `mlme'
driver_madwifi.c: In function `wpa_driver_madwifi_disassociate':
driver_madwifi.c:298: error: storage size of `mlme' isn't known
driver_madwifi.c:301: error: `IEEE80211_MLME_DISASSOC' undeclared (first use in this function)
driver_madwifi.c:303: error: `IEEE80211_ADDR_LEN' undeclared (first use in this function)
driver_madwifi.c:304: error: `IEEE80211_IOCTL_SETMLME' undeclared (first use in this function)
driver_madwifi.c:298: warning: unused variable `mlme'
driver_madwifi.c: In function `wpa_driver_madwifi_associate':
driver_madwifi.c:312: error: storage size of `mlme' isn't known
driver_madwifi.c:335: error: `IEEE80211_PARAM_PRIVACY' undeclared (first use in this function)
driver_madwifi.c:339: error: `IEEE80211_PARAM_WPA' undeclared (first use in this function)
driver_madwifi.c:348: error: `IEEE80211_PARAM_ROAMING' undeclared (first use in this function)
driver_madwifi.c:359: error: `IEEE80211_MLME_ASSOC' undeclared (first use in this function)
driver_madwifi.c:360: error: `IEEE80211_ADDR_LEN' undeclared (first use in this function)
driver_madwifi.c:361: error: `IEEE80211_IOCTL_SETMLME' undeclared (first use in this function)
driver_madwifi.c:312: warning: unused variable `mlme'
driver_madwifi.c: In function `wpa_driver_madwifi_set_auth_alg':
driver_madwifi.c:377: error: `IEEE80211_AUTH_AUTO' undeclared (first use in this function)
driver_madwifi.c:379: error: `IEEE80211_AUTH_SHARED' undeclared (first use in this function)
driver_madwifi.c:381: error: `IEEE80211_AUTH_OPEN' undeclared (first use in this function)
driver_madwifi.c:383: error: `IEEE80211_PARAM_AUTHMODE' undeclared (first use in this function)
driver_madwifi.c: In function `wpa_driver_madwifi_init':
driver_madwifi.c:461: error: `IEEE80211_PARAM_ROAMING' undeclared (first use in this function)
driver_madwifi.c:467: error: `IEEE80211_PARAM_WPA' undeclared (first use in this function)
driver_madwifi.c: In function `wpa_driver_madwifi_deinit':
driver_madwifi.c:493: error: `IEEE80211_PARAM_ROAMING' undeclared (first use in this function)
driver_madwifi.c:497: error: `IEEE80211_PARAM_PRIVACY' undeclared (first use in this function)
driver_madwifi.c:501: error: `IEEE80211_PARAM_WPA' undeclared (first use in this function)
make: *** [driver_madwifi.o] Error 1

i reviewed my madwifi source directory, and many of these files are there.
so, please could you tell what am i doing wrong?
thanks in advance.



_______________________________________________________________ 
Halloween Humour: Why did Dracula divorce his wife after 800 years? 

postmaster.co.uk
http://www.postmaster.co.uk/cgi-bin/meme/quiz.pl?id=157




More information about the HostAP mailing list