g++ -march=athlon-mp -Os -pipe -fomit-frame-pointer -mmmx -m3dnow -msse -mfpmath=sse -Wall -Wno-long-long -o .libs/parser parser.o -Wl,--export-dynamic ../../glib/glibmm/.libs/libglibmm-2.4.so -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib /usr/lib/gcc/i686-pc-linux-gnu/3.4.0/libstdc++.so -L/usr/lib/../i686-pc-linux-gnu/lib /usr/lib/libsigc-2.0.so /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libstdc++.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -Wl,--rpath -Wl,/usr/lib/gcc/i686-pc-linux-gnu/3.4.0 ../../glib/glibmm/.libs/libglibmm-2.4.so: undefined reference to `sigc::internal::signal_impl::insert(std::_List_iterator<sigc::slot_base>, sigc::slot_base const&)' ../../glib/glibmm/.libs/libglibmm-2.4.so: undefined reference to `sigc::internal::signal_impl::erase(std::_List_iterator<sigc::slot_base>)' collect2: ld returned 1 exit status make[3]: *** [parser] Error 1 make[3]: Leaving directory `/data/portage_tmp/portage/glibmm-2.4.3/work/glibmm-2.4.3/examples/markup' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/data/portage_tmp/portage/glibmm-2.4.3/work/glibmm-2.4.3/examples' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/data/portage_tmp/portage/glibmm-2.4.3/work/glibmm-2.4.3' make: *** [all] Error 2 !!! ERROR: dev-cpp/glibmm-2.4.3 failed. !!! Function gnome2_src_compile, Line 39, Exitcode 2 !!! compile failure Reproducible: Always Steps to Reproduce: 1.emerge glibmm 2. 3. Actual Results: compile failed
I should think you should first calm your CFLAGS and CXXFLAGS down a bit and try again to see if you get these errors.
I had this problem after switching from gcc 3.3 to gcc 3.4.1 on AMD64. I fixed the problem by emerging libsigc++ since I for some reason missed compiling it on my attempt to emerge -e world.
I'm having the same problem on my AMD64 system, running gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6). g++ -O2 -march=opteron -ftracer -pipe -Wall -Wno-long-long -o .libs/parser parser.o -Wl,--export-dynamic ../../glib/glibmm/.libs/libglibmm-2.4.so -L/usr/x86_64-pc-linux-gnu/bin -L/usr/x86_64-pc-linux-gnu/lib -L/usr/lib/gcc-lib/x86_64-pc-linux-gnu/../../../x86_64-pc-linux-gnu/lib /usr/lib/libsigc-2.0.so /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/libstdc++.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl/usr/lib/libglib-2.0.so -Wl,--rpath -Wl,/usr/lib /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libstdc++.so.6, needed by /usr/lib/libsigc-2.0.so, may conflict with libstdc++.so.5 ../../glib/glibmm/.libs/libglibmm-2.4.so: undefined reference to `sigc::internal::signal_impl::erase(std::_List_iterator<sigc::slot_base, sigc::slot_base&, sigc::slot_base*>)' ../../glib/glibmm/.libs/libglibmm-2.4.so: undefined reference to `sigc::internal::signal_impl::insert(std::_List_iterator<sigc::slot_base, sigc::slot_base&, sigc::slot_base*>, sigc::slot_base const&)' collect2: ld returned 1 exit status make[3]: *** [parser] Error 1 make[3]: Leaving directory `/var/tmp/portage/glibmm-2.4.3/work/glibmm-2.4.3/examples/markup' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/glibmm-2.4.3/work/glibmm-2.4.3/examples' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/glibmm-2.4.3/work/glibmm-2.4.3' make: *** [all] Error 2 !!! ERROR: dev-cpp/glibmm-2.4.3 failed. !!! Function gnome2_src_compile, Line 38, Exitcode 2 !!! compile failure
amd64, might be a dupe
Or try glibmm-2.4.4
I'm getting the problem on dev-cpp/glibmm-2.4.4 as well: g++ -march=k8 -O2 -pipe -Wall -Wno-long-long -o .libs/parser parser.o -Wl,--export-dynamic ../../glib/glibmm/.libs/libglibmm-2.4.so -L/usr/x86_64-pc-linux-gnu/bin -L/usr/x86_64-pc-linux-gnu/lib -L/usr/lib/../x86_64-pc-linux-gnu/lib /usr/lib/libsigc-2.0.so /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/libstdc++.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libstdc++.so.5, needed by /usr/lib/libsigc-2.0.so, may conflict with libstdc++.so.6 ../../glib/glibmm/.libs/libglibmm-2.4.so: undefined reference to `sigc::internal::signal_impl::insert(std::_List_iterator<sigc::slot_base>, sigc::slot_base const&)' ../../glib/glibmm/.libs/libglibmm-2.4.so: undefined reference to `sigc::internal::signal_impl::erase(std::_List_iterator<sigc::slot_base>)' collect2: ld returned 1 exit status make[3]: *** [parser] Error 1 make[3]: Leaving directory `/var/tmp/portage/glibmm-2.4.4/work/glibmm-2.4.4/examples/markup' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/glibmm-2.4.4/work/glibmm-2.4.4/examples' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/glibmm-2.4.4/work/glibmm-2.4.4' make: *** [all] Error 2 !!! ERROR: dev-cpp/glibmm-2.4.4 failed. !!! Function gnome2_src_compile, Line 38, Exitcode 2 !!! compile failure Portage 2.0.50-r9 (default-amd64-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.7-gentoo-r14) ================================================================= System uname: 2.6.7-gentoo-r14 x86_64 4 Gentoo Base System version 1.5.2 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O2 -pipe"
I'm also having problems on x86, gcc 3.4.1 -wall ... but... comment #2 From Jon Sutherland 2004-08-05 12:54 PST - fixed my problem!! emerging libsigc++ fixed it! I also did an emerge world -e when i switched compilers... this is wakky!! --- Thanks Jon! ****** what I was going to report ******** Making all in markup make[3]: Entering directory `/var/tmp/portage/glibmm-2.4.4/work/glibmm-2.4.4/examples/markup' if g++ -DHAVE_CONFIG_H -I. -I. -I../../glib -I../../glib -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=athlon-xp -O3 -pipe -fomit-frame-pointer -Wall -Wno-long-long -MT parser.o -MD -MP -MF ".deps/parser.Tpo" -c -oparser.o parser.cc; \ then mv -f ".deps/parser.Tpo" ".deps/parser.Po"; else rm -f ".deps/parser.Tpo"; exit 1; fi /bin/sh ../../libtool --mode=link g++ -march=athlon-xp -O3 -pipe -fomit-frame-pointer -Wall -Wno-long-long -o parser parser.o ../../glib/glibmm/libglibmm-2.4.la -Wl,--export-dynamic -lsigc-2.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 mkdir .libs g++ -march=athlon-xp -O3 -pipe -fomit-frame-pointer -Wall -Wno-long-long -o .libs/parser parser.o -Wl,--export-dynamic ../../glib/glibmm/.libs/libglibmm-2.4.so -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib /usr/lib/libsigc-2.0.so /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/libstdc++.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -Wl,--rpath -Wl,/usr/lib/gcc/i686-pc-linux-gnu/3.4.1 /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libstdc++.so.5, needed by /usr/lib/libsigc-2.0.so, may conflict with libstdc++.so.6 ../../glib/glibmm/.libs/libglibmm-2.4.so: undefined reference to `sigc::internal::signal_impl::insert(std::_List_iterator<sigc::slot_base>, sigc::slot_base const&)' ../../glib/glibmm/.libs/libglibmm-2.4.so: undefined reference to `sigc::internal::signal_impl::erase(std::_List_iterator<sigc::slot_base>)' collect2: ld returned 1 exit status make[3]: *** [parser] Error 1 make[3]: Leaving directory `/var/tmp/portage/glibmm-2.4.4/work/glibmm-2.4.4/examples/markup' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/glibmm-2.4.4/work/glibmm-2.4.4/examples' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/glibmm-2.4.4/work/glibmm-2.4.4' make: *** [all] Error 2 !!! ERROR: dev-cpp/glibmm-2.4.4 failed. !!! Function gnome2_src_compile, Line 38, Exitcode 2 !!! compile failure escargot mediawiki # emerge info Portage 2.0.50-r9 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8-gentoo) ================================================================= System uname: 2.6.8-gentoo i686 AMD Athlon(TM) XP 1700+ Gentoo Base System version 1.5.2 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow X aac aalib accessibility acl acpi acpi4linux alsa amd apache2 apm arts artswrappersuid audiofile avi berkdb bidi bonobo canna cdr cjk cjkcrypt codecscrypt cscope cups dba dga directfb divx4linux doc dv dvb dvd encode esd evms2 faac faad fam fbcon ffmpeg flac flash foomaticdb freetype freewnn fs gd gdbm ggi gif gimp gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib jack java javascript joystick jpeg kde kerberos krb4 ldap libcss libdvdread libg++ libwww linguas_en_US linguas_es linguas_ru linguas_zh_CN linguas_zh_TW live mad maildir md5sum mdb mikmod mmx mng motif mozdomi mozilla mozsvg mpeg mpeg4 mulemysql nas ncurses net nls nptl nvidia offensive oggvorbis opengl oss pam pdflib perl pic png posix postgres python qt quicktime readline samba sasl scanner sdl slang spell sse ssl svg svga tcltk tcpd tetex theora threads tiff transcode truetype unicode usb v4l vhosts virus-scan x86 xine xinerama xml2 xmms xv xvid zeo zlib"
Fixed after re-emerging libsigc++
this should be reassigned, i got the same bug on a x86 machine running gcc 3.4 doing comment #2's suggestion also fixed it for me
i dont see how we can fix this if the fix is simply a recompile.
i think we should find some way to make ppl at least aware of this problem
*** Bug 62248 has been marked as a duplicate of this bug. ***
this seems 'fixed' with comment #2
*** Bug 80334 has been marked as a duplicate of this bug. ***
*** Bug 135194 has been marked as a duplicate of this bug. ***
*** Bug 135819 has been marked as a duplicate of this bug. ***
*** Bug 136841 has been marked as a duplicate of this bug. ***
*** Bug 138068 has been marked as a duplicate of this bug. ***
*** Bug 138513 has been marked as a duplicate of this bug. ***
*** Bug 138526 has been marked as a duplicate of this bug. ***
*** Bug 144320 has been marked as a duplicate of this bug. ***
Uhm, sorry for mailing everyone, but I have to ask: wouldnt this bug be easier to find (and therefore duplicated less often) if it wasn't marked as fixed? With gcc 4.1 coming I expect many more people to trip over this one...
It would be easier to find, but it wouldn't be less resolved. The status field is not under democratic control but should reflect the true state of the bug. :P
*** Bug 147604 has been marked as a duplicate of this bug. ***
*** Bug 150133 has been marked as a duplicate of this bug. ***
*** Bug 155271 has been marked as a duplicate of this bug. ***
*** Bug 158456 has been marked as a duplicate of this bug. ***
*** Bug 159386 has been marked as a duplicate of this bug. ***
*** Bug 162678 has been marked as a duplicate of this bug. ***
*** Bug 166503 has been marked as a duplicate of this bug. ***
*** Bug 189547 has been marked as a duplicate of this bug. ***