wpa supplicant compilation error

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


Hi,

 I have following .config file.
#---------------------------------------------------------.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_PCSC=y
CONFIG_WINDOWS=n
CONFIG_EAP_PAX=y
BINDIR=wpa_supplicant-linux-arm-0.5.7-MSI-2-bin
CONFIG_ARM=y
#---------------------------------------------------------.config
ends-------------------------------

*got following error while compiling with CONFIG_PCSC=y. Is it must to use
CONFIG_PCSC=y, if we enable CONFIG_EAP_SIM=y or CONFIG_EAP_AKA=y? I am not
getting this error if I dont use CONFIG_PCSC=y.
*
/opt/toolchains/arm-linux-4.1.1/bin/arm-linux-gcc -I/usr/xocean/include -MMD
-O2 -Wall -g -mabi=aapcs-linux -I. -I../utils -I../hostapd
-DCONFIG_BACKEND_FILE -DCONFIG_DRIVER_WEXT -s -static
-DCONFIG_DRIVER_MARVELL -DEAP_TLS -DEAP_PEAP -DEAP_TTLS -DEAP_MD5
-DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_SIM -DEAP_LEAP -DEAP_PSK -DEAP_AKA
-DEAP_TLV -DEAP_PAX -DIEEE8021X_EAPOL -DPCSC_FUNCS -I/usr/include/PCSC
-DEAP_TLS_FUNCS -DEAP_TLS_OPENSSL -DPKCS12_FUNCS -DINTERNAL_SHA256
-DCONFIG_WIRELESS_EXTENSION -DCONFIG_CTRL_IFACE -DCONFIG_CTRL_IFACE_UNIX
-c -o pcsc_funcs.o pcsc_funcs.c
pcsc_funcs.c:20:22: warning: winscard.h: No such file or directory
pcsc_funcs.c:93: error: expected specifier-qualifier-list before
'SCARDCONTEXT'
pcsc_funcs.c: In function 'scard_pin_needed':
pcsc_funcs.c:303: error: 'struct scard_data' has no member named 'sim_type'
pcsc_funcs.c:310: error: 'struct scard_data' has no member named 'sim_type'
pcsc_funcs.c: In function 'scard_init':
pcsc_funcs.c:456: warning: implicit declaration of function
'SCardEstablishContext'
pcsc_funcs.c:456: error: 'SCARD_SCOPE_SYSTEM' undeclared (first use in this
function)
pcsc_funcs.c:456: error: (Each undeclared identifier is reported only once
pcsc_funcs.c:456: error: for each function it appears in.)
pcsc_funcs.c:457: error: 'struct scard_data' has no member named 'ctx'
pcsc_funcs.c:458: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
pcsc_funcs.c:464: warning: implicit declaration of function
'SCardListReaders'
pcsc_funcs.c:464: error: 'struct scard_data' has no member named 'ctx'
pcsc_funcs.c:480: error: 'struct scard_data' has no member named 'ctx'
pcsc_funcs.c:501: warning: implicit declaration of function 'SCardConnect'
pcsc_funcs.c:501: error: 'struct scard_data' has no member named 'ctx'
pcsc_funcs.c:501: error: 'SCARD_SHARE_SHARED' undeclared (first use in this
function)
pcsc_funcs.c:502: error: 'SCARD_PROTOCOL_T0' undeclared (first use in this
function)
pcsc_funcs.c:502: error: 'struct scard_data' has no member named 'card'
pcsc_funcs.c:502: error: 'struct scard_data' has no member named 'protocol'
pcsc_funcs.c:504: error: 'SCARD_E_NO_SMARTCARD' undeclared (first use in
this function)
pcsc_funcs.c:515: error: 'struct scard_data' has no member named 'card'
pcsc_funcs.c:515: error: 'struct scard_data' has no member named 'protocol'
pcsc_funcs.c:516: error: 'struct scard_data' has no member named 'protocol'
pcsc_funcs.c:518: warning: implicit declaration of function
'SCardBeginTransaction'
pcsc_funcs.c:518: error: 'struct scard_data' has no member named 'card'
pcsc_funcs.c:528: error: 'struct scard_data' has no member named 'sim_type'
pcsc_funcs.c:537: error: 'struct scard_data' has no member named 'sim_type'
pcsc_funcs.c:540: error: 'struct scard_data' has no member named 'sim_type'
pcsc_funcs.c:544: error: 'struct scard_data' has no member named 'sim_type'
pcsc_funcs.c:572: error: 'struct scard_data' has no member named 'sim_type'
pcsc_funcs.c:590: error: 'struct scard_data' has no member named
'pin1_required'
pcsc_funcs.c:594: warning: implicit declaration of function
'SCardEndTransaction'
pcsc_funcs.c:594: error: 'struct scard_data' has no member named 'card'
pcsc_funcs.c:594: error: 'SCARD_LEAVE_CARD' undeclared (first use in this
function)
pcsc_funcs.c:604: error: 'struct scard_data' has no member named 'card'
pcsc_funcs.c: In function 'scard_set_pin':
pcsc_funcs.c:623: error: 'struct scard_data' has no member named
'pin1_required'
pcsc_funcs.c: In function 'scard_deinit':
pcsc_funcs.c:654: error: 'struct scard_data' has no member named 'card'
pcsc_funcs.c:655: warning: implicit declaration of function
'SCardDisconnect'
pcsc_funcs.c:655: error: 'struct scard_data' has no member named 'card'
pcsc_funcs.c:655: error: 'SCARD_UNPOWER_CARD' undeclared (first use in this
function)
pcsc_funcs.c:656: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
pcsc_funcs.c:662: error: 'struct scard_data' has no member named 'ctx'
pcsc_funcs.c:663: warning: implicit declaration of function
'SCardReleaseContext'
pcsc_funcs.c:663: error: 'struct scard_data' has no member named 'ctx'
pcsc_funcs.c: In function 'scard_transmit':
pcsc_funcs.c:684: warning: implicit declaration of function 'SCardTransmit'
pcsc_funcs.c:684: error: 'struct scard_data' has no member named 'card'
pcsc_funcs.c:685: error: 'struct scard_data' has no member named 'protocol'
pcsc_funcs.c:685: error: 'SCARD_PROTOCOL_T1' undeclared (first use in this
function)
pcsc_funcs.c:686: error: 'SCARD_PCI_T1' undeclared (first use in this
function)
pcsc_funcs.c:686: error: 'SCARD_PCI_T0' undeclared (first use in this
function)
pcsc_funcs.c:690: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
pcsc_funcs.c: In function '_scard_select_file':
pcsc_funcs.c:736: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
pcsc_funcs.c: In function 'scard_select_file':
pcsc_funcs.c:786: error: 'struct scard_data' has no member named 'sim_type'
pcsc_funcs.c: In function 'scard_get_record_len':
pcsc_funcs.c:798: error: 'struct scard_data' has no member named 'sim_type'
pcsc_funcs.c:806: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
pcsc_funcs.c: In function 'scard_read_record':
pcsc_funcs.c:834: error: 'struct scard_data' has no member named 'sim_type'
pcsc_funcs.c:845: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
pcsc_funcs.c: In function 'scard_read_file':
pcsc_funcs.c:885: error: 'struct scard_data' has no member named 'sim_type'
pcsc_funcs.c:888: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
pcsc_funcs.c: In function 'scard_verify_pin':
pcsc_funcs.c:926: error: 'struct scard_data' has no member named 'sim_type'
pcsc_funcs.c:933: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
pcsc_funcs.c: In function 'scard_get_imsi':
pcsc_funcs.c:976: error: 'struct scard_data' has no member named 'sim_type'
pcsc_funcs.c: In function 'scard_gsm_auth':
pcsc_funcs.c:1053: error: 'struct scard_data' has no member named 'sim_type'
pcsc_funcs.c:1066: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
pcsc_funcs.c:1069: error: 'struct scard_data' has no member named 'sim_type'
pcsc_funcs.c:1071: error: 'struct scard_data' has no member named 'sim_type'
pcsc_funcs.c:1085: error: 'struct scard_data' has no member named 'sim_type'
pcsc_funcs.c: In function 'scard_umts_auth':
pcsc_funcs.c:1153: error: 'struct scard_data' has no member named 'sim_type'
pcsc_funcs.c:1169: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
make: *** [pcsc_funcs.o] Error 1


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


More information about the HostAP mailing list