All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Buildroot compilation error
@ 2008-03-18 10:57 Reinier Coetzer
  2008-03-20 10:47 ` [Buildroot] ncurse address error Guillaume Dargaud
  0 siblings, 1 reply; 5+ messages in thread
From: Reinier Coetzer @ 2008-03-18 10:57 UTC (permalink / raw)
  To: buildroot

Hi all,

I want to cross-compile for my EBOX with a Vortex86SX CPU (
http://www.dmp.com.tw/tech/vortex86sx/).
The problem is that I have to use the 2.6.18.8 kernel as described by DMP. I
configured everything
with menuconfig, but I cant select kernel headers earlier than 2.6.21 for my
toolchain in menuconfig and I
have a feeling that is why I get the following error:

if [ -r System.map -a -x
/home/harry/Desktop/buildroot/build_i486/staging_dir/bin/i486-linux-depmod26
]; then
/home/harry/Desktop/buildroot/build_i486/staging_dir/bin/i486-linux-depmod26
-ae -F System.map -b
/home/harry/Desktop/buildroot/project_build_i486/Agritel/root -r
2.6.18.8-DMP; fi
make[1]: Leaving directory
`/home/harry/Desktop/buildroot/project_build_i486/Agritel/linux-2.6.18.8'
rm -f
/home/harry/Desktop/buildroot/project_build_i486/Agritel/root/lib/modules/2.6.18.8/build
rm -f
/home/harry/Desktop/buildroot/project_build_i486/Agritel/root/lib/modules/2.6.18.8/source
/home/harry/Desktop/buildroot/build_i486/staging_dir/bin/i486-linux-depmod26
-b /home/harry/Desktop/buildroot/project_build_i486/Agritel/root 2.6.23
WARNING: Couldn't open directory
/home/harry/Desktop/buildroot/project_build_i486/Agritel/root/lib/modules/2.6.23:
No such file or directory
FATAL: Could not open
/home/harry/Desktop/buildroot/project_build_i486/Agritel/root/lib/modules/2.6.23/modules.dep.temp
for writing: No such file or directory
make: ***
[/home/harry/Desktop/buildroot/project_build_i486/Agritel/root/lib/modules/2.6.18.8/modules.dep]
Error 1

I dont know what to change in order to avoid this error. I'm rather new to
kernel compilation so a detailed answer would be very much
appreciated. Thanks in advance!

Kind Regards
  Reinier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080318/b8a554e1/attachment.htm 

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

* [Buildroot] ncurse address error
  2008-03-18 10:57 [Buildroot] Buildroot compilation error Reinier Coetzer
@ 2008-03-20 10:47 ` Guillaume Dargaud
  2008-03-20 14:45   ` Nathanael D. Noblet
  2008-03-20 14:58   ` [Buildroot] Problem building busybox Guillaume Dargaud
  0 siblings, 2 replies; 5+ messages in thread
From: Guillaume Dargaud @ 2008-03-20 10:47 UTC (permalink / raw)
  To: buildroot

There's an extra 'gnu' being appended in the path:

wget --passive-ftp  -P /home/guinevere/buildroot/dl 
"http://ftp.gnu.org/pub/gnu"/gnu/ncurses/ncurses-5.6.tar.gz
--11:44:49--  http://ftp.gnu.org/pub/gnu/gnu/ncurses/ncurses-5.6.tar.gz
           => `/home/guinevere/buildroot/dl/ncurses-5.6.tar.gz'
Resolving ftp.gnu.org... 140.186.70.20
Connecting to ftp.gnu.org|140.186.70.20|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
11:44:49 ERROR 404: Not Found.

-- 
Guillaume Dargaud
http://www.gdargaud.net/

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

* [Buildroot] ncurse address error
  2008-03-20 10:47 ` [Buildroot] ncurse address error Guillaume Dargaud
@ 2008-03-20 14:45   ` Nathanael D. Noblet
  2008-03-21 10:30     ` Guillaume Dargaud
  2008-03-20 14:58   ` [Buildroot] Problem building busybox Guillaume Dargaud
  1 sibling, 1 reply; 5+ messages in thread
