From owner-freebsd-questions Mon Jan 22 17: 1:56 2001 Delivered-To: freebsd-questions@freebsd.org Received: from demai05.mw.mediaone.net (demai05.mw.mediaone.net [24.131.1.56]) by hub.freebsd.org (Postfix) with ESMTP id 1D30537B400; Mon, 22 Jan 2001 17:01:34 -0800 (PST) Received: from ian.batcave.com (nic-131-c233-239.mw.mediaone.net [24.131.233.239]) by demai05.mw.mediaone.net (8.8.7/8.8.7) with SMTP id UAA03127; Mon, 22 Jan 2001 20:01:32 -0500 (EST) From: Ian Cartwright Reply-To: icartwright@mediaone.net To: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Compiling XFree86-4_5 Date: Mon, 22 Jan 2001 20:01:33 -0500 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Message-Id: <01012220013301.00373@ian.batcave.com> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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-questions" in the body of the message