取消
显示结果 
搜索替代 
您的意思是: 
Highlighted
Contributor
Contributor
683 次查看
注册日期: ‎07-24-2018

petalinux-buidl 报错(2018.2)

你好,我的系统是centos7.2 按照ug1144安装了所有需要的软件,用的bsp是从官网上下载的zcu102 revision bsp

但是在运行petalinux-build时会报错,我试了重现工程或者是 petalinux-build -x mrproper都没什么用, 错误信息如下

期待回复

 

[deephi@localhost zcu102]$ petalinux-build
[INFO] building project
[INFO] sourcing bitbake
INFO: bitbake petalinux-user-image
Parsing recipes: 100% |#######################################################################################################################| Time: 0:00:51
Parsing of 2555 .bb files complete (0 cached, 2555 parsed). 3444 targets, 138 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |####################################################################################################################| Time: 0:00:11
Checking sstate mirror object availability: 100% |############################################################################################| Time: 0:00:09
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: linux-xlnx-4.14-xilinx-v2018.2+gitAUTOINC+ad4cd988ba-r0 do_compile: oe_runmake failed
ERROR: linux-xlnx-4.14-xilinx-v2018.2+gitAUTOINC+ad4cd988ba-r0 do_compile: Function failed: do_compile (log file is located at /home/deephi/work/zcu102_rv/zcu102/build/tmp/work/zcu102_zynqmp-xilinx-linux/linux-xlnx/4.14-xilinx-v2018.2+gitAUTOINC+ad4cd988ba-r0/temp/log.do_compile.1678)
ERROR: Logfile of failure stored in: /home/deephi/work/zcu102_rv/zcu102/build/tmp/work/zcu102_zynqmp-xilinx-linux/linux-xlnx/4.14-xilinx-v2018.2+gitAUTOINC+ad4cd988ba-r0/temp/log.do_compile.1678
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8 HOSTCC=gcc -isystem/home/deephi/work/zcu102_rv/zcu102/build/tmp/work/zcu102_zynqmp-xilinx-linux/linux-xlnx/4.14-xilinx-v2018.2+gitAUTOINC+ad4cd988ba-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/home/deephi/work/zcu102_rv/zcu102/build/tmp/work/zcu102_zynqmp-xilinx-linux/linux-xlnx/4.14-xilinx-v2018.2+gitAUTOINC+ad4cd988ba-r0/recipe-sysroot-native/usr/lib -L/home/deephi/work/zcu102_rv/zcu102/build/tmp/work/zcu102_zynqmp-xilinx-linux/linux-xlnx/4.14-xilinx-v2018.2+gitAUTOINC+ad4cd988ba-r0/recipe-sysroot-native/lib -Wl,-rpath-link,/home/deephi/work/zcu102_rv/zcu102/build/tmp/work/zcu102_zynqmp-xilinx-linux/linux-xlnx/4.14-xilinx-v2018.2+gitAUTOINC+ad4cd988ba-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/deephi/work/zcu102_rv/zcu102/build/tmp/work/zcu102_zynqmp-xilinx-linux/linux-xlnx/4.14-xilinx-v2018.2+gitAUTOINC+ad4cd988ba-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/deephi/work/zcu102_rv/zcu102/build/tmp/work/zcu102_zynqmp-xilinx-linux/linux-xlnx/4.14-xilinx-v2018.2+gitAUTOINC+ad4cd988ba-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/deephi/work/zcu102_rv/zcu102/build/tmp/work/zcu102_zynqmp-xilinx-linux/linux-xlnx/4.14-xilinx-v2018.2+gitAUTOINC+ad4cd988ba-r0/recipe-sysroot-native/lib -Wl,-O1 HOSTCPP=gcc -E Image CC=aarch64-xilinx-linux-gcc -fuse-ld=bfd --sysroot=/home/deephi/work/zcu102_rv/zcu102/build/tmp/work/zcu102_zynqmp-xilinx-linux/linux-xlnx/4.14-xilinx-v2018.2+gitAUTOINC+ad4cd988ba-r0/recipe-sysroot -ffile-prefix-map=/home/deephi/work/zcu102_rv/zcu102/build/tmp/work-shared/zcu102-zynqmp/kernel-source=/kernel-source/ LD=aarch64-xilinx-linux-ld.bfd --sysroot=/home/deephi/work/zcu102_rv/zcu102/build/tmp/work/zcu102_zynqmp-xilinx-linux/linux-xlnx/4.14-xilinx-v2018.2+gitAUTOINC+ad4cd988ba-r0/recipe-sysroot
| CHK include/config/kernel.release
| GEN ./Makefile
| CHK include/generated/uapi/linux/version.h
| CHK include/generated/utsrelease.h
| Using /home/deephi/work/zcu102_rv/zcu102/build/tmp/work-shared/zcu102-zynqmp/kernel-source as source for kernel
| CHK scripts/mod/devicetable-offsets.h
| CHK include/generated/timeconst.h

0 项奖励
7 条回复7
Highlighted
Xilinx Employee
Xilinx Employee
664 次查看
注册日期: ‎09-14-2018

回复: petalinux-buidl 报错(2018.2)

build时处于连网状态吗?

0 项奖励
Highlighted
Contributor
Contributor
662 次查看
注册日期: ‎07-24-2018

回复: petalinux-buidl 报错(2018.2)

处于联网状态
0 项奖励
Highlighted
Moderator
Moderator
599 次查看
注册日期: ‎05-23-2018

回复: petalinux-buidl 报错(2018.2)

Hi, @zhengjia

你贴出的报错信息不是很全。可以贴出报错信息中提示的logfile文件log.do_compile.1678吗?

-------------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------------------------------
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------------------------------------
0 项奖励
Highlighted
Contributor
Contributor
590 次查看
注册日期: ‎07-24-2018

回复: petalinux-buidl 报错(2018.2)

log文件放在附件中了,请查看

0 项奖励
Highlighted
Moderator
Moderator
537 次查看
注册日期: ‎05-23-2018

回复: petalinux-buidl 报错(2018.2)

Hi, @zhengjia

你有没有对BSP导入后的工程做什么修改呢?直接导入BSP后build工程也会出现这样的错误吗?

-------------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------------------------------
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------------------------------------
0 项奖励
Highlighted
Contributor
Contributor
535 次查看
注册日期: ‎07-24-2018

回复: petalinux-buidl 报错(2018.2)

没修改,直接导入也会出错,感觉像是环境有问题,而且我从装系统后,在安装petalinux也会有这个错误
0 项奖励
Highlighted
Moderator
Moderator
526 次查看
注册日期: ‎05-23-2018

回复: petalinux-buidl 报错(2018.2)

Hi, @zhengjia

建议您按照UG1144中的Setting up your Environment这一章的内容正确设置您的环境。另外,要保证下载的BSP是完好的,有时BSP文件的损坏也会导致此类问题的出现。您也可以尝试一下使用其他版本的petalinux和相应BSP是否会出现此类问题。

-------------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------------------------------
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------------------------------------
0 项奖励