osspec.o(.text+0x5d0): In function `compute_coldplug_list': : undefined reference to `g_file_read_link' osspec.o(.text+0x920): In function `compute_coldplug_list': : undefined reference to `g_file_read_link' osspec.o(.text+0xaff): In function `compute_coldplug_list': : undefined reference to `g_file_read_link' collect2: ld returned 1 exit status make[3]: *** [hald] Error 1 make[3]: Leaving directory `/var/tmp/portage/hal-0.4.1/work/hal-0.4.1/hald' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/hal-0.4.1/work/hal-0.4.1/hald' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/hal-0.4.1/work/hal-0.4.1' make: *** [all] Error 2 !!! ERROR: sys-apps/hal-0.4.1 failed. !!! Function src_compile, Line 53, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. emerge -bv ivman 2. 3. Actual Results: see error message. CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer " USE="mmx sse kde -gnome dvd alsa cdr artswrappersuid arts gstreamer oss tcltk wxwindows zlib oggvorbis theora xvid divx4linux xv avi libaudiofile fftw gif mpeg pdflib usb tiff -unicode atlas cups foomaticdb ppds scanner sndfile encode xine audiofile" MAKEOPTS="-j2" Updating to - gcc-3.4.3, - glibc-2.3.4-20041102, resulted in the same error.
your full 'emerge info' & build log please. It looks like a missing linker directive. what is the version of glib you are using ?
Calculating dependencies ...done! [ebuild N ] sys-apps/hal-0.4.1 -debug 0 kB [ebuild N ] sys-apps/ivman-0.3 -debug 0 kB emerge info: Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.2, glibc-2.3.4.20041102-r0, 2.6.9-ck2 i686) ================================================================= System uname: 2.6.9-ck2 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz Gentoo Base System version 1.6.6 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux-headers-2.4.21 Libtools: sys-devel/libtool-1.4.3-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer " CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer " DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/" 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="X aalib alsa apm arts artswrappersuid atlas audiofile avi berkdb bitmap-fonts cdr crypt cups divx4linux dvd encode esd f77 fam fftw flac foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imagemagick imlib java jpeg kde ldap libaudiofile libg++ libwww mad mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline scanner sdl slang sndfile spell sse ssl svga tcltk tcpd theora tiff truetype usb wxwindows x86 xine xml2 xmms xv xvid zlib" old glib version: glib-1.2.10 upgrading to glib-2.4.7 solved the problem: hal compiled wihout problems.
glib 1.2 can't be right.. but i'm pretty sure i know what the problem is and i'll fix it up asap.
fixed the glib dep to 2.4 in hal-0.4.2 thanks for the report