[Pcsclite-muscle] can't "make" ccid on Ubuntu 14.04.4 LTS
John Simpson
john_simpson
Mon Jun 27 06:26:57 PDT 2016
>
> Do you plan to submit it using
> https://pcsclite.alioth.debian.org/ccid.html#CCID_compliant ?
>
No. This card reader is built in to our product. We have a license
agreement with HID for the design. It is not going to be resold separate
from our product. I added the product info to
readers/supported_readers.txt before running ./configure.
Why don't you use "./configure" without extra arguments?
>
I tried that first. I don't know why all of the options were necessary:
# ./configure
...
configure: error: install pcsc-lite 1.8.3 or later, or use ./configure
PCSC_CFLAGS=..
# apt-cache policy pcscd
pcscd:
Installed: 1.8.10-1ubuntu1
Candidate: 1.8.10-1ubuntu1
# ./configure PCSC_CFLAGS=-I/usr/include/PCSC
...
configure: error: libusb.h not found, install libusb or use ./configure
LIBUSB_CFLAGS=...
# find / -name libusb.h
/usr/include/libusb-1.0/libusb.h
# ./configure PCSC_CFLAGS=-I/usr/include/PCSC
LIBUSB_CFLAGS=-I/usr/include/libusb-1.0
...
checking for libusb_init... configure: error: libusb not found, use
./configure LIBUSB_LIBS=...
# ./configure PCSC_CFLAGS=-I/usr/include/PCSC
LIBUSB_CFLAGS=-I/usr/include/libusb-1.0 LIBUSB_LIBS=-lusb-1.0
...
./configure: line 13890: libpcsclite: command not found
configure: error: use --enable-usbdropdir=DIR
# ./configure PCSC_CFLAGS=-I/usr/include/PCSC
LIBUSB_CFLAGS=-I/usr/include/libusb-1.0
LIBUSB_LIBS=-lusb-1.0 --enable-usbdropdir=/usr/lib/pcsc/drivers
...
./configure: line 13939: libpcsclite: command not found
checking for SCardEstablishContext... configure: error:
SCardEstablishContext() not found, install pcsc-lite 1.2.9-beta9 or
later,or use PCSC_LIBS=... ./configure
# PCSC_LIBS="-L/lib/i386-linux-gnu -lpcsclite" ./configure
PCSC_CFLAGS=-I/usr/include/PCSC LIBUSB_CFLAGS=-I/usr/include/libusb-1.0
LIBUSB_LIBS=-lusb-1.0 --enable-usbdropdir=/usr/lib/pcsc/drivers
(successful)
That brings me to "make":
# make
...
/usr/bin/ld: parse-ccid_usb.o: undefined reference to symbol
'pthread_create@@GLIBC_2.1'
//lib/i386-linux-gnu/libpthread.so.0: error adding symbols: DSO missing
from command line
Thanks,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20160627/59c09274/attachment.html>
More information about the pcsclite-muscle
mailing list