One of the (slotted?) versions of libgtkhtml portage installs on my ~x86 system has had the following compile error for some time now. I have tried it without distcc as well. i686-pc-linux-gnu-ranlib .libs/libgtkhtml-3.1.a rm -fr .libs/libgtkhtml-3.1.lax creating libgtkhtml-3.1.la (cd .libs && rm -f libgtkhtml-3.1.la && ln -s ../libgtkhtml-3.1.la libgtkhtml-3.1.la) /bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc -DICONDIR=\"/usr/share/gtkhtml-3.1/icons\" -DGDK_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1 -DGNOME_DISABLE_DEPRECATED=1 -O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer -Wall -Wmissing-prototypes -o testgtkhtml testgtkhtml.o htmlurl.o libgtkhtml-3.1.la -lsoup-2.2 -lgnutls -lgcrypt -lgpg-error -lxml2 -lpthread -lz -lm -lglib-2.0 /bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc -DICONDIR=\"/usr/share/gtkhtml-3.1/icons\" -DGDK_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1 -DGNOME_DISABLE_DEPRECATED=1 -O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer -Wall -Wmissing-prototypes -o gtest test.o libgtkhtml-3.1.la i686-pc-linux-gnu-gcc -DICONDIR=\"/usr/share/gtkhtml-3.1/icons\" -DGDK_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1 -DGNOME_DISABLE_DEPRECATED=1 -O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer -Wall -Wmissing-prototypes -o .libs/gtest test.o ./.libs/libgtkhtml-3.1.so i686-pc-linux-gnu-gcc -DICONDIR=\"/usr/share/gtkhtml-3.1/icons\" -DGDK_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1 -DGNOME_DISABLE_DEPRECATED=1 -O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer -Wall -Wmissing-prototypes -o .libs/testgtkhtml testgtkhtml.o htmlurl.o ./.libs/libgtkhtml-3.1.so /usr/lib/libsoup-2.2.so /usr/lib/libgnutls.so /usr/lib/libgcrypt.so /usr/lib/libgpg-error.so /usr/lib/libxml2.so -lpthread -lz -lm /usr/lib/libglib-2.0.so test.o(.text+0x5b6): In function `main': : undefined reference to `_' collect2: ld returned 1 exit status make[2]: *** [gtest] Error 1 make[2]: *** Waiting for unfinished jobs.... ./.libs/libgtkhtml-3.1.so: undefined reference to `_' collect2: ld returned 1 exit status make[2]: *** [testgtkhtml] Error 1 make[2]: Leaving directory `/var/tmp/portage/libgtkhtml-3.2.5/work/gtkhtml-3.2.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libgtkhtml-3.2.5/work/gtkhtml-3.2.5' make: *** [all] Error 2 !!! ERROR: gnome-extra/libgtkhtml-3.2.5 failed. !!! Function gnome2_src_compile, Line 40, Exitcode 2 !!! compile failure !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce:
Please post the output of "emerge info". Thanks.
Output of emerge info: emerge info Portage 2.0.51.18 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r7 i686) ================================================================= System uname: 2.6.10-gentoo-r7 i686 mobile AMD Athlon(tm) XP-M 2000+ Gentoo Base System version 1.6.9 Python: dev-lang/python-2.4-r2 [2.4 (#1, Feb 9 2005, 07:11:03)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.4-r2 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r4 sys-devel/libtool: 1.5.10-r5 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo http://mirrors.tds.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/bmg-main /usr/local/overlays/fluidportage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 3dnow S3TC X aac aalib acl acpi adns aim alsa apache2 apm artsbluetooth avi bash-completion berkdb bitmap-fonts bonobo caps cddb cdf cdr chroot cle266 crypt cups curl dba dbus dga directfb divx4linux dv dvd dvdr emacs emboss encode esd evo expat f77 faad fam fastcgi fbcon fbdev ffmpeg flac flash fluidsynth fmod font-server foomaticdb fortran freetds freetype fs gcj gd gdbm geoip ggi gif gimp gimpprint glade glut gnome gnomedb gphoto2 gpm gps graphviz gstreamer gtk gtk2 gtkhtml guile hal hbci icq ieee1394 imagemagick imap imlib imlib2 innodb jabber jack jack-tmpfs jpeg lcd lcms ldap libclamav libg++ libgda libwww lirc lua mad mbox md5sum mdb mikmod mmx mng mono mozdevelop mozilla moznocompose moznoirc moznomail mozsvg mozxmlterm mp3 mpeg mpeg4 msn mssql mysql nas ncurses nls nntp nodrm nomotif nptl odbc ofx oggvorbis openal opengl opie oscar oss pam pcmcia pcre pda pdflib perl plotutils png pnp postgis postgres psyco pthreads python qt quicktime readline rogue ruby samba sasl scanner sdl slang speedo speex spell sqlite sse ssl stencil-buffer svg svga tcpd tetex theora tiff transcode truetype truetype-fonts type1 type1-fonts unichrome usb v4l v4l2 vda vhosts virus-scan wmf wxwin wxwindows xine xml xml2 xmms xprint xv xvid yahoo yv12 zeo zlib zvbi video_cards_via" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
*** This bug has been marked as a duplicate of 45937 ***
Seems that something is pulling this in on my system, would be at least to get it to compile :)
Created attachment 53340 [details, diff] Solution Nice hack to get it going.
I have this problem too. I don't understand why this is marked as a dup not related to gentoo, since it's an ebuild from portage tree itself. emerge info: Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11.3 i686) ================================================================= System uname: 2.6.11.3 i686 Mobile Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 12 2005, 23:56:12)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r1, 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -mcpu=pentium4 -O2 -pipe -fomit-frame-pointer -ftracer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /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=pentium4 -mcpu=pentium4 -O2 -pipe -fomit-frame-pointer -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://194.117.143.69 ftp://194.117.143.71/mirrors/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac acl acpi alsa avi berkdb bitmap-fonts bluetooth cdr crypt cups curl dlloader dvd eds emboss encode evo fam flac foomaticdb fortran gdbm gif gimpprint gnome gphoto2 gstreamer gtk gtk2 guile hal hardened howl imagemagick imlib ipv6 irmc java jpeg ldap libg++ libwww mad mikmod mmx mono mozilla mp3 mpeg ncurses nls nptl nptlonly oggvorbis opengl pam pdflib perl pic pie png posix ppds python quicktime readline real rtc samba scanner sdl spell sqlite sse sse2 ssl tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis xml2 xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL
Will handle this tomorrow
*** Bug 85664 has been marked as a duplicate of this bug. ***
libgtkhtml-3.2.* fixed in CVS
*** Bug 90840 has been marked as a duplicate of this bug. ***