OpenWrt Forum Archive

Topic: Error in Compilation

The content of this topic has been archived on 2 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I got this error while I'm compilating the image for my router, Asus 500gp:

make -j1 -C /home/jgilllor/kamikaze_7.09/build_mipsel/linux-2.6-brcm47xx/linux-2.6.22 CROSS_COMPILE="mipsel-linux-uclibc-" ARCH="mips" CONFIG_SHELL="/bin/bash" CC="ccache mipsel-linux-uclibc-gcc" modules
/bin/sh: ccache: command not found
/bin/sh: ccache: command not found
make[5]: ccache: Command not found
make[5]: Entering directory `/home/jgilllor/kamikaze_7.09/build_mipsel/linux-2.6-brcm47xx/linux-2.6.22'
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CC      arch/mips/kernel/asm-offsets.s
/bin/sh: ccache: command not found
make[6]: *** [arch/mips/kernel/asm-offsets.s] Error 127
make[5]: *** [prepare0] Error 2
make[5]: Leaving directory `/home/jgilllor/kamikaze_7.09/build_mipsel/linux-2.6-brcm47xx/linux-2.6.22'
make[4]: *** [/home/jgilllor/kamikaze_7.09/build_mipsel/linux-2.6-brcm47xx/linux-2.6.22/.modules] Error 2
make[4]: Leaving directory `/home/jgilllor/kamikaze_7.09/target/linux/brcm47xx-2.6'
make[3]: *** [compile] Error 2
make[3]: Leaving directory `/home/jgilllor/kamikaze_7.09/target/linux'
make[2]: *** [linux-compile] Error 2
make[2]: Leaving directory `/home/jgilllor/kamikaze_7.09/target'
make[1]: *** [target/compile] Error 2
make[1]: Leaving directory `/home/jgilllor/kamikaze_7.09'
make: *** [world] Error 2

Someone knows what happens exactly??

Thank you!!

You have selected the option to use ccache, but do not have ccache installed.  Either install ccache or deselect the option.

And in 7.09 ccache and parallel builds does not work very well or may not work at all.

The discussion might have continued from here.