|
【Linux】
rk3128 linux版本编译失败
发表于 2019-7-17 12:10:05
浏览:7247
|
回复:1
打印
只看该作者
[复制链接]
楼主
在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/make all-recursive
Making all in po
make[4]: 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[4]: *** [lib/libcommon_la-crc32.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [lib/libcommon_la-canonicalize.lo] Error 1
make[4]: *** [lib/libcommon_la-blkdev.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [/home/est/est/buildroot/output/rockchip_rk3128/build/host-util-linux-2.31.1/.stamp_built] Error 2
make: *** [_all] Error 2
Command exited with non-zero status 1
you take 0:17.90 to build builroot
====Build buildroot failed!==== |
|