Re: 2.10.0 build fails on control-center
- From: "Henning C. Nielsen" <barran+garnome barran dk>
- To: garnome-list gnome org
- Subject: Re: 2.10.0 build fails on control-center
- Date: Tue, 15 Mar 2005 16:20:41 +0100
man, 14 03 2005 kl. 16:15 +0000, skrev Matthew Strachan:
> Hi all
>
> My build fails in desktop/control-centre, can anyone help?
>
> Many thanks
>
> /bin/sh ../libtool --mode=link cc -I/opt/garnome/include
> -L/opt/garnome/lib -O2 -pipe -Wall -L/opt/garnome/lib -o
> 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
> GNOME_SettingsDaemon-common.o GNOME_SettingsDaemon-stubs.o
> GNOME_SettingsDaemon-skels.o -L/opt/garnome/lib -lxklavier -lxml2
> -lpthread -lz -lm ../libbackground/libbackground.la
> ../libsounds/libsounds.a ../libgswitchit/libgswitchit.a
> ../libwindow-settings/libgnome-window-settings.la
> ../gnome-settings-daemon/actions/libacme.la -Wl,--export-dynamic
> -pthread -L/opt/garnome/lib -L/usr/X11R6/lib -lesd -laudiofile
> -lgnome-desktop-2 -lgnomeui-2 -lSM -lICE -lstartup-notification-1
> -lbonoboui-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2
> -lpangoft2-1.0 -lgnomevfs-2 -lbonobo-2 -lgconf-2 -lbonobo-activation
> -lORBit-2 -lgthread-2.0 -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lpthread -lz
> -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 -lSM -lICE
> -L/usr/X11R6/lib -lX11 -lXxf86misc
> mkdir .libs
> cc -I/opt/garnome/include -O2 -pipe -Wall -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
> GNOME_SettingsDaemon-common.o GNOME_SettingsDaemon-stubs.o
> GNOME_SettingsDaemon-skels.o -Wl,--export-dynamic -L/opt/garnome/lib
> /opt/garnome/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
> /usr/lib/libgstinterfaces-0.8.so /usr/lib/libgstreamer-0.8.so
> /usr/lib/libxml2.so /usr/lib/libgobject-2.0.so
> /usr/lib/libgthread-2.0.so /usr/lib/libgmodule-2.0.so
> /usr/lib/libglib-2.0.so /usr/lib/libasound.so -pthread -L/usr/X11R6/lib
> /opt/garnome/lib/libesd.so /opt/garnome/lib/libaudiofile.so
> /opt/garnome/lib/libgnome-desktop-2.so /opt/garnome/lib/libgnomeui-2.so
> /opt/garnome/lib/libstartup-notification-1.so
> /opt/garnome/lib/libbonoboui-2.so /opt/garnome/lib/libgnomecanvas-2.so
> /opt/garnome/lib/libgnome-2.so /usr/lib/libpopt.so
> /opt/garnome/lib/libart_lgpl_2.so /opt/garnome/lib/libpangoft2-1.0.so
> /opt/garnome/lib/libgnomevfs-2.so /opt/garnome/lib/libbonobo-2.so
> /opt/garnome/lib/libgconf-2.so /opt/garnome/lib/libbonobo-activation.so
> /opt/garnome/lib/libORBit-2.so /opt/garnome/lib/libgthread-2.0.so
> /opt/garnome/lib/libglade-2.0.so /opt/garnome/lib/libgtk-x11-2.0.so
> /opt/garnome/lib/libxml2.so -lpthread -lz
> /opt/garnome/lib/libgdk-x11-2.0.so /opt/garnome/lib/libatk-1.0.so
> /opt/garnome/lib/libgdk_pixbuf-2.0.so -lm
> /opt/garnome/lib/libpangoxft-1.0.so /opt/garnome/lib/libpangox-1.0.so
> /opt/garnome/lib/libpango-1.0.so /opt/garnome/lib/libgobject-2.0.so
> /opt/garnome/lib/libgmodule-2.0.so -ldl /opt/garnome/lib/libglib-2.0.so
> -lSM -lICE -lX11 -lXxf86misc -Wl,--rpath -Wl,/opt/garnome/lib
> eggaccelerators.o(.text+0x80f): In function `egg_accelerator_parse_virtual':
> : undefined reference to `g_return_if_fail_warning'
> eggaccelerators.o(.text+0xeea): In function `egg_keymap_get_modmap':
> : undefined reference to `g_assert_warning'
> eggaccelerators.o(.text+0xb91): In function
> `egg_keymap_resolve_virtual_modifiers':
> : undefined reference to `g_return_if_fail_warning'
> eggaccelerators.o(.text+0xbb2): In function
> `egg_keymap_resolve_virtual_modifiers':
> : undefined reference to `g_return_if_fail_warning'
> eggaccelerators.o(.text+0xc70): In function
> `egg_keymap_virtualize_modifiers':
> : undefined reference to `g_return_if_fail_warning'
> eggaccelerators.o(.text+0xc91): In function
> `egg_keymap_virtualize_modifiers':
> : undefined reference to `g_return_if_fail_warning'
> gnome-settings-daemon.o(.text+0x15d): In function `manager_event_filter':
> : undefined reference to `g_return_if_fail_warning'
> gnome-settings-daemon.o(.text+0x3cb): In function
> `gnome_settings_daemon_new':
> : undefined reference to `g_assert_warning'
> gnome-settings-multimedia-keys.o(.text+0x203): In function `acme_image_set':
> : undefined reference to `g_return_if_fail_warning'
> gnome-settings-multimedia-keys.o(.text+0x228): In function `acme_image_set':
> : undefined reference to `g_assert_warning'
> gnome-settings-multimedia-keys.o(.text+0xc21): In function
> `do_unknown_action':
> : undefined reference to `g_return_if_fail_warning'
> gnome-settings-multimedia-keys.o(.text+0x10ea): In function `do_action':
> : undefined reference to `g_assert_warning'
> gnome-settings-multimedia-keys.o(.text+0x64d): In function `update_kbd_cb':
> : undefined reference to `g_return_if_fail_warning'
> gnome-settings-xsettings.o(.text+0x2d): In function `translate_bool_int':
> : undefined reference to `g_assert_warning'
> gnome-settings-xsettings.o(.text+0xad): In function `translate_int_int':
> : undefined reference to `g_assert_warning'
> gnome-settings-xsettings.o(.text+0x12d): In function
> `translate_string_string':
> : undefined reference to `g_assert_warning'
> gnome-settings-xsettings.o(.text+0x1ad): In function
> `translate_string_string_toolbar':
> : undefined reference to `g_assert_warning'
> gnome-settings-xsettings.o(.text+0x2ce): In function `type_to_string':
> : undefined reference to `g_assert_warning'
> gnome-settings-locate-pointer.o(.text+0x102): more undefined references
> to `g_assert_warning' follow
> gnome-settings-accessibility-keyboard.o(.text+0x133): In function
> `get_xkb_desc_rec':
> : undefined reference to `g_return_if_fail_warning'
> gnome-settings-xrdb.o(.text+0x38f): In function `append_theme_colours':
> : undefined reference to `g_return_if_fail_warning'
> gnome-settings-xrdb.o(.text+0x45e): In function `append_file':
> : undefined reference to `g_return_if_fail_warning'
> gnome-settings-xrdb.o(.text+0x534): In function `scan_ad_directory':
> : undefined reference to `g_return_if_fail_warning'
> gnome-settings-xrdb.o(.text+0x20a): In function `append_colour_define':
> : undefined reference to `g_return_if_fail_warning'
> gnome-settings-xrdb.o(.text+0x22a): more undefined references to
> `g_return_if_fail_warning' follow
> reaper.o(.text+0xb6): In function `vte_reaper_emit_signal':
> : undefined reference to `g_assert_warning'
> ../libbackground/.libs/libbackground.a(applier.o)(.text+0x3dd): In
> function `bg_applier_set_prop':
> : undefined reference to `g_return_if_fail_warning'
> ../libbackground/.libs/libbackground.a(applier.o)(.text+0x5f8): In
> function `bg_applier_get_prop':
> : undefined reference to `g_return_if_fail_warning'
> ../libbackground/.libs/libbackground.a(applier.o)(.text+0x715): In
> function `bg_applier_dispose':
> : undefined reference to `g_assert_warning'
> ../libbackground/.libs/libbackground.a(applier.o)(.text+0x737): In
> function `bg_applier_dispose':
> : undefined reference to `g_return_if_fail_warning'
> ../libbackground/.libs/libbackground.a(applier.o)(.text+0x82c): In
> function `bg_applier_finalize':
> : undefined reference to `g_return_if_fail_warning'
> ../libbackground/.libs/libbackground.a(applier.o)(.text+0x90f): In
> function `bg_applier_new_for_screen':
> : undefined reference to `g_return_if_fail_warning'
> ../libbackground/.libs/libbackground.a(applier.o)(.text+0xac0): In
> function `egg_pixbuf_new_from_file_at_size':
> : undefined reference to `g_return_if_fail_warning'
> ../libbackground/.libs/libbackground.a(applier.o)(.text+0xe23): In
> function `refresh_render':
> : undefined reference to `g_return_if_fail_warning'
> ../libbackground/.libs/libbackground.a(applier.o)(.text+0xf89): more
> undefined references to `g_return_if_fail_warning' follow
> ../libbackground/.libs/libbackground.a(applier.o)(.text+0x1458): In
> function `run_render_pipeline':
> : undefined reference to `g_assert_warning'
> ../libbackground/.libs/libbackground.a(applier.o)(.text+0x1477): In
> function `run_render_pipeline':
> : undefined reference to `g_return_if_fail_warning'
> ../libbackground/.libs/libbackground.a(applier.o)(.text+0x15d0): In
> function `render_background':
> : undefined reference to `g_return_if_fail_warning'
> ../libbackground/.libs/libbackground.a(applier.o)(.text+0x1757): In
> function `render_wallpaper':
> : undefined reference to `g_return_if_fail_warning'
> ../libbackground/.libs/libbackground.a(applier.o)(.text+0x1b60): In
> function `render_to_screen':
> : undefined reference to `g_return_if_fail_warning'
> ../libbackground/.libs/libbackground.a(applier.o)(.text+0x1d80): In
> function `create_pixmap':
> : undefined reference to `g_return_if_fail_warning'
> ../libbackground/.libs/libbackground.a(preferences.o)(.text+0x36f): more
> undefined references to `g_return_if_fail_warning' follow
> /opt/garnome/lib/libgnome-menu.so.0: undefined reference to
> `g_get_user_config_dir'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_key_file_get_integer'
> /opt/garnome/lib/libgnomevfs-2.so: undefined reference to
> `g_key_file_load_from_file'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_option_context_set_main_group'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_option_group_set_parse_hooks'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_filename_display_basename'
> /opt/garnome/lib/libgnomevfs-2.so: undefined reference to
> `g_key_file_get_boolean'
> /opt/garnome/lib/libgdk-x11-2.0.so: undefined reference to `g_unsetenv'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_option_context_set_help_enabled'
> /opt/garnome/lib/libgnomevfs-2.so: undefined reference to
> `g_key_file_load_from_data_dirs'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_option_context_parse'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_object_interface_find_property'
> /opt/garnome/lib/libbonobo-2.so: undefined reference to
> `g_value_take_object'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_option_context_add_group'
> /opt/garnome/lib/libpangoft2-1.0.so: undefined reference to
> `g_type_instance_get_private'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_completion_complete_utf8'
> /opt/garnome/lib/libgnomevfs-2.so: undefined reference to `g_key_file_free'
> /opt/garnome/lib/libgnome-desktop-2.so: undefined reference to
> `g_get_language_names'
> /opt/garnome/lib/libgnomevfs-2.so: undefined reference to `g_key_file_new'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_option_context_set_ignore_unknown_options'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_param_spec_get_redirect_target'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_object_class_override_property'
> /opt/garnome/lib/libgnomevfs-2.so: undefined reference to
> `g_key_file_get_locale_string'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_key_file_get_integer_list'
> /opt/garnome/lib/libpangoft2-1.0.so: undefined reference to
> `g_type_class_add_private'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_object_interface_install_property'
> /opt/garnome/lib/libgnomevfs-2.so: undefined reference to
> `g_key_file_get_string'
> /opt/garnome/lib/libbonobo-2.so: undefined reference to `g_value_take_boxed'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_option_group_set_translation_domain'
> /opt/garnome/lib/libgnomevfs-2.so: undefined reference to
> `g_key_file_get_keys'
> /opt/garnome/lib/libgnomevfs-2.so: undefined reference to
> `g_key_file_get_string_list'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_key_file_set_list_separator'
> /opt/garnome/lib/libgnome-menu.so.0: undefined reference to
> `g_key_file_has_group'
> /opt/garnome/lib/libbonobo-2.so: undefined reference to `g_strv_get_type'
> /opt/garnome/lib/libgnomevfs-2.so: undefined reference to
> `g_get_user_data_dir'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_filename_display_name'
> /opt/garnome/lib/libgnomevfs-2.so: undefined reference to
> `g_key_file_has_key'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_markup_printf_escaped'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_option_group_new'
> /opt/garnome/lib/libglade-2.0.so: undefined reference to `g_strip_context'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_uri_list_extract_uris'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_option_context_new'
> /opt/garnome/lib/libgnome-2.so: undefined reference to `g_value_take_string'
> /opt/garnome/lib/libgnomevfs-2.so: undefined reference to
> `g_get_system_data_dirs'
> /opt/garnome/lib/libgnome-menu.so.0: undefined reference to
> `g_get_system_config_dirs'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to `g_strv_length'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_markup_vprintf_escaped'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_option_context_free'
> /opt/garnome/lib/libpango-1.0.so: undefined reference to
> `g_unichar_get_mirror_char'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_option_context_add_main_entries'
> /opt/garnome/lib/libgtk-x11-2.0.so: undefined reference to
> `g_option_group_add_entries'
> collect2: ld returned 1 exit status
> make[5]: *** [gnome-settings-daemon] Error 1
> make[5]: Leaving directory
> `/home/mat/src/garnome-2.10.0/desktop/control-center/work/main.d/control-center-2.10.0/gnome-settings-daemon'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
> `/home/mat/src/garnome-2.10.0/desktop/control-center/work/main.d/control-center-2.10.0/gnome-settings-daemon'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
> `/home/mat/src/garnome-2.10.0/desktop/control-center/work/main.d/control-center-2.10.0/gnome-settings-daemon'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/mat/src/garnome-2.10.0/desktop/control-center/work/main.d/control-center-2.10.0'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/home/mat/src/garnome-2.10.0/desktop/control-center/work/main.d/control-center-2.10.0'
> make: *** [build-work/main.d/control-center-2.10.0/Makefile] Error 2
>
>
This looks like you have two versions of glib installed. I have this
problem too on Gentoo. Gar doesn't look at the gar libs first.
The quick and dirty workaround is to quickpkg glib an unmerge
(uninstall) it while compiling and the emerge (install) it afterwards.
That works for me anyway.
If you use another distribution I am sure you can translate the above to
that.
In short: Make sure Gar uses the glib version included with Garnome.
I haven't found another solution. Please tell if there is one more
appropriate way of doing this.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]