Failed installing wpa_supplicant

James gerona521 at gmail.com
Fri Jun 30 13:51:28 EDT 2006


Hi Jouni;

Thanks for response;
I  commented out the line "CONFIG_SMARTCARD" and still get the same error:

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



On 6/29/06, Jouni Malinen <jkmaline at cc.hut.fi> wrote:
>
> On Thu, Jun 29, 2006 at 06:15:38PM -0400, Andrew Barr wrote:
>
> > On Thursday 29 June 2006 18:02, James wrote:
> > > Thanks for the response. I did try to diable the smart card support. I
> > > define "n" and and try again with "make clean" and "make" and still
> get
> > > the same error message.
>
> Please note these comments in the beginning of defconfig:
>
> # hostapd binary. All lines starting with # are ignored. Configuration
> option
> # lines must be commented out complete, if they are not to be included,
> i.e.,
> # just setting VARIABLE=n is not disabling that variable.
>
> In other words, setting something to 'n', is _not_ disabling that
> option.
>
> > Well, pcsc (see filename below) is a widely-used smartcard library, so
> > something smartcard related is not getting disabled. Look at
> pcsc_funcs.c and
> > see if the line
> >
> > #include <winscard.h>
> >
> > is wrapped in any #ifdefs, like maybe:
> >
> > #ifdef CONFIG_WINDOWS
>
> It's not and it shouldn't be. pcsc-lite includes this header file and it
> is used on Linux systems. I would assume that the build system did not
> include this library and most likely this was not needed either. The
> correct solution for this particular problem would thus be to remove
> (either delete or comment out) CONFIG_PCSC=y line from .config.
>
> > then add CONFIG_WINDOWS=n (or whatever) to your .config file.
>
> That would _enable_ CONFIG_WINDOWS (which does not exist, so this would
> not really do anything). This issue has nothing to do with Windows code
> being enabled or disabled.
>
> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20060630/8ed81d03/attachment.htm 


More information about the HostAP mailing list