getting undefined reference error while compiling/linking

Raghavendra. S raghavendra.akkasali at gmail.com
Fri Dec 7 01:06:33 EST 2007


Hi,

 I have my .config file as below
#-------------------------------------------------------.config
starts-----------------------------------------------
CONFIG_DRIVER_MARVELL=y
CONFIG_DRIVER_WEXT=y
CONFIG_WIRELESS_EXTENSION=y
CONFIG_IEEE8021X_EAPOL=y
CONFIG_EAP_MD5=y
CONFIG_EAP_TLS=y
CONFIG_EAP_TTLS=y
CONFIG_EAP_LEAP=y
CONFIG_EAP_PEAP=y
CONFIG_CTRL_IFACE=y
CONFIG_EAP_SIM=y
CONFIG_EAP_AKA=y
CONFIG_EAP_PSK=y
CONFIG_EAP_OTP=y
CONFIG_EAP_GTC=y
CONFIG_EAP_MSCHAPV2=y
CONFIG_PKCS12=y
CONFIG_WINDOWS=n
CONFIG_EAP_FAST=y
CONFIG_EAP_PAX=y
BINDIR=wpa_supplicant-linux-arm-0.5.7-MSI-2-bin
CONFIG_ARM=y
#-------------------------------------------------------.config
ends-------------------------------------------------
*I am getting undefine reference error if I use CONFIG_EAP_FAST=y. can any
body tell me how to solve this.*
*I am using wpa supplicant 0.5.7 and opensll 0.9.7. Below are error message.
*

/opt/toolchains/arm-linux-4.1.1/bin/arm-linux-gcc  -o wpa_supplicant
config.o common.o md5.o md4.o rc4.o sha1.o des.o os_unix.o eloop.oconfig_file.o
base64.o l2_packet_linux.o eap_tls.o eap_peap.o eap_ttls.o eap_md5.o
eap_mschapv2.o eap_gtc.o eap_otp.o eap_sim.o eap_leap.o eap_psk.o
eap_psk_common.o eap_aka.o eap_sim_common.o eap_tlv.o eap_fast.o eap_pax.o
eap_pax_common.o eapol_sm.o eap.o eap_methods.o eap_tls_common.o
tls_openssl.o ms_funcs.o crypto.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_marvell.o driver_wext.o -L/usr/xocean/lib/ -lssl -lcrypto
-s -static
ctrl_iface_unix.o: In function `wpa_supplicant_ctrl_iface_init':
/mnt/hgfs/security/marvell/wpa_supplicant-linux-src-0.5.7-MSI-2/ctrl_iface_unix.c:297:
warning: Using 'getgrnam' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
tls_openssl.o: In function `tls_connection_client_hello_ext':
/mnt/hgfs/security/marvell/wpa_supplicant-linux-src-0.5.7-MSI-2/tls_openssl.c:2137:
undefined reference to `SSL_set_hello_extension'
tls_openssl.o: In function `tls_connection_set_master_key':
/mnt/hgfs/security/marvell/wpa_supplicant-linux-src-0.5.7-MSI-2/tls_openssl.c:2031:
undefined reference to `SSL_set_session_secret_cb'
/mnt/hgfs/security/marvell/wpa_supplicant-linux-src-0.5.7-MSI-2/tls_openssl.c:2035:
undefined reference to `SSL_set_session_secret_cb'
collect2: ld returned 1 exit status
make: *** [wpa_supplicant] Error 1

-- 
Regards & Thanks
Raghavendra. S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20071207/111e65f7/attachment.htm 


More information about the HostAP mailing list