William, I had this same issue some months back. I could build pcsc-lite-1.5.3 or 1.5.5 smoothly with static libs, but gcc would choke if I tried to build shared libs.
Unless you need to build pcsc-lite with gcc, I've gotten it to build without complaint using the Sun Studio compiler: ./configure CCC=/opt/sunstudio12.1/bin/CC CC=/opt/sunstudio12.1/bin/cc --disable-libhal --enable-libusb make pfexec make install I've had similar success building ccid-1.3.10 or 1.3.11 with the Sun Studio compiler: env PCSC_CFLAGS=-I/usr/local/include/PCSC PCSC_LIBS="-L/usr/local/lib -lpcsclite" LIBUSB_CFLAGS=-I/usr/include LIBUSB_LIBS="-L/usr/lib -lusb" ./configure CCC=/opt/sunstudio12.1/bin/CC CC=/opt/sunstudio12.1/bin/cc --enable-usbdropdir=/usr/lib/libusb_plugins/ make pfexec make install Hopefully that will work for you, unless you [i]need[/i] to build these with gcc. (For example if you want to build coolkey; I can build coolkey with gcc but the Sun Studio compiler chokes on it). Regards, Kevin -- This message posted from opensolaris.org