Date: Mon, 4 Jun 2001 00:28:01 +0200 From: Munish Chopra <chopra@runbox.com> To: freebsd-hackers@FreeBSD.ORG Subject: Re: building /usr/ports/x11-fm/fsv Message-ID: <20010604002801.C95721@messiah.megadeb.org> In-Reply-To: <20010603112650.W75725-100000@bsd.smnolde.com>; from scott@mediaone.net on Sun, Jun 03, 2001 at 11:28:54AM -0400 References: <20010603112650.W75725-100000@bsd.smnolde.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010604002801.C95721>