Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Buildroot - udev : undefined reference to `accept4'
@ 2011-12-09  7:41 Vellemans, Noel
  2011-12-09  9:13 ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Vellemans, Noel @ 2011-12-09  7:41 UTC (permalink / raw)
  To: buildroot

Hi All,

When compiling udev-173 with uClibc 0.9.32 for ARM you get the following
error:

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


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

http://lists.uclibc.org/pipermail/uclibc-cvs/2011-November/029930.html 
http://lists.uclibc.org/pipermail/uclibc-cvs/2011-November/029935.html


Regards Noel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20111209/ea279089/attachment.html>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Buildroot - udev : undefined reference to `accept4'
  2011-12-09  7:41 [Buildroot] Buildroot - udev : undefined reference to `accept4' Vellemans, Noel
@ 2011-12-09  9:13 ` Peter Korsgaard
  2011-12-09 10:14   ` Vellemans, Noel
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2011-12-09  9:13 UTC (permalink / raw)
  To: buildroot

>>>>> "Noel" == Vellemans, Noel <Noel.Vellemans@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Buildroot - udev : undefined reference to `accept4'
  2011-12-09  9:13 ` Peter Korsgaard
@ 2011-12-09 10:14   ` Vellemans, Noel
  0 siblings, 0 replies; 3+ messages in thread
From: Vellemans, Noel @ 2011-12-09 10:14 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-12-09 10:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-09  7:41 [Buildroot] Buildroot - udev : undefined reference to `accept4' Vellemans, Noel
2011-12-09  9:13 ` Peter Korsgaard
2011-12-09 10:14   ` Vellemans, Noel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox