查看: 6198|回复: 1

[Linux] build.sh all 出错

1

主题

0

回帖

5

积分

18630183513 发表于 2024-9-11 15:13:57 | 显示全部楼层 |阅读模式
本帖最后由 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]
                   [--] [command]
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)

这个错误,是什么原因?
回复

使用道具 举报

0

主题

12

回帖

42

积分

LS1028A通行证LS1012A通行证LS1043A\46A通行证i.MX6Q通行证i.MX6UL通行证i.MX8MM通行证i.MX8MP通行证i.MX8MPx-SMARC通行证i.MX9596通行证i.MX9352\i.MX9131通行证i.MX RT通行证RK3568通行证RK3588通行证RK3588S2通行证RK3399通行证RK3576通行证RK3562通行证RK3506通行证RV1126通行证RK3572通行证RK1820\RK1828通行证MA35通行证AM5718通行证AM335x通行证AM62x通行证A40i\T3\T507\T527通行证T113i通行证T536通行证T153通行证XX18通行证2K0300\2K0500通行证JH7110通行证D9360通行证Hi3519A通行证G2L通行证TCU通行证FDU产品通行证FDU070K02\FDU101K02通行证5G转接卡通行证FCU11xx通行证FCU1106通行证FCU1201通行证FCU1301通行证FCU1303通行证FCU1401通行证FCU2201通行证FCU1501通行证FCU2301\FCU2302通行证FCU2401通行证FCU2601通行证FCU3001通行证FCU3011通行证FCU3101通行证FCU3501通行证StarterKit通行证

Forlinx-Xiezp 发表于 2024-9-12 17:38:41 | 显示全部楼层
首先开发环境推荐使用我司制作好的,由于3562的源码太大,在ubuntu中解压之前最好使用md5校验之后再解压编译,确认无误后按照用户编译手册编译就可以,出厂的文件编译都是经过验证的,理论上不会出现问题,如果您编译还有问题可以致电我司技服或者整理错误发到我司软件支持的邮箱。:loveliness:
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则