From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EU01y-0006uF-SW for garchives@archives.gentoo.org; Mon, 24 Oct 2005 10:58:19 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j9O8RVql032572; Mon, 24 Oct 2005 08:27:31 GMT Received: from smtp100.mail.sc5.yahoo.com (smtp100.mail.sc5.yahoo.com [216.136.174.138]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j9O7nZcj009225 for ; Mon, 24 Oct 2005 07:49:35 GMT Received: (qmail 60960 invoked from network); 23 Oct 2005 06:52:47 -0000 Received: from unknown (HELO ?192.168.2.101?) (richard?j?fish@68.230.97.177 with plain) by smtp100.mail.sc5.yahoo.com with SMTP; 23 Oct 2005 06:52:46 -0000 Message-ID: <435B3360.3050300@asmallpond.org> Date: Sat, 22 Oct 2005 23:53:20 -0700 From: Richard Fish User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051007) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] using g++ instead of gcc to build abiword References: <200510211556.59427.ireneshusband@yahoo.co.uk> <200510221629.54448.ireneshusband@yahoo.co.uk> <200510221938.01928.dnebinger@joat.com> <200510221808.48044.ireneshusband@yahoo.co.uk> In-Reply-To: <200510221808.48044.ireneshusband@yahoo.co.uk> Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j9O7nZcj009225 X-Archives-Salt: d7412101-73e0-41e0-a68e-398457a52bc5 X-Archives-Hash: 5d84074ea557cbf09678df6fc8b3a319 Robert Persson wrote: >On October 22, 2005 04:38 pm Dave Nebinger was like: > > >>I think at this point you'll have to post some of the output generated when >>the ebuild fails before we'll be able to help you any further... >> >> > >Well here goes... > >... >UnixMain.o ../../../../src/wp/ap/libAp.a ../../../../src/wp/impexp/libImpExp.a ../../../../src/af/xap/libXap.a ../../../../src/af/util/libUtil.a ../../../../src/af/gr/libGr.a ../../../../src/af/ev/libEv.a ../../../../src/other/spell/xp/libSpell.a ../../../../src/other/ttftool/unix/libTtfTool.a ../../../../src/pkg/linux/apkg/libApkg.a ../../../../src/text/fmt/xp/libFmt.a ../../../../src/text/ptbl/xp/libPtbl.a ../../../../src/wp/ap/libAp.a ../../../../src/wp/impexp/libImpExp.a ../../../../src/af/xap/libXap.a ../../../../src/af/util/libUtil.a ../../../../src/af/gr/libGr.a ../../../../src/af/ev/libEv.a ../../../../src/other/spell/xp/libSpell.a ../../../../src/other/ttftool/unix/libTtfTool.a ../../../../src/pkg/linux/apkg/libApkg.a ../../../../src/text/fmt/xp/libFmt.a ../../../../src/text/ptbl/xp/libPtbl.a ../../../../src/wp/ap/libAp.a ../../../../src/wp/impexp/libImpExp.a ../../../../src/af/xap/libXap.a ../../../../src/af/util/libUtil.a ../../../../src/af/gr/libGr.a ../../../..! /! > src/af/ev/libEv.a ../../../../src/other/spell/xp/libSpell.a ../../../../src/other/ttftool/unix/libTtfTool.a ../../../../src/pkg/linux/apkg/libApkg.a ../../../../src/text/fmt/xp/libFmt.a ../../../../src/text/ptbl/xp/libPtbl.a ../../../../src/wp/ap/libAp.a ../../../../src/wp/impexp/libImpExp.a ../../../../src/af/xap/libXap.a ../../../../src/af/util/libUtil.a ../../../../src/af/gr/libGr.a ../../../../src/af/ev/libEv.a ../../../../src/other/spell/xp/libSpell.a ../../../../src/other/ttftool/unix/libTtfTool.a ../../../../src/pkg/linux/apkg/libApkg.a ../../../../src/text/fmt/xp/libFmt.a ../../../../src/text/ptbl/xp/libPtbl.a >-lglade-2.0 -lgtk-x11-2.0 -lxml2 -lpthread -lz -lgdk-x11-2.0 -latk-1.0 >-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 >-lgmodule-2.0 -ldl -lglib-2.0 -lSM -lICE -lX11 -Wl,--export-dynamic >-lgmodule-2.0 -ldl -lglib-2.0 -Wl,--export-dynamic -lgnomeprintui-2-2 >-lgnomeprint-2-2 -lgnomecanvas-2 -lxml2 -lpthread -lz -lart_lgpl_2 >-lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm >-lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl >-lglib-2.0 -Wl,--export-dynamic -lenchant -lgmodule-2.0 -ldl -lglib-2.0 >-L/usr/lib -lxml2 -lz -lpthread -lm -lfribidi -lwv -lwmf -lwmflite >-lfreetype -lSM -lICE -lX11 -lexpat -ljpeg -lxml2 -lpthread -lglib-2.0 -lpng >-lz -lm -lglib-2.0 -lpng12 -lz -lm -lz -lpopt -lXft -lX11 -lfreetype >-lXrender -lfontconfig -pthread -lgthread-2.0 -lglib-2.0 >UnixMain.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' >../../../../src/wp/ap/libAp.a(ap_UnixApp.o)(.text+0x3ef): In function >`AP_UnixApp::loadStringsFromDisk(char const*, AP_BuiltinStringSet*)': > > Could you post the output of "gcc -print-search-dirs"? Particularly, I am looking to see something like: libraries: =/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/... I think the libstdc++ library in this directory contains the gxx_personality_v0 symbol, but the stdc++ in /usr/lib does not. If gcc was somehow linking against /usr/lib first, it would pull in the libstdc++ from there, and you would end up with the problem above. So you should also check that /usr/lib/gcc/i686-pc-linux-gnu/3.4.4 contains usable libstdc++ files: carcharias lib # ll /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++* -rw-r--r-- 1 root root 1702000 Sep 10 20:22 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.a -rwxr-xr-x 1 root root 957 Sep 10 20:22 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.la lrwxrwxrwx 1 root root 18 Oct 9 00:49 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so -> libstdc++.so.6.0.3 lrwxrwxrwx 1 root root 18 Oct 9 00:49 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6 -> libstdc++.so.6.0.3 -rwxr-xr-x 1 root root 1077149 Sep 10 20:22 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6.0.3 -rw-r--r-- 1 root root 1798478 Sep 10 20:22 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++_pic.a -Richard -- gentoo-user@gentoo.org mailing list