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

相关推荐

  1. ubuntu20.04 编译rv1126问题集锦

    2024-03-22 09:34:07       44 阅读
  2. RV1126RV1126开发板双网口问题

    2024-03-22 09:34:07       38 阅读
  3. RV1126Ubuntu22.04下sdk编译问题汇集

    2024-03-22 09:34:07       36 阅读
  4. Ubuntu 22.04编译RV1126_RV1109_LINUX SDK

    2024-03-22 09:34:07       43 阅读
  5. RGA HAL层报错集锦

    2024-03-22 09:34:07       25 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-03-22 09:34:07       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-03-22 09:34:07       100 阅读
  3. 在Django里面运行非项目文件

    2024-03-22 09:34:07       82 阅读
  4. Python语言-面向对象

    2024-03-22 09:34:07       91 阅读

热门阅读

  1. WPF —— ListBox控件、GroupBox控件详解

    2024-03-22 09:34:07       37 阅读
  2. How to install Miniconda on ubuntu 22.04

    2024-03-22 09:34:07       37 阅读
  3. 06 分页

    2024-03-22 09:34:07       37 阅读
  4. LINQ常用扩展方法、委托、Lambda、yield

    2024-03-22 09:34:07       35 阅读
  5. JPA使用CriteriaQuery实现动态分组查询

    2024-03-22 09:34:07       44 阅读
  6. 浅谈业务逻辑漏洞

    2024-03-22 09:34:07       40 阅读
  7. Devin 40: 人工智能与未来的融合

    2024-03-22 09:34:07       44 阅读
  8. 构建Pytorch虚拟环境教程

    2024-03-22 09:34:07       42 阅读
  9. ROS git使用

    2024-03-22 09:34:07       32 阅读
  10. RHCE 第二章 时间服务器

    2024-03-22 09:34:07       43 阅读
  11. docker基础(五)之docker run(第二弹)

    2024-03-22 09:34:07       42 阅读
  12. P1005 [NOIP2007 提高组] 矩阵取数游戏

    2024-03-22 09:34:07       40 阅读