problems compiling XFree86-4-clients

Vallo Kallaste kalts at estpak.ee
Mon May 19 01:23:10 PDT 2003


On Thu, May 15, 2003 at 09:54:07PM -0600, Chris Moline
<cmoline at shaw.ca> wrote:

> 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?

Yes, don't use unsupported optimization level. Next time look into
list archives please.
-- 
Vallo Kallaste


More information about the freebsd-questions mailing list