Firefly开源社区

标题: make fireprime-linux_defconfig 出错,按照官方教程 [打印本页]

作者: xmilder    时间: 2017-1-6 15:47
标题: make fireprime-linux_defconfig 出错,按照官方教程
xujun@dioo:~/3128/fireprime-kernel$ make fireprime-linux_defconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2503:0:
scripts/kconfig/menu.c: In function ‘get_symbol_str’:
scripts/kconfig/menu.c:567:18: warning: ‘jump’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     jump->offset = r->len - 1;
                  ^
scripts/kconfig/menu.c:528:19: note: ‘jump’ was declared here
  struct jump_key *jump;
                   ^
  HOSTLD  scripts/kconfig/conf
#
# configuration written to .config
#
xujun@dioo:~/3128/fireprime-kernel$



作者: xmilder    时间: 2017-1-6 16:04
xujun@dioo:~/3128/fireprime-kernel$ export
declare -x ARCH="arm"
declare -x CROSS_COMPILE="/home/xujun/arm-eabi-4.6/bin/arm-eabi-"
declare -x HOME="/home/xujun"
declare -x LANG="zh_CN.UTF-8"

作者: xmilder    时间: 2017-1-6 16:08
第二步也出错
xujun@dioo:~/3128/fireprime-kernel$ make -j8 rk3128-fireprime.img
scripts/kconfig/conf --silentoldconfig Kconfig
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
  CC      scripts/mod/devicetable-offsets.s
  CALL    scripts/checksyscalls.sh
  GEN     scripts/mod/devicetable-offsets.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTLD  scripts/mod/modpost
make[1]: 'arch/arm/boot/dts/rk3128-fireprime.dtb' is up to date.
  CHK     include/generated/compile.h
  BC      kernel/timeconst.h
/bin/sh: 1: bc: not found
/home/xujun/3128/fireprime-kernel/kernel/Makefile:141: recipe for target 'kernel/timeconst.h' failed
make[1]: *** [kernel/timeconst.h] Error 127
Makefile:818: recipe for target 'kernel' failed
make: *** [kernel] Error 2
make: *** 正在等待未完成的任务....
  GEN     drivers/video/rockchip/screen/lcd.h





欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1