Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2003 11:23:26 +0300
From:      Vallo Kallaste <kalts@estpak.ee>
To:        Chris Moline <cmoline@shaw.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: problems compiling XFree86-4-clients
Message-ID:  <20030519082326.GC1560@kevad.internal>
In-Reply-To: <1053057247.4697.10.camel@h24-67-53-86.lb.shawcable.net>
References:  <1053057247.4697.10.camel@h24-67-53-86.lb.shawcable.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 15, 2003 at 09:54:07PM -0600, Chris Moline
<cmoline@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



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