<div>Hi,</div>
<div> </div>
<div> I have following .config file.</div>
<div>#---------------------------------------------------------.config starts-------------------------------</div>
<div>CONFIG_DRIVER_MARVELL=y<br>CONFIG_DRIVER_WEXT=y<br>CONFIG_WIRELESS_EXTENSION=y<br>CONFIG_IEEE8021X_EAPOL=y<br>CONFIG_EAP_MD5=y<br>CONFIG_EAP_TLS=y<br>CONFIG_EAP_TTLS=y<br>CONFIG_EAP_LEAP=y<br>CONFIG_EAP_PEAP=y<br>CONFIG_CTRL_IFACE=y
<br>CONFIG_EAP_SIM=y<br>CONFIG_EAP_AKA=y<br>CONFIG_EAP_PSK=y<br>CONFIG_EAP_OTP=y<br>CONFIG_EAP_GTC=y<br>CONFIG_EAP_MSCHAPV2=y<br>CONFIG_PKCS12=y<br>CONFIG_PCSC=y<br>CONFIG_WINDOWS=n<br>CONFIG_EAP_PAX=y<br>BINDIR=wpa_supplicant-
linux-arm-0.5.7-MSI-2-bin<br>CONFIG_ARM=y<br>#---------------------------------------------------------.config ends-------------------------------</div>
<div> </div>
<div><strong>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.<br></strong>
</div>
<div>/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
<br>pcsc_funcs.c:20:22: warning: winscard.h: No such file or directory<br>pcsc_funcs.c:93: error: expected specifier-qualifier-list before 'SCARDCONTEXT'<br>pcsc_funcs.c: In function 'scard_pin_needed':<br>
pcsc_funcs.c:303: error: 'struct scard_data' has no member named 'sim_type'<br>pcsc_funcs.c:310: error: 'struct scard_data' has no member named 'sim_type'<br>pcsc_funcs.c: In function 'scard_init':
<br>pcsc_funcs.c:456: warning: implicit declaration of function 'SCardEstablishContext'<br>pcsc_funcs.c:456: error: 'SCARD_SCOPE_SYSTEM' undeclared (first use in this function)<br>pcsc_funcs.c:456: error: (Each undeclared identifier is reported only once
<br>pcsc_funcs.c:456: error: for each function it appears in.)<br>pcsc_funcs.c:457: error: 'struct scard_data' has no member named 'ctx'<br>pcsc_funcs.c:458: error: 'SCARD_S_SUCCESS' undeclared (first use in this function)
<br>pcsc_funcs.c:464: warning: implicit declaration of function 'SCardListReaders'<br>pcsc_funcs.c:464: error: 'struct scard_data' has no member named 'ctx'<br>pcsc_funcs.c:480: error: 'struct scard_data' has no member named 'ctx'
<br>pcsc_funcs.c:501: warning: implicit declaration of function 'SCardConnect'<br>pcsc_funcs.c:501: error: 'struct scard_data' has no member named 'ctx'<br>pcsc_funcs.c:501: error: 'SCARD_SHARE_SHARED' undeclared (first use in this function)
<br>pcsc_funcs.c:502: error: 'SCARD_PROTOCOL_T0' undeclared (first use in this function)<br>pcsc_funcs.c:502: error: 'struct scard_data' has no member named 'card'<br>pcsc_funcs.c:502: error: 'struct scard_data' has no member named 'protocol'
<br>pcsc_funcs.c:504: error: 'SCARD_E_NO_SMARTCARD' undeclared (first use in this function)<br>pcsc_funcs.c:515: error: 'struct scard_data' has no member named 'card'<br>pcsc_funcs.c:515: error: 'struct scard_data' has no member named 'protocol'
<br>pcsc_funcs.c:516: error: 'struct scard_data' has no member named 'protocol'<br>pcsc_funcs.c:518: warning: implicit declaration of function 'SCardBeginTransaction'<br>pcsc_funcs.c:518: error: 'struct scard_data' has no member named 'card'
<br>pcsc_funcs.c:528: error: 'struct scard_data' has no member named 'sim_type'<br>pcsc_funcs.c:537: error: 'struct scard_data' has no member named 'sim_type'<br>pcsc_funcs.c:540: error: 'struct scard_data' has no member named 'sim_type'
<br>pcsc_funcs.c:544: error: 'struct scard_data' has no member named 'sim_type'<br>pcsc_funcs.c:572: error: 'struct scard_data' has no member named 'sim_type'<br>pcsc_funcs.c:590: error: 'struct scard_data' has no member named 'pin1_required'
<br>pcsc_funcs.c:594: warning: implicit declaration of function 'SCardEndTransaction'<br>pcsc_funcs.c:594: error: 'struct scard_data' has no member named 'card'<br>pcsc_funcs.c:594: error: 'SCARD_LEAVE_CARD' undeclared (first use in this function)
<br>pcsc_funcs.c:604: error: 'struct scard_data' has no member named 'card'<br>pcsc_funcs.c: In function 'scard_set_pin':<br>pcsc_funcs.c:623: error: 'struct scard_data' has no member named 'pin1_required'
<br>pcsc_funcs.c: In function 'scard_deinit':<br>pcsc_funcs.c:654: error: 'struct scard_data' has no member named 'card'<br>pcsc_funcs.c:655: warning: implicit declaration of function 'SCardDisconnect'
<br>pcsc_funcs.c:655: error: 'struct scard_data' has no member named 'card'<br>pcsc_funcs.c:655: error: 'SCARD_UNPOWER_CARD' undeclared (first use in this function)<br>pcsc_funcs.c:656: error: 'SCARD_S_SUCCESS' undeclared (first use in this function)
<br>pcsc_funcs.c:662: error: 'struct scard_data' has no member named 'ctx'<br>pcsc_funcs.c:663: warning: implicit declaration of function 'SCardReleaseContext'<br>pcsc_funcs.c:663: error: 'struct scard_data' has no member named 'ctx'
<br>pcsc_funcs.c: In function 'scard_transmit':<br>pcsc_funcs.c:684: warning: implicit declaration of function 'SCardTransmit'<br>pcsc_funcs.c:684: error: 'struct scard_data' has no member named 'card'
<br>pcsc_funcs.c:685: error: 'struct scard_data' has no member named 'protocol'<br>pcsc_funcs.c:685: error: 'SCARD_PROTOCOL_T1' undeclared (first use in this function)<br>pcsc_funcs.c:686: error: 'SCARD_PCI_T1' undeclared (first use in this function)
<br>pcsc_funcs.c:686: error: 'SCARD_PCI_T0' undeclared (first use in this function)<br>pcsc_funcs.c:690: error: 'SCARD_S_SUCCESS' undeclared (first use in this function)<br>pcsc_funcs.c: In function '_scard_select_file':
<br>pcsc_funcs.c:736: error: 'SCARD_S_SUCCESS' undeclared (first use in this function)<br>pcsc_funcs.c: In function 'scard_select_file':<br>pcsc_funcs.c:786: error: 'struct scard_data' has no member named 'sim_type'
<br>pcsc_funcs.c: In function 'scard_get_record_len':<br>pcsc_funcs.c:798: error: 'struct scard_data' has no member named 'sim_type'<br>pcsc_funcs.c:806: error: 'SCARD_S_SUCCESS' undeclared (first use in this function)
<br>pcsc_funcs.c: In function 'scard_read_record':<br>pcsc_funcs.c:834: error: 'struct scard_data' has no member named 'sim_type'<br>pcsc_funcs.c:845: error: 'SCARD_S_SUCCESS' undeclared (first use in this function)
<br>pcsc_funcs.c: In function 'scard_read_file':<br>pcsc_funcs.c:885: error: 'struct scard_data' has no member named 'sim_type'<br>pcsc_funcs.c:888: error: 'SCARD_S_SUCCESS' undeclared (first use in this function)
<br>pcsc_funcs.c: In function 'scard_verify_pin':<br>pcsc_funcs.c:926: error: 'struct scard_data' has no member named 'sim_type'<br>pcsc_funcs.c:933: error: 'SCARD_S_SUCCESS' undeclared (first use in this function)
<br>pcsc_funcs.c: In function 'scard_get_imsi':<br>pcsc_funcs.c:976: error: 'struct scard_data' has no member named 'sim_type'<br>pcsc_funcs.c: In function 'scard_gsm_auth':<br>pcsc_funcs.c:1053: error: 'struct scard_data' has no member named 'sim_type'
<br>pcsc_funcs.c:1066: error: 'SCARD_S_SUCCESS' undeclared (first use in this function)<br>pcsc_funcs.c:1069: error: 'struct scard_data' has no member named 'sim_type'<br>pcsc_funcs.c:1071: error: 'struct scard_data' has no member named 'sim_type'
<br>pcsc_funcs.c:1085: error: 'struct scard_data' has no member named 'sim_type'<br>pcsc_funcs.c: In function 'scard_umts_auth':<br>pcsc_funcs.c:1153: error: 'struct scard_data' has no member named 'sim_type'
<br>pcsc_funcs.c:1169: error: 'SCARD_S_SUCCESS' undeclared (first use in this function)<br>make: *** [pcsc_funcs.o] Error 1<br><br clear="all"><br>-- <br>Regards & Thanks<br>Raghavendra. S </div>