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
