jka_for 发表于 2025-5-9 08:59:06

buildroot出错

使用113i的sdk,单独编译buildroot出错
forlinx@ubuntu:~/work/OK113i-linux-sdk/buildroot/buildroot-201902$ ./build.sh
Prepare br toolchain gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabi.tar.xz...
make: Entering directory '/home/forlinx/work/OK113i-linux-sdk/buildroot/buildroot-201902'
/usr/bin/make -j1 O=/home/forlinx/work/OK113i-linux-sdk/out/t113_i/ok113i/longan/buildroot HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" syncconfig
make: warning: -j1 forced in submake: resetting jobserver mode.
GEN   /home/forlinx/work/OK113i-linux-sdk/out/t113_i/ok113i/longan/buildroot/Makefile
Config.in.legacy:1769:warning: choice value used outside its choice group
>>> host-tar 1.29 Installing to host directory
PATH="/home/forlinx/work/OK113i-linux-sdk/out/t113_i/ok113i/longan/buildroot/host/bin:/home/forlinx/work/OK113i-linux-sdk/out/t113_i/ok113i/longan/buildroot/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PKG_CONFIG="/home/forlinx/work/OK113i-linux-sdk/out/t113_i/ok113i/longan/buildroot/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/forlinx/work/OK113i-linux-sdk/out/t113_i/ok113i/longan/buildroot/host/lib/pkgconfig:/home/forlinx/work/OK113i-linux-sdk/out/t113_i/ok113i/longan/buildroot/host/share/pkgconfig"/usr/bin/makeinstall -C /home/forlinx/work/OK113i-linux-sdk/out/t113_i/ok113i/longan/buildroot/build/host-tar-1.29/

......
** install in tests
make: Nothing to be done for 'install-exec-am'.
make: Nothing to be done for 'install-data-am'.
make: Nothing to be done for 'install-exec-am'.
make: Nothing to be done for 'install-data-am'.
***
*** ERROR: package host-tar installs executables without proper RPATH:
***   /home/forlinx/work/OK113i-linux-sdk/out/t113_i/ok113i/longan/buildroot/host/bin/xgettext
......
***   /home/forlinx/work/OK113i-linux-sdk/out/t113_i/ok113i/longan/buildroot/host/sbin/mke2fs
***   /home/forlinx/work/OK113i-linux-sdk/out/t113_i/ok113i/longan/buildroot/host/sbin/genccode
make: *** Error 1
make: *** Error 2
make: Leaving directory '/home/forlinx/work/OK113i-linux-sdk/buildroot/buildroot-201902'

sdk未进行任何修改,这个错误怎么解决?
页: [1]
查看完整版本: buildroot出错