Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83815 - compile failure libgtkhtml-3.2.5 function main undefined reference to _
Summary: compile failure libgtkhtml-3.2.5 function main undefined reference to _
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Drake (RETIRED)
URL:
Whiteboard:
Keywords:
: 85664 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-02 07:02 UTC by Jeff Kowalczyk
Modified: 2005-05-01 07:59 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Solution (fix.patch,1.38 KB, patch)
2005-03-13 08:14 UTC, Daniel Drake (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Kowalczyk 2005-03-02 07:02:09 UTC
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:
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2005-03-02 08:04:51 UTC
Please post the output of "emerge info". Thanks.
Comment 2 Jeff Kowalczyk 2005-03-02 08:08:47 UTC
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
Comment 3 foser (RETIRED) gentoo-dev 2005-03-02 08:43:32 UTC

*** This bug has been marked as a duplicate of 45937 ***
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2005-03-13 08:13:44 UTC
Seems that something is pulling this in on my system, would be at least to get it to compile :)
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2005-03-13 08:14:06 UTC
Created attachment 53340 [details, diff]
Solution

Nice hack to get it going.
Comment 6 gad.kadosh 2005-03-16 14:26:44 UTC
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
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2005-03-16 16:07:00 UTC
Will handle this tomorrow
Comment 8 foser (RETIRED) gentoo-dev 2005-03-17 15:14:23 UTC
*** Bug 85664 has been marked as a duplicate of this bug. ***
Comment 9 Daniel Drake (RETIRED) gentoo-dev 2005-03-18 07:14:34 UTC
libgtkhtml-3.2.* fixed in CVS
Comment 10 Joe McCann (RETIRED) gentoo-dev 2005-05-01 07:59:56 UTC
*** Bug 90840 has been marked as a duplicate of this bug. ***