Gentoo Archives: gentoo-user

From: Jorge Almeida <jalmeida@××××××××××××.pt>
To: gentoo-user@l.g.o
Subject: [gentoo-user] glib doesn't compile
Date: Sat, 02 Dec 2006 19:36:35
Message-Id: Pine.LNX.4.64.0612021922200.14898@jmaa.math.ist.utl.pt
1 I'm failing to emerge glib (_not glibc_!) when emerging -NDu world. My
2 system is up-to-date (emerging almost everyday).
3
4 /bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall -o errorcheck-mutex-test errorcheck-mutex-test.o ../glib/libglib-2.0.la ../gthread/libgthread-2.0.la -lrt
5 i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall -o .libs/errorcheck-mutex-test errorcheck-mutex-test.o ../glib/.libs/libglib-2.0.so ../gthread/.libs/libgthread-2.0.so /var/tmp/portage/glib-2.12.4-r1/work/glib-2.12.4/glib/.libs/libglib-2.0.so -lrt
6 errorcheck-mutex-test.o: In function `main':
7 errorcheck-mutex-test.c:(.text+0x47e): undefined reference to `g_thread_init_with_errorcheck_mutexes'
8 collect2: ld returned 1 exit status
9 make[3]: *** [errorcheck-mutex-test] Error 1
10 make[3]: Leaving directory `/var/tmp/portage/glib-2.12.4-r1/work/glib-2.12.4/tests'
11 make[2]: *** [all-recursive] Error 1
12 make[2]: Leaving directory `/var/tmp/portage/glib-2.12.4-r1/work/glib-2.12.4/tests'
13 make[1]: *** [all-recursive] Error 1
14 make[1]: Leaving directory `/var/tmp/portage/glib-2.12.4-r1/work/glib-2.12.4'
15 make: *** [all] Error 2
16
17 Couldn't find any similar error message by googling. I have another box where glib-2.12.4 compiled successfuly.
18
19 Output of emerge --info:
20
21 Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r2 i686)
22 =================================================================
23 System uname: 2.6.18-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
24 Gentoo Base System version 1.12.6
25 Last Sync: Sat, 02 Dec 2006 15:50:01 +0000
26 app-admin/eselect-compiler: [Not Present]
27 dev-java/java-config: 1.3.7, 2.0.30
28 dev-lang/python: 2.4.3-r4
29 dev-python/pycrypto: 2.0.1-r5
30 dev-util/ccache: [Not Present]
31 dev-util/confcache: [Not Present]
32 sys-apps/sandbox: 1.2.17
33 sys-devel/autoconf: 2.13, 2.60
34 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
35 sys-devel/binutils: 2.16.1-r3
36 sys-devel/gcc-config: 1.3.13-r4
37 sys-devel/libtool: 1.5.22
38 virtual/os-headers: 2.6.17-r1
39 ACCEPT_KEYWORDS="x86"
40 AUTOCLEAN="yes"
41 CBUILD="i686-pc-linux-gnu"
42 CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
43 CHOST="i686-pc-linux-gnu"
44 CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control"
45 CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
46 CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
47 DISTDIR="/usr/portage/distfiles"
48 FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
49 GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
50 LANG="en_US"
51 MAKEOPTS="-j1"
52 PKGDIR="/usr/portage/packages"
53 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
54 PORTAGE_TMPDIR="/var/tmp"
55 PORTDIR="/usr/portage"
56 SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
57 USE="x86 X aalib acpi bash-completion bitmap-fonts bzip2 cdb cdparanoia cdr crypt cups curl dri elibc_glibc gif gtk gtk2 imap imlib input_devices_keyboard input_devices_mouse java jpeg jpeg2k kde kernel_linux maildir motif ncurses nls nptl nptlonly nsplugin opengl pam pdflib perl pic png posix python qt readline recode ssl tiff truetype truetype-fonts type1-fonts userland_GNU video_cards_fbdev video_cards_nvidia video_cards_vesa xcomposite xml zlib"
58 Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
59
60
61
62 --
63 Jorge Almeida
64 --
65 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] glib doesn't compile "Bo Ørsted Andresen" <bo.andresen@××××.dk>