From: Nathanael D. Noblet @ 2008-03-20 14:45 UTC (permalink / raw)
  To: buildroot

Guillaume Dargaud wrote:
> There's an extra 'gnu' being appended in the path:
> 
> wget --passive-ftp  -P /home/guinevere/buildroot/dl 
> "http://ftp.gnu.org/pub/gnu"/gnu/ncurses/ncurses-5.6.tar.gz
> --11:44:49--  http://ftp.gnu.org/pub/gnu/gnu/ncurses/ncurses-5.6.tar.gz
>            => `/home/guinevere/buildroot/dl/ncurses-5.6.tar.gz'
> Resolving ftp.gnu.org... 140.186.70.20
> Connecting to ftp.gnu.org|140.186.70.20|:80... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 11:44:49 ERROR 404: Not Found.

I provided a patch yesterday to fix this, but haven't seen/heard a 
response. Here it is again, since there are a handful of packages 
affected by it.

-- 
Nathanael D. Noblet


-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnu_path.diff
Type: text/x-patch
Size: 9046 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20080320/807d3404/attachment-0001.bin 

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

* [Buildroot] Problem building busybox
  2008-03-20 10:47 ` [Buildroot] ncurse address error Guillaume Dargaud
  2008-03-20 14:45   ` Nathanael D. Noblet
@ 2008-03-20 14:58   ` Guillaume Dargaud
  1 sibling, 0 replies; 5+ messages in thread
From: Guillaume Dargaud @ 2008-03-20 14:58 UTC (permalink / raw)
  To: buildroot

Hello all,
I'm still learning the basics of buildroot, so please bear with me...

When I issue the general "make ARCH=ppc" I get the following error:

  CC      coreutils/yes.o
  AR      coreutils/lib.a
make[1]: Leaving directory 
`/home/guinevere/buildroot/project_build_ppc/genepy/b
usybox-1.9.1'
make: *** 
[/home/guinevere/buildroot/project_build_ppc/genepy/root/bin/busybox]
Error 2

But if I do the same "make ARCH=ppc" from 
project_build_ppc/genepy/busybox-1.9.1 then I get a clean compilation...

Can someone please explain the discrepancy ? Are they using different 
.configs ?

I made sure that BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/.config"
is identical to project_build_ppc/genepy/busybox-1.9.1/.config.

And BTW, what does Error 2 mean ?!?
/home/guinevere/buildroot/project_build_ppc/genepy/root/bin/busybox doesn't 
exist

Thanks
-- 
Guillaume Dargaud
http://www.gdargaud.net/

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

* [Buildroot] ncurse address error
  2008-03-20 14:45   ` Nathanael D. Noblet
@ 2008-03-21 10:30     ` Guillaume Dargaud
  0 siblings, 0 replies; 5+ messages in thread
From: Guillaume Dargaud @ 2008-03-21 10:30 UTC (permalink / raw)
  To: buildroot

> I provided a patch yesterday to fix this, but haven't seen/heard a
> response. Here it is again, since there are a handful of packages
> affected by it.


Thanks, I got your message after I posted my question, so it may have been 
delayed.

I see that the svn repository of buildroot is updated daily, so as a general 
rule how long before such a patch makes it into the tree ?

[...still fighting to get a first compile...]
-- 
Guillaume Dargaud
http://www.gdargaud.net/

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

end of thread, other threads:[~2008-03-21 10:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-18 10:57 [Buildroot] Buildroot compilation error Reinier Coetzer
2008-03-20 10:47 ` [Buildroot] ncurse address error Guillaume Dargaud
2008-03-20 14:45   ` Nathanael D. Noblet
2008-03-21 10:30     ` Guillaume Dargaud
2008-03-20 14:58   ` [Buildroot] Problem building busybox Guillaume Dargaud

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.