Problems to build udev on 2013.08.1
Hello,
i have two buildroot projects. One requires udev.
I get always the same error (at the end).
So i took my second project, enabled udev there also and the same error. One project is with linaroo and the other one with eglibc/gcc. I also tried the build on different Platforms (Opensuse 12.3/13.1 Ubuntu 10.04/12.04/13.10), always the same problem.
It seems that somewhere a wrong link or duplicating of the path leads to the error.
Attached is the config of the eglibc project.
peter
CCLD collect
libtool: link: warning: library
`/usr2/new/Source-guru/buildroot/project_build_arm/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libblkid.la'
was moved.
libtool: link: cannot find the library `/usr2/new/Source-guru/buildroot/project_build_arm/usr/arm-buildroot-linux-gnueabi/sysroot/usr2/new/Source-guru/buildroot/project_build_arm/usr/arm-buildroot-linux-gnueabi/sysroot/usr2/new/Source-guru/buildroot/project_build_arm/usr/arm-buildroot-linux-gnueabi/sysroot/usr2/new/Source-guru/buildroot/project_build_arm/usr/arm-buildroot-linux-gnueabi/sysroot/usr2/new/Source-guru/buildroot/project_build_arm/build/util-linux-2.22.2/libuuid.la' or unhandled argument `/usr2/new/Source-guru/buildroot/project_build_arm/usr/arm-buildroot-linux-gnueabi/sysroot/usr2/new/Source-guru/buildroot/project_build_arm/usr/arm-buildroot-linux-gnueabi/sysroot/usr2/new/Source-guru/buildroot/project_build_arm/usr/arm-buildroot-linux-gnueabi/sysroot/usr2/new/Source-guru/buildroot/project_build_arm/usr/arm-buildroot-linux-gnueabi/sysroot/usr2/new/Source-guru/buildroot/project_build_arm/build/util-linux-2.22.2/libuuid.la' make[4]: *** [udevd] Fehler 1
make[4]: *** Warte auf noch nicht beendete Prozesse...
libtool: link: warning: library
`/usr2/new/Source-guru/buildroot/project_build_arm/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libblkid.la'
was moved.
libtool: link: cannot find the library `/usr2/new/Source-guru/buildroot/project_build_arm/usr/arm-buildroot-linux-gnueabi/sysroot/usr2/new/Source-guru/buildroot/project_build_arm/usr/arm-buildroot-linux-gnueabi/sysroot/usr2/new/Source-guru/buildroot/project_build_arm/usr/arm-buildroot-linux-gnueabi/sysroot/usr2/new/Source-guru/buildroot/project_build_arm/usr/arm-buildroot-linux-gnueabi/sysroot/usr2/new/Source-guru/buildroot/project_build_arm/build/util-linux-2.22.2/libuuid.la' or unhandled argument `/usr2/new/Source-guru/buildroot/project_build_arm/usr/arm-buildroot-linux-gnueabi/sysroot/usr2/new/Source-guru/buildroot/project_build_arm/usr/arm-buildroot-linux-gnueabi/sysroot/usr2/new/Source-guru/buildroot/project_build_arm/usr/arm-buildroot-linux-gnueabi/sysroot/usr2/new/Source-guru/buildroot/project_build_arm/usr/arm-buildroot-linux-gnueabi/sysroot/usr2/new/Source-guru/buildroot/project_build_arm/build/util-linux-2.22.2/libuuid.la'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config
Type: application/x-config
Size: 38724 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20131108/4b84bcc3/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 51728 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20131108/4b84bcc3/attachment-0003.bin>
Dear Peter Katzmann,
Quoted 10 lines · Peter Katzmann
i have two buildroot projects. One requires udev.
I get always the same error (at the end).
So i took my second project, enabled udev there also and the same error. One project is with linaroo and the other one with eglibc/gcc. I also tried the build on different Platforms (Opensuse 12.3/13.1 Ubuntu 10.04/12.04/13.10), always the same problem.It seems that somewhere a wrong link or duplicating of the path leads to the error.
Quoted 8 lines
Attached is the config of the eglibc project.
peter
CCLD collect
libtool: link: warning: library `/usr2/new/Source-guru/buildroot/project_build_arm/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libblkid.la' was moved.
Building from a path that starts with /usr is not supported. This is something we have to fix, but it hasn't been done so far.
See https://bugs.busybox.net/show_bug.cgi?id=6470.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Hello Thomas,
thank you for your fast answer.
I started immediately a testbuild with the advised patch and it is now working as expected.
Thanks again
peter
Quoted 30 lines · Thomas Petazzoni
Dear Peter Katzmann,
Quoted 10 lines · Peter Katzmann
i have two buildroot projects. One requires udev.
I get always the same error (at the end).
So i took my second project, enabled udev there also and the same error. One project is with linaroo and the other one with eglibc/gcc. I also tried the build on different Platforms (Opensuse 12.3/13.1 Ubuntu 10.04/12.04/13.10), always the same problem.It seems that somewhere a wrong link or duplicating of the path leads to the error.
Quoted 8 lines
Attached is the config of the eglibc project.
peter
CCLD collect
libtool: link: warning: library `/usr2/new/Source-guru/buildroot/project_build_arm/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libblkid.la' was moved.Building from a path that starts with /usr is not supported. This is something we have to fix, but it hasn't been done so far.
See https://bugs.busybox.net/show_bug.cgi?id=6470.
Best regards,
Thomas