前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >AMD 10G AXI Ethernet Checksum Offload Example PetaLinux 编译错误 “pod2man: command not found”

AMD 10G AXI Ethernet Checksum Offload Example PetaLinux 编译错误 “pod2man: command not found”

作者头像
hankfu
发布2023-10-16 18:37:58
1850
发布2023-10-16 18:37:58
举报
文章被收录于专栏:hankhank

例子来源

10G AXI Ethernet Checksum Offload Example Design

错误信息

简化后的错误信息如下:

代码语言:javascript
复制
hankf@XSZGS4:zcu102_10g_ethernet_CSO$ petalinux-build
.........
ERROR: opkg-utils-0.4.5-r0 do_compile: oe_runmake failed
ERROR: opkg-utils-0.4.5-r0 do_compile: ExecutionError('/tmp/work/cortexa72-cortexa53-xilinx-linux/opkg-utils/0.4.5-r0/temp/run.do_compile.46656', 1, None, None)
ERROR: Logfile of failure stored in: /tmp/work/cortexa72-cortexa53-xilinx-linux/opkg-utils/0.4.5-r0/temp/log.do_compile.46656
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 64
| pod2man -r "" -c "opkg-utils Documentation" opkg-build opkg-build.1
| /bin/sh: pod2man: command not found
| make: *** [Makefile:26: opkg-build.1] Error 127
| ERROR: oe_runmake failed
| WARNING: /tmp/work/cortexa72-cortexa53-xilinx-linux/opkg-utils/0.4.5-r0/temp/run.do_compile.46656:183 exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
| 	#1: bbfatal_log, /tmp/work/cortexa72-cortexa53-xilinx-linux/opkg-utils/0.4.5-r0/temp/run.do_compile.46656, line 183
| 	#2: die, /tmp/work/cortexa72-cortexa53-xilinx-linux/opkg-utils/0.4.5-r0/temp/run.do_compile.46656, line 168
| 	#3: oe_runmake, /tmp/work/cortexa72-cortexa53-xilinx-linux/opkg-utils/0.4.5-r0/temp/run.do_compile.46656, line 173
| 	#4: base_do_compile, /tmp/work/cortexa72-cortexa53-xilinx-linux/opkg-utils/0.4.5-r0/temp/run.do_compile.46656, line 151
| 	#5: do_compile, /tmp/work/cortexa72-cortexa53-xilinx-linux/opkg-utils/0.4.5-r0/temp/run.do_compile.46656, line 145
| 	#6: main, /tmp/work/cortexa72-cortexa53-xilinx-linux/opkg-utils/0.4.5-r0/temp/run.do_compile.46656, line 193
ERROR: Task (/zcu102_10g_ethernet_CSO/components/yocto/layers/core/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.5.bb:do_compile) failed with exit code '1'

解决办法

绝对tmp目录

AMD 10G AXI Ethernet Checksum Offload Example使用了“/tmp”作为临时目录。

代码语言:javascript
复制
hankf@XSZGS4:zcu102_10g_ethernet_CSO$ cat project-spec/configs/config | grep tmp 
CONFIG_TMP_DIR_LOCATION="/tmp/CSUM_221-2022.07.21-15.39.57-uc1"

工程tmp目录

按UG1144,设置TMPDIR到“$PROOT/build/tmp”。

代码语言:javascript
复制
hankf@XSZGS4:zcu102_10g_ethernet_CSO$ cat project-spec/configs/config | grep tmp 
CONFIG_TMP_DIR_LOCATION="$PROOT/build/tmp"

再次编译,能够成功编译PetaLinux工程。

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2023-07-07,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 错误信息
  • 解决办法
  • 绝对tmp目录
  • 工程tmp目录
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档