<div>Hi,</div>
<div>&nbsp;</div>
<div>&nbsp;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>&nbsp;</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&nbsp;&nbsp; -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 &#39;SCARDCONTEXT&#39;<br>pcsc_funcs.c: In function &#39;scard_pin_needed&#39;:<br>
pcsc_funcs.c:303: error: &#39;struct scard_data&#39; has no member named &#39;sim_type&#39;<br>pcsc_funcs.c:310: error: &#39;struct scard_data&#39; has no member named &#39;sim_type&#39;<br>pcsc_funcs.c: In function &#39;scard_init&#39;:
<br>pcsc_funcs.c:456: warning: implicit declaration of function &#39;SCardEstablishContext&#39;<br>pcsc_funcs.c:456: error: &#39;SCARD_SCOPE_SYSTEM&#39; 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: &#39;struct scard_data&#39; has no member named &#39;ctx&#39;<br>pcsc_funcs.c:458: error: &#39;SCARD_S_SUCCESS&#39; undeclared (first use in this function)
<br>pcsc_funcs.c:464: warning: implicit declaration of function &#39;SCardListReaders&#39;<br>pcsc_funcs.c:464: error: &#39;struct scard_data&#39; has no member named &#39;ctx&#39;<br>pcsc_funcs.c:480: error: &#39;struct scard_data&#39; has no member named &#39;ctx&#39;
<br>pcsc_funcs.c:501: warning: implicit declaration of function &#39;SCardConnect&#39;<br>pcsc_funcs.c:501: error: &#39;struct scard_data&#39; has no member named &#39;ctx&#39;<br>pcsc_funcs.c:501: error: &#39;SCARD_SHARE_SHARED&#39; undeclared (first use in this function)
<br>pcsc_funcs.c:502: error: &#39;SCARD_PROTOCOL_T0&#39; undeclared (first use in this function)<br>pcsc_funcs.c:502: error: &#39;struct scard_data&#39; has no member named &#39;card&#39;<br>pcsc_funcs.c:502: error: &#39;struct scard_data&#39; has no member named &#39;protocol&#39;
<br>pcsc_funcs.c:504: error: &#39;SCARD_E_NO_SMARTCARD&#39; undeclared (first use in this function)<br>pcsc_funcs.c:515: error: &#39;struct scard_data&#39; has no member named &#39;card&#39;<br>pcsc_funcs.c:515: error: &#39;struct scard_data&#39; has no member named &#39;protocol&#39;
<br>pcsc_funcs.c:516: error: &#39;struct scard_data&#39; has no member named &#39;protocol&#39;<br>pcsc_funcs.c:518: warning: implicit declaration of function &#39;SCardBeginTransaction&#39;<br>pcsc_funcs.c:518: error: &#39;struct scard_data&#39; has no member named &#39;card&#39;
<br>pcsc_funcs.c:528: error: &#39;struct scard_data&#39; has no member named &#39;sim_type&#39;<br>pcsc_funcs.c:537: error: &#39;struct scard_data&#39; has no member named &#39;sim_type&#39;<br>pcsc_funcs.c:540: error: &#39;struct scard_data&#39; has no member named &#39;sim_type&#39;
<br>pcsc_funcs.c:544: error: &#39;struct scard_data&#39; has no member named &#39;sim_type&#39;<br>pcsc_funcs.c:572: error: &#39;struct scard_data&#39; has no member named &#39;sim_type&#39;<br>pcsc_funcs.c:590: error: &#39;struct scard_data&#39; has no member named &#39;pin1_required&#39;
<br>pcsc_funcs.c:594: warning: implicit declaration of function &#39;SCardEndTransaction&#39;<br>pcsc_funcs.c:594: error: &#39;struct scard_data&#39; has no member named &#39;card&#39;<br>pcsc_funcs.c:594: error: &#39;SCARD_LEAVE_CARD&#39; undeclared (first use in this function)
<br>pcsc_funcs.c:604: error: &#39;struct scard_data&#39; has no member named &#39;card&#39;<br>pcsc_funcs.c: In function &#39;scard_set_pin&#39;:<br>pcsc_funcs.c:623: error: &#39;struct scard_data&#39; has no member named &#39;pin1_required&#39;
<br>pcsc_funcs.c: In function &#39;scard_deinit&#39;:<br>pcsc_funcs.c:654: error: &#39;struct scard_data&#39; has no member named &#39;card&#39;<br>pcsc_funcs.c:655: warning: implicit declaration of function &#39;SCardDisconnect&#39;
<br>pcsc_funcs.c:655: error: &#39;struct scard_data&#39; has no member named &#39;card&#39;<br>pcsc_funcs.c:655: error: &#39;SCARD_UNPOWER_CARD&#39; undeclared (first use in this function)<br>pcsc_funcs.c:656: error: &#39;SCARD_S_SUCCESS&#39; undeclared (first use in this function)
<br>pcsc_funcs.c:662: error: &#39;struct scard_data&#39; has no member named &#39;ctx&#39;<br>pcsc_funcs.c:663: warning: implicit declaration of function &#39;SCardReleaseContext&#39;<br>pcsc_funcs.c:663: error: &#39;struct scard_data&#39; has no member named &#39;ctx&#39;
<br>pcsc_funcs.c: In function &#39;scard_transmit&#39;:<br>pcsc_funcs.c:684: warning: implicit declaration of function &#39;SCardTransmit&#39;<br>pcsc_funcs.c:684: error: &#39;struct scard_data&#39; has no member named &#39;card&#39;
<br>pcsc_funcs.c:685: error: &#39;struct scard_data&#39; has no member named &#39;protocol&#39;<br>pcsc_funcs.c:685: error: &#39;SCARD_PROTOCOL_T1&#39; undeclared (first use in this function)<br>pcsc_funcs.c:686: error: &#39;SCARD_PCI_T1&#39; undeclared (first use in this function)
<br>pcsc_funcs.c:686: error: &#39;SCARD_PCI_T0&#39; undeclared (first use in this function)<br>pcsc_funcs.c:690: error: &#39;SCARD_S_SUCCESS&#39; undeclared (first use in this function)<br>pcsc_funcs.c: In function &#39;_scard_select_file&#39;:
<br>pcsc_funcs.c:736: error: &#39;SCARD_S_SUCCESS&#39; undeclared (first use in this function)<br>pcsc_funcs.c: In function &#39;scard_select_file&#39;:<br>pcsc_funcs.c:786: error: &#39;struct scard_data&#39; has no member named &#39;sim_type&#39;
<br>pcsc_funcs.c: In function &#39;scard_get_record_len&#39;:<br>pcsc_funcs.c:798: error: &#39;struct scard_data&#39; has no member named &#39;sim_type&#39;<br>pcsc_funcs.c:806: error: &#39;SCARD_S_SUCCESS&#39; undeclared (first use in this function)
<br>pcsc_funcs.c: In function &#39;scard_read_record&#39;:<br>pcsc_funcs.c:834: error: &#39;struct scard_data&#39; has no member named &#39;sim_type&#39;<br>pcsc_funcs.c:845: error: &#39;SCARD_S_SUCCESS&#39; undeclared (first use in this function)
<br>pcsc_funcs.c: In function &#39;scard_read_file&#39;:<br>pcsc_funcs.c:885: error: &#39;struct scard_data&#39; has no member named &#39;sim_type&#39;<br>pcsc_funcs.c:888: error: &#39;SCARD_S_SUCCESS&#39; undeclared (first use in this function)
<br>pcsc_funcs.c: In function &#39;scard_verify_pin&#39;:<br>pcsc_funcs.c:926: error: &#39;struct scard_data&#39; has no member named &#39;sim_type&#39;<br>pcsc_funcs.c:933: error: &#39;SCARD_S_SUCCESS&#39; undeclared (first use in this function)
<br>pcsc_funcs.c: In function &#39;scard_get_imsi&#39;:<br>pcsc_funcs.c:976: error: &#39;struct scard_data&#39; has no member named &#39;sim_type&#39;<br>pcsc_funcs.c: In function &#39;scard_gsm_auth&#39;:<br>pcsc_funcs.c:1053: error: &#39;struct scard_data&#39; has no member named &#39;sim_type&#39;
<br>pcsc_funcs.c:1066: error: &#39;SCARD_S_SUCCESS&#39; undeclared (first use in this function)<br>pcsc_funcs.c:1069: error: &#39;struct scard_data&#39; has no member named &#39;sim_type&#39;<br>pcsc_funcs.c:1071: error: &#39;struct scard_data&#39; has no member named &#39;sim_type&#39;
<br>pcsc_funcs.c:1085: error: &#39;struct scard_data&#39; has no member named &#39;sim_type&#39;<br>pcsc_funcs.c: In function &#39;scard_umts_auth&#39;:<br>pcsc_funcs.c:1153: error: &#39;struct scard_data&#39; has no member named &#39;sim_type&#39;
<br>pcsc_funcs.c:1169: error: &#39;SCARD_S_SUCCESS&#39; undeclared (first use in this function)<br>make: *** [pcsc_funcs.o] Error 1<br><br clear="all"><br>-- <br>Regards &amp; Thanks<br>Raghavendra. S </div>