From owner-freebsd-ports Wed Jan 31 10:57:43 2001 Delivered-To: freebsd-ports@freebsd.org Received: from enigma.whacky.net (enigma.whacky.net [194.109.204.120]) by hub.freebsd.org (Postfix) with ESMTP id 5D9E237B491; Wed, 31 Jan 2001 10:57:20 -0800 (PST) Received: (from stephanb@localhost) by enigma.whacky.net (8.11.1/8.9.3) id f0VIvDe07167; Wed, 31 Jan 2001 19:57:13 +0100 (CET) (envelope-from stephanb) Date: Wed, 31 Jan 2001 19:57:13 +0100 From: Stephan van Beerschoten To: ports@freebsd.org Cc: current@freebsd.org Subject: x11/XFree86-4 Message-ID: <20010131195713.A7144@enigma.whacky.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I am having trouble compiling XFree86 from the ports tree.. I once ever few weeks recompile several packages again because I run -CURRENT and want to keep everything nicely sync'ed and updated in ports too.. But while compiling .. I got this error: LD_LIBRARY_PATH=../../exports/lib cc -o appres -ansi -pedantic -Dasm=__asm -Wal l -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' ../../exports/lib/libXThrStub.so.6: undefined reference to `_Xthr_zero_stub_' ../../exports/lib/libX11.so: undefined reference to `pthread_cond_broadcast' ../../exports/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 /mnt/archive/CVS/ports/x11/XFree86-4/work/xc/programs/appres. I am using the ports tree which cvs'sed about half an hour ago. I am not much of a programmer, but I do recall several undef references, so I tried to link with libc_r too. Which gave me a better result, while still failing: LD_LIBRARY_PATH=../../exports/lib cc -lc_r -o appres -ansi -pedantic -Dasm=__as m -Wall -Wpointer-arith -L../../exports/lib appres.o -lXt -lSM -lICE -lXext -lX11 -L/usr/X11R6/lib -Wl,-rpath,/usr/X11R6/lib ../../exports/lib/libXThrStub.so.6: undefined reference to `_Xthr_zero_stub_' ../../exports/lib/libXThrStub.so.6: undefined reference to `_Xthr_self_stub_' *** Error code 1 Stop in /mnt/archive/CVS/ports/x11/XFree86-4/work/xc/programs/appres. I don't know what to do with these undefs .. so, any help would be appreciated. I'm not on the -ports list, so please include me in any mail referencing this. -Steve -- Stephan van Beerschoten [SVB21-RIPE] stephanb@whacky.net PGP fingerprint: 4557 9761 B212 FB4C 778D 3529 C42A 2D27 "To err is human, to forgive is Not Company Policy" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message