From owner-freebsd-current Wed May 29 10:41:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from evilpete.dyndns.org (12-232-26-46.client.attbi.com [12.232.26.46]) by hub.freebsd.org (Postfix) with ESMTP id A660C37BFB7; Wed, 29 May 2002 10:40:14 -0700 (PDT) Received: from overcee.wemm.org ([10.0.0.3]) by evilpete.dyndns.org (8.11.6/8.11.6) with ESMTP id g4THeD164834; Wed, 29 May 2002 10:40:14 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 9176D380A; Wed, 29 May 2002 10:40:13 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Martin Blapp Cc: obrien@FreeBSD.ORG, Alexander Kabaev , current@FreeBSD.ORG Subject: Re: gcc3.1 problems: undefined reference to `__gxx_personality_v0' In-Reply-To: <20020529175400.G18017-100000@levais.imp.ch> Date: Wed, 29 May 2002 10:40:13 -0700 From: Peter Wemm Message-Id: <20020529174013.9176D380A@overcee.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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