GNOME Bugzilla – Bug 313419
control center 2.11.91 won't compile using gcc-4.0.1 with gtk+-2.7.5
Last modified: 2005-08-14 20:38:25 UTC
Version details: 2.11.91 Distribution/Version: slackware-8.0 Compiling control-center 2.11.91 can't be compiled with gtk+-2.7.5 using gcc-4.0.1. During the compiplation I get the following indefined references cc -g -I/usr/test/garnome3/include -O2 -pipe -m3dnow -mtune=athlon-tbird -Wno-pointer-sign -Wall -Wl,--export-dynamic -o .libs/gnome-settings-daemon factory.o eggaccelerators.o gnome-settings-daemon.o gnome-settings-font.o gnome-settings-mouse.o gnome-settings-multimedia-keys.o gnome-settings-keyboard-xkb.o gnome-settings-keyboard.o gnome-settings-background.o gnome-settings-xsettings.o gnome-settings-locate-pointer.o gnome-settings-sound.o gnome-settings-accessibility-keyboard.o gnome-settings-screensaver.o gnome-settings-default-editor.o gnome-settings-gtk1theme.o gnome-settings-xrdb.o xsettings-common.o xsettings-manager.o gnome-settings-keybindings.o gnome-settings-typing-break.o reaper.o gnome-settings-xmodmap.o list.o xutils.o clipboard-manager.o GNOME_SettingsDaemon-common.o GNOME_SettingsDaemon-stubs.o GNOME_SettingsDaemon-skels.o -Wl,--rpath -Wl,/usr/test/garnome3/lib -pthread -Wl,--export-dynamic -L/usr/test/garnome3/lib /usr/test/garnome3/lib/libxklavier.so ../libbackground/.libs/libbackground.a ../libsounds/libsounds.a ../libgswitchit/libgswitchit.a ../libwindow-settings/.libs/libgnome-window-settings.so ../gnome-settings-daemon/actions/.libs/libacme.a -L/usr/test/garnome/lib /usr/test/garnome/lib/libgstinterfaces-0.8.so /usr/test/garnome/lib/libgstreamer-0.8.so /usr/test/garnome/lib/libgobject-2.0.so /usr/test/garnome/lib/libgmodule-2.0.so /usr/test/garnome/lib/libgthread-2.0.so /usr/test/garnome/lib/libxml2.so /usr/test/garnome/lib/libglib-2.0.so /usr/test/garnome3/lib/libgstreamer-0.8.so -L/usr/X11R6/lib /usr/test/garnome3/lib/libesd.so /usr/test/garnome3/lib/libaudiofile.so /usr/test/garnome3/lib/libgnome-desktop-2.so /usr/test/garnome3/lib/libgnomeui-2.so /usr/test/garnome3/lib/libstartup-notification-1.so /usr/test/garnome3/lib/libbonoboui-2.so /usr/test/garnome3/lib/libgnomecanvas-2.so /usr/test/garnome3/lib/libgnome-2.so /usr/local/lib/libpopt.so /usr/test/garnome3/lib/libart_lgpl_2.so /usr/test/garnome3/lib/libgnomevfs-2.so /usr/test/garnome3/lib/libbonobo-2.so /usr/test/garnome3/lib/libgconf-2.so /usr/test/garnome3/lib/libbonobo-activation.so /usr/test/garnome3/lib/libORBit-2.so /usr/test/garnome3/lib/libgthread-2.0.so /usr/test/garnome3/lib/libglade-2.0.so /usr/test/garnome3/lib/libgtk-x11-2.0.so /usr/test/garnome3/lib/libxml2.so -lpthread /usr/test/garnome3/lib/libgdk-x11-2.0.so /usr/test/garnome3/lib/libatk-1.0.so /usr/test/garnome3/lib/libgdk_pixbuf-2.0.so -lm /usr/test/garnome3/lib/libpangoxft-1.0.so /usr/test/garnome3/lib/libpangocairo-1.0.so /usr/test/garnome3/lib/libpangox-1.0.so /usr/test/garnome3/lib/libpangoft2-1.0.so /usr/test/garnome3/lib/libfreetype.so -lz /usr/test/garnome3/lib/libcairo.so /usr/test/garnome3/lib/libpango-1.0.so /usr/test/garnome3/lib/libgobject-2.0.so /usr/test/garnome3/lib/libgmodule-2.0.so -ldl /usr/test/garnome3/lib/libglib-2.0.so -lSM -lICE -lX11 -lXxf86misc -Wl,--rpath -Wl,/usr/test/garnome3/lib /usr/test/garnome3/lib/libgtk-x11-2.0.so: undefined reference to `g_file_set_contents' /usr/test/garnome3/lib/libgtk-x11-2.0.so: undefined reference to `g_utf8_collate_key_for_filename' /usr/test/garnome3/lib/libgtk-x11-2.0.so: undefined reference to `g_get_host_name' /usr/test/garnome3/lib/libgtk-x11-2.0.so: undefined reference to `g_mapped_file_free' /usr/test/garnome3/lib/libgtk-x11-2.0.so: undefined reference to `g_mapped_file_new' /usr/test/garnome3/lib/libgtk-x11-2.0.so: undefined reference to `g_mapped_file_get_contents' collect2: ld returned 1 exit status make[6]: *** [gnome-settings-daemon] Error 1
That's not a GNOME bug, updating your glib will fix the issue.
installing gtk+-2.8.0 solved the issue with glib-2.8.0