After I add LD_LIBRARY_PATH=/usr/local/pcsc/lib then export
LD_LIBRARY_PATH, it works. Thank you.


On Sun, 6 Mar 2005 16:41:09 +0200, Martin Paljak
<[EMAIL PROTECTED]> wrote:
> Obviuos solution: add -I{$prefix}/include/PCSC as flags to
> preprocessor where {$prefix} is the prefix you used when compiling
> pcsclite
> 
> 
> 
> On Sun, 6 Mar 2005 22:21:05 +0800, mail mail <[EMAIL PROTECTED]> wrote:
> > under the dir src/, I try to compile testpcsc.c by myself. When using
> > "[email protected]",
> > testpcsc.c:12:20: config.h: No such file or directory
> > testpcsc.c:16:22: pcsclite.h: No such file or directory
> > testpcsc.c:17:22: winscard.h: No such file or directory
> > testpcsc.c: In function `main':
> > testpcsc.c:21: `SCARDHANDLE' undeclared (first use in this function)
> > testpcsc.c:21: (Each undeclared identifier is reported only once
> > testpcsc.c:21: for each function it appears in.)
> > testpcsc.c:21: parse error before "hCard"
> > testpcsc.c:22: `SCARDCONTEXT' undeclared (first use in this function)
> > testpcsc.c:23: `SCARD_READERSTATE_A' undeclared (first use in this
> function)
> > testpcsc.c:27: `MAX_ATR_SIZE' undeclared (first use in this function)
> > testpcsc.c:37: `SCARD_SCOPE_SYSTEM' undeclared (first use in this
> function)
> > testpcsc.c:37: `hContext' undeclared (first use in this function)
> > 
> > Then I use "gcc -o aaa testpcsc.c -L/usr/local/pcsc/lib -lpcsclite
> > -IPCSC -I.. -I. " instead. Compile successfully. But when I run aaa,
> > it says:
> > gcc -o aaa testpcsc.c -L/usr/local/pcsc/lib -lpcsclite -IPCSC -I.. -I.
> > 
> > Can you correct me? thanks a lot.
> > 
> > Best wishes,
> > TowerGee
> > _______________________________________________
> > Muscle mailing list
> > [email protected]
> > http://lists.drizzle.com/mailman/listinfo/muscle
> > 
> 
> 
> -- 
> Martin Paljak - consultant
> [EMAIL PROTECTED] - Gmail
> http://martin.paljak.pri.ee/ - web
> +372.5156495 - phone
>
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to