try
gcc -o  ...... -lpthread

gregor
joseph antony wrote:
> hi,
>  i compiled the pcscd app which came with the pcsc-lite-1.1.1.tar.gz 
> package. it compiled fine. but, when i tried to compile the *testpcsc.c* 
> file it gave me the following error.
> 
> [root@localhost src]# gcc -o testpcsc testpcsc.c -L/usr/local/pcsc/lib 
> -lpcsclite
> /usr/local/pcsc/lib/libpcsclite.so: undefined reference to `pthread_create'
> /usr/local/pcsc/lib/libpcsclite.so: undefined reference to `pthread_cancel'
> /usr/local/pcsc/lib/libpcsclite.so: undefined reference to `pthread_detach'
> /usr/local/pcsc/lib/libpcsclite.so: undefined reference to `pthread_join'
> collect2: ld returned 1 exit status
> 
> kindly help me to solve this issue
> tia
> Joseph
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
> 
> ***************************************************************
> Unix Smart Card Developers - M.U.S.C.L.E.
> (Movement for the Use of Smart Cards in a Linux Environment)
> http://www.linuxnet.com/
> To unsubscribe send an email to [EMAIL PROTECTED] with
> unsubscribe sclinux
> ***************************************************************



-- 
Gregor Kroesen - Rembrandtstr.12 - 46399 Bocholt - Germany
mailto:[EMAIL PROTECTED]
---Linux is a journey, not a guided tour---
ComputerCamp 2002 - 18.8.2002 - 23.8.2002 - http://www.ccamp.de
Zertifikat: http://www.ccamp.de/ssl/CAcert.crt

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to