* [Buildroot] Following direction, but failing to compile
@ 2009-07-02 18:04 Neil Cherry
2009-07-07 10:08 ` Will Newton
0 siblings, 1 reply; 3+ messages in thread
From: Neil Cherry @ 2009-07-02 18:04 UTC (permalink / raw)
To: buildroot
I've been having a few problems getting BuildRoot to work. So I
decided to fall back, read and follow the directions. But this
too has failed.
What I've done is:
tar jxvf buildroot-2009.05.tar.bz2
cd buildroot-2009.05
make menuconfig
make
When I'm compiling all goes well until I hit this:
:
DEPMOD 2.6.29.4-test
make[1]: Leaving directory
`/home/njc/stuff/buildroot-2009.05/project_build_i586/LORHA/linux-2.6.29.4'
+ rm -f
/home/njc/stuff/buildroot-2009.05/project_build_i586/LORHA/root/lib/modules/2.6.29.4/build
/home/njc/stuff/buildroot-2009.05/project_build_i586/LORHA/root/lib/modules/2.6.29.4/source
+ /home/njc/stuff/buildroot-2009.05/build_i586/staging_dir/bin/i586-linux-depmod26 -b
/home/njc/stuff/buildroot-2009.05/project_build_i586/LORHA/root 2.6.29.4
WARNING: Couldn't open directory
/home/njc/stuff/buildroot-2009.05/project_build_i586/LORHA/root/lib/modules/2.6.29.4: No
such file or directory
FATAL: Could not open
/home/njc/stuff/buildroot-2009.05/project_build_i586/LORHA/root/lib/modules/2.6.29.4/modules.dep.temp
for writing: No such file or directory
make: ***
[/home/njc/stuff/buildroot-2009.05/project_build_i586/LORHA/root/lib/modules/2.6.29.4/modules.dep]
Error 1
I'm having trouble finding where the sequence of commands are
executed so I can figure out why the directory is not being created.
I can go into the linux-2.6.29.4 directory and manually compile
the kernel with no errors.
Any pointers would be appreciated.
Thanks
--
Linux Home Automation Neil Cherry ncherry at linuxha.com
http://www.linuxha.com/ Main site
http://linuxha.blogspot.com/ My HA Blog
Author of: Linux Smart Homes For Dummies
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Following direction, but failing to compile
2009-07-02 18:04 [Buildroot] Following direction, but failing to compile Neil Cherry
@ 2009-07-07 10:08 ` Will Newton
2009-07-08 15:19 ` Neil Cherry
0 siblings, 1 reply; 3+ messages in thread
From: Will Newton @ 2009-07-07 10:08 UTC (permalink / raw)
To: buildroot
On Thu, Jul 2, 2009 at 7:04 PM, Neil Cherry<ncherry@linuxha.com> wrote:
> I've been having a few problems getting BuildRoot to work. So I
> decided to fall back, read and follow the directions. But this
> too has failed.
>
> What I've done is:
>
> tar jxvf buildroot-2009.05.tar.bz2
> cd buildroot-2009.05
> make menuconfig
> make
>
> When I'm compiling all goes well until I hit this:
>
> ? ? ? ?:
> ?DEPMOD ?2.6.29.4-test
> make[1]: Leaving directory
> `/home/njc/stuff/buildroot-2009.05/project_build_i586/LORHA/linux-2.6.29.4'
> + rm -f
> /home/njc/stuff/buildroot-2009.05/project_build_i586/LORHA/root/lib/modules/2.6.29.4/build
> /home/njc/stuff/buildroot-2009.05/project_build_i586/LORHA/root/lib/modules/2.6.29.4/source
> + /home/njc/stuff/buildroot-2009.05/build_i586/staging_dir/bin/i586-linux-depmod26 -b
> /home/njc/stuff/buildroot-2009.05/project_build_i586/LORHA/root 2.6.29.4
> WARNING: Couldn't open directory
> /home/njc/stuff/buildroot-2009.05/project_build_i586/LORHA/root/lib/modules/2.6.29.4: No
> such file or directory
> FATAL: Could not open
> /home/njc/stuff/buildroot-2009.05/project_build_i586/LORHA/root/lib/modules/2.6.29.4/modules.dep.temp
> for writing: No such file or directory
> make: ***
> [/home/njc/stuff/buildroot-2009.05/project_build_i586/LORHA/root/lib/modules/2.6.29.4/modules.dep]
> Error 1
>
> I'm having trouble finding where the sequence of commands are
> executed so I can figure out why the directory is not being created.
>
> I can go into the linux-2.6.29.4 directory and manually compile
> the kernel with no errors.
>
> Any pointers would be appreciated.
It looks like it's the modules_install target in the kernel Makefile
that is failing. Can you make that target successfully i.e. make
modules_install in the kernel tree?
> Thanks
>
> --
> Linux Home Automation ? ? ? ? Neil Cherry ? ? ? ncherry at linuxha.com
> http://www.linuxha.com/ ? ? ? ? ? ? ? ? ? ? ? ? Main site
> http://linuxha.blogspot.com/ ? ? ? ? ? ? ? ? ? ?My HA Blog
> Author of: ? ? ?Linux Smart Homes For Dummies
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Following direction, but failing to compile
2009-07-07 10:08 ` Will Newton
@ 2009-07-08 15:19 ` Neil Cherry
0 siblings, 0 replies; 3+ messages in thread
From: Neil Cherry @ 2009-07-08 15:19 UTC (permalink / raw)
To: buildroot
Will Newton wrote:
> On Thu, Jul 2, 2009 at 7:04 PM, Neil Cherry<ncherry@linuxha.com> wrote:
>> When I'm compiling all goes well until I hit this:
>>
>> :
>> DEPMOD 2.6.29.4-test
>> make[1]: Leaving directory
>> `/home/njc/stuff/buildroot-2009.05/project_build_i586/LORHA/linux-2.6.29.4'
>> + rm -f
>> /home/njc/stuff/buildroot-2009.05/project_build_i586/LORHA/root/lib/modules/2.6.29.4/build
>> /home/njc/stuff/buildroot-2009.05/project_build_i586/LORHA/root/lib/modules/2.6.29.4/source
>> + /home/njc/stuff/buildroot-2009.05/build_i586/staging_dir/bin/i586-linux-depmod26 -b
>> /home/njc/stuff/buildroot-2009.05/project_build_i586/LORHA/root 2.6.29.4
>> WARNING: Couldn't open directory
>> /home/njc/stuff/buildroot-2009.05/project_build_i586/LORHA/root/lib/modules/2.6.29.4: No
>> such file or directory
>> FATAL: Could not open
>> /home/njc/stuff/buildroot-2009.05/project_build_i586/LORHA/root/lib/modules/2.6.29.4/modules.dep.temp
>> for writing: No such file or directory
>> make: ***
>> [/home/njc/stuff/buildroot-2009.05/project_build_i586/LORHA/root/lib/modules/2.6.29.4/modules.dep]
>> Error 1
>>
>> I'm having trouble finding where the sequence of commands are
>> executed so I can figure out why the directory is not being created.
>>
>> I can go into the linux-2.6.29.4 directory and manually compile
>> the kernel with no errors.
>>
>> Any pointers would be appreciated.
>
> It looks like it's the modules_install target in the kernel Makefile
> that is failing. Can you make that target successfully i.e. make
> modules_install in the kernel tree?
Sorry for the delay.
Yes when I go into the kernel directory I can compile the modules
with no problems. My fix was to add a mkdir just after the rm -rf
in that section of the make file (I can't find it right now).
I'll find that info and post it here so we can see if it makes
any sense to anyone.
Thanks
--
Linux Home Automation Neil Cherry ncherry at linuxha.com
http://www.linuxha.com/ Main site
http://linuxha.blogspot.com/ My HA Blog
Author of: Linux Smart Homes For Dummies
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-07-08 15:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-02 18:04 [Buildroot] Following direction, but failing to compile Neil Cherry
2009-07-07 10:08 ` Will Newton
2009-07-08 15:19 ` Neil Cherry
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox