[Pcsclite-muscle] CCID has undefined symbol 'yylex' when loaded by pcscd
Scott Colby
scolby33 at gmail.com
Mon May 7 00:16:42 PDT 2018
Hello,
I have been having an issue with pcscd that I think I can trace back
to the ccid driver. I did a zgrep through the archives for 'yylex'
with no hits, so I hope I'm not repeating something that's been solved
here before.
The relevant versions are:
ccid 1.4.29-2.0 from Arch
(https://www.archlinux.org/packages/community/x86_64/ccid/)
pcsclite 1.8.23-2.0 from Arch
(https://www.archlinux.org/packages/community/x86_64/pcsclite/)
$ /usr/sbin/pcscd --version
pcsc-lite version 1.8.23.
Copyright (C) 1999-2002 by David Corcoran <corcoran at musclecard.com>.
Copyright (C) 2001-2015 by Ludovic Rousseau <ludovic.rousseau at free.fr>.
Copyright (C) 2003-2004 by Damien Sauveron <sauveron at labri.fr>.
Report bugs to <pcsclite-muscle at lists.alioth.debian.org>.
Enabled features: Linux i686-pc-linux-gnu libsystemd serial usb
libudev usbdropdir=/usr/lib/pcsc/drivers ipcdir=/run/pcscd filter
configdir=/etc/reader.conf.d
$ uname -a
Linux hostname 4.16.3-1.0-ACH #1 SP PREEMPT Fri Apr 20 11:08:08 CEST
2018 i686 GNU/Linux
I'm running archlinux32 (https://archlinux32.org/) on a Dell Mini 9
laptop and am attempting to connect with a Yubikey 4.
The log from a verbose invocation of pcscd (sudo
LIBCCID_ifdLogLevel=0x00F pcscd --foreground --debug --apdu --color |
tee log.txt) is attached (ANSI color escapes are in this file--read
with `less -R`).
Please let me know if there's any other information required to help
solve this problem!
Thank you,
Scott Colby
Scott Colby
Chemistry
Stanford University
-------------- next part --------------
00000000 debuglog.c:289:DebugLogSetLevel() debug level=debug
00000072 debuglog.c:310:DebugLogSetCategory() Debug options: APDU
[36m00000041[0m [34mpcscdaemon.c:352:main() Force colored logs[0m
[36m00000368[0m configfile.l:285:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d
[36m00000063[0m configfile.l:322:DBGetReaderListDir() Skipping non regular file: ..
[36m00000017[0m configfile.l:361:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin
[36m00000140[0m configfile.l:322:DBGetReaderListDir() Skipping non regular file: .
[36m00000031[0m [34mpcscdaemon.c:662:main() pcsc-lite 1.8.23 daemon ready.[0m
[36m00016746[0m hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/002/001
[36m00001358[0m hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
[36m00001366[0m hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
[36m00001386[0m hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001
[36m00001512[0m hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
[36m10503450[0m [34mhotplug_libudev.c:651:HPEstablishUSBNotifications() USB Device add[0m
[36m00000750[0m hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x1050, PID: 0x0407, path: /dev/bus/usb/003/005
[36m00000034[0m [34mhotplug_libudev.c:436:HPAddDevice() Adding USB device: Yubico Yubikey 4 OTP+U2F+CCID[0m
[36m00000257[0m [34mreaderfactory.c:1075:RFInitializeReader() Attempting startup of Yubico Yubikey 4 OTP+U2F+CCID 00 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so[0m
[36m00001546[0m [01;31mdyn_unix.c:58:DYN_LoadLibrary() /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so: /usr/lib/libfl.so.2: undefined symbol: yylex[0m
[36m00000036[0m [35mreaderfactory.c:1082:RFInitializeReader() RFLoadReader failed: 0x80100014[0m
[36m00000018[0m [35mreaderfactory.c:376:RFAddReader() Yubico Yubikey 4 OTP+U2F+CCID init failed.[0m
[36m00000021[0m [35mhotplug_libudev.c:523:HPAddDevice() Failed adding USB device: Yubico Yubikey 4 OTP+U2F+CCID[0m
[36m00001266[0m [34mhotplug_libudev.c:651:HPEstablishUSBNotifications() USB Device add[0m
[36m00000778[0m hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x1050, PID: 0x0407, path: /dev/bus/usb/003/005
[36m00000041[0m [34mhotplug_libudev.c:436:HPAddDevice() Adding USB device: Yubico Yubikey 4 OTP+U2F+CCID[0m
[36m00000256[0m [34mreaderfactory.c:1075:RFInitializeReader() Attempting startup of Yubico Yubikey 4 OTP+U2F+CCID 00 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so[0m
[36m00001586[0m [01;31mdyn_unix.c:58:DYN_LoadLibrary() /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so: /usr/lib/libfl.so.2: undefined symbol: yylex[0m
[36m00000034[0m [35mreaderfactory.c:1082:RFInitializeReader() RFLoadReader failed: 0x80100014[0m
[36m00000019[0m [35mreaderfactory.c:376:RFAddReader() Yubico Yubikey 4 OTP+U2F+CCID init failed.[0m
[36m00000021[0m [35mhotplug_libudev.c:523:HPAddDevice() Failed adding USB device: Yubico Yubikey 4 OTP+U2F+CCID[0m
[36m00039761[0m [34mhotplug_libudev.c:651:HPEstablishUSBNotifications() USB Device add[0m
[36m00000744[0m hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x1050, PID: 0x0407, path: /dev/bus/usb/003/005
[36m00000036[0m [34mhotplug_libudev.c:436:HPAddDevice() Adding USB device: Yubico Yubikey 4 OTP+U2F+CCID[0m
[36m00000255[0m [34mreaderfactory.c:1075:RFInitializeReader() Attempting startup of Yubico Yubikey 4 OTP+U2F+CCID 00 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so[0m
[36m00001464[0m [01;31mdyn_unix.c:58:DYN_LoadLibrary() /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so: /usr/lib/libfl.so.2: undefined symbol: yylex[0m
[36m00000035[0m [35mreaderfactory.c:1082:RFInitializeReader() RFLoadReader failed: 0x80100014[0m
[36m00000018[0m [35mreaderfactory.c:376:RFAddReader() Yubico Yubikey 4 OTP+U2F+CCID init failed.[0m
[36m00000021[0m [35mhotplug_libudev.c:523:HPAddDevice() Failed adding USB device: Yubico Yubikey 4 OTP+U2F+CCID[0m
[36m06899414[0m winscard_msg_srv.c:255:ProcessEventsServer() Common channel packet arrival
[36m00000083[0m winscard_msg_srv.c:267:ProcessEventsServer() ProcessCommonChannelRequest detects: 7
[36m00000017[0m pcscdaemon.c:133:SVCServiceRunLoop() A new context thread creation is requested: 7
[36m00000279[0m winscard_svc.c:340:ContextThread() Authorized PC/SC client
[36m00000020[0m winscard_svc.c:344:ContextThread() Thread is started: dwClientID=7, threadContext @0x1c26ea0
[36m00000055[0m winscard_svc.c:362:ContextThread() Received command: CMD_VERSION from client 7
[36m00000032[0m winscard_svc.c:374:ContextThread() Client is protocol version 4:3
[36m00000017[0m winscard_svc.c:394:ContextThread() CMD_VERSION rv=0x0 for client 7
[36m00000171[0m winscard_svc.c:362:ContextThread() Received command: ESTABLISH_CONTEXT from client 7
[36m00000082[0m winscard.c:215:SCardEstablishContext() Establishing Context: 0x516F3D78
[36m00000018[0m winscard_svc.c:458:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 7
[36m00000115[0m winscard_svc.c:362:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
[36m00000194[0m winscard_svc.c:362:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
[36m00005421[0m winscard_svc.c:362:ContextThread() Received command: CONNECT from client 7
[36m00000051[0m winscard_svc.c:496:ContextThread() Authorized client for 'Yubico Yubikey 4 OTP+U2F+CCID 00 00'
[36m00000018[0m winscard.c:259:SCardConnect() Attempting Connect to Yubico Yubikey 4 OTP+U2F+CCID 00 00 using protocol: 2
[36m00000015[0m [35mwinscard.c:264:SCardConnect() Reader Yubico Yubikey 4 OTP+U2F+CCID 00 00 Not Found[0m
[36m00000016[0m winscard_svc.c:510:ContextThread() CONNECT rv=0x80100009 for client 7
[36m00010432[0m winscard_svc.c:362:ContextThread() Received command: RELEASE_CONTEXT from client 7
[36m00000050[0m winscard.c:229:SCardReleaseContext() Releasing Context: 0x516F3D78
[36m00000020[0m winscard_svc.c:473:ContextThread() RELEASE_CONTEXT rv=0x0 for client 7
[36m00000130[0m winscard_svc.c:354:ContextThread() Client die: 7
[36m00000142[0m winscard_svc.c:1029:MSGCleanupClient() Thread is stopping: dwClientID=7, threadContext @0x1c26ea0
[36m00000027[0m winscard_svc.c:1035:MSGCleanupClient() Freeing SCONTEXT @0x1c26ea0
More information about the pcsclite-muscle
mailing list