public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: walt <w41ter@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  Re: glibmm 2.20.1 emerge fails to compile
Date: Mon, 28 Sep 2009 05:07:17 -0700	[thread overview]
Message-ID: <h9q8tn$t02$1@ger.gmane.org> (raw)
In-Reply-To: <h9pekv$npk$1@ger.gmane.org>

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<char, std::char_traits<char>  >&  std::__ostream_insert<char, std::char_traits<char>  >(std::basic_ostream<char, std::char_traits<char>  >&, char const*, int)'
>
> I've done a revdep-rebuild to make sure things are consistent,
> and it says things are OK.  Google doesn't seem to know that
> error message, and I couldn't find anything relevent at
> bugs.gentoo.org.
>
> The only thing I can think of is that it has to do with some
> libraries having been compiled with an older version of gcc,
> but I'm not sure how to check for that...

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?

The fix is to go back and re-emerge all packages that linked against the
old libstdc++.  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

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.




  reply	other threads:[~2009-09-28 12:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-28  4:38 [gentoo-user] glibmm 2.20.1 emerge fails to compile Grant Edwards
2009-09-28 12:07 ` walt [this message]
2009-09-28 15:02   ` [gentoo-user] " Grant Edwards

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='h9q8tn$t02$1@ger.gmane.org' \
    --to=w41ter@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox