2010/4/1 Thomas Koeppen <[email protected]>: > Hi all, > > ccid compilation failed on MacOS (10.6.) > same in ccid-1.3.11 or cid-1.3.11-svn-4750 > > ./MacOS/configure > make > > failed with > > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. > -I/Users/tk/src/ccid/ccid-1.3.11-svn-4750/MacOSX -I/usr/local/include > -D_THREAD_SAFE -fvisibility=hidden -DCCID_VERSION=0x0103000B > -DRESPONSECODE_DEFINED_IN_WINTYPES_H -isysroot > /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -c ccid.c > -fno-common -DPIC -o .libs/libccid_la-ccid.o > In file included from ccid.c:28: > /Users/tk/src/ccid/ccid-1.3.11-svn-4750/MacOSX/ifdhandler.h:458: error: > expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before > ‘IFDHCreateChannelByName’ > ... > > reason is, that RESPONSECODE was not defined before. > > in MacOS/configure is defined > > # RESPONSECODE is already defined by PCSC/wintypes.h > # define needed here to compile examples/scardcontrol.c since config.h is > # not included > CFLAGS="$CFLAGS -DRESPONSECODE_DEFINED_IN_WINTYPES_H" > > but in my /usr/local/include/PCSC/wintypes.h (wintypes.h 4544 2009-11-12) > RESPONSECODE is not defined.
(official) pcsc-lite is NOT supported on Mac OS X. Do not install pcsc-lite yourself unless you _really_ know what you are doing. And you will fix any problem yourself. Bye -- Dr. Ludovic Rousseau _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
