problem with pthread compilation
807578Mar 25 2006 — edited Mar 25 2006hi all...
im trying to compile ccid-1.0.0 on solaris10 x86 and im getting problems that
configure error : pthread
my compiler version is::
bash-3.00# which cc
/opt/SUNWspro/prod/bin/cc
bash-3.00# cc -V
cc: Sun C 5.7 2005/01/07
usage: cc [ options] files. Use 'cc -flags' for details
i installed sunstudio11 prior to this and also pcsclite-1.3.0 and
libmusclecard-1.3.1. They gave me no probs.
./configure --prefix=${MSCPFX}
--enable-usbdropdir=${MSCPFX}/pcsc/drivers --enable-libusb
and the o/p is :
checking for memcpy... yes
checking for dlopen in -ldl... no
checking whether pthreads work with -pthread... no
checking whether pthreads work with -pthreads... no
checking for the pthreads library -lpthread... no
checking whether pthreads work with -mt... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... no
checking whether pthreads work with -pthreads... no
checking whether pthreads work with -mthreads... no
checking for the pthreads library -lpthread... no
checking whether pthreads work with --thread-safe... no
checking whether pthreads work with -mt... no
configure: error: POSIX thread support required
pls suggest me some way to get out of it.