相关文章推荐
文质彬彬的勺子  ·  Microsoft Defender ...·  1 年前    · 
火爆的山楂  ·  python ioctl windows·  1 年前    · 

记录在使用Petalinux编译uboot和linux内核的时候遇到的一个问题,自己找了很久才找到解法,贴出来给后来的兄弟们排排坑
问题:

ERROR: u-boot-xlnx-v2018.01-xilinx-v2018.3+git999-r0 do_compile: oe_runmake failed
ERROR: u-boot-xlnx-v2018.01-xilinx-v2018.3+git999-r0 do_compile: Function failed: do_compile (log file is located at /home/hj/share/Petalinux/ALIENTEK-ZYNQ1/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+git999-r0/temp/log.do_compile.54954)
ERROR: Logfile of failure stored in: /home/hj/share/Petalinux/ALIENTEK-ZYNQ1/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/u-boot-xlnx/v2018.01-xilinx-v2018.3+git999-r0/temp/log.do_compile.54954

这个问题其实很好解决,只是我当时不懂,其实在这个编译的日志里不仅给出了问题,也给出了解决的答案:
在这里插入图片描述

|   /home/hj/zynq/linux2/uboot/alientek-uboot-2018.01-xlnx-v2018.3 is not clean, please run 'make mrproper'
|   in the '/home/hj/zynq/linux2/uboot/alientek-uboot-2018.01-xlnx-v2018.3' directory.
| make[1]: *** [/home/hj/zynq/linux2/uboot/alientek-uboot-2018.01-xlnx-v2018.3/Makefile:1317: prepare3] Error 1
| make[1]: *** Waiting for unfinished jobs....

在我实在没办法,细细读了这一大段日志后,发现了解法,这里编译进行不了,其实就是因为原工程没有清理干净,路径也告诉你了/home/hj/zynq/linux2/uboot/alientek-uboot-2018.01-xlnx-v2018.3
到这文件夹下执行make mrproper,然后再返回编译就可以了

记录在使用Petalinux编译uboot和linux内核的时候遇到的一个问题,自己找了很久才找到解法,贴出来给后来的兄弟们排排坑问题:ERROR: u-boot-xlnx-v2018.01-xilinx-v2018.3+git999-r0 do_compile: oe_runmake failedERROR: u-boot-xlnx-v2018.01-xilinx-v2018.3+git999-r0 do_compile: Function failed: do_compile (log file
i.MX6 单独编译 uboot 我使用的是 ipual@ipual-virtual-machine:/opt/yocto/fsl-release-bsp/build-mini$ bitbake -c compile -f -v u-boot-imx 但是在编译过程中出现如下报错 ERROR: u-boot-imx-2016.03-r0 do_compile: oe_runmake failed
4. ubuntu 20.04 编译yocto 4.1 错误1:m4-native failed | 92 | #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib." | | ^~~~~ | make[3]: *** [Makefil
petalinux-build 报错 do_compile: oe_runmake failed petalinux版本:2018.3 kernel和uboot都是使用外部导入的源码; petalinux-build编译报错信息如下: $ petalinux-build [INFO] building project [INFO] sourcing bitbake INFO: bitbake petalinux-user-image Loading cache: 100% |###############
最近在使用zynq+ad9361,需要使用ADI提供的内核源码。按照UG1144的,Using External Kernel and U-Boot with PetaLinux。配置工程petalinux-config,在界面里配置linux components selection->linux-kernel->ext-local-src ,会弹出输入内核目录框,输入内核源码目录。 编译后,会出现do_compile: oe_runmake failed错误。然后查阅附近有关的错...
Initialising tasks: 100% |######################################################################################| Time: 0:00:18 NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: backports-5.4-r0 do_compil
原文 http://blog.csdn.net/xiaofeng_yan/article/details/6757725 1 当你已经编完一个系统比如sato映像,在编一个meta-toolchain的映像如何重用已经下载的源码。   修改build/local.conf变量   DL_DIR= 2 如果你用ctl+c中断了编译过程,在重新编译的时候poky可能出现了一些问题。你个以这样做来避免...
NXP i.MX 8M Mini 的源码构建系统使用的是Yocto,如果不熟悉Yocto,完全看不懂 i.MX 8M Mini 的相关代码。 废话不多说,直接到Yocto 官网看文档,写Demo。参考官网的文档 Yocto Project Quick Start Yocto Project Quick Build Yocto Project Overview and Concepts...
生不带来,死带不走系列 文章目录前言一、首先有代码二、编译过程1.环境2.编译镜像2-1查看编译配置(对我来说没啥用)2-2生成编译配置2-3下载download包2-4 修改配置文件 参考链接:https://blog.csdn.net/qq_34160841/category_9800067.html?spm=1001.2014.3001.5515 原文章很棒,但是我遇到的问题比他多o(╥﹏╥)o 一、首先有代码 二、编译过程 ubuntu16.04需要python3.
这个错误可能是由于编译过程中发生了导致的。在构建 elfutils-native-0.170-r0 时,oe_runmake 失败了。要解决这个问题,你可以尝试以下几个步骤: 1. 确认你的构建环境是否正确设置。检查是否安装了所有必要的编译工具和依赖项。 2. 清理构建目录并重新开始构建。有时候构建过程中的临时文件和缓存可能会导致问题。 3. 检查构建日志以获取更详细的错误信息。构建日志通常位于构建目录的 tmp/work 目录下,你可以查找相关的日志文件来查看具体的错误信息。 4. 如果有任何特定的错误信息,请提供更多细节,这样我可以给出更具体的建议。 希望这些步骤能帮助你解决问题。如果你需要更多帮助,请随时提问!
0x00007FFEBAD050D8 处(位于 first.exe 中)有未经处理的异常: Microsoft C++ 异常: cv::Exception,位于内存位置 0x0000000DD73CE CreateThread函数,无法将参数 3 从“DWORD (__cdecl *)(LPVOID)”转换为“LPTHREAD_START_ROUTINE” PVZCheater CreateThread函数,无法将参数 3 从“DWORD (__cdecl *)(LPVOID)”转换为“LPTHREAD_START_ROUTINE” PVZCheater lann*: 应该是函数声明添加WINAPI oe_runmake failed Far_away_from_home: 谢谢,完美解决问题 CreateThread函数,无法将参数 3 从“DWORD (__cdecl *)(LPVOID)”转换为“LPTHREAD_START_ROUTINE” PVZCheater JUNECODE: 请问改了还是无法解决怎么办? oe_runmake failed 海迹天涯: 感谢分享,原来解决方案都打印出来了,只不过看到很大一堆报错信息没有仔细读完。。。 0x00007FFEBAD050D8 处(位于 first.exe 中)有未经处理的异常: Microsoft C++ 异常: cv::Exception,位于内存位置 0x0000000DD73CE m0_70413500: