[Buildroot] libusb / udev support issue when using systemd and raspberrypi_defconfig
Eric Limpens
limpens at gmail.com
Wed Mar 26 14:48:10 UTC 2014
Hi Eric!
Thanks for reproducing / resolving the issue. I'll do an update when an
updated package is pushed.
For now I force libusb to configure with --disable-udev, that way it builds
ok.
Sincerely,
Eric.
On Wed, Mar 26, 2014 at 2:46 PM, Eric Le Bihan <eric.le.bihan.dev at free.fr>wrote:
> Hi Eric!
>
> On Wed, Mar 26, 2014 at 09:45:17AM +0100, Eric Limpens wrote:
> > Hi,
> > I'ld like to use systemd as init system on a RaspberryPi. Following
> these
> > steps, libusb complains about the lack of udev support (missing
> libudev):
> > git clone git://git.busybox.net/buildroot
> > make raspberrypi_defconfig
> > make menuconfig
> > --> select glibc as C library
> > --> select systemd as init system
> > --> select package libusb
> > make
> > Is this a glitch with setting one of the BR2_PACKAGE_HAS_UDEV or
> > BR2_PACKAGE_PROVIDERS_UDEV variables?
> I reproduced your bug. It is not a glitch with systemd being a provider for
> the virtual package udev, but a linking issue.
>
> If you look at output/build/libusb-1.0.18/config.log, you will see that the
> configure script fails to detect libudev because of this:
>
> <...>/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libudev.so:
> undefined reference to `__res_search'
> <...>/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libudev.so:
> undefined reference to `__res_query'
>
> These symbols are provided by libresolv.so. Since systemd 209, some
> convenience libraries have been merged into libsystemd, which pulls this
> -lresolv dependency.
>
> See this `discussion
> <
> http://lists.freedesktop.org/archives/systemd-devel/2014-March/017923.html
> >`_
> on system-devel mailing list for more details, as well as this `Gentoo bug
> report
> <https://bugs.gentoo.org/show_bug.cgi?id=504700>`_ for further details.
>
> This issue is fixed in system 212, which has been released today! I will
> soon
> post a patch to bump this package.
>
> Best regards,
> ELB
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140326/978fbe38/attachment-0002.html>
More information about the buildroot
mailing list