Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 May 2002 17:56:28 +0200 (CEST)
From:      Martin Blapp <mb@imp.ch>
To:        <obrien@freebsd.org>, Alexander Kabaev <ak03@gte.com>
Cc:        <current@freebsd.org>
Subject:   gcc3.1 problems: undefined reference to `__gxx_personality_v0'
Message-ID:  <20020529175400.G18017-100000@levais.imp.ch>

next in thread | raw e-mail | index | archive | help

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, <mb@imp.ch> <mbr@FreeBSD.org>
------------------------------------------------------------------
ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH
Phone: +41 061 826 93 00: +41 61 826 93 01
PGP: <finger -l mbr@freebsd.org>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020529175400.G18017-100000>