Wind River Support Network

HomeDefectsLIN6-7163
Fixed

LIN6-7163 : lvm2 do_compile failed with systemd enable: undefined reference to `udev_get_dev_path'

Created: Apr 21, 2014    Updated: Dec 3, 2018
Resolved Date: Apr 21, 2014
Found In Version: 6.0.0.5
Fix Version: 6.0.0.6
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

|       [ -s dumpconfig.d ] || rm -f dumpconfig.d
| make[1]: Leaving directory `/t_installer_140417/p_x64-systemd_140421/bitbake_build/tmp/work/x86_64-wrs-linux/lvm2/2.02.95-r1.1/LVM2.2.02.95/tools'
| make[1]: Entering directory `/t_installer_140417/p_x64-systemd_140421/bitbake_build/tmp/work/x86_64-wrs-linux/lvm2/2.02.95-r1.1/LVM2.2.02.95/tools'
| x86_64-wrs-linux-gcc  -m64  -Wl,-O1 -Wl,--hash-style=gnu --sysroot=/t_installer_140417/p_x64-systemd_140421/bitbake_build/tmp/sysroots/qemux86-64 -c -I. -I../include -DLVM_SHARED_PATH=\"/usr/sbin/lvm\" -DHAVE_CONFIG_H -DDM_IOCTLS -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn -Wformat-security -Wredundant-decls -Wpointer-arith -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -fPIC  -O2 -O2 -pipe -g -feliminate-unused-debug-types -fPIC  -O2 dmsetup.c -o dmsetup.o
| dmsetup.c: In function '_set_up_udev_support':
| dmsetup.c:1034:6: warning: implicit declaration of function 'udev_get_dev_path' [-Wimplicit-function-declaration]
|       !(udev_dev_dir = udev_get_dev_path(udev)) ||
|       ^
| dmsetup.c:1034:6: warning: nested extern declaration of 'udev_get_dev_path' [-Wnested-externs]
| dmsetup.c:1034:21: warning: assignment makes pointer from integer without a cast [enabled by default]
|       !(udev_dev_dir = udev_get_dev_path(udev)) ||
|                      ^
| x86_64-wrs-linux-gcc  -m64  -Wl,-O1 -Wl,--hash-style=gnu --sysroot=/t_installer_140417/p_x64-systemd_140421/bitbake_build/tmp/sysroots/qemux86-64 -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -fPIC  -O2 -O2 -pipe -g -feliminate-unused-debug-types -fPIC  -O2 -Wl,-O1 -Wl,--hash-style=gnu -Wl,-O1 -Wl,--hash-style=gnu -O2 -L./libdm -L./lib -L./daemons/dmeventd -Wl,-O1 -Wl,--hash-style=gnu -O2 -L../libdm -L../lib -L../daemons/dmeventd -L../libdm \
|             -o dmsetup dmsetup.o -ldevmapper  -L/t_installer_140417/p_x64-systemd_140421/bitbake_build/tmp/sysroots/qemux86-64/usr/lib64 -ludev
| dmsetup.o: In function `_set_up_udev_support':
| /t_installer_140417/p_x64-systemd_140421/bitbake_build/tmp/work/x86_64-wrs-linux/lvm2/2.02.95-r1.1/LVM2.2.02.95/tools/dmsetup.c:1034: undefined reference to `udev_get_dev_path'
| collect2: error: ld returned 1 exit status
| make[1]: *** [dmsetup] Error 1
| make[1]: Leaving directory `/t_installer_140417/p_x64-systemd_140421/bitbake_build/tmp/work/x86_64-wrs-linux/lvm2/2.02.95-r1.1/LVM2.2.02.95/tools'
| make: *** [tools.device-mapper] Error 2
| ERROR: oe_runmake failed
| WARNING: /t_installer_140417/p_x64-systemd_140421/bitbake_build/tmp/work/x86_64-wrs-linux/lvm2/2.02.95-r1.1/temp/do_compile/run.do_compile.25009:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (log file is located at /t_installer_140417/p_x64-systemd_140421/bitbake_build/tmp/work/x86_64-wrs-linux/lvm2/2.02.95-r1.1/temp/do_compile/log.do_compile.25009)
NOTE: recipe lvm2-2.02.95-r1.1: task do_compile: Failed
ERROR: Task 1953 (/t_installer_140417/p_x64-systemd_140421/layers/wr-base/recipes-support/lvm2/lvm2_2.02.95.bb, do_compile) failed with exit code '1'
NOTE: Running task 3202 of 7018 (ID: 3823, /t_installer_140417/p_x64-systemd_140421/layers/oe-core/meta/recipes-graphics/drm/libdrm_2.4.46.bb, do_package)
NOTE: recipe libdrm-2.4.46-r0: task do_package: Started
NOTE: recipe libdrm-2.4.46-r0: task do_package: Succeeded
NOTE: recipe coreutils-8.21-r0: task do_package: Succeeded
NOTE: recipe mesa-2_9.1.6-r0: task do_compile: Succeeded
NOTE: recipe gtk+-2.24.20-r0: task do_compile: Succeeded
NOTE: Tasks Summary: Attempted 3202 tasks of which 2181 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory

Summary: 1 task failed:
  /t_installer_140417/p_x64-systemd_140421/layers/wr-base/recipes-support/lvm2/lvm2_2.02.95.bb, do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
make: *** [export/qemux86-64-installer-standard-dist.tar.bz2] Error 1

Steps to Reproduce

1. configure with:
--enable-board=qemux86-64 --enable-rootfs=wr-installer --enable-kernel=standard --enable-parallel-pkgbuilds=4 --enable-jobs=4 --enable-target-installer=yes --enable-distro=wrlinux-installer --with-init=systemd

2. build
$ make -C build lvm2
$ make fs

Other Downloads


Live chat
Online