Skip site navigation (1)Skip section navigation (2)
Date:      15 May 2003 21:54:07 -0600
From:      Chris Moline <cmoline@shaw.ca>
To:        freebsd-questions@freebsd.org
Subject:   problems compiling XFree86-4-clients
Message-ID:  <1053057247.4697.10.camel@h24-67-53-86.lb.shawcable.net>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1053057247.4697.10.camel>