GNOME Bugzilla – Bug 675674
build failure: gsd-keyboard-manager.c:381: undefined reference to `gkbd_keyboard_config_patch'
Last modified: 2012-05-09 13:07:20 UTC
I am building gnome-settings-daemon via JHBuild on Fedora 16. The build fails with: libtool: link: gcc -DG_LOG_DOMAIN=\"keyboard-plugin\" -pthread -I/opt/gnome/include/gtk-3.0 -I/opt/gnome/include/pango-1.0 -I/opt/gnome/include/gio-unix-2.0/ -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/cairo -I/opt/gnome/include/gdk-pixbuf-2.0 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib64/glib-2.0/include -I/opt/gnome/include/gsettings-desktop-schemas -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libdrm -pthread -I/opt/gnome/include/gtk-3.0 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib64/glib-2.0/include -I/opt/gnome/include/gio-unix-2.0/ -I/opt/gnome/include/cairo -I/opt/gnome/include/pango-1.0 -I/opt/gnome/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/libxml2 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -O0 -g -Wno-strict-aliasing -Wno-sign-compare -o .libs/test-keyboard test_keyboard-test-keyboard.o test_keyboard-gsd-keyboard-manager.o test_keyboard-delayed-dialog.o -Wl,--export-dynamic -pthread -L/opt/gnome/lib64 ../../plugins/common/.libs/libcommon.a -lXi -lgtk-3 -latk-1.0 -lX11 -lgnomekbdui -lgnomekbd -lgmodule-2.0 -lrt -lgdk-3 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lxklavier ../../gnome-settings-daemon/.libs/libgsd.so -lgio-2.0 -lgobject-2.0 -lglib-2.0 -pthread -Wl,-rpath -Wl,/opt/gnome/lib64/gnome-settings-daemon-3.0 test_keyboard-gsd-keyboard-manager.o: In function `try_activating_xkb_config_if_new': /home/oxyde/gnome/build/gnome-settings-daemon/plugins/keyboard/gsd-keyboard-manager.c:381: undefined reference to `gkbd_keyboard_config_patch' collect2: ld returned 1 exit status make[3]: *** [test-keyboard] Error 1 make[3]: Leaving directory `/home/oxyde/gnome/build/gnome-settings-daemon/plugins/keyboard' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/oxyde/gnome/build/gnome-settings-daemon/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/oxyde/gnome/build/gnome-settings-daemon' make: *** [all] Error 2
My fault, I did not commit that bit in g-s-d. Could please someone remove the line calling gkbd_keyboard_config_patch function? That is the proper fix. Unfortunately I won't be able to make it till Friday, and it is not nice to keep the tree unbuildable.
(In reply to comment #1) > My fault, I did not commit that bit in g-s-d. > > Could please someone remove the line calling gkbd_keyboard_config_patch > function? That is the proper fix. Unfortunately I won't be able to make it till > Friday, and it is not nice to keep the tree unbuildable. Ok. I've committed your suggestion. Builds now. http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=30a9ea3b69c5c70f497c396896997f3daf4aa594
*** Bug 675731 has been marked as a duplicate of this bug. ***