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等關鍵字可定位出錯誤位置


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM