'make' wont compile

linux penguin ln.pngn
Wed Sep 20 07:01:02 PDT 2006


i created the .config file, ran 'make' and got the following:

cc -MMD -O2 -Wall -g -I. -I../utils -I../hostapd -DCONFIG_BACKEND_FILE
-DCONFIG_DRIVER_HOSTAP -DCONFIG_DRIVER_WEXT -DCONFIG_DRIVER_HERMES
-DCONFIG_DRIVER_MADWIFI -DCONFIG_DRIVER_ATMEL -DCONFIG_DRIVER_NDISWRAPPER
-DCONFIG_DRIVER_BROADCOM -DCONFIG_DRIVER_IPW -DCONFIG_DRIVER_BSD
-DCONFIG_DRIVER_NDIS -DUSE_DNET_PCAP -DCONFIG_WINPCAP -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 -DCONFIG_WIRELESS_EXTENSION   -c -o
pcsc_funcs.o pcsc_funcs.c
pcsc_funcs.c:22:22: warning: winscard.h: No such file or directory
pcsc_funcs.c: In function 'scard_init':
pcsc_funcs.c:215: warning: implicit declaration of function
'SCardEstablishContext'
pcsc_funcs.c:215: error: 'SCARD_SCOPE_SYSTEM' undeclared (first use in this
function)
pcsc_funcs.c:215: error: (Each undeclared identifier is reported only once
pcsc_funcs.c:215: error: for each function it appears in.)
pcsc_funcs.c:217: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
pcsc_funcs.c:223: warning: implicit declaration of function
'SCardListReaders'
pcsc_funcs.c:253: warning: implicit declaration of function 'SCardConnect'
pcsc_funcs.c:253: error: 'SCARD_SHARE_SHARED' undeclared (first use in this
function)
pcsc_funcs.c:254: error: 'SCARD_PROTOCOL_T0' undeclared (first use in this
function)
pcsc_funcs.c:256: error: 'SCARD_E_NO_SMARTCARD' undeclared (first use in
this function)
pcsc_funcs.c:275: warning: pointer targets in passing argument 3 of
'_scard_select_file' differ in signedness
pcsc_funcs.c:289: warning: pointer targets in passing argument 3 of
'scard_select_file' differ in signedness
pcsc_funcs.c:295: warning: pointer targets in passing argument 3 of
'scard_select_file' differ in signedness
pcsc_funcs.c:303: warning: pointer targets in passing argument 3 of
'_scard_select_file' differ in signedness
pcsc_funcs.c:303: warning: pointer targets in passing argument 6 of
'_scard_select_file' differ in signedness
pcsc_funcs.c:311: warning: pointer targets in passing argument 2 of
'scard_pin_needed' differ in signedness
pcsc_funcs.c: In function 'scard_deinit':
pcsc_funcs.c:369: warning: implicit declaration of function
'SCardDisconnect'
pcsc_funcs.c:369: error: 'SCARD_UNPOWER_CARD' undeclared (first use in this
function)
pcsc_funcs.c:370: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
pcsc_funcs.c:377: warning: implicit declaration of function
'SCardReleaseContext'
pcsc_funcs.c: In function 'scard_transmit':
pcsc_funcs.c:397: warning: implicit declaration of function 'SCardTransmit'
pcsc_funcs.c:398: error: 'SCARD_PROTOCOL_T1' undeclared (first use in this
funct
pcsc_funcs.c:399: error: 'SCARD_PCI_T1' undeclared (first use in this
function)
pcsc_funcs.c:399: error: 'SCARD_PCI_T0' undeclared (first use in this
function)
pcsc_funcs.c:403: error: 'SCARD_S_SUCCESS' undeclared (first use in this
functio
pcsc_funcs.c: In function '_scard_select_file':
pcsc_funcs.c:444: error: 'SCARD_S_SUCCESS' undeclared (first use in this
functio
pcsc_funcs.c: In function 'scard_read_file':
pcsc_funcs.c:512: warning: pointer targets in passing argument 2 of
'scard_trans
pcsc_funcs.c:513: error: 'SCARD_S_SUCCESS' undeclared (first use in this
functio
pcsc_funcs.c: In function 'scard_verify_pin':
pcsc_funcs.c:557: warning: pointer targets in passing argument 2 of
'scard_trans
pcsc_funcs.c:558: error: 'SCARD_S_SUCCESS' undeclared (first use in this
functio
pcsc_funcs.c: In function 'scard_get_imsi':
pcsc_funcs.c:594: warning: pointer targets in passing argument 3 of
'scard_selec
pcsc_funcs.c:606: warning: pointer targets in passing argument 1 of
'scard_parse
pcsc_funcs.c:624: warning: pointer targets in passing argument 2 of
'scard_read_
pcsc_funcs.c: In function 'scard_gsm_auth':
pcsc_funcs.c:692: error: 'SCARD_S_SUCCESS' undeclared (first use in this
functio
pcsc_funcs.c: In function 'scard_umts_auth':
pcsc_funcs.c:795: error: 'SCARD_S_SUCCESS' undeclared (first use in this
functio
make: *** [pcsc_funcs.o] Error 1
rh-penguin:~/Desktop/wlan hacking/wpa_supplicant-0.4.9 # make
cc -MMD -O2 -Wall -g -I. -I../utils -I../hostapd -DCONFIG_BACKEND_FILE
-DCONFIG_DRIVER_HOSTAP -DCONFIG_DRIVER_WEXT -DCONFIG_DRIVER_HERMES
-DCONFIG_DRIVER_MADWIFI -DCONFIG_DRIVER_ATMEL -DCONFIG_DRIVER_NDISWRAPPER
-DCONFIG_DRIVER_BROADCOM -DCONFIG_DRIVER_IPW -DCONFIG_DRIVER_BSD
-DCONFIG_DRIVER_NDIS -DUSE_DNET_PCAP -DCONFIG_WINPCAP -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 -DCONFIG_WIRELESS_EXTENSION   -c -o
pcsc_funcs.o pcsc_funcs.c
pcsc_funcs.c:22:22: warning: winscard.h: No such file or directory
pcsc_funcs.c: In function 'scard_init':
pcsc_funcs.c:215: warning: implicit declaration of function
'SCardEstablishContext'
pcsc_funcs.c:215: error: 'SCARD_SCOPE_SYSTEM' undeclared (first use in this
function)
pcsc_funcs.c:215: error: (Each undeclared identifier is reported only once
pcsc_funcs.c:215: error: for each function it appears in.)
pcsc_funcs.c:217: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
pcsc_funcs.c:223: warning: implicit declaration of function
'SCardListReaders'
pcsc_funcs.c:253: warning: implicit declaration of function 'SCardConnect'
pcsc_funcs.c:253: error: 'SCARD_SHARE_SHARED' undeclared (first use in this
function)
pcsc_funcs.c:254: error: 'SCARD_PROTOCOL_T0' undeclared (first use in this
function)
pcsc_funcs.c:256: error: 'SCARD_E_NO_SMARTCARD' undeclared (first use in
this function)
pcsc_funcs.c:275: warning: pointer targets in passing argument 3 of
'_scard_select_file' differ in signedness
pcsc_funcs.c:289: warning: pointer targets in passing argument 3 of
'scard_select_file' differ in signedness
pcsc_funcs.c:295: warning: pointer targets in passing argument 3 of
'scard_select_file' differ in signedness
pcsc_funcs.c:303: warning: pointer targets in passing argument 3 of
'_scard_select_file' differ in signedness
pcsc_funcs.c:303: warning: pointer targets in passing argument 6 of
'_scard_select_file' differ in signedness
pcsc_funcs.c:311: warning: pointer targets in passing argument 2 of
'scard_pin_needed' differ in signedness
pcsc_funcs.c: In function 'scard_deinit':
pcsc_funcs.c:369: warning: implicit declaration of function
'SCardDisconnect'
pcsc_funcs.c:369: error: 'SCARD_UNPOWER_CARD' undeclared (first use in this
function)
pcsc_funcs.c:370: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
pcsc_funcs.c:377: warning: implicit declaration of function
'SCardReleaseContext'
pcsc_funcs.c: In function 'scard_transmit':
pcsc_funcs.c:397: warning: implicit declaration of function 'SCardTransmit'
pcsc_funcs.c:398: error: 'SCARD_PROTOCOL_T1' undeclared (first use in this
function)
pcsc_funcs.c:399: error: 'SCARD_PCI_T1' undeclared (first use in this
function)
pcsc_funcs.c:399: error: 'SCARD_PCI_T0' undeclared (first use in this
function)
pcsc_funcs.c:403: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
pcsc_funcs.c: In function '_scard_select_file':
pcsc_funcs.c:444: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
pcsc_funcs.c: In function 'scard_read_file':
pcsc_funcs.c:512: warning: pointer targets in passing argument 2 of
'scard_transmit' differ in signedness
pcsc_funcs.c:513: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
pcsc_funcs.c: In function 'scard_verify_pin':
pcsc_funcs.c:557: warning: pointer targets in passing argument 2 of
'scard_transmit' differ in signedness
pcsc_funcs.c:558: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
pcsc_funcs.c: In function 'scard_get_imsi':
pcsc_funcs.c:594: warning: pointer targets in passing argument 3 of
'scard_select_file' differ in signedness
pcsc_funcs.c:606: warning: pointer targets in passing argument 1 of
'scard_parse_fsp_templ' differ in signedness
pcsc_funcs.c:624: warning: pointer targets in passing argument 2 of
'scard_read_file' differ in signedness
pcsc_funcs.c: In function 'scard_gsm_auth':
pcsc_funcs.c:692: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
pcsc_funcs.c: In function 'scard_umts_auth':
pcsc_funcs.c:795: error: 'SCARD_S_SUCCESS' undeclared (first use in this
function)
make: *** [pcsc_funcs.o] Error 1

whats wrong??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20060920/c00afbe7/attachment.htm 



More information about the Hostap mailing list