Date: Wed, 29 May 2002 10:40:13 -0700 From: Peter Wemm <peter@wemm.org> To: Martin Blapp <mb@imp.ch> Cc: obrien@FreeBSD.ORG, Alexander Kabaev <ak03@gte.com>, current@FreeBSD.ORG Subject: Re: gcc3.1 problems: undefined reference to `__gxx_personality_v0' Message-ID: <20020529174013.9176D380A@overcee.wemm.org> In-Reply-To: <20020529175400.G18017-100000@levais.imp.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
Martin Blapp wrote: > > Hi all, > > I see this configure failure when using the system gcc3.1 or a newer one from > ports. A version from march works. > > configure:3602: checking for XOpenDisplay in -lX11 > configure:3624: /usr/local/bin/g++31 -o conftest -g -L/usr/X11R6/lib > conftest.C -lX11 1>&5 > /var/tmp//ccask2mP.o: In function `main': > /usr/ports/editors/openoffice/work/oo_1.0_src/config_office/configure:3620: > undefined reference to `__gxx_personality_v0' > collect2: ld returned 1 exit status > configure: failed program was: > #line 3610 "configure" > #include "confdefs.h" > /* Override any gcc2 internal prototype to avoid an error. */ > #ifdef __cplusplus > extern "C" > #endif > /* We use char because int might match the return type of a gcc2 > builtin and then its argument prototype would still apply. */ > char XOpenDisplay(); > > int main() { > XOpenDisplay() > ; return 0; } > > Martin Have you done a 'make world' in the last 24 hours or so? What does this show: ls -l /usr/bin/c++ /usr/lib/libstdc++.so.4 /usr/include/g++/bits/c++config.h They should all exist and be roughly the same time/date. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020529174013.9176D380A>