首页 > 系统相关 >petalinux编译出错解决方法

petalinux编译出错解决方法

时间:2024-06-22 23:59:40浏览次数:13  
标签:watches 编译 出错 ERROR xilinx petalinux qemu build

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

标签:watches,编译,出错,ERROR,xilinx,petalinux,qemu,build
From: https://blog.csdn.net/weixin_41442506/article/details/139889608

相关文章

  • 在windows下使用cmd命令行对java文件进行编译和执行
    系列文章目录文章目录系列文章目录前言前言前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家。点击跳转到网站,这篇文章男女通用,看懂了就去分享给你的码吧。windows下利用cmd命令行可以调用jdk里的javac.exe和java.exe对java文件进......
  • 交叉编译Valgrind
    参考:https://www.cnblogs.com/yucloud/p/armbuild_valgrind3.htmlhttps://blog.csdn.net/Reasonss/article/details/111218224源码下载地址valgrind3.23.0https://valgrind.org/downloads/current.html安装依赖sudoapt-getinstalllibc6-dbgsudoapt-getinstallauto......
  • Ubuntu 24.04 编译 PHP 8.0
    PKG_CONFIG_PATH=/usr/local/openssl111w/lib/pkgconfigOPENSSL_CONF=/usr/local/openssl111w/ssl/openssl.cnf./configure--prefix=/usr/local/php80--enable-fpm--with-fpm-user=www-data--with-fpm-group=www-data--enable-phpdbg--disable-short-tags--wit......
  • Cocos 编译发布微信小程序
     微信小游戏不允许远程加载脚本,所以这里会和其他web的打包生成的不一样然后把remote文件夹拷贝到服务器上,让文件资源域名指向remote的上一级,然后可以通过域名:/remote/main访问到config.json即可 ......
  • 【全拓展】编译器设置
    在DEV-C++中可以进行一些编译器设置,是很必要的本篇文本是全拓展文本一、语言DEV-C++一开始是英文版的,我们要将他改为中文版,怎么办?点击按钮"Tools",打开菜单点击下面的第二个按钮选择“Language”往上看选择以下选项最后点击OK按钮(可能会弹出提示,直接选择确定)二、缺......
  • glibc库的交叉编译及使用
    1.环境准备宿主系统:ubuntu10.04交叉编译工具:arm-fsl-linux-gnueabi版本4.4.4下载glibc的源码包:ftp://ftp.gnu.org/gnu/glibc/glibc-2.11.1.tar.gz下载glibc-ports的源码包:ftp://ftp.gnu.org/gnu/glibc/glibc-ports-2.11.tar.gz2.分别解压缩文件:把glibc-ports-2.11文件夹......
  • Android14适配编译问题
    问题:AAPT2processunexpectedlyexit.Erroroutput:aapt2W06-2609:56:2382808280LoadedArsc.cpp:682]Unknownchunktype‘200’.解决:将Gradle版本升级至8.0.1以上问题:Task:app:shrinkReleaseResFAILEDExecutionfailedfortask‘:app:shrinkReleaseRes’.A......
  • 信道编码——Turbo码Matlab编译码实现与性能分析
    第三篇博客感言“不要成为一个只会用Matlab仿真SNR-BER的猴子。”前段时间比较焦虑就业,到处搜索通信的就业情况。很多人说通信日薄西山,不无道理,与前十几二十年相比,现在的确是哑火了,5G、6G带来的变革远不如3G、4G那么震撼,并且电子信息专业学生越来越多,就业岗位和待遇却不见......
  • python pyinstaller打包的exe 反编译问题记录 破解加密
    首先是用pyinstxtractor这个网上很多教程,不详说了。生成一个xxx.exe_extracted目录生成过程中,如果pyinstaller用key加密了,会[!]Error:FailedtodecompressPYZ-00.pyz_extracted\Cython\__init__.pyc,probablyencrypted.Extractingasis. 这个说是fail了,其实可以解......
  • C++程序编译 错误提示和评测状态
    编译常见错误提示1.[Error]expected';'before'cout'。在cout前面,缺少一个分号。2.[Error]'arr'wasnotdeclaredinthisscope。未定义变量名arr。3.[Error]ldreturned1exitstatus。重复运行错误(上一个运行的程序,输入窗口没有关掉)。  或者main写错了。......