[yocto] arm-poky-linux-gnueabi-gcc: Command not found

ravikiran j ravikiran.j at mistralsolutions.com
Wed Mar 15 00:02:23 PDT 2017


I am trying to build the linux kernel for odorid-xu3 board but i am getting
following errors for
*bitbake linux-stable*


DEBUG: Executing shell function do_compile
NOTE: make -j 4 HOSTCC=gcc  HOSTCPP=gcc  -E zImage
CC=arm-poky-linux-gnueabi-gcc   -fuse-ld=bfd
LD=arm-poky-linux-gnueabi-ld.bfd
ERROR: oe_runmake failed
/home/mistral/yocto1/poky/build-xfce/tmp/work-shared/odroid-xu3/kernel-source/scripts/gcc-version.sh:
line 25: arm-poky-linux-gnueabi-gcc: command not found
/home/mistral/yocto1/poky/build-xfce/tmp/work-shared/odroid-xu3/kernel-source/scripts/gcc-version.sh:
line 26: arm-poky-linux-gnueabi-gcc: command not found
make[2]: arm-poky-linux-gnueabi-gcc: Command not found
make[2]: arm-poky-linux-gnueabi-gcc: Command not found
  GEN     ./Makefile
scripts/kconfig/conf  --silentoldconfig Kconfig
/home/mistral/yocto1/poky/build-xfce/tmp/work-shared/odroid-xu3/kernel-source/scripts/gcc-version.sh:
line 25: arm-poky-linux-gnueabi-gcc: command not found
/home/mistral/yocto1/poky/build-xfce/tmp/work-shared/odroid-xu3/kernel-source/scripts/gcc-version.sh:
line 26: arm-poky-linux-gnueabi-gcc: command not found
make[2]: arm-poky-linux-gnueabi-gcc: Command not found
make[2]: arm-poky-linux-gnueabi-gcc: Command not found
  CHK     include/config/kernel.release
make[2]: arm-poky-linux-gnueabi-gcc: Command not found
make[2]: arm-poky-linux-gnueabi-gcc: Command not found
  GEN     ./Makefile


 Using
/home/mistral/yocto1/poky/build-xfce/tmp/work-shared/odroid-xu3/kernel-source
as source for kernel
make[2]: arm-poky-linux-gnueabi-gcc: Command not found
make[2]: arm-poky-linux-gnueabi-gcc: Command not found
  HOSTCC  scripts/pnmtologo
  HOSTCC  scripts/kallsyms
  CC      scripts/mod/empty.o
/bin/sh: 1: arm-poky-linux-gnueabi-gcc: not found
/home/mistral/yocto1/poky/build-xfce/tmp/work-shared/odroid-xu3/kernel-source/scripts/Makefile.build:293:
recipe for target 'scripts/mod/empty.o' failed
make[4]: *** [scripts/mod/empty.o] Error 127
/home/mistral/yocto1/poky/build-xfce/tmp/work-shared/odroid-xu3/kernel-source/scripts/Makefile.build:544:
recipe for target 'scripts/mod' failed
make[3]: *** [scripts/mod] Error 2
make[3]: *** Waiting for unfinished jobs....
  HOSTCC  scripts/dtc/dtc.o
  HOSTCC  scripts/dtc/flattree.o
  HOSTCC  scripts/dtc/fstree.o
  HOSTCC  scripts/dtc/data.o
  HOSTCC  scripts/dtc/livetree.o
  HOSTCC  scripts/dtc/treesource.o
  HOSTCC  scripts/dtc/srcpos.o
  HOSTCC  scripts/dtc/checks.o
  HOSTCC  scripts/dtc/util.o
  SHIPPED scripts/dtc/dtc-lexer.lex.c
  SHIPPED scripts/dtc/dtc-parser.tab.h
  SHIPPED scripts/dtc/dtc-parser.tab.c
  HOSTCC  scripts/dtc/dtc-lexer.lex.o
  HOSTCC  scripts/dtc/dtc-parser.tab.o
  HOSTLD  scripts/dtc/dtc
/home/mistral/yocto1/poky/build-xfce/tmp/work-shared/odroid-xu3/kernel-source/Makefile:560:
recipe for target 'scripts' failed
make[2]: *** [scripts] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make: *** [__sub-make] Error 2
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_compile (log file is located at
/home/mistral/yocto1/poky/build-xfce/tmp/work/odroid_xu3-poky-linux-gnueabi/linux-stable/4.9.13+gitAUTOINC+f3329efb7f-r0/temp/log.do_compile.15577)

what is the problem and how to solve this problem ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170315/10bfa62f/attachment.html>


More information about the yocto mailing list