From owner-freebsd-current Wed May 29 8:55:53 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 4747237B40A; Wed, 29 May 2002 08:55:45 -0700 (PDT) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by mail.imp.ch (8.11.6/8.11.6) with ESMTP id g4TFthf55424; Wed, 29 May 2002 17:55:43 +0200 (CEST) Date: Wed, 29 May 2002 17:56:28 +0200 (CEST) From: Martin Blapp To: , Alexander Kabaev Cc: Subject: gcc3.1 problems: undefined reference to `__gxx_personality_v0' Message-ID: <20020529175400.G18017-100000@levais.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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 Martin Blapp, ------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 061 826 93 00: +41 61 826 93 01 PGP: PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E ------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message