wpa_supplicant compile against madwifi-ng error

Eugene de Grave mail
Mon Apr 17 03:04:14 PDT 2006


I'm trying to compile wpa_supplicant-0.5.2 against the latest snv 
madwifi-ng (1508). Wpa_supplicant-0.5.1 compiles just fine with this 
.config file:

CONFIG_WIRELESS_EXTENSION=y
CONFIG_DRIVER_MADWIFI=y
CFLAGS += -I/root/wifi/madwifi-ng
CONFIG_CTRL_IFACE=y

For some reason version 0.5.2 errors with (last part of compile):

cc -MMD -O2 -Wall -g -I. -I../utils -I../hostapd -I/root/wifi/madwifi-ng 
-DCONFIG_BACKEND_FILE -DCONFIG_DRIVER_MADWIFI 
-DCONFIG_WIRELESS_EXTENSION -DCONFIG_CTRL_IFACE   -c -o events.o events.c
cc -MMD -O2 -Wall -g -I. -I../utils -I../hostapd -I/root/wifi/madwifi-ng 
-DCONFIG_BACKEND_FILE -DCONFIG_DRIVER_MADWIFI 
-DCONFIG_WIRELESS_EXTENSION -DCONFIG_CTRL_IFACE   -c -o main.o main.c
cc -MMD -O2 -Wall -g -I. -I../utils -I../hostapd -I/root/wifi/madwifi-ng 
-DCONFIG_BACKEND_FILE -DCONFIG_DRIVER_MADWIFI 
-DCONFIG_WIRELESS_EXTENSION -DCONFIG_CTRL_IFACE   -c -o drivers.o drivers.c
cc -MMD -O2 -Wall -g -I. -I../utils -I../hostapd -I/root/wifi/madwifi-ng 
-DCONFIG_BACKEND_FILE -DCONFIG_DRIVER_MADWIFI 
-DCONFIG_WIRELESS_EXTENSION -DCONFIG_CTRL_IFACE   -c -o driver_madwifi.o 
driver_madwifi.c
cc -MMD -O2 -Wall -g -I. -I../utils -I../hostapd -I/root/wifi/madwifi-ng 
-DCONFIG_BACKEND_FILE -DCONFIG_DRIVER_MADWIFI 
-DCONFIG_WIRELESS_EXTENSION -DCONFIG_CTRL_IFACE   -c -o driver_wext.o 
driver_wext.c
cc  -o wpa_supplicant config.o common.o md5.o rc4.o sha1.o os_unix.o 
eloop.o config_file.o base64.o l2_packet_linux.o tls_none.o ctrl_iface.o 
ctrl_iface_unix.o wpa.o preauth.o pmksa_cache.o aes_wrap.o 
wpa_supplicant.o events.o main.o drivers.o driver_madwifi.o driver_wext.o
wpa_supplicant.o: In function 
`wpa_supplicant_deinit':/root/wifi/wpa_supplicant-0.5.2/wpa_supplicant.c:2426: 
undefined reference to `eap_peer_unregister_methods'
wpa_supplicant.o: In function 
`wpa_supplicant_init':/root/wifi/wpa_supplicant- 
0.5.2/wpa_supplicant.c:2330: undefined reference to 
`eap_peer_register_methods'
collect2: ld returned 1 exit status
make: *** [wpa_supplicant] Error 1
laptop:~/wifi/wpa_supplicant-0.5.2# 

What could be the reason for this compile error? The .config file seems 
short to others I found but it's all I seem to need.

Regards,
Eug?ne









More information about the Hostap mailing list