The following series of errors occur when I try to emerge gnome-spell-0.4.1-r1. ---------------------------------------------- gcc -march=i686 -O3 -pipe -o gnome-spell-component Spell-common.o Spell-skels.o Spell-stubs.o checker.o control.o dictionary.o preload.o spell-factory.o -rdynamic -L/usr/lib -L/usr/X11R6/lib /usr/lib/libbonobo.so /usr/lib/liboaf.so /usr/lib/libORBitCosNaming.so /usr/lib/libORBit.so /usr/lib/libIIOP.so /usr/lib/libORBitutil.so /usr/lib/libbonobox.so /usr/lib/libgal.so /usr/lib/libgnomeprint.so /usr/lib/libfreetype.so /usr/lib/libglade-gnome.so /usr/lib/libglade.so /usr/lib/libxml.so -lz /usr/lib/libgnomeui.so /usr/lib/libart_lgpl.so /usr/lib/libgdk_imlib.so -lSM -lICE /usr/lib/libgdk_pixbuf.so /usr/lib/libgtk.so /usr/lib/libgdk.so /usr/lib/libgmodule.so -ldl -lXi -lXext -lX11 /usr/lib/libgnomecanvaspixbuf.so /usr/lib/libgnome.so /usr/lib/libgnomesupport.so /usr/lib/libesd.so /usr/lib/libasound.so /usr/lib/libaudiofile.so -lm -ldb1 /usr/lib/libglib.so /usr/lib/libpspell.so /usr/local/lib/libstdc++.so /usr/lib/libpspell_ispell.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib /usr/i686-pc-linux-gnu/bin/ld: warning: libasound.so.1, needed by /usr/lib/libgnomeprint.so, may conflict with libasound.so.2 /usr/lib/libpspell.so: undefined reference to `ios virtual table' /usr/lib/libpspell.so: undefined reference to `ostream::flush(void)' /usr/lib/libpspell.so: undefined reference to `istream::ios virtual table' /usr/lib/libpspell.so: undefined reference to `ostream::operator<<(char const *)' /usr/lib/libpspell.so: undefined reference to `ostream & operator<<<int>(ostream &, smanip<int> const &)' /usr/lib/libpspell.so: undefined reference to `ifstream::~ifstream(void)' /usr/lib/libpspell.so: undefined reference to `__iomanip_setw(ios &, int)' /usr/lib/libpspell.so: undefined reference to `fstreambase::fstreambase(int, char const *, int, int)' /usr/lib/libpspell.so: undefined reference to `ifstream::ios virtual table' collect2: ld returned 1 exit status make[2]: *** [gnome-spell-component] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnome-spell-0.4.1-r1/work/gnome-spell-0.4.1/gnome-spell' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-spell-0.4.1-r1/work/gnome-spell-0.4.1' make: *** [all-recursive-am] Error 2 make all-recursive make[1]: Entering directory `/var/tmp/portage/gnome-spell-0.4.1-r1/work/gnome-spell-0.4.1' Making all in po make[2]: Entering directory `/var/tmp/portage/gnome-spell-0.4.1-r1/work/gnome-spell-0.4.1/po' make[2]: Leaving directory `/var/tmp/portage/gnome-spell-0.4.1-r1/work/gnome-spell-0.4.1/po' Making all in gnome-spell make[2]: Entering directory `/var/tmp/portage/gnome-spell-0.4.1-r1/work/gnome-spell-0.4.1/gnome-spell' /bin/sh ../libtool --mode=link gcc -march=i686 -O3 -pipe -o gnome-spell-component Spell-common.o Spell-skels.o Spell-stubs.o checker.o control.o dictionary.o preload.o spell-factory.o -rdynamic -L/usr/lib -L/usr/X11R6/lib -lbonobo -loaf -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lbonobox -lgal -lgnomeprint -lfreetype -lglade-gnome -lglade -lxml -lz -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgnome -lgnomesupport -lesd -lasound -laudiofile -ldb1 -lgdk_pixbuf -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lgnomecanvaspixbuf -lgnome -lgnomesupport -lesd -lasound -laudiofile -lm -ldb1 -lglib -lpspell -lstdc++ -lpspell_ispell gcc -march=i686 -O3 -pipe -o gnome-spell-component Spell-common.o Spell-skels.o Spell-stubs.o checker.o control.o dictionary.o preload.o spell-factory.o -rdynamic -L/usr/lib -L/usr/X11R6/lib /usr/lib/libbonobo.so /usr/lib/liboaf.so /usr/lib/libORBitCosNaming.so /usr/lib/libORBit.so /usr/lib/libIIOP.so /usr/lib/libORBitutil.so /usr/lib/libbonobox.so /usr/lib/libgal.so /usr/lib/libgnomeprint.so /usr/lib/libfreetype.so /usr/lib/libglade-gnome.so /usr/lib/libglade.so /usr/lib/libxml.so -lz /usr/lib/libgnomeui.so /usr/lib/libart_lgpl.so /usr/lib/libgdk_imlib.so -lSM -lICE /usr/lib/libgdk_pixbuf.so /usr/lib/libgtk.so /usr/lib/libgdk.so /usr/lib/libgmodule.so -ldl -lXi -lXext -lX11 /usr/lib/libgnomecanvaspixbuf.so /usr/lib/libgnome.so /usr/lib/libgnomesupport.so /usr/lib/libesd.so /usr/lib/libasound.so /usr/lib/libaudiofile.so -lm -ldb1 /usr/lib/libglib.so /usr/lib/libpspell.so /usr/local/lib/libstdc++.so /usr/lib/libpspell_ispell.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib /usr/i686-pc-linux-gnu/bin/ld: warning: libasound.so.1, needed by /usr/lib/libgnomeprint.so, may conflict with libasound.so.2 /usr/lib/libpspell.so: undefined reference to `ios virtual table' /usr/lib/libpspell.so: undefined reference to `ostream::flush(void)' /usr/lib/libpspell.so: undefined reference to `istream::ios virtual table' /usr/lib/libpspell.so: undefined reference to `ostream::operator<<(char const *)' /usr/lib/libpspell.so: undefined reference to `ostream & operator<<<int>(ostream &, smanip<int> const &)' /usr/lib/libpspell.so: undefined reference to `ifstream::~ifstream(void)' /usr/lib/libpspell.so: undefined reference to `__iomanip_setw(ios &, int)' /usr/lib/libpspell.so: undefined reference to `fstreambase::fstreambase(int, char const *, int, int)' /usr/lib/libpspell.so: undefined reference to `ifstream::ios virtual table' collect2: ld returned 1 exit status make[2]: *** [gnome-spell-component] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnome-spell-0.4.1-r1/work/gnome-spell-0.4.1/gnome-spell' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-spell-0.4.1-r1/work/gnome-spell-0.4.1' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 18, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/app-text/gnome-spell/gnome-spell-0.4.1-r1.ebuild .
gcc 3?
No, gcc-2.95.3-r5 is the compiler. It is a normal Gentoo 1.1a install on x86 except the system is built on binutils-2.12.90.0.4, not on the standard binutils-2.11.92.0.12.3 in the default-1.0 profile. Mark
Hi, try binutils-2.12.90.7, as gnome-spell works fine here with it.
Switching to the latest binutils-2.12.90.0.7 doesn't change anything. It is definitely a problem with libasound. I don't understand why libasound is needed for gnome-spell.
The only time I get this, is with gcc-3.0.4. Also, are you using alsa-0.9?
I was using the alsa 0.9 beta when I first tried to emerge gnome-spell. I removed those and reinstalled alsa 0.5. Emerge gnome-spell failed with the exact same error. Finally, I emerged the new alsa 0.9 release candidate 1, tried to emerge gnome-spell, and got the same error once again. Mark
Ok, here is your problem: the build looks for libstdc++ here: /usr/local/lib/libstdc++.so Any idea why ?
I compiled and installed gcc 3.0.4 from source (not using emerge) into /usr/local because I need the gcc 3.x compiler for some Fortran code. gcc invokes gcc 2.95.3, and I have to call gcc 3.0.4 explicitly using /usr/local/bin/gcc. As far as I know, it is not possible to have gcc 2.95.3 and gcc 3.x simultaneously installed using portage. This setup (gcc 2.95.3 in /usr and gcc 3.0.4 in /usr/local) has never caused any problems before, so I'm not sure why it would start now. Mark
Ok, this makes sense. You should have a /usr/local/lib/libstdc++.la. Move it out of there, as libtool incorrectly uses this for gcc-2.95.3. Another option is to use our gcc-3.0.4 ebuild, as it do not have this problem (I have both installed). If you do, remember to clear out /usr/local/.
Should be fixed i guess.