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

Vellemans, Noel Noel.Vellemans at visionBMS.com
Fri Dec 9 10:14:23 UTC 2011


Hi Peter,

You are right, uclibc-patch did not solve, and indeed newer ARM-kernel
solves the problem. 

Thanks,
Noel



-----Original Message-----
From: Peter Korsgaard [mailto:jacmet at gmail.com] On Behalf Of Peter
Korsgaard
Sent: 9Dec11 10:13
To: Vellemans, Noel
Cc: buildroot at busybox.net
Subject: Re: Buildroot - udev : undefined reference to `accept4'

>>>>> "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