18630183513 发表于 2024-9-11 15:13:57

build.sh all 出错

本帖最后由 18630183513 于 2024-9-11 15:15 编辑

板子是ok3562
环境是下载的虚拟机环境OK3562-VM15.5.6-ubuntu20.04
执行./build.sh all
出:
==========================================
          Start building rootfs(buildroot)
==========================================
==========================================
          Start building buildroot(2021.11)
==========================================


===========================================================================================
~/work/OK3562-linux-source/buildroot/output/OK3562_Linux/host ~/work/OK3562-linux-source/output/sessions/2024-09-10_23-46-37
This buildroot SDK has already been relocated!
~/work/OK3562-linux-source/output/sessions/2024-09-10_23-46-37
===========================================================================================


/home/forlinx/work/OK3562-linux-source/buildroot/output/OK3562_Linux/host
/home/forlinx/work/OK3562-linux-source/output/sessions/2024-09-10_23-46-37
getopt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by getopt)
getopt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by getopt)
fakeroot, create a fake root environment.
   usage: fakeroot [-l|--lib fakerootlib] [-f|--faked fakedbin]
                   [-i file] [-s file] [-u|--unknown-is-real]
                   [-b|--fd-base fd] [-h|--help] [-v|--version]
                   [--]
ERROR: Running /home/forlinx/work/OK3562-linux-source/device/forlinx/common/build-hooks/30-rootfs.sh - build_buildroot failed!
ERROR: exit code 1 from line 16:
    "$RK_SCRIPTS_DIR/mk-buildroot.sh" $RK_BUILDROOT_CFG "$IMAGE_DIR"
ERROR: call stack:
    30-rootfs.sh: build_buildroot(16)
    30-rootfs.sh: build_hook(265)
    build-helper: try_func(63)
    build-helper: try_hook(95)
    build-helper: source(173)
    30-rootfs.sh: main(291)
ERROR: Running /home/forlinx/work/OK3562-linux-source/device/forlinx/common/build-hooks/30-rootfs.sh - try_func build_hook rootfs failed!
ERROR: exit code 1 from line 67:
    build_hook
ERROR: call stack:
    build-helper: try_func(67)
    build-helper: try_hook(95)
    build-helper: source(173)
    30-rootfs.sh: main(291)
ERROR: Running ./build.sh - run_hooks build rootfs failed!
ERROR: exit code 1 from line 247:
    /home/forlinx/work/OK3562-linux-source/device/forlinx/common/build-hooks/30-rootfs.sh build rootfs
ERROR: call stack:
    build.sh: run_hooks(247)
    build.sh: run_build_hooks(266)
    build.sh: main(627)
    build.sh: main(642)
ERROR: Running ./build.sh - run_build_hooks build rootfs failed!
ERROR: exit code 1 from line 269:
    build
ERROR: call stack:
    build.sh: run_build_hooks(269)
    build.sh: main(627)
    build.sh: main(642)

这个错误,是什么原因?

大娱乐家 发表于 2024-9-12 17:38:41

首先开发环境推荐使用我司制作好的,由于3562的源码太大,在ubuntu中解压之前最好使用md5校验之后再解压编译,确认无误后按照用户编译手册编译就可以,出厂的文件编译都是经过验证的,理论上不会出现问题,如果您编译还有问题可以致电我司技服或者整理错误发到我司软件支持的邮箱。:loveliness:
页: [1]
查看完整版本: build.sh all 出错