ubuntu20.04 编译瑞芯微rv1126问题集锦

1、camera_engine_rkisp is in the dependency chain of app_demo that has added it to its _DEPENDENCIES variable without selecting it or depending on it from Config.in. Stop.

解决方案:

注释:rv1126/buildroot/package/rockchip/app_demo/Config.in中的

#config BR2_PACKAGE_APP_DEMO_RMSL

bool "Rockchip Module Structured Light demo"

select BR2_PACKAGE_CAMERA_ENGINE

select BR2_PACKAGE_MPP

select BR2_PACKAGE_LINUX_RGA

2、2024-03-21T02:52:45 configure: error: you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check)

解决方案:

vim /etc/profile

在文件末尾添加 export FORCE_UNSAFE_CONFIGURE=1 保存

source /etc/profile

3、you need to install 'unbuffer' (from package expect or expect-dev)
log saved on /home/h00003/RV1126/rv1126_rv1109_v2.2.0_20210825/br.log
tail: cannot open '/home/h00003/RV1126/rv1126_rv1109_v2.2.0_20210825/br.log' for reading: No such file or directory
Command exited with non-zero status 1
you take 0:00.85 to build builroot
ERROR: Running build_buildroot failed!

解决方案:

sudo apt install expect

4、/bin/sh: 1: flex: not found

scripts/Makefile.host:9: recipe for target 'scripts/kconfig/lexer.lex.c' failed
make[1]: *** [scripts/kconfig/lexer.lex.c] Error 127
Makefile:568: recipe for target 'menuconfig' failed

解决方案:

sudo apt-get install flex

5、/bin/sh: 1: bison: not found
scripts/Makefile.host:17: recipe for target 'scripts/kconfig/parser.tab.h' failed
make[1]: *** [scripts/kconfig/parser.tab.h] Error 127
Makefile:568: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2

解决方案:

sudo apt-get install bison

6、scripts/extract-cert.c:21:10: fatal error: openssl/bio.h: No such file or directory

21 | #include <openssl/bio.h>

解决方案:

sudo apt-get install libssl-dev

7、/usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x10): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here

解决方案:

1、解决Linux下交叉编译U-Boot源码时报'multiple definition of `yylloc''的错误-CSDN博客

2、我在22.04上编译遇到了这个问题,上面链接的博客没有解决该问题,我把ubuntu降级到 20.04, gcc & g++ 版本使用version 9.4.0,就解决了

相关推荐
啵啵学习12 小时前
Linux 里 su 和 sudo 命令这两个有什么不一样?
linux·运维·服务器·单片机·ubuntu·centos·嵌入式
才鲸嵌入式15 小时前
01 Ubuntu20.04下编译QEMU8.2.4,交叉编译32位ARM程序,运行ARM程序的方法
linux·c语言·单片机·嵌入式·arm·qemu·虚拟机
FreakStudio2 天前
一文速通 Python 并行计算:12 Python 多进程编程-进程池 Pool
python·嵌入式·面向对象·多进程·并行计算·电子diy
Spectre_Mercury4 天前
imx6ull(0):烧录、启动
嵌入式
才鲸嵌入式7 天前
Windows10下使用QEMU安装Ubuntu20.04虚拟机,并启用硬件加速
c语言·ubuntu·嵌入式·qemu·虚拟机·模拟器
华清远见IT开放实验室8 天前
华清远见亮相第63届高博会,展示AI/嵌入式/物联网/具身智能全栈教学解决方案
物联网·嵌入式·硬件·具身智能·虚拟仿真·ai人工智能
FreakStudio8 天前
一文速通Python并行计算:11 Python多进程编程-进程之间的数据安全传输-基于队列和管道
python·嵌入式·面向对象·并行计算·电子diy
番茄灭世神10 天前
嵌入式Linux快速入门第1~2章
linux·嵌入式·imx6ull
有时有晌10 天前
Qt 相关 编译流程及交叉编译 部署所遇到的问题总结-持续更新
qt·交叉编译·远端部署
FreakStudio10 天前
普通继电器 vs 磁保持继电器 vs MOS管:工作原理与电路设计全解析
嵌入式·硬件·技术栈·电子diy·电子计算机