* [Buildroot] Buildroot Udev Compiling
@ 2012-06-29 5:52 Jonas Keidel
2012-06-30 13:04 ` Arnout Vandecappelle
0 siblings, 1 reply; 5+ messages in thread
From: Jonas Keidel @ 2012-06-29 5:52 UTC (permalink / raw)
To: buildroot
Hey guys,
it's me again. I have problems with udev compuiling in builroot...It
stops with the following error message. I use the current git version of
buildroot.
Here ist my config file:
http://pastebin.com/UU3HedKC
This is the error message:
>>> udev 182 Building
PATH="/usr/src/rescue-src/initramfs/busybox/building/git/buildroot/output/host/bin:/usr/src/rescue-src/initramfs/busybox/building/git/buildroot/output/host/usr/bin:/usr/src/rescue-src/initramfs/busybox/building/git/buildroot/output/host/usr/sbin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PERLLIB="/usr/src/rescue-src/initramfs/busybox/building/git/buildroot/output/host/usr/lib/perl"
/usr/bin/make -j8 -C
/usr/src/rescue-src/initramfs/busybox/building/git/buildroot/output/build/udev-182/
make[1]: Entering directory
`/usr/src/rescue-src/initramfs/busybox/building/git/buildroot/output/build/udev-182'
/usr/bin/make --no-print-directory all-recursive
Making all in .
CCLD udevadm
CCLD udevd
/usr/src/rescue-src/initramfs/busybox/building/git/buildroot/output/host/usr/x86_64-unknown-linux-uclibc/sysroot/usr/lib/libblkid.so:
file not recognized: Is a directory
collect2: ld returned 1 exit status
/usr/src/rescue-src/initramfs/busybox/building/git/buildroot/output/host/usr/x86_64-unknown-linux-uclibc/sysroot/usr/lib/libblkid.so:
file not recognized: Is a directory
collect2: ld returned 1 exit status
make[3]: *** [udevd] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [udevadm] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/usr/src/rescue-src/initramfs/busybox/building/git/buildroot/output/build/udev-182'
make: ***
[/usr/src/rescue-src/initramfs/busybox/building/git/buildroot/output/build/udev-182/.stamp_built]
Error 2
Thx a lot!
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Buildroot Udev Compiling
2012-06-29 5:52 [Buildroot] Buildroot Udev Compiling Jonas Keidel
@ 2012-06-30 13:04 ` Arnout Vandecappelle
2012-06-30 13:12 ` Jonas Keidel
0 siblings, 1 reply; 5+ messages in thread
From: Arnout Vandecappelle @ 2012-06-30 13:04 UTC (permalink / raw)
To: buildroot
On 06/29/12 07:52, Jonas Keidel wrote:
> it's me again. I have problems with udev compuiling in builroot...It stops with the following error message. I use the
> current git version of buildroot.
>
> Here ist my config file:
> http://pastebin.com/UU3HedKC
I can't find the root cause of the problem (in fact, in my case it already
fails when compiling attr), but my guess is that BR2_PREFER_STATIC_LIB is
causing trouble. Do you really need it?
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Buildroot Udev Compiling
2012-06-30 13:04 ` Arnout Vandecappelle
@ 2012-06-30 13:12 ` Jonas Keidel
2012-07-01 4:10 ` Baruch Siach
0 siblings, 1 reply; 5+ messages in thread
From: Jonas Keidel @ 2012-06-30 13:12 UTC (permalink / raw)
To: buildroot
Hi Arnout,
> I can't find the root cause of the problem (in fact, in my case it
already fails when compiling attr), but my guess is that
BR2_PREFER_STATIC_LIB is causing trouble. Do you really need it?
Yes I really need it, because i build an special initramfs booting script
and for that I need udev static build.
But maybe it is possible to use it in another way. How can I do it? How can
I implement udev in my busybox environment?
Thx for answer.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Buildroot Udev Compiling
2012-06-30 13:12 ` Jonas Keidel
@ 2012-07-01 4:10 ` Baruch Siach
2012-07-02 9:32 ` Jonas Keidel
0 siblings, 1 reply; 5+ messages in thread
From: Baruch Siach @ 2012-07-01 4:10 UTC (permalink / raw)
To: buildroot
Hi Jonas,
On Sat, Jun 30, 2012 at 03:12:27PM +0200, Jonas Keidel wrote:
> > I can't find the root cause of the problem (in fact, in my case it
> already fails when compiling attr), but my guess is that
> BR2_PREFER_STATIC_LIB is causing trouble. Do you really need it?
>
> Yes I really need it, because i build an special initramfs booting script
> and for that I need udev static build.
> But maybe it is possible to use it in another way. How can I do it? How can
> I implement udev in my busybox environment?
Busybox includes mdev which is a simplified udev. Note, however, that mdev
relies on the old hotplug mechanism to get device information from the kernel
at run-time. This hostplug mechanism is inherently racy. For the initramfs use
case this should be enough, though.
You may also consider using devtmpfs.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Buildroot Udev Compiling
2012-07-01 4:10 ` Baruch Siach
@ 2012-07-02 9:32 ` Jonas Keidel
0 siblings, 0 replies; 5+ messages in thread
From: Jonas Keidel @ 2012-07-02 9:32 UTC (permalink / raw)
To: buildroot
Hey Baruch,
> Busybox includes mdev which is a simplified udev. Note, however, that
> mdev
> relies on the old hotplug mechanism to get device information from
> the kernel
> at run-time. This hostplug mechanism is inherently racy. For the
> initramfs use
> case this should be enough, though.
I know that it is implemented and I already tested that in my script.
But I also want to try the udev variant because it is more flexible.
I've tested buildig today again and i got the same error as on the days
before. Nothing changed. What can I do?
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-07-02 9:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-29 5:52 [Buildroot] Buildroot Udev Compiling Jonas Keidel
2012-06-30 13:04 ` Arnout Vandecappelle
2012-06-30 13:12 ` Jonas Keidel
2012-07-01 4:10 ` Baruch Siach
2012-07-02 9:32 ` Jonas Keidel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox