编译RV1126遇到的问题

编译环境:ubuntu 20.04

1.

you need to install 'unbuffer' (from package expect or expect-dev)
log saved on /home/share/work/camera/rv1126-atk/br.log
Command exited with non-zero status 1
you take 0:00.82 to build builroot
ERROR: Running build_buildroot failed!
ERROR: exit code 1 from line 563:
    /usr/bin/time -f "you take %E to build builroot" $COMMON_DIR/mk-buildroot.sh $BOARD_CONFIG

解决:

sudo apt-get install expect

2.

2023-04-25T18:20:09 >>> toolchain-external-custom  Configuring
2023-04-25T18:20:10 /home/share/work/camera/rv1126-atk/prebuilts/gcc/linux-x86/arm/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/bin/ld: cannot find crt1.o: No such file or directory
2023-04-25T18:20:10 /home/share/work/camera/rv1126-atk/prebuilts/gcc/linux-x86/arm/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/bin/ld: cannot find crti.o: No such file or directory
2023-04-25T18:20:10 /home/share/work/camera/rv1126-atk/prebuilts/gcc/linux-x86/arm/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/bin/ld: cannot find crtbegin.o: No such file or directory
2023-04-25T18:20:10 collect2: error: ld returned 1 exit status
2023-04-25T18:20:10 Incorrect ABI setting: EABIhf selected, but toolchain is incompatible
2023-04-25T18:20:10 make[1]: *** [package/pkg-generic.mk:221: /home/share/work/camera/rv1126-atk/buildroot/output/rockchip_rv1126_xag_ab/build/toolchain-external-custom/.stamp_configured] Error 1
2023-04-25T18:20:10 make: *** [/home/share/work/camera/rv1126-atk/buildroot/output/rockchip_rv1126_xag_ab/Makefile:16: _all] Error 2
Command exited with non-zero status 1
you take 0:36.15 to build builroot
ERROR: Running build_buildroot failed!
ERROR: exit code 1 from line 563:
    /usr/bin/time -f "you take %E to build builroot" $COMMON_DIR/mk-buildroot.sh $BOARD_CONFIG

解决:

sudo apt-get install repo device-tree-compiler git-core u-boot-tools mtools parted libudev-dev libusb-1.0-0-dev python-linaro-image-tools linaro-image-tools autoconf autotools-dev libsigsegv2 m4 intltool libdrm-dev curl sed make binutils build-essential gcc g++ bash patch gzip gawk bzip2 perl tar cpio python unzip rsync file bc wget libncurses5 libqt4-dev ibglib2.0-dev libgtk2.0-dev libglade2-dev cvs git mercurial openssh-client subversion asciidoc w3m dblatex graphviz python-matplotlib libc6:i386 libssl-dev expect fakeroot cmake flex bison liblz4-tool libtool keychain g++-7  libstdc++-7-dev

  • 0
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值