On Sun, Sep 16, 2007 at 01:34:51PM +0200, Ludovic Rousseau wrote: > 2007/9/16, Gergely CZUCZY <[EMAIL PROTECTED]>: > > Hello > > Hi, > > > I've got a ITSEC-I/64, i've got it from the local redistributor > > for two weeks to check if it works for opensc (I'd also like to > > have some kind of cards later). > > > > Of course, it's not working, else I wouldn't write to this list :) > > > > It's a Siemens CardOS V4.3 B as the charismathics manager says. > > The USB ID is: vendor:073d, product:0008 > > I have not seen the device yet. > > Can you test it with my CCID driver? Just follow the instructions at [1]. > > bye > > [1] http://pcsclite.alioth.debian.org/ccid.html#CCID_compliant
Well, this looks bad: gcc -g -O2 -o scardcontrol scardcontrol-scardcontrol.o -L/usr/local/lib -lpcsclite /usr/local/lib/libpcsclite.so: undefined reference to `pthread_create' /usr/local/lib/libpcsclite.so: undefined reference to `pthread_attr_init' /usr/local/lib/libpcsclite.so: undefined reference to `pthread_exit' /usr/local/lib/libpcsclite.so: undefined reference to `pthread_cancel' /usr/local/lib/libpcsclite.so: undefined reference to `pthread_equal' /usr/local/lib/libpcsclite.so: undefined reference to `pthread_detach' /usr/local/lib/libpcsclite.so: undefined reference to `pthread_attr_setdetachstate' /usr/local/lib/libpcsclite.so: undefined reference to `pthread_join' gmake[2]: *** [scardcontrol] Error 1 gmake[2]: Leaving directory `/usr/local/src/ccid-1.3.0/examples' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/local/src/ccid-1.3.0' gmake: *** [all] Error 2 You should check for -pthread and if not found, -lpthread, and include those in the LDFLAGS make variable. Farthermore, you need GNU make for this, it doesn't work with the system-boundled make. After doing LDFLAGS=pthread ./configure i've got the following: gcc -g -O2 -pthread -o Kobil_mIDentity_switch Kobil_mIDentity_switch-Kobil_mIDentity_switch.o -L/usr/local/lib /usr/local/lib/libusb.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib Kobil_mIDentity_switch-Kobil_mIDentity_switch.o(.text+0x3b): In function `kobil_midentity_claim_interface': /usr/local/src/ccid-1.3.0/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch.c:118: undefined reference to `usb_detach_kernel_driver_np' gmake[3]: *** [Kobil_mIDentity_switch] Error 1 gmake[3]: Leaving directory `/usr/local/src/ccid-1.3.0/contrib/Kobil_mIDentity_switch' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/local/src/ccid-1.3.0/contrib' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/local/src/ccid-1.3.0' gmake: *** [all] Error 2 The boundled instructions weren't enough for building your test-suite, sorry. It's a FreeBSD 6.2-STABLE, with up-to-date smartcard packages: openct-0.6.13, opensc-0.11.4, pcsc-lite-1.4.3,2 Could you please explain this in a bit more detailed way? I mean, how to build your suite. Sincerely, Gergely Czuczy mailto: [EMAIL PROTECTED] -- Weenies test. Geniuses solve problems that arise.
pgpGxi6EpSlrB.pgp
Description: PGP signature
_______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel