GNOME Bugzilla – Bug 747548
Cannot build due to undefined reference to `gsd_udev_device_manager_get_type'
Last modified: 2015-04-09 11:16:28 UTC
Hi, I was successfully building gnome-control-center 3.14, but now I can't build 3.16: CCLD test-wacom ../../panels/common/.libs/libdevice.a(gsd-device-manager.o): In function `gsd_device_manager_get': /tmp/nix-build-gnome-control-center-3.16.0.drv-0/gnome-control-center-3.16.0/panels/common/gsd-device-manager.c:270: undefined reference to `gsd_udev_device_manager_get_type' collect2: error: ld returned 1 exit status make[5]: *** [test-wacom] Error 1 make[5]: Leaving directory `/tmp/nix-build-gnome-control-center-3.16.0.drv-0/gnome-control-center-3.16.0/panels/wacom' Not sure what am I possibly doing wrong.
Can you attach the full build log please?
Created attachment 301195 [details] g-c-c build log Attached patch (ignore those [q[ chars)
Created attachment 301199 [details] [review] build: Require udev for Wayland support If GTK+ was built with Wayland support, we'll enable the udev "GsdDeviceManager". But that needs udev to be available.
You don't have the udev development libs installed, which are required to build with Wayland support.
Attachment 301199 [details] pushed as a43d59d - build: Require udev for Wayland support
Adding udev fixes the build, thanks.