<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Do you plan to submit it using <a href="https://pcsclite.alioth.debian.org/ccid.html#CCID_compliant" target="_blank">https://pcsclite.alioth.debian.org/ccid.html#CCID_compliant</a> ?<br></div></div></div></div></blockquote><div><br></div><div>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.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Why don't you use "./configure" without extra arguments? </div></div></div></div></blockquote><div><br></div><div>I tried that first.  I don't know why all of the options were necessary:</div><div><br></div><div># ./configure</div><div>...</div><div>configure: error: install pcsc-lite 1.8.3 or later, or use ./configure PCSC_CFLAGS=..</div><div><br></div><div># apt-cache policy pcscd</div><div>pcscd:</div><div>  Installed: 1.8.10-1ubuntu1</div><div>  Candidate: 1.8.10-1ubuntu1 </div><div><br></div><div><span style="font-size:12.8px"># ./configure PCSC_CFLAGS=-I/usr/include/</span><span style="font-size:12.8px">PCSC</span><br></div><div><span style="font-size:12.8px">...</span></div><div><span style="font-size:12.8px">configure: error: libusb.h not found, install libusb or use ./configure LIBUSB_CFLAGS=...</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><div style=""><span style="font-size:12.8px"># find / -name libusb.h</span></div><div style=""><span style="font-size:12.8px">/usr/include/libusb-1.0/libusb.h</span></div></div><div style=""><span style="font-size:12.8px"><br></span></div><div style=""><span style="font-size:12.8px"># ./configure PCSC_CFLAGS=-I/usr/include/PCSC LIBUSB_CFLAGS=-I/usr/include/libusb-1.0</span><br></div><div style=""><span style="font-size:12.8px">...</span></div><div style=""><span style="font-size:12.8px">checking for libusb_init... configure: error: libusb not found, use ./configure LIBUSB_LIBS=...</span><br></div><div style=""><span style="font-size:12.8px"><br></span></div><div style=""><span style="font-size:12.8px"># ./configure PCSC_CFLAGS=-I/usr/include/PCSC LIBUSB_CFLAGS=-I/usr/include/libusb-1.0 LIBUSB_LIBS=-lusb-1.0</span><br></div><div style=""><span style="font-size:12.8px"><div>...</div><div>./configure: line 13890: libpcsclite: command not found</div><div>configure: error: use --enable-usbdropdir=DIR</div></span></div><div style=""><span style="font-size:12.8px"><br></span></div><div style=""><span style="font-size:12.8px"># </span><span style="color:rgb(80,0,80);font-size:12.8px">./configure PCSC_CFLAGS=-I/usr/include/</span><span style="color:rgb(80,0,80);font-size:12.8px">PCSC LIBUSB_CFLAGS=-I/usr/include/</span><span style="color:rgb(80,0,80);font-size:12.8px">libusb-1.0 LIBUSB_LIBS=-lusb-1.0 --enable-usbdropdir=/usr/lib/</span><span style="color:rgb(80,0,80);font-size:12.8px">pcsc/drivers</span></div><div style=""><span style="color:rgb(80,0,80);font-size:12.8px">...</span></div><div style=""><div style="font-size:12.8px;color:rgb(80,0,80)">./configure: line 13939: libpcsclite: command not found</div><div style="font-size:12.8px;color:rgb(80,0,80)">checking for SCardEstablishContext... configure: error: SCardEstablishContext() not found, install pcsc-lite 1.2.9-beta9 or later,or use PCSC_LIBS=...  ./configure</div><div style="font-size:12.8px;color:rgb(80,0,80)"><br></div><div style="font-size:12.8px;color:rgb(80,0,80)"><span style="color:rgb(34,34,34);font-size:12.8px"># PCSC_LIBS="-L/lib/i386-linux-</span><span style="color:rgb(34,34,34);font-size:12.8px">gnu -lpcsclite" ./configure PCSC_CFLAGS=-I/usr/include/</span><span style="color:rgb(34,34,34);font-size:12.8px">PCSC LIBUSB_CFLAGS=-I/usr/include/</span><span style="color:rgb(34,34,34);font-size:12.8px">libusb-1.0 LIBUSB_LIBS=-lusb-1.0 --enable-usbdropdir=/usr/lib/</span><span style="color:rgb(34,34,34);font-size:12.8px">pcsc/drivers</span><br></div><div style="font-size:12.8px;color:rgb(80,0,80)"><span style="color:rgb(34,34,34);font-size:12.8px">(successful)</span></div><div style="font-size:12.8px;color:rgb(80,0,80)"><span style="color:rgb(34,34,34);font-size:12.8px"><br></span></div><div style="font-size:12.8px">That brings me to "make":</div><div style="font-size:12.8px"># make</div><div style="font-size:12.8px">...</div><div style=""><div style=""><span style="font-size:12.8px">/usr/bin/ld: parse-ccid_usb.o: undefined reference to symbol 'pthread_create@@GLIBC_2.1'</span></div><div style=""><span style="font-size:12.8px">//lib/i386-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line</span></div><div style=""><span style="font-size:12.8px"><br></span></div><div style=""><span style="font-size:12.8px">Thanks,</span></div><div style=""><span style="font-size:12.8px"><br></span></div><div style=""><span style="font-size:12.8px"><br></span></div><div style=""><span style="font-size:12.8px">John</span></div></div></div></div></div></div>