Date: 20 Mar 2003 13:52:48 -0800 From: Eric Anholt <eta@lclark.edu> To: Ian McAlpine <ianmcalpine@orange.net> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: XFree 4.3 compile problems Message-ID: <1048197167.617.171.camel@leguin> In-Reply-To: <200303202127.50515.ianmcalpine@orange.net> References: <200303202127.50515.ianmcalpine@orange.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2003-03-20 at 13:27, Ian McAlpine wrote: > Hiya, > > I've been trying to build XFree86 4.3 on a clean 4.8-RC2 system, from ports. > The probalem is the libraries build fine, but then trying to build other > stuff (including the server) fails with errors like: > > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_signal' > /usr/X11R6/lib/libXThrStub.so.6: undefined reference to `_Xthr_zero_stub_' > /usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_broadcast' > /usr/X11R6/lib/libXThrStub.so.6: undefined reference to `_Xthr_self_stub_' > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_init' > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_unlock' > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_self' > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_destroy' > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_lock' > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_wait' > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_destroy' > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_init' > > I currently have the packages installed, with KDE etc. all built on top of > them from ports. I have since tried portupgrade-ing XFree86-libs, and whilst > everything installed previously still runs fine, I get the same errors when I > try to portupgrade the other bits or install anything new. The only not > standard thing I'm doing is using -O3 and -march=k6, but I wouldnt have > thought optimization could cause this sort of thing, please correct me if I'm > wrong. Any ideas? This is a FAQ. Turn off -O3. -- Eric Anholt eta@lclark.edu http://people.freebsd.org/~anholt/ anholt@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1048197167.617.171.camel>