OSEC

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

From: mail mail (towergeebulkgmail.com)
Date: Sun Mar 06 2005 - 08:21:05 CST


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