yocto下编译perf失败的解决方法
文章目录
- 问题
- 分析
- 库没有安装?
- 文件缺少?
- 解决
- 参考
问题
在新环境使用yocto编译镜像时,发现最后一直编译不过perf,具体的编译提示错误如下
ERROR: perf-1.0-r9 do_compile: oe_runmake failed
ERROR: perf-1.0-r9 do_compile: Execution of '/home/ub-1001/work/as66/imx8LBVA0432_2022-05-18/buildas66/tmp/work/imx8mqrom5720a1-poky-linux/perf/1.0-r9/temp/run.do_compile.27050' failed with exit code 1:
make: Entering directory '/home/ub-1001/work/as66/imx8LBVA0432_2022-05-18/buildas66/tmp/work/imx8mqrom5720a1-poky-linux/perf/1.0-r9/perf-1.0/tools/perf'BUILD: Doing 'make -j12' parallel buildHOSTCC /home/ub-1001/work/as66/imx8LBVA0432_2022-05-18/buildas66/tmp/work/imx8mqrom5720a1-poky-linux/perf/1.0-r9/perf-1.0/fixdep.oHOSTLD /home/ub-1001/work/as66/imx8LBVA0432_2022-05-18/buildas6