[Buildroot] Buildroot - udev : undefined reference to `accept4'

Peter Korsgaard jacmet at uclibc.org
Fri Dec 9 09:13:27 UTC 2011


>>>>> "Noel" == Vellemans, Noel <Noel.Vellemans at visionBMS.com> writes:

 Noel> Hi All,
 Noel> When compiling udev-173 with uClibc 0.9.32 for ARM you get the following error:

 Noel> udev/udev-ctrl.o: In function `udev_ctrl_get_connection':
 Noel> udev-ctrl.c:(.text.udev_ctrl_get_connection+0x44): undefined reference to
 Noel> `accept4'
 Noel> collect2: ld returned 1 exit status
 Noel> make[3]: *** [udev/udevd] Error 1
 Noel> make[3]: *** Waiting for unfinished jobs....

Your kernel headers (and runtime kernel) are too old. Udev needs
accept4() which was added to the kernel relatively recently (2.6.36 for
ARM).

 Noel> A patch is already available
 Noel> Ref to https://bugs.busybox.net/show_bug.cgi?id=4195

That doesn't help as udev NEEDS accept4.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list