Cannot compile wpa_supplicant (0.6.0 and 0.5.7) with madwifi-ng-0.9.3.1
Alexander Skwar
listen
Sat Jun 16 14:23:37 PDT 2007
Hello.
I'm trying to use wpa_supplicant together with madwifi-ng 0.9.3.1, but
I fail to do so... :( I'd like to use the packages from Gentoo on a
Gentoo Linux ~x86 system. For compilation, Gentoo creates the following
.config file:
CC = i686-pc-linux-gnu-gcc
CONFIG_CTRL_IFACE=y
CONFIG_BACKEND=file
CONFIG_EAP_GTC=y
CONFIG_EAP_MD5=y
CONFIG_EAP_OTP=y
CONFIG_EAP_PAX=y
CONFIG_EAP_PSK=y
CONFIG_EAP_TLV=y
CONFIG_IEEE8021X_EAPOL=y
CONFIG_PKCS12=y
CONFIG_PEERKEY=y
CONFIG_EAP_LEAP=y
CONFIG_EAP_MSCHAPV2=y
CONFIG_EAP_PEAP=y
CONFIG_EAP_TLS=y
CONFIG_EAP_TTLS=y
CONFIG_CTRL_IFACE_DBUS=y
CONFIG_TLS=openssl
CONFIG_SMARTCARD=y
CONFIG_DRIVER_ATMEL=y
CONFIG_DRIVER_HOSTAP=y
CONFIG_DRIVER_IPW=y
CONFIG_DRIVER_NDISWRAPPER=y
CONFIG_DRIVER_PRISM54=y
CONFIG_DRIVER_WEXT=y
CONFIG_DRIVER_WIRED=y
CFLAGS += -I/usr/include/madwifi
CONFIG_DRIVER_MADWIFI=y
But when "I" then start compilation, it fails like this:
[...]
i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -fomit-frame-pointer -I. -I../src -I../src/crypto -I../src/utils -I../src/common -I../src/rsn_supp -I/usr/include/madwifi -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 -DEAP_PAX -DIEEE8021X_EAPOL -DEAP_TLS_FUNCS -DEAP_TLS_OPENSSL -DPKCS12_FUNCS -DCONFIG_SMARTCARD -DINTERNAL_SHA256 -DCONFIG_WIRELESS_EXTENSION -DCONFIG_CTRL_IFACE -DCONFIG_CTRL_IFACE_UNIX -DCONFIG_CTRL_IFACE_DBUS -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DCONFIG_PEERKEY -c -o ../src/drivers/driver_madwifi.o ../src/drivers/driver_madwifi.c
../src/drivers/driver_madwifi.c:26:28: error: include/compat.h: No such file or directory
../src/drivers/driver_madwifi.c:27:32: error: net80211/ieee80211.h: No such file or directory
../src/drivers/driver_madwifi.c:33:39: error: net80211/ieee80211_crypto.h: No such file or directory
../src/drivers/driver_madwifi.c:34:38: error: net80211/ieee80211_ioctl.h: No such file or directory
../src/drivers/driver_madwifi.c: In function 'set80211priv':
../src/drivers/driver_madwifi.c:110: error: 'IEEE80211_IOCTL_SETPARAM' undeclared (first use in this function)
../src/drivers/driver_madwifi.c:110: error: (Each undeclared identifier is reported only once
../src/drivers/driver_madwifi.c:110: error: for each function it appears in.)
../src/drivers/driver_madwifi.c:111: error: 'IEEE80211_IOCTL_CHANLIST' undeclared (first use in this function)
../src/drivers/driver_madwifi.c: In function 'set80211param':
../src/drivers/driver_madwifi.c:154: error: 'IEEE80211_IOCTL_SETPARAM' undeclared (first use in this function)
../src/drivers/driver_madwifi.c: In function 'wpa_driver_madwifi_set_wpa_ie':
../src/drivers/driver_madwifi.c:174: error: 'IEEE80211_IOCTL_SETOPTIE' undeclared (first use in this function)
../src/drivers/driver_madwifi.c: In function 'wpa_driver_madwifi_del_key':
../src/drivers/driver_madwifi.c:185: error: storage size of 'wk' isn't known
../src/drivers/driver_madwifi.c:191: error: 'IEEE80211_ADDR_LEN' undeclared (first use in this function)
../src/drivers/driver_madwifi.c:193: error: 'IEEE80211_IOCTL_DELKEY' undeclared (first use in this function)
../src/drivers/driver_madwifi.c: In function 'wpa_driver_madwifi_set_key':
../src/drivers/driver_madwifi.c:203: error: storage size of 'wk' isn't known
../src/drivers/driver_madwifi.c:225: error: 'IEEE80211_CIPHER_WEP' undeclared (first use in this function)
../src/drivers/driver_madwifi.c:229: error: 'IEEE80211_CIPHER_TKIP' undeclared (first use in this function)
../src/drivers/driver_madwifi.c:233: error: 'IEEE80211_CIPHER_AES_CCM' undeclared (first use in this function)
../src/drivers/driver_madwifi.c:258: error: 'IEEE80211_KEY_RECV' undeclared (first use in this function)
../src/drivers/driver_madwifi.c:261: error: 'IEEE80211_KEY_GROUP' undeclared (first use in this function)
../src/drivers/driver_madwifi.c:263: error: 'IEEE80211_KEY_XMIT' undeclared (first use in this function)
../src/drivers/driver_madwifi.c:263: error: 'IEEE80211_KEY_DEFAULT' undeclared (first use in this function)
../src/drivers/driver_madwifi.c:264: error: 'IEEE80211_ADDR_LEN' undeclared (first use in this function)
../src/drivers/driver_madwifi.c:284: error: 'IEEE80211_IOCTL_SETKEY' undeclared (first use in this function)
../src/drivers/driver_madwifi.c: In function 'wpa_driver_madwifi_set_countermeasures':
../src/drivers/driver_madwifi.c:292: error: 'IEEE80211_PARAM_COUNTERMEASURES' undeclared (first use in this function)
../src/drivers/driver_madwifi.c: In function 'wpa_driver_madwifi_set_drop_unencrypted':
../src/drivers/driver_madwifi.c:301: error: 'IEEE80211_PARAM_DROPUNENCRYPTED' undeclared (first use in this function)
../src/drivers/driver_madwifi.c: In function 'wpa_driver_madwifi_deauthenticate':
../src/drivers/driver_madwifi.c:308: error: storage size of 'mlme' isn't known
../src/drivers/driver_madwifi.c:311: error: 'IEEE80211_MLME_DEAUTH' undeclared (first use in this function)
../src/drivers/driver_madwifi.c:313: error: 'IEEE80211_ADDR_LEN' undeclared (first use in this function)
../src/drivers/driver_madwifi.c:314: error: 'IEEE80211_IOCTL_SETMLME' undeclared (first use in this function)
../src/drivers/driver_madwifi.c: In function 'wpa_driver_madwifi_disassociate':
../src/drivers/driver_madwifi.c:321: error: storage size of 'mlme' isn't known
../src/drivers/driver_madwifi.c:324: error: 'IEEE80211_MLME_DISASSOC' undeclared (first use in this function)
../src/drivers/driver_madwifi.c:326: error: 'IEEE80211_ADDR_LEN' undeclared (first use in this function)
../src/drivers/driver_madwifi.c:327: error: 'IEEE80211_IOCTL_SETMLME' undeclared (first use in this function)
../src/drivers/driver_madwifi.c: In function 'wpa_driver_madwifi_associate':
../src/drivers/driver_madwifi.c:335: error: storage size of 'mlme' isn't known
../src/drivers/driver_madwifi.c:358: error: 'IEEE80211_PARAM_PRIVACY' undeclared (first use in this function)
../src/drivers/driver_madwifi.c:362: error: 'IEEE80211_PARAM_WPA' undeclared (first use in this function)
../src/drivers/driver_madwifi.c:371: error: 'IEEE80211_PARAM_ROAMING' undeclared (first use in this function)
../src/drivers/driver_madwifi.c:384: error: 'IEEE80211_MLME_ASSOC' undeclared (first use in this function)
../src/drivers/driver_madwifi.c:385: error: 'IEEE80211_ADDR_LEN' undeclared (first use in this function)
../src/drivers/driver_madwifi.c:386: error: 'IEEE80211_IOCTL_SETMLME' undeclared (first use in this function)
../src/drivers/driver_madwifi.c: In function 'wpa_driver_madwifi_set_auth_alg':
../src/drivers/driver_madwifi.c:405: error: 'IEEE80211_AUTH_AUTO' undeclared (first use in this function)
../src/drivers/driver_madwifi.c:407: error: 'IEEE80211_AUTH_SHARED' undeclared (first use in this function)
../src/drivers/driver_madwifi.c:409: error: 'IEEE80211_AUTH_OPEN' undeclared (first use in this function)
../src/drivers/driver_madwifi.c:411: error: 'IEEE80211_PARAM_AUTHMODE' undeclared (first use in this function)
../src/drivers/driver_madwifi.c: In function 'wpa_driver_madwifi_init':
../src/drivers/driver_madwifi.c:495: error: 'IEEE80211_PARAM_ROAMING' undeclared (first use in this function)
../src/drivers/driver_madwifi.c:501: error: 'IEEE80211_PARAM_WPA' undeclared (first use in this function)
../src/drivers/driver_madwifi.c: In function 'wpa_driver_madwifi_deinit':
../src/drivers/driver_madwifi.c:527: error: 'IEEE80211_PARAM_ROAMING' undeclared (first use in this function)
../src/drivers/driver_madwifi.c:531: error: 'IEEE80211_PARAM_PRIVACY' undeclared (first use in this function)
../src/drivers/driver_madwifi.c:535: error: 'IEEE80211_PARAM_WPA' undeclared (first use in this function)
make: *** [../src/drivers/driver_madwifi.o] Error 1
When I downgrade madwifi-ng from 0.9.3.1 to 0.9.3, compilation works just
fine.
I reported this to the madwifi-ng folks at http://madwifi.org/ticket/1392
and also to Gentoo at https://bugs.gentoo.org/show_bug.cgi?id=182199
Best regards,
Alexander Skwar
--
I think I'll KILL myself by leaping out of this 14th STORY WINDOW while
reading ERICA JONG'S poetry!!
More information about the Hostap
mailing list