Busybox build problem

Ravi Chemudugunta chemuduguntar at gmail.com
Sat Feb 17 02:49:27 UTC 2007


# make allnoconfig; make

  LINK    busybox_unstripped
/home/brion/busybox-1.4.1/scripts/trylink: 5: function: not found
/home/brion/busybox-1.4.1/scripts/trylink: 11: Syntax error: "}" unexpected
make: *** [busybox_unstripped] Error 2

This error occurs on *ubuntu due to the use of dash as the default
shell (sh->dash).  the scripts included were designed with bash which
uses some non-posix extensions which dash strives to meet
(posix-ness).

cd /bin
rm sh
ln -s bash sh

The reason for including dash is speed so your system might boot
slower or not at all.

hope this helps,

ravi



More information about the busybox mailing list