编译环境: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