From owner-freebsd-hackers Sun Jun 3 15:27:50 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from messiah.megadeb.org (cpe.atm0-0-0-218131.arcnxx5.customer.tele.dk [62.242.79.117]) by hub.freebsd.org (Postfix) with ESMTP id 9697A37B401 for ; Sun, 3 Jun 2001 15:27:46 -0700 (PDT) (envelope-from chopra@runbox.com) Received: (from chopra@localhost) by messiah.megadeb.org (8.11.3/8.11.3) id f53MTGS08548 for freebsd-hackers@FreeBSD.ORG; Mon, 4 Jun 2001 00:29:16 +0200 (CEST) (envelope-from chopra) Date: Mon, 4 Jun 2001 00:28:01 +0200 From: Munish Chopra To: freebsd-hackers@FreeBSD.ORG Subject: Re: building /usr/ports/x11-fm/fsv Message-ID: <20010604002801.C95721@messiah.megadeb.org> Mail-Followup-To: freebsd-hackers@FreeBSD.ORG References: <20010603112650.W75725-100000@bsd.smnolde.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010603112650.W75725-100000@bsd.smnolde.com>; from scott@mediaone.net on Sun, Jun 03, 2001 at 11:28:54AM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jun 03, 2001 at 11:28:54AM -0400, Scott Nolde wrote: > After a fresh cvsup of prts to my 4.3-STABLE system, I get the following > error when building fsv: > > #include "confdefs.h" > /* Override any gcc2 internal prototype to avoid an error. */ > /* We use char because int might match the return type of a gcc2 > builtin and then its argument prototype would still apply. */ > char glBegin(); > > int main() { > glBegin() > ; return 0; } > configure:4157: checking for glBegin in -lGL > configure:4176: cc -o conftest -O -pipe -I/usr/local/include conftest.c > -lGL -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib > -Wl,-E -lgmodule12 -lglib12 -lintl -lxpg4 -lXext -lX11 -lm > -L/usr/X11R6/lib/lib -L/usr/local/lib 1>&5 > /usr/X11R6/lib/libGL.so: undefined reference to `pthread_getspecific' > /usr/X11R6/lib/libGL.so: undefined reference to `pthread_key_create' > /usr/X11R6/lib/libGL.so: undefined reference to `pthread_setspecific' > configure: failed program was: > #line 4165 "configure" > #include "confdefs.h" > /* Override any gcc2 internal prototype to avoid an error. */ > /* We use char because int might match the return type of a gcc2 > builtin and then its argument prototype would still apply. */ > char glBegin(); > > int main() { > glBegin() > ; return 0; } > (end of "config.log") > *** Error code 1 I got the same thing a few days ago trying to build net/fidelio: /tmp/ccUBd9xD.o: In function `main': /tmp/ccUBd9xD.o(.text+0x7): undefined reference to `xmlCleanURI' configure: failed program was: #line 5000 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char xmlCleanURI(); int main() { xmlCleanURI() ; return 0; } (end of "config.log") *** Error code 1 ...I'm assuming it's more or less the same thing. I'd be interested in answers... -- -Munish To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message