Compile Issues - AR5212 + Madwifi + wpa_supplicant-0.2.5
Gilbert Mendoza
linuxcruiser
Sun Oct 3 23:53:39 PDT 2004
Hey there folks,
Having an issue compiling wpa_supplicant-0.2.5 for use
with the AR5212 chipset. It's prolly something real
simple I'm overlooking.
I understand that for Madwifi drivers you need to
specify in the Makefile where the Madwifi driver root
directory is located... but I am not sure where that
would be. Errr... I know it has to be something lame.
Does this mea the location of where my modules are
located? e.g "/lib/modules/2.4.26/net/ath_hal.o" Or
is it refering to where a copy of the madwifi driver
source code is located? Possibly something else?
Any help would greatly be appreciated.
Here is my .config file:
-------------------------------------------
CONFIG_DRIVER_MADWIFI=y
CONFIG_WIRELESS_EXTENSION=y
CONFIG_IEEE8021X_EAPOL=y
CONFIG_EAP_MD5=y
CONFIG_MSCHAPV2=y
CONFIG_EAP_TLS=y
CONFIG_EAP_PEAP=y
CONFIG_EAP_TTLS=y
CONFIG_EAP_GTC=y
CONFIG_EAP_OTP=y
CONFIG_EAP_SIM=y
CONFIG_EAP_AKA=y
CONFIG_EAP_PSK=y
CONFIG_EAP_LEAP=y
CONFIG_PCSC=y
-------------------------------------------
Makefile reference to MADWIFI:
-------------------------------------------
ifdef CONFIG_DRIVER_MADWIFI
CFLAGS += -DCONFIG_DRIVER_MADWIFI
CFLAGS += -I../madwifi/wpa # change to
reflect local setup
OBJS += driver_madwifi.o
CONFIG_WIRELESS_EXTENSION=y
endif
-------------------------------------------
And here is what I get when I "make":
-------------------------------------------
#make
cc -MMD -O2 -Wall -g -I../driver/modules -I../utils
-I../hostapd -DCONFIG_DRIVER_MADWIFI -I../madwifi/wpa
-DEAP_TLS -DEAP_PEAP -DEAP_TTLS
-DEAP_MD5 -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_SIM
-DEA
P_LEAP -DIEEE8021X_EAPOL -DEAP_TLS_FUNCS
-DCONFIG_WIRELESS_EXTENSION -c -o driver_madwifi.o
driver_madwifi.c
driver_madwifi.c:28:28: warning: include/compat.h: No
such file or directory
driver_madwifi.c:29:32: warning: net80211/ieee80211.h:
No such file or directory
driver_madwifi.c:30:39: warning:
net80211/ieee80211_crypto.h: No such file or directory
driver_madwifi.c:31:38: warning:
net80211/ieee80211_ioctl.h: No such file or directory
driver_madwifi.c: In function `set80211priv':
driver_madwifi.c:88: error: `IEEE80211_IOCTL_SETPARAM'
undeclared (first use in this function)
driver_madwifi.c:88: error: (Each undeclared
identifier is reported only once
driver_madwifi.c:88: error: for each function it
appears in.)
driver_madwifi.c:89: error: `IEEE80211_IOCTL_CHANLIST'
undeclared (first use in this function)
driver_madwifi.c: In function `set80211param':
driver_madwifi.c:111: error:
`IEEE80211_IOCTL_SETPARAM' undeclared (first use in
this function)
driver_madwifi.c: In function
`wpa_driver_madwifi_set_wpa_ie':
driver_madwifi.c:167: error:
`IEEE80211_IOCTL_SETOPTIE' undeclared (first use in
this function)
driver_madwifi.c: In function
`wpa_driver_madwifi_set_wpa':
driver_madwifi.c:183: error: `IEEE80211_PARAM_ROAMING'
undeclared (first use in this function)
driver_madwifi.c:185: error: `IEEE80211_PARAM_PRIVACY'
undeclared (first use in this function)
driver_madwifi.c:187: error: `IEEE80211_PARAM_WPA'
undeclared (first use in this function)
driver_madwifi.c: In function
`wpa_driver_madwifi_del_key':
driver_madwifi.c:196: error: storage size of `wk'
isn't known
driver_madwifi.c:202: error: `IEEE80211_ADDR_LEN'
undeclared (first use in this function)
driver_madwifi.c:204: error: `IEEE80211_IOCTL_DELKEY'
undeclared (first use in this function)
driver_madwifi.c:196: warning: unused variable `wk'
driver_madwifi.c: In function
`wpa_driver_madwifi_set_key':
driver_madwifi.c:213: error: storage size of `wk'
isn't known
driver_madwifi.c:223: error: `IEEE80211_CIPHER_WEP'
undeclared (first use in this function)
driver_madwifi.c:227: error: `IEEE80211_CIPHER_TKIP'
undeclared (first use in this function)
driver_madwifi.c:231: error:
`IEEE80211_CIPHER_AES_CCM' undeclared (first use in
this function)
driver_madwifi.c:256: error: `IEEE80211_KEY_RECV'
undeclared (first use in this function)
driver_madwifi.c:258: error: `IEEE80211_KEY_XMIT'
undeclared (first use in this function)
driver_madwifi.c:258: error: `IEEE80211_KEY_DEFAULT'
undeclared (first use in this function)
driver_madwifi.c:259: error: `IEEE80211_ADDR_LEN'
undeclared (first use in this function)
driver_madwifi.c:267: error: `IEEE80211_IOCTL_SETKEY'
undeclared (first use in this function)
driver_madwifi.c:213: warning: unused variable `wk'
driver_madwifi.c: In function
`wpa_driver_madwifi_set_countermeasures':
driver_madwifi.c:274: error:
`IEEE80211_PARAM_COUNTERMEASURES' undeclared (first
use in this function)
driver_madwifi.c: In function
`wpa_driver_madwifi_set_drop_unencrypted':
driver_madwifi.c:282: error:
`IEEE80211_PARAM_DROPUNENCRYPTED' undeclared (first
use in this function)
driver_madwifi.c: In function
`wpa_driver_madwifi_deauthenticate':
driver_madwifi.c:288: error: storage size of `mlme'
isn't known
driver_madwifi.c:291: error: `IEEE80211_MLME_DEAUTH'
undeclared (first use in this function)
driver_madwifi.c:293: error: `IEEE80211_ADDR_LEN'
undeclared (first use in this function)
driver_madwifi.c:294: error: `IEEE80211_IOCTL_SETMLME'
undeclared (first use in this function)
driver_madwifi.c:288: warning: unused variable `mlme'
driver_madwifi.c: In function
`wpa_driver_madwifi_disassociate':
driver_madwifi.c:300: error: storage size of `mlme'
isn't known
driver_madwifi.c:303: error: `IEEE80211_MLME_DISASSOC'
undeclared (first use in this function)
driver_madwifi.c:305: error: `IEEE80211_ADDR_LEN'
undeclared (first use in this function)
driver_madwifi.c:306: error: `IEEE80211_IOCTL_SETMLME'
undeclared (first use in this function)
driver_madwifi.c:300: warning: unused variable `mlme'
driver_madwifi.c: In function
`wpa_driver_madwifi_associate':
driver_madwifi.c:318: error: storage size of `mlme'
isn't known
driver_madwifi.c:337: error: `IEEE80211_MLME_ASSOC'
undeclared (first use in this function)
driver_madwifi.c:338: error: `IEEE80211_ADDR_LEN'
undeclared (first use in this function)
driver_madwifi.c:339: error: `IEEE80211_IOCTL_SETMLME'
undeclared (first use in this function)
driver_madwifi.c:318: warning: unused variable `mlme'
make: *** [driver_madwifi.o] Error 1
#
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Hostap
mailing list