hyjing001 发表于 2019-7-17 12:10:05

rk3128 linux版本编译失败

在sdk目录执行./build.sh 出现下面错误
/home/est/est/buildroot/output/rockchip_rk3128/.rockchipconfig:238:warning: override: reassigning to symbol BR2_PACKAGE_RKWIFIBT
#
# configuration written to /home/est/est/buildroot/output/rockchip_rk3128/.config
#
make: Leaving directory `/home/est/est/buildroot'
umask 0022 && make -C /home/est/est/buildroot O=/home/est/est/buildroot/output/rockchip_rk3128
/usr/bin/make -j1 O=/home/est/est/buildroot/output/rockchip_rk3128 HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
GEN   /home/est/est/buildroot/output/rockchip_rk3128/Makefile
>>> host-util-linux 2.31.1 Building
PATH="/home/est/est/buildroot/output/rockchip_rk3128/host/bin:/home/est/est/buildroot/output/rockchip_rk3128/host/sbin:/usr/lib/java/jdk1.7.0_79/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" PKG_CONFIG="/home/est/est/buildroot/output/rockchip_rk3128/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/est/est/buildroot/output/rockchip_rk3128/host/lib/pkgconfig:/home/est/est/buildroot/output/rockchip_rk3128/host/share/pkgconfig"/usr/bin/make -j3-C /home/est/est/buildroot/output/rockchip_rk3128/build/host-util-linux-2.31.1/
/usr/bin/makeall-recursive
Making all in po
make: Nothing to be done for `all'.
CC       lib/libcommon_la-blkdev.lo
CC       lib/libcommon_la-canonicalize.lo
CC       lib/libcommon_la-crc32.lo
cc1: error: unrecognized command line option "-Wunused-but-set-parameter"
cc1: error: unrecognized command line option "-Wunused-but-set-variable"
cc1: error: unrecognized command line option "-Wunused-but-set-parameter"
cc1: error: unrecognized command line option "-Wunused-but-set-variable"
cc1: error: unrecognized command line option "-Wunused-but-set-parameter"
cc1: error: unrecognized command line option "-Wunused-but-set-variable"
make: *** Error 1
make: *** Waiting for unfinished jobs....
make: *** Error 1
make: *** Error 1
make: *** Error 1
make: *** Error 2
make: *** Error 2
make: *** Error 2
Command exited with non-zero status 1
you take 0:17.90 to build builroot
====Build buildroot failed!====

Negro旋 发表于 2019-8-15 10:15:13

3128是32位的,需要用到32位的编译工具才可以编译。
页: [1]
查看完整版本: rk3128 linux版本编译失败