petalinux编译出错解决方法

petalinux编译若干出错解决方法

问题一:
ERROR: qemu-xilinx-native-v4.1.50-xilinx-v2020.1+gitAUTOINC+e371d99ac1-r0 do_fetch: Fetcher failure for URL: ‘gitsm://github.com/Xilinx/qemu.git;protocol=https;branch=branch/xilinx-v2020.1’. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/suki/seu_rcst/build/tmp/work/x86_64-linux/qemu-xilinx-native/v4.1.50-xilinx-v2020.1+gitAUTOINC+e371d99ac1-r0/temp/log.do_fetch.68101
ERROR: Task (/home/suki/seu_rcst/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx-native_2020.1.bb:do_fetch) failed with exit code ‘1’
解决方法:
**把qeum.git拷贝到build/download/

问题二:
“ERROR: Failed to create workspace directory”

**解决方法:
**查看build/build.log
问题锁定:inotify_add_watch no space left on device设备上没有空间
$cat /proc/sys/fs/inotify/max_user_watches -----查看当前watches值最大值
$echo 16384 | sudo tee -a /proc/sys/fs/inotify/max_user_watches ----- 修改watches值

问题三:
error: this statement may fall through [-Werror=implicit-fallthrough=]
解决方法:
subdir-ccflags-y := -Werror -Wall ---- 删除-Werror

问题四:
当长时间编译不动后,ctrl+c退出,就编译不了了
解决方法:
删除build/bikebake.lock可以重新编译

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

古月小静

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值