Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103687 - net-misc/logjam-4.5.0 fails with " init.c:(.text+0x374): undefined reference to `g_thread_init' "
Summary: net-misc/logjam-4.5.0 fails with " init.c:(.text+0x374): undefined reference ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-25 04:00 UTC by Michael Bevilacqua
Modified: 2005-09-26 17:02 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Bevilacqua 2005-08-25 04:00:57 UTC
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   
-DLOCALEDIR=\"/usr/share/locale\" -I../protocol/liblivejournal -I../util/gxr
-DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/gtkspell-2.0
-I/usr/include/librsvg-2    -I/usr/include -O3 -march=pentium-m
-fomit-frame-pointer -pipe -MT journalstore_xml.o -MD -MP -MF
".deps/journalstore_xml.Tpo" \
  -c -o journalstore_xml.o `test -f 'journalstore_xml.c' || echo
'./'`journalstore_xml.c; \
then mv -f ".deps/journalstore_xml.Tpo" ".deps/journalstore_xml.Po"; \
else rm -f ".deps/journalstore_xml.Tpo"; exit 1; \
fi
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc
-DLOCALEDIR=\"/usr/share/locale\" -I../protocol/liblivejournal -I../util/gxr
-DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/gtkspell-2.0
-I/usr/include/librsvg-2    -I/usr/include -O3 -march=pentium-m
-fomit-frame-pointer -pipe   -o logjam  init.o cmdline.o util.o account.o host.o
livejournal.o jamdoc.o draftstore.o conf.o conf_xml.o  network.o journalstore.o
sync.o getopt.o getopt1.o checkfriends.o jam_xml.o util-gtk.o jamview.o
draftstore_ui.o remote.o marshalers.o network-gtk.o throbber.o progress.o
friends.o friendedit.o friendgroups.o friendgroupedit.o checkfriends-gtk.o
settings.o groupedbox.o tie.o history_recent.o history.o offline.o jam.o
usejournal.o security.o about.o menu.o tools.o link.o imagelink.o console.o
smartquotes.o login.o manager.o spawn.o icons.o music.o datesel.o moodpicker.o
pollcreator.o poll-questions.o undo.o userlabel.o get_cmd_out.o html_markup.o 
network-fork.o  network-curl.o  eggtrayicon.o docklet.o   journalstore_xml.o
../protocol/liblivejournal/livejournal/liblivejournal.la -lxml2 -lpthread -lz
-lgtkspell -lenchant -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoxft-1.0
-lpangox-1.0 -lpangoft2-1.0 -lpango-1.0 -lrsvg-2 -lgdk_pixbuf-2.0 -lm
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -L/usr/lib -lcurl -lidn -ldl -lz
-L/usr/lib -lcurl 
mkdir .libs
i686-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\"
-I../protocol/liblivejournal -I../util/gxr -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/gtkspell-2.0
-I/usr/include/librsvg-2 -I/usr/include -O3 -march=pentium-m
-fomit-frame-pointer -pipe -o logjam init.o cmdline.o util.o account.o host.o
livejournal.o jamdoc.o draftstore.o conf.o conf_xml.o network.o journalstore.o
sync.o getopt.o getopt1.o checkfriends.o jam_xml.o util-gtk.o jamview.o
draftstore_ui.o remote.o marshalers.o network-gtk.o throbber.o progress.o
friends.o friendedit.o friendgroups.o friendgroupedit.o checkfriends-gtk.o
settings.o groupedbox.o tie.o history_recent.o history.o offline.o jam.o
usejournal.o security.o about.o menu.o tools.o link.o imagelink.o console.o
smartquotes.o login.o manager.o spawn.o icons.o music.o datesel.o moodpicker.o
pollcreator.o poll-questions.o undo.o userlabel.o get_cmd_out.o html_markup.o
network-fork.o network-curl.o eggtrayicon.o docklet.o journalstore_xml.o 
../protocol/liblivejournal/livejournal/.libs/liblivejournal.a
/usr/lib/libxml2.so -lpthread /usr/lib/libgtkspell.so /usr/lib/libenchant.so
/usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so
/usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so
/usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so /usr/lib/librsvg-2.so
/usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libgobject-2.0.so
/usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so -L/usr/lib /usr/lib/libidn.so
-ldl -lz /usr/lib/libcurl.so
init.o: In function `main':
init.c:(.text+0x374): undefined reference to `g_thread_init'
collect2: ld returned 1 exit status
make[3]: *** [logjam] Error 1
make[3]: Leaving directory `/var/tmp/portage/logjam-4.5.0/work/logjam-4.5.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/logjam-4.5.0/work/logjam-4.5.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/logjam-4.5.0/work/logjam-4.5.0'
make: *** [all] Error 2

!!! ERROR: net-misc/logjam-4.5.0 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge -v logjam
3. n/a

Actual Results:  
init.o: In function `main':
init.c:(.text+0x374): undefined reference to `g_thread_init'
collect2: ld returned 1 exit status
make[3]: *** [logjam] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

!!! ERROR: net-misc/logjam-4.5.0 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
Compiled successfully.

century autoemerge-logs # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-ck6 i686)
=================================================================
System uname: 2.6.12-ck6 i686 Intel(R) Pentium(R) M processor 1.80GHz
Gentoo Base System version 1.12.0_pre6
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/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/env.d"
CXXFLAGS="-O3 -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://mirror.datapipe.net/gentoo
http://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://mirrors.acm.cs.rpi.edu/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 alsa avi bitmap-fonts cdparanoia cpudetection divx4linux dvd encode
flac gtk gtk2 i8x0 java jpeg lzo mad matroska mmx motif moznocompose moznoirc
moznomail mp3 mpeg ncurses nptl nptlonly ogg oggvorbis opengl pam perl png
quicktime readline real spell sse sse2 ssl svg theora truetype truetype-fonts
type1-fonts userlocales vorbis win32codecs xmms xv xvid userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Charles Sheridan 2005-08-25 15:35:32 UTC
I have the exact same message with my system.
Comment 2 John N. Laliberte (RETIRED) gentoo-dev 2005-09-26 13:52:41 UTC
does this still happen with 4.5.1 ?
Comment 3 Michael Bevilacqua 2005-09-26 16:29:24 UTC
(In reply to comment #2)
> does this still happen with 4.5.1 ?

No it does not. It works fine for me in 4.5.1.
Comment 4 John N. Laliberte (RETIRED) gentoo-dev 2005-09-26 17:02:19 UTC
fixed in newer version.