OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [Muscle] compile problem

From: Martin Paljak (martin.paljakgmail.com)
Date: Sun Mar 06 2005 - 08:41:09 CST


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 <towergeebulkgmail.com> wrote:
> under the dir src/, I try to compile testpcsc.c by myself. When using
> "musclelists.musclecard.com",
> 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
> Musclelists.musclecard.com
> http://lists.drizzle.com/mailman/listinfo/muscle
>

--
Martin Paljak - consultant
martin.paljakgmail.com - Gmail
http://martin.paljak.pri.ee/ - web
+372.5156495 - phone
_______________________________________________
Muscle mailing list
Musclelists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle