GNOME Bugzilla – Bug 603068
Undefined references when linking wizard/test-input
Last modified: 2009-11-27 02:53:25 UTC
Created attachment 148545 [details] [review] Patch: Require xi for wizard I get this when trying to build 2.29.2: CCLD test-input bluetooth-input.o: In function `bluetooth_input_check_for_devices': /usr/src/gnome-bluetooth-2.29.2/wizard/bluetooth-input.c:182: undefined reference to `XListInputDevices' /usr/src/gnome-bluetooth-2.29.2/wizard/bluetooth-input.c:207: undefined reference to `XFreeDeviceList' bluetooth-input.o: In function `devicepresence_filter': /usr/src/gnome-bluetooth-2.29.2/wizard/bluetooth-input.c:219: undefined reference to `_XiGetDevicePresenceNotifyEvent' bluetooth-input.o: In function `set_devicepresence_handler': /usr/src/gnome-bluetooth-2.29.2/wizard/bluetooth-input.c:239: undefined reference to `_XiGetDevicePresenceNotifyEvent' /usr/src/gnome-bluetooth-2.29.2/wizard/bluetooth-input.c:240: undefined reference to `XSelectExtensionEvent' collect2: ld returned 1 exit status make[2]: *** [test-input] Error 1 xi appears to be missing in the pkg-config check in configure.ac. The attached patch fixes that.
Could you attach a git formatted patch so that the authorship isn't lost?
Created attachment 148571 [details] [review] Fix building input helper when GTK+ has no xi support
Fixed slightly differently in master, thanks. Attachment 148571 [details] pushed as 4662dfd - Fix building input helper when GTK+ has no xi support