yocto编译出现错误如何定位

yocto编译出现错误如何定位

错误示例:

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
| make: Leaving directory '/home/zgt/work/zynq7000/elphel393/poky/build/tmp/work/elphel393-poky-linux-gnueabi/linux-xlnx/4.9-xilinx-v2017.3+gitAUTOINC+9c2e29b2c8-r0/linux-elphel393-standard-build'
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/zgt/work/zynq7000/elphel393/poky/build/tmp/work/elphel393-poky-linux-gnueabi/linux-xlnx/4.9-xilinx-v2017.3+gitAUTOINC+9c2e29b2c8-r0/temp/log.do_compile.127632)
ERROR: Task (/home/zgt/work/zynq7000/elphel393/meta/meta-xilinx/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2017.3.bb:do_compile) failed with exit code '1'

仔细阅读提示发现这么一句话log file is located at /home/zgt/work/zynq7000/elphel393/poky/build/tmp/work/elphel393-poky-linux-gnueabi/linux-xlnx/4.9-xilinx-v2017.3+gitAUTOINC+9c2e29b2c8-r0/temp/log.do_compile.127632

打开log.do_compile.127632文件,搜索Error等关键字可定位出错误位置

转载于:https://www.cnblogs.com/gtzhai/p/10381553.html

你可能感兴趣的:(yocto编译出现错误如何定位)