After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 747548 - Cannot build due to undefined reference to `gsd_udev_device_manager_get_type'
Cannot build due to undefined reference to `gsd_udev_device_manager_get_type'
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: general
3.16.x
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-04-09 09:38 UTC by Luca Bruno
Modified: 2015-04-09 11:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
g-c-c build log (81.65 KB, text/plain)
2015-04-09 10:14 UTC, Luca Bruno
  Details
build: Require udev for Wayland support (1.11 KB, patch)
2015-04-09 10:56 UTC, Bastien Nocera
committed Details | Review

Description Luca Bruno 2015-04-09 09:38:58 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.
Comment 1 Bastien Nocera 2015-04-09 10:01:27 UTC
Can you attach the full build log please?
Comment 2 Luca Bruno 2015-04-09 10:14:44 UTC
Created attachment 301195 [details]
g-c-c build log

Attached patch (ignore those [q[ chars)
Comment 3 Bastien Nocera 2015-04-09 10:56:43 UTC
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.
Comment 4 Bastien Nocera 2015-04-09 10:57:37 UTC
You don't have the udev development libs installed, which are required to build with Wayland support.
Comment 5 Bastien Nocera 2015-04-09 11:03:08 UTC
Attachment 301199 [details] pushed as a43d59d - build: Require udev for Wayland support
Comment 6 Luca Bruno 2015-04-09 11:16:28 UTC
Adding udev fixes the build, thanks.