I'm trying to compile pcsc-lite with a static driver for an embedded
system but I'm getting the following error:
$ export CFLAGS="-DPCSCLITE_STATIC_DRIVER -DIFDHANDLERv3"
$ ./configure
...
$ make
ifdwrapper.c: In function ‘IFDOpenIFD’:
ifdwrapper.c:125:15: error: ‘READER_CONTEXT’ has no member named ‘lpcDevice’
ifdwrapper.c:126:57: error: ‘READER_CONTEXT’ has no member named ‘lpcDevice’
The following patch fixes the issue:
$ svn diff
Index: src/ifdwrapper.c
===================================================================
--- src/ifdwrapper.c (revision 6314)
+++ src/ifdwrapper.c (working copy)
@@ -122,8 +122,8 @@
#else
{
/* Use device name only if defined */
- if (rContext->lpcDevice[0] != '\0')
- rv = IFDHCreateChannelByName(rContext->slot,
rContext->lpcDevice);
+ if (rContext->device[0] != '\0')
+ rv = IFDHCreateChannelByName(rContext->slot,
rContext->device);
else
rv = IFDHCreateChannel(rContext->slot, rContext->port);
}
--
Romulo
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle