From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MsHl0-0005rL-6K for garchives@archives.gentoo.org; Mon, 28 Sep 2009 15:03:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DF435E07AF; Mon, 28 Sep 2009 15:03:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id B41B1E07AF for ; Mon, 28 Sep 2009 15:03:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 638F1678C6 for ; Mon, 28 Sep 2009 15:03:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -0.532 X-Spam-Level: X-Spam-Status: No, score=-0.532 required=5.5 tests=[BAYES_00=-2.599, RCVD_NUMERIC_HELO=2.067] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qM3Xmxm4BIkj for ; Mon, 28 Sep 2009 15:03:09 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 449E7676B7 for ; Mon, 28 Sep 2009 15:03:05 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1MsHkj-0007qZ-EK for gentoo-user@gentoo.org; Mon, 28 Sep 2009 17:03:01 +0200 Received: from 207.229.236.211 ([207.229.236.211]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Sep 2009 17:03:01 +0200 Received: from grant.b.edwards by 207.229.236.211 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Sep 2009 17:03:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Grant Edwards Subject: [gentoo-user] Re: glibmm 2.20.1 emerge fails to compile Date: Mon, 28 Sep 2009 15:02:36 +0000 (UTC) Message-ID: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 207.229.236.211 User-Agent: slrn/pre0.9.9-102 (Linux) Sender: news X-Archives-Salt: 6aa02fca-4a1a-4b6b-90b0-04803b2b8c51 X-Archives-Hash: 7e34bd9f419b18faf858a429496fc72a On 2009-09-28, walt wrote: > On 09/27/2009 09:38 PM, Grant Edwards wrote: >> I tried doing an upgrade (the usual emerge -auvND world), and >> it choked on glibmm 2.20.1. The compile failed the basic error >> seems to be this: >> >> generate_defs_glib.o: In function `main': >> generate_defs_glib.cc:(.text+0x6b): undefined reference to `std::basic_ostream >& std::__ostream_insert >(std::basic_ostream >&, char const*, int)' [...] > Those undefined references are supplied by libstdc++, so it > looks like you have a classic case of duelling library > versions. > > The error messages mention gcc-3.4.6, which is actually quite > old now, so perhaps you've switched to gcc-4.x.x now? Yes! I suspected that was the issue, but I had missed noticing the 3.4.6 in some of the libstdc++ paths. > The fix is to go back and re-emerge all packages that linked > against the old libstdc++. Thanks. I figured it was something like that. > One way to find them is to run fix_libtool_files.sh and note > which ones get fixed. You still need to re-emerge those > packages, though, if you're now using gcc-4.x Yes, I'm now using gcc 4. > I would actually just grep through all the .la files for > "3.4.6" (assuming that's your *old* version of gcc) and > re-emerge the packages that own those files. Maybe someone > else knows an easier way. I'll try fix_libtool_files.sh first, then go from there. -- Grant