802.11i support in IBSS mode
Nicolas Pichon
nicolas.pichon
Thu Nov 29 03:05:06 PST 2007
Jouni Malinen a ?crit :
> Works for me.. Though, it looks like that you will at least need to
> disable dbus from .config to build test_wlan. Please send me the .config
> file you are using if there are more issues with the test_wpa build.
>
After having tried many configurations, I still can't build test_wpa
target. Here is my config :
CONFIG_DRIVER_HOSTAP=y
CONFIG_DRIVER_WEXT=y
CONFIG_DRIVER_WIRED=y
CONFIG_IEEE8021X_EAPOL=y
CONFIG_EAPOL_TEST=y
CONFIG_CTRL_IFACE=y
CONFIG_BACKEND=file
And here is end of output of "make test_wpa" :
cc -o test_wpa config.o ../src/utils/common.o ../src/utils/wpa_debug.o
../src/crypto/md5.o ../src/crypto/rc4.o ../src/crypto/md4.o
../src/crypto/sha1.o ../src/crypto/des.o ../src/utils/os_unix.o
../src/utils/eloop.o config_file.o ../src/l2_packet/l2_packet_linux.o
../src/eapol_supp/eapol_supp_sm.o ../src/eap_peer/eap.o
../src/eap_common/eap_common.o ../src/eap_peer/eap_methods.o
../src/crypto/tls_none.o ../src/rsn_supp/wpa.o ../src/rsn_supp/preauth.o
../src/rsn_supp/pmksa_cache.o ../src/rsn_supp/peerkey.o
../src/rsn_supp/wpa_ie.o ../src/common/wpa_common.o
../src/crypto/aes_wrap.o ../src/crypto/aes.o ../src/utils/base64.o
tests/test_wpa.o
tests/test_wpa.o: In function `supp_get_beacon_ie':
/home/nicolas/work/git/hostap/wpa_supplicant/tests/test_wpa.c:145:
undefined reference to `wpa_auth_get_wpa_ie'
tests/test_wpa.o: In function `auth_eapol_rx':
/home/nicolas/work/git/hostap/wpa_supplicant/tests/test_wpa.c:82:
undefined reference to `wpa_receive'
tests/test_wpa.o: In function `auth_init_group':
/home/nicolas/work/git/hostap/wpa_supplicant/tests/test_wpa.c:310:
undefined reference to `wpa_init'
tests/test_wpa.o: In function `auth_init':
/home/nicolas/work/git/hostap/wpa_supplicant/tests/test_wpa.c:322:
undefined reference to `wpa_auth_sta_init'
/home/nicolas/work/git/hostap/wpa_supplicant/tests/test_wpa.c:328:
undefined reference to `wpa_validate_wpa_ie'
/home/nicolas/work/git/hostap/wpa_supplicant/tests/test_wpa.c:334:
undefined reference to `wpa_auth_sm_event'
/home/nicolas/work/git/hostap/wpa_supplicant/tests/test_wpa.c:336:
undefined reference to `wpa_auth_sta_associated'
tests/test_wpa.o: In function `deinit':
/home/nicolas/work/git/hostap/wpa_supplicant/tests/test_wpa.c:344:
undefined reference to `wpa_auth_sta_deinit'
/home/nicolas/work/git/hostap/wpa_supplicant/tests/test_wpa.c:346:
undefined reference to `wpa_deinit'
collect2: ld returned 1 exit status
It seems ld is complaining about functions defined in code from
hostapd's side.
Thanks,
Nicolas.
More information about the Hostap
mailing list