I am trying to build xorg-xserver-1.9.4. I am building it on the T2 build system but have been unable to get an answer to fix this problem was hoping someone will give me some insight as to what is going on and if this is a bug or just my problem. This it a cut of were the trouble started. CCLD Xorg ./.libs/libxorg.a(udev.o): In function `device_added': udev.c:(.text+0x4e): undefined reference to `udev_device_get_devnode' udev.c:(.text+0x59): undefined reference to `udev_device_get_syspath' udev.c:(.text+0x85): undefined reference to `udev_device_get_property_value' udev.c:(.text+0x11b): undefined reference to `udev_device_get_parent' udev.c:(.text+0x12e): undefined reference to `udev_device_get_devnode' udev.c:(.text+0x149): undefined reference to `udev_device_get_property_value' udev.c:(.text+0x164): undefined reference to `udev_device_get_sysattr_value' udev.c:(.text+0x1c3): undefined reference to `udev_device_get_sysattr_value' udev.c:(.text+0x2b1): undefined reference to `udev_device_get_property_value' udev.c:(.text+0x3e4): undefined reference to `udev_device_get_properties_list_entry' udev.c:(.text+0x417): undefined reference to `udev_list_entry_get_name' udev.c:(.text+0x42f): undefined reference to `udev_list_entry_get_value' udev.c:(.text+0x51f): undefined reference to `udev_list_entry_get_next' udev.c:(.text+0x85c): undefined reference to `udev_device_get_property_value' ./.libs/libxorg.a(udev.o): In function `wakeup_handler': udev.c:(.text+0xa35): undefined reference to `udev_monitor_get_fd' udev.c:(.text+0xa82): undefined reference to `udev_monitor_receive_device' udev.c:(.text+0xa91): undefined reference to `udev_device_get_action' udev.c:(.text+0xad9): undefined reference to `udev_device_unref' udev.c:(.text+0xb08): undefined reference to `udev_device_get_syspath' ./.libs/libxorg.a(udev.o): In function `config_udev_init': udev.c:(.text+0xb68): undefined reference to `udev_new' udev.c:(.text+0xb88): undefined reference to `udev_monitor_new_from_netlink' udev.c:(.text+0xb9e): undefined reference to `udev_monitor_enable_receiving' udev.c:(.text+0xbb5): undefined reference to `udev_enumerate_new' udev.c:(.text+0xbc8): undefined reference to `udev_enumerate_scan_devices' udev.c:(.text+0xbd3): undefined reference to `udev_enumerate_get_list_entry' udev.c:(.text+0xbe4): undefined reference to `udev_list_entry_get_name' udev.c:(.text+0xbf3): undefined reference to `udev_device_new_from_syspath' udev.c:(.text+0xc02): undefined reference to `udev_device_unref' udev.c:(.text+0xc0a): undefined reference to `udev_list_entry_get_next' udev.c:(.text+0xc20): undefined reference to `udev_enumerate_unref' udev.c:(.text+0xc4e): undefined reference to `udev_monitor_get_fd' ./.libs/libxorg.a(udev.o): In function `config_udev_fini': udev.c:(.text+0xcb6): undefined reference to `udev_monitor_get_udev' udev.c:(.text+0xcc6): undefined reference to `udev_monitor_get_fd' udev.c:(.text+0xcfc): undefined reference to `udev_monitor_unref' udev.c:(.text+0xd0e): undefined reference to `udev_unref' collect2: ld returned 1 exit status Any help will be much appreciated.
Find out why you're not linking with -ludev. config.log and output of make V=1 might help.
Yes Julien Cristau you are correct it was found out by a member on the T2 list just last night Mika N fixed it this way - Chrooted to build/xxxx "chroot toolchain" environment (or whatever the T2 build environment is called) - Removed lib/libudev.a static library file - Modified lib/libudev.la library definition file (removed static file reference and added references to dynamic libraries) dlname='libudev.so.0' library_names='libudev.so.0.11.1 libudev.so.0 libudev.so' old_library='' - Run ldconfig command within the chroot environment to update library cache - Exited from chroot environment - Re-built xorg-server package and this time it compiled without problems I am saying that you can close this bug report.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.