Firefly开源社区

打印 上一主题 下一主题

[Linux] rk3128 linux版本编译失败

27

积分

0

威望

0

贡献

技术小白

积分
27

rk3128 linux版本编译失败

发表于 2019-7-17 12:10:05      浏览:7137 | 回复: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!====
回复

使用道具 举报

789

积分

0

威望

0

贡献

技术大神

Rank: 3Rank: 3

积分
789
发表于 2019-8-15 10:15:13        只看该作者  沙发
3128是32位的,需要用到32位的编译工具才可以编译。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表