From owner-freebsd-stable Mon Jan 22 18:26:19 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.gwi.net (smtp.gwi.net [207.5.128.11]) by hub.freebsd.org (Postfix) with ESMTP id 0333C37B400 for ; Mon, 22 Jan 2001 18:26:00 -0800 (PST) Received: from sss1.gwi.net (sss1.gwi.net [207.5.128.36]) by smtp.gwi.net (8.10.1/8.10.1) with ESMTP id f0N2Pwr01932; Mon, 22 Jan 2001 21:25:58 -0500 (EST) Date: Mon, 22 Jan 2001 21:25:58 -0500 (EST) From: "Jamin A. Brown" To: Ian Cartwright Cc: Subject: Re: Compiling XFree86-4_5 In-Reply-To: <01012220020702.00373@ian.batcave.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ian, Had the same problem, reduce O3 to O2 and that fixed my problem. Jamin On Mon, 22 Jan 2001, Ian Cartwright wrote: > Hello all, > > I seem to be having a problem compiling XFree86-4_5 from the ports > collection. It downloads and compiles OK, but partway through the linking > stage I get some errors that have to do with threading. I'm not sure why this > should be since I have another FreeBSD box that compiles it flawlessly... > > Here is all the relevant info I can think of: > > FreeBSD-4.2-STABLE (last make world Jan 21, 2001) > Current XFree86-4.0.1 (from binaries downloaded from xfree86.org) > KDE 2.0.1 (ports with relevant dependencies (qt, Mesa, etc.)) > default make arguements are the defaults in /etc/defaults/make.conf plus I > added: -mpentiumpro -march=i686 -03 > > Here are the last few lines from make: > > making all in programs/appres... > LD_LIBRARY_PATH=../../exports/lib cc -O3 -pipe -mpentiumpro -march=i686 > -pthread -ansi -pedantic -Dasm=__asm -Wall -Wpointer-arith -I../.. > -I../../exports/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c > appres.c > rm -f appres > LD_LIBRARY_PATH=../../exports/lib cc -o appres -ansi -pedantic -Dasm=__asm > -Wall -Wpointer-arith -L../../exports/lib appres.o -lXt -lSM -lICE -lXext > -lX11 -L/usr/X11R6/lib -Wl,-rpath,/usr/X11R6/lib > ../../exports/lib/libXt.so: undefined reference to `pthread_cond_signal' > /usr/X11R6/lib/libXThrStub.so.6: undefined reference to `_Xthr_zero_stub_' > ../../exports/lib/libX11.so: undefined reference to `pthread_cond_broadcast' > /usr/X11R6/lib/libXThrStub.so.6: undefined reference to `_Xthr_self_stub_' > ../../exports/lib/libXt.so: undefined reference to `pthread_cond_init' > ../../exports/lib/libXt.so: undefined reference to `pthread_mutex_unlock' > ../../exports/lib/libXt.so: undefined reference to `pthread_self' > ../../exports/lib/libXt.so: undefined reference to `pthread_mutex_destroy' > ../../exports/lib/libXt.so: undefined reference to `pthread_mutex_lock' > ../../exports/lib/libXt.so: undefined reference to `pthread_cond_wait' > ../../exports/lib/libXt.so: undefined reference to `pthread_cond_destroy' > ../../exports/lib/libXt.so: undefined reference to `pthread_mutex_init' > *** Error code 1 > > Stop in /usr/ports/x11/XFree86-4/work/xc/programs/appres. > *** Error code 1 > > Stop in /usr/ports/x11/XFree86-4/work/xc/programs. > *** Error code 1 > > Stop in /usr/ports/x11/XFree86-4/work/xc. > *** Error code 1 > > Stop in /usr/ports/x11/XFree86-4/work/xc. > *** Error code 1 > > Stop in /usr/ports/x11/XFree86-4/work/xc. > *** Error code 1 > > Stop in /usr/ports/x11/XFree86-4. > *** Error code 1 > > Stop in /usr/ports/x11/XFree86-4. > *** Error code 1 > > Stop in /usr/ports/x11/XFree86-4. > > ------------------------------------------------------- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > ----------------------------------------------------------------- Jamin A. Brown Systems Operations Department operations@gwi.net * Great Works Internet * 207.286.8686 x142 RSA PGP Key: http://www.gwi.net/~jamin/pgp/jamin.asc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message