problems compiling XFree86-4-clients

Chris Moline cmoline at shaw.ca
Thu May 15 21:02:36 PDT 2003


hi. i am having some trouble compiling the XFree86-4-clients port. it
fails with

rm -f appres^M
cc -o appres -O6 -pipe -march=pentiumpro -ansi -Dasm=__asm -Wall
-Wpointer-arith
/usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_signal'^M
/usr/X11R6/lib/libXThrStub.so.6: undefined reference to
`_Xthr_zero_stub_'^M
/usr/X11R6/lib/libX11.so: undefined reference to
`pthread_cond_broadcast'^M
/usr/X11R6/lib/libXThrStub.so.6: undefined reference to
`_Xthr_self_stub_'^M
/usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_init'^M
/usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_unlock'^M
/usr/X11R6/lib/libXt.so: undefined reference to `pthread_self'^M
/usr/X11R6/lib/libXt.so: undefined reference to
`pthread_mutex_destroy'^M
/usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_lock'^M
/usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_wait'^M
/usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_destroy'^M
/usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_init'^M

i cant figure out how to fix this. i have tried setting the enviroment
variable LDFLAGS to -pthread. i have tried make install clean
LDFLAGS=-pthread. and i have also tried adding
CONFIGURE_ENV+=LDFLAGS=${PTHREAD_LIBS}
to the Makefile. none of which work.

is there something i can do to convince XFree86-4-clients to compile?

chris moline



More information about the freebsd-questions mailing list