pthread in Cygwin? (attempt to build ghostscript 6.5)

Wei Ku weiku@physics.ucdavis.edu
Thu Mar 29 18:00:00 GMT 2001


Hello,

In the last step of building ghostscript 6.5 (after some minor modifications
in a few places) I encountered the following error message:

(while gcc -fno-common -o ./bin/gs ./obj/gs.o ./obj/gp_getnv.o ...)

./obj/gp_psync.o(.text+0x49):gp_psync.c: undefined reference to
`pthread_cond_init'
./obj/gp_psync.o(.text+0x7a):gp_psync.c: undefined reference to
`pthread_cond_destroy'
./obj/gp_psync.o(.text+0xda):gp_psync.c: undefined reference to
`pthread_cond_wait'
./obj/gp_psync.o(.text+0x148):gp_psync.c: undefined reference to
`pthread_cond_signal'
./obj/gp_psync.o(.text+0x28e):gp_psync.c: undefined reference to
`pthread_attr_setdetachstate'

I have /usr/include/pthread.h but can not find libpthread.a anywhere.  Any
help is appreciated.

Wei Ku


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list