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
make1: *** 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
make1: *** 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,就解决了

相关推荐
慧都小项1 天前
从 Figma 到 Qt:Qtitan 能减少哪些界面还原工作?
前端·qt·嵌入式·figma·图形界面·工业界面·qtitan
程序员打怪兽1 天前
完整的开发板使用流程
嵌入式
youcans_2 天前
【嵌入式软件AI编程】01. 基于 STM32/Claude Code的AI编程
stm32·mcu·嵌入式·ai编程·claude code
小智学长 | 嵌入式2 天前
实测GPT-6 Astra绘制硬件原理图和PCB效果分享
嵌入式·嵌入式开发·ai工具·单片机开发
一路往蓝-Anbo2 天前
第七篇:以太网设计 —— 从 RMII 时序到变压器隔离的深度拆解
stm32·单片机·嵌入式硬件·嵌入式·stm32硬件设计
玄奕子3 天前
三相逆变器系列(一):看懂三相全桥拓扑
嵌入式·dsp开发·电力电子·ti c2000·三相全桥逆变
the sun343 天前
嵌入式易错点:ARM指令架构、IP核、MCU厂商关系+BOOTLoader刷机原理
stm32·嵌入式
嵌入式阿蔡4 天前
CoAP / LwM2M 轻量协议:受限设备为什么不用 MQTT
单片机·物联网·嵌入式
长江后浪博客5 天前
ESP32-SOLO-1 在 ESP-IDF v5.5 下启动不断重启问题分析与解决
单片机·嵌入式硬件·嵌入式·esp32·freertos·esp-idf
Jason_zhao_MR5 天前
Linux与采集MCU通信为什么我们用了双SPI
linux·arm开发·单片机·嵌入式硬件·嵌入式