/usr/lib/libwnck-1.so: undefined reference to `g_return_if_fail_warning' collect2: ld returned 1 exit status make[2]: *** [gnome-system-monitor] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnome-system-monitor-2.7.0-r1/work/gnome-system-monitor-2.7.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-system-monitor-2.7.0-r1/work/gnome-system-monitor-2.7.0' make: *** [all-recursive-am] Error 2
The following information is missing from this bugreport: your emerge info, and the full error message. The ld exit status and the make errors are meaningless, the real error is in the lines above. There could be more undefined references. Please provide this information and reopen the bug.
Reopening the bug...
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPROCMAN_DATADIR=\"/usr/share/procman/\" -DDATADIR=\""/usr/share"\" -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libgnome-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/freetype2/config -I/usr/include/libxml2 -I/usr/include/libgtop-2.0 -I/usr/include/libwnck-1.0 -march=athlon-xp -O3 -mfpmath=sse -msse -funroll-loops -fomit-frame-pointer -pipe -c favorites.c i686-pc-linux-gnu-gcc -march=athlon-xp -O3 -mfpmath=sse -msse -funroll-loops -fomit-frame-pointer -pipe -o gnome-system-monitor cellrenderer.o procman.o interface.o callbacks.o load-graph.o proctable.o prettytable.o util.o infoview.o procactions.o procdialogs.o memmaps.o favorites.o -Wl,--export-dynamic -pthread -L/usr/X11R6/lib -L/usr/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lpthread -lz -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgnomevfs-2 -lbonobo-2 -lbonobo-activation -lgconf-2 -lORBit-2 -lgthread-2.0 -lXau -lgtop-2.0 -lwnck-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 /usr/lib/libwnck-1.so: undefined reference to `g_return_if_fail_warning' collect2: ld returned 1 exit status make[2]: *** [gnome-system-monitor] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnome-system-monitor-2.7.0-r1/work/gnome-system-monitor-2.7.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-system-monitor-2.7.0-r1/work/gnome-system-monitor-2.7.0' make: *** [all-recursive-am] Error 2 !!! ERROR: gnome-extra/gnome-system-monitor-2.7.0-r1 failed. !!! Function gnome2_src_compile, Line 40, Exitcode 2 !!! compile failure
you still lack basic info like 'emerge info' .. this has been asked already 2 times now (in the bugreport form & again here). what libwnck version ?
emerge info Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-nitro3 i686) ================================================================= System uname: 2.6.9-nitro3 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.6.6 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -mfpmath=sse -msse -funroll-loops -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/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/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -mfpmath=sse -msse -funroll-loops -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow S3TC X acl acpi adns aim alsa antlr apache2 apm audiofile avi bitmap-fonts bluetooth cairo cdr cdrom cross crypt cscope cups curl dbx dedicated devfs26 dga divx4linux doc dvb dvd dvdr encode esd evo exif expat f77 faac faad fam fastcgi fbcon fdftk ffmpeg fftw flac flash foomaticdb fortran freetds gb gd gif gimp gimpprint gkrellm glade glut gmp gnome gnomedb gpm graphviz gs gstreamer gtk gtk2 gtkhtml iconv icq ide image imagemagick imap imlib innodb jabber java joystick jpeg jpeg2k junit kde ladcca latex lcms libg++ libgd libgda libwww lirc lm_sensors lzo lzw lzw-tiff mad maildir matroska mbox mbrola mcal md5sum memlimit mikmod mime ming mmx mng monkey mono motif mozcalendar mozilla mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mpi mplayer msn mssql mysql ncurses nls nptl ntlm nvidia oav odbc offensive oggvorbis ooo-kde openal opengl oscar oss pam pcre pda pdflib pear-db perl php physfs plotutils png postgres postgresql ppds prelude python qt quicktime readline rrdtool rtc samba scanner sdk sdl serial sharedmem silc simplexml slang slp smartcard sms sndfile snmp sox spamassassin speedo speex spell spl sqlite sse ssl svg svga tcltk tcpd tetex tga theora tidy tiff timidity tokenizer transcode truetype type1 uim unicode usb uudeview v4l v4l2 videos vnc wmf wsconvert wxwindows x86 xchattext xemacs xfs xgetdefault xine xinerama xml xml2 xmms xosd xrandr xv xvid xvmc yahoo yv12 zlib linguas_it" esearch libwnck Searching... [ Results for search key : libwnck ] [ Applications found : 1 ] * x11-libs/libwnck Latest version available: 2.8.0.1 Latest version installed: 2.8.0.1 Size of downloaded files: 385 kB Homepage: http://www.gnome.org/ Description: A window navigation construction kit License: GPL-2
you've been using unstable glib & are now back on stable : surprise ! missing symbols ! Thanks for taking up our valuable time with this. *** This bug has been marked as a duplicate of 45937 ***
I emerged glib-2.4.6 and I tried again with emerge gnome-system-monitor but it still reports the error during the emrerge.