|
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.paljak
gmail.com)
Date: Sun Mar 06 2005 - 08:41:09 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <towergeebulk
gmail.com> wrote:
> under the dir src/, I try to compile testpcsc.c by myself. When using
> "muscle
lists.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
> Muscle
lists.musclecard.com
> http://lists.drizzle.com/mailman/listinfo/muscle
>
--
Martin Paljak - consultant
martin.paljak
gmail.com - Gmail
http://martin.paljak.pri.ee/ - web
+372.5156495 - phone
_______________________________________________
Muscle mailing list
Muscle
lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]