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可以重新编译