[yocto] Failed to cross compile kernel with Yocto toolchain
Zhenhua Luo
zhenhua.luo at nxp.com
Mon Jun 27 01:16:59 PDT 2016
Hello all,
I generate the Yocto toolchain by "bitbake meta-toolchain", and use this toolchain to cross-compile kernel, I met the following error. Is this a bug or I missed something? My host Linux is Fedora 22.
$ source /opt/poky/2.1+snapshot/environment-setup-ppce500mc-poky-linux
$ cd linux/
$ make corenet32_smp_defconfig
HOSTCC scripts/kconfig/conf.o
ccache: error: Could not find compiler "gcc" in PATH
scripts/Makefile.host:108: recipe for target 'scripts/kconfig/conf.o' failed
make[1]: *** [scripts/kconfig/conf.o] Error 1
Makefile:541: recipe for target 'corenet32_smp_defconfig' failed
make: *** [corenet32_smp_defconfig] Error 2
Best Regards,
Zhenhua
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160627/615f26c6/attachment.html>
More information about the yocto
mailing list