[BUG] Busybox compilation is broken

Yann E. MORIN yann.morin.1998 at anciens.enib.fr
Sun Jun 11 15:31:39 UTC 2006


On Sunday 11 June 2006 171, Mike Frysinger wrote:
> On Sunday 11 June 2006 09:45, Yann E. MORIN wrote:
> > I'm working on modprobe bugs, and need to build a static version of
> > busybox. It is currently not possible. (yes, I enabled "Build BusyBox as a
> > static binary").
> builds for me

Ah... Try building out-of-tree... And yes, building-in-tree works.

> where's your error output ? ;)

$ mkdir busybox
$ svn co svn://busybox.net/trunk/busybox busybox
[--SNIP--]
$ mkdir busybox-oot
$ cp oldconfig busybox-oot/.config
$ cd busybox
$ make distclean
$ make O=../busybox-oot oldconfig
$ cd ../busybox-oot
$ make
[--SNIP--]
  LINK busybox_unstripped
  STRIP busybox
/bin/sh: busybox: command not found
make: *** [busybox] Error 127

Which gives with V=2:

$ make V=2
gcc -I/home/ymorin/dev/busybox.org/busybox-static/include -I/home/ymorin/dev/bu
sybox.org/busybox-pristine/include -I/home/ymorin/dev/busybox.org/busybox-prist
ine/libbb -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSE
T_BITS=64 -DNDEBUG -Wall
cp busybox_unstripped busybox
busybox
/bin/sh: busybox: command not found
make: *** [busybox] Error 127

Where oldconfig has almost all enabled, and CONFIG_STATIC=y
Did I miss something?

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
| --==< °_° >==-- °---.----------------:  X  AGAINST      |  /e\  There is no  |
| web: ymorin.free.fr | SETI at home 3808 | / \ HTML MAIL    |  """  conspiracy.  |
°---------------------°----------------°------------------°--------------------°



More information about the busybox mailing list