九鼎创展论坛中文版English
登录 | 立即注册 设为首页收藏本站 切换到宽版
查看: 3394|回复: 2
打印 上一主题 下一主题

4118 编译 uboot 出错

[复制链接]
跳转到指定楼层
楼主
发表于 2015-8-22 16:10:27 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
系统用的是ubunto 14.04 kylin
下面是在终端编译的信息,希望有大神告诉怎么回事,我是新新手!



jeff@jeff-Rev-1-0:~/x4418-kitkat$ ./mk -u
/home/jeff/x4418-kitkat/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-gcc: 1: /home/jeff/x4418-kitkat/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-gcc: Syntax error: ")" unexpected
/home/jeff/x4418-kitkat/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-gcc: 1: /home/jeff/x4418-kitkat/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-gcc: Syntax error: ")" unexpected
dirname: missing operand
Try 'dirname --help' for more information.
  CLEAN   scripts/basic
  CLEAN   include/config include/generated
  CLEAN   include/config.h include/config.mk
Configuring for x4418 board...
/home/jeff/x4418-kitkat/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-gcc: 1: /home/jeff/x4418-kitkat/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-gcc: Syntax error: ")" unexpected
/home/jeff/x4418-kitkat/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-gcc: 1: /home/jeff/x4418-kitkat/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-gcc: Syntax error: ")" unexpected
/home/jeff/x4418-kitkat/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-gcc: 1: /home/jeff/x4418-kitkat/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-gcc: Syntax error: ")" unexpected
/home/jeff/x4418-kitkat/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-gcc: 1: /home/jeff/x4418-kitkat/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-gcc: Syntax error: ")" unexpected
dirname: missing operand
Try 'dirname --help' for more information.
  GEN     include/autoconf.mk.dep
  GEN     include/autoconf.mk
/home/jeff/x4418-kitkat/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-gcc: 1: /home/jeff/x4418-kitkat/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-gcc: Syntax error: ")" unexpected
/home/jeff/x4418-kitkat/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-gcc: 1: /home/jeff/x4418-kitkat/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-gcc: Syntax error: ")" unexpected
  CHK     include/config/uboot.release
  CHK     include/generated/timestamp_autogenerated.h
  UPD     include/generated/timestamp_autogenerated.h
  HOSTCC  scripts/basic/fixdep
  UPD     include/config/uboot.release
  CHK     include/generated/version_autogenerated.h
/home/jeff/x4418-kitkat/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-gcc: 1: /home/jeff/x4418-kitkat/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-gcc: Syntax error: ")" unexpected
/home/jeff/x4418-kitkat/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-ld: 1: /home/jeff/x4418-kitkat/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-ld: Syntax error: Unterminated quoted string
  UPD     include/generated/version_autogenerated.h
  CC      lib/asm-offsets.s
  CC      arch/arm/lib/asm-offsets.s
/home/jeff/x4418-kitkat/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-gcc: 1: /home/jeff/x4418-kitkat/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-gcc: Syntax error: ")" unexpected
make[1]: *** [lib/asm-offsets.s] Error 2
make[1]: *** Waiting for unfinished jobs....
/home/jeff/x4418-kitkat/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-gcc: 1: /home/jeff/x4418-kitkat/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-gcc: Syntax error: ")" unexpected
make[1]: *** [arch/arm/lib/asm-offsets.s] Error 2
make: *** [prepare0] Error 2
回复

使用道具 举报

沙发
发表于 2015-8-23 14:02:58 | 只看该作者
应该是缺少一些第三方库文件
回复 支持 反对

使用道具 举报

板凳
 楼主| 发表于 2015-8-24 08:34:23 | 只看该作者
armeasy 发表于 2015-8-23 14:02
应该是缺少一些第三方库文件

这些库文件是放在哪里的?我没有搜到有名称为lib或者名称为arm的文件夹呀。
而且我测操作流程是按照Linux平台用户手册操作的,也不知道是哪里出了问题
回复 支持 反对

使用道具 举报

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

本版积分规则

QQ|手机版|小黑屋|深圳市九鼎创展科技官方论坛 ( 粤ICP备11028681号-2  

GMT+8, 2024-11-23 14:58 , Processed in 0.017171 second(s), 16 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表