[mkroot] [landley/mkroot] "/bin/sh: 1: bc: not found" when building the kernel (#5)

Rob Landley rob at landley.net
Wed May 31 07:49:46 PDT 2017


On 05/30/2017 08:31 PM, Simon Ding wrote:
> The command is:
> 
>     ./cross.sh armv5l ./mkroot.sh kernel
> 
> It goes wrong with the following prompt:
> 
>     /bin/sh: 1: bc: not found
>     Kbuild:67: recipe for target 'include/generated/timeconst.h' failed
>     make[1]: *** [include/generated/timeconst.h] Error 127
>     Makefile:1047: recipe for target 'prepare0' failed
>     make: *** [prepare0] Error 2

You need the new version of toybox. Currently the commit is in git:


https://github.com/landley/toybox/commit/9be140ebb29f92be2b3924eb1442b38a9e062966

The next toybox release is scheduled for the 1st (thursday), I can
update the download line once there's a tarball URL.

In the meantime, you can go:

  cd download
  git clone https://github.com/landley/toybox

Then it should use the git directory instead of the tarball.

Rob


More information about the mkroot mailing list