[Buildroot] Error when compiling Buildroot to create .iso (cannot stat /.../i386-linux-2.6.24-20

Arun Reddy reddyac at gmail.com
Fri Apr 4 00:22:29 UTC 2008


Hi Andrew,

I just made the symbolic link by typing in

'ln -s project_build_i386/uclibc/linux-2.6-24/arch/x86 x86'

in the buildroot directory. I then compiled again and I was still presented
with the same error. I should point out that in the error.log, I am also
seeing:

+ echo '/root/buildroot/build_i386/genext2fs-1.4/genext2fs -b 67936 ' ' -N
1621 -d /root/buildroot/project_build_i386/uclibc/root ' ' -U -m 0
/root/buildroot/binaries/uclibc/rootfs.i386.ext2

right before the error displays that i386-linux-2.6.24-20080403 cannot be
found. (This has now changed to i386-linux-2.6.24-20080404 since it's April
4th in the time that buildroot is using).

Does this mean that I need to delete my rootfs.i386.ext2 and compile again
from scratch with .iso selected in order to get the .iso? I hope this isn't
the case since it took me a while to do the build. Thanks!

2008/4/3 Ma Andrew <andrewma83 at hotmail.com>:

>
> ok hope this one would help.
>
> 'ln -s project_build_i386/uclibc/linux-2.6-24/arch/x86 x86' in your
> buildroot.  It should at least let you pass through the error that you post
> on the email.
>
> --Andrew
> ________________________________
> > Date: Thu, 3 Apr 2008 16:46:03 -0700
> > From: reddyac at gmail.com
> > To: andrewma83 at hotmail.com
> > Subject: Re: [Buildroot] Error when compiling Buildroot to create .iso
> (cannot stat /.../i386-linux-2.6.24-20
> > CC: buildroot at uclibc.org
> >
> > Hi Andrew,
> >
> > I found the actual bzImage (not the symbolic links) at:
> >
> > /buildroot/project_build_i386/uclibc/linux-2.6-24/arch/x86/boot/bzImage
> >
> > So I made a symbolic link to that bzImage and I can see it within
> /buildroot/binaries/$PROJECT.
> >
> > Unfortunately the .iso file is no where to be found after I compile.
> Hopefully someone can give some feedback on this. Thanks again for your
> suggestions Andrew!
> >
> > 2008/4/3 Ma Andrew>:
> >
> > Sorry I want to send the command but somehow hotmail doens't let me.
>  There is a missing part on the command that I suggest.  You can do a "find
> . -name bzImage -print" on "/root/buildroot" will show all the path that
> contain bzImage.  Only one contains the real file, all of them are just
> symbolic links.  I believe the script is trying to look for bzImage but it
> is a sym link point to somewhere it doesn't exists.
> >
> > Perhaps, there may be a better way to solve it in "make menuconfig"
> instead of hacking it through sym link.
> >
> > --Andrew
> > ________________________________
> >> Date: Thu, 3 Apr 2008 15:13:41 -0700
> >> From: reddyac at gmail.com
> >> To: andrewma83 at hotmail.com
> >> Subject: Re: [Buildroot] Error when compiling Buildroot to create .iso
> (cannot stat /.../i386-linux-2.6.24-20
> >> CC: buildroot at uclibc.org
> >>
> >> Thanks a lot for your suggestion. I made a symbolic link to the x86
> directory but I still don't find my rootfs.i386.iso file within
> buildroot/binaries/$PROJECT.
> >>
> >> I also didn't see any errors this time, but I piped the errors to
> error.log and checked it, and still get the message that reads
> i386-linux-2.6.24-20080403 cannot be found.
> >>
> >> On Thu, Apr 3, 2008 at 2:33 PM, Ma Andrew> wrote:
> >>
> >> I think you can make a sym link like this on your /root/buildroot
> directory.
> >> "ln -s ./project_build_i686//linux-2.6.24/arch/x86 x86" and see if it
> works for you.
> >>
> >>
> >>
> >> ________________________________
> >>> Date: Thu, 3 Apr 2008 13:58:28 -0700
> >>> From: reddyac at gmail.com
> >>> To: buildroot at uclibc.org
> >>> Subject: [Buildroot] Error when compiling Buildroot to create .iso
> (cannot stat /.../i386-linux-2.6.24-20080403)
> >>>
> >>> Hi everyone.
> >>>
> >>> I am able to successfully compile Buildroot and I end up with a
> resulting file system image rootfs.i386.ext2 and a bzImage for the kernel. I
> want to boot up my newly created kernel in VirtualBox, and I will need an
> .iso to do that. So modified menuconfig to give me an .iso and typed make
> again. Unfortunately I run into an error that states:
> >>>
> >>> cp: cannot stat
> '/root/buildroot/binaries/uclibc/i386-linux-2.6.24-20080403': No such file
> or directory
> >>> make: *** [/root/buildroot/binaries/uclibc/rootfs.i386.iso] Error 1
> >>>
> >>> I checked that folder and I see file named i386-linux-2.6.24-20080403,
> and cannot understand why it is giving me this error. Can someone give me a
> clearer indication to what this error is referring and how I can go about
> fixing it?
> >>>
> >>> Thank you in advance for your response!
> >>
> >> _________________________________________________________________
> >> 聰明搜尋和瀏覽網路的免費工具列 — MSN 搜尋工具列
> >> http://toolbar.live.com/
> >
> > _________________________________________________________________
> > 下載 Windows Live Messenger 8.5 搶鮮版,多元溝通、盡情分享,和即時傳訊好友線上同樂!— 立即下載
> > http://get.live.com/zh-cht-tw/betas/messenger_betas
>
> _________________________________________________________________
> 隨身的 Windows Live Messenger 和 Hotmail,不限時地掌握資訊盡在指間 — Windows Live for
> Mobile
> http://www.msn.com.tw/msnmobile/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/buildroot/attachments/20080403/b0bea599/attachment-0002.htm 


More information about the buildroot mailing list