2008/12/30 Paul <[email protected]>: > Hello, Hi,
> I compile the CCID driver on my Mac machine , but it failed during > Configure. > > there are some error message as below, is there suggestion to slove this > problem? > > Regards, > Paul > > + ./configure PKG_CONFIG=foobar 'CFLAGS= > -DRESPONSECODE_DEFINED_IN_WINTYPES_H -isysroot > /Developer/SDKs/MacOSX10.5.sdk -arch i386 -arch ppc' > PCSC_CFLAGS=-I/Users/yangpaul/sw/ccid-1.3.9/MacOSX 'PCSC_LIBS=-framework > PCSC' LIBUSB_CFLAGS=-I/Library/OpenSC/include > 'LIBUSB_LIBS=/Library/OpenSC/lib/libusb.a -Wl,-framework -Wl,IOKit > -Wl,-framework -Wl,CoreFoundation' 'LDFLAGS=-arch i386 -arch ppc' > --enable-usbdropdir=/usr/libexec/SmartCardServices/drivers > --disable-dependency-tracking --disable-pcsclite > ./configure: line 4477: foobar: command not found > configure: WARNING: install pcsc-lite 1.3.3 or later > > 1---------------------- > $CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >>&5 > ld warning: in /Library/OpenSC/lib/libusb.a, file is not of required > architecture > ld warning: in /Developer/SDKs/MacOSX10.5.sdk/usr/local/lib/libusb.dylib, You installed libusb yourself in /Developer/SDKs/MacOSX10.5.sdk/usr/local/lib but it looks like the binary is for PowerPC only. The build process tries to build a universal binary (PowerPC + i386) and so fails. > file is not of required architecture > Undefined symbols for architecture i386: > "_usb_init", referenced from: > _main in cc8FKxpF.o > ld: symbol(s) not found for architecture i386 > collect2: ld returned 1 exit status > lipo: can't open input file: > /var/folders/G0/G0IUbxthFZ8qsrED3DH76E+++TI/-Tmp-//cckUHTRL.out (No such > file or directory) > 2---------------------- > > configure: error: libusb not found, use ./configure LIBUSB_LIBS=... > + rm -f src/Info.plist Note that my CCID driver is now included in Mac OS X 10.5.6. No need to recompile it yourself. Bye -- Dr. Ludovic Rousseau _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
