uboot编译时出现问题

内核编译和嵌入式产品的设计与开发
回复
handongxu
帖子: 104
注册时间: 2012-08-14 20:00

uboot编译时出现问题

#1

帖子 handongxu » 2012-09-27 18:45

root@hdx-desktop:/u-boot-2008.10# make CROSS_COMPILE=arm-linux-
make: arm-linux-gcc:命令未找到
for dir in tools examples api_examples ; do make -C $dir _depend ; done
make[1]: arm-linux-gcc:命令未找到
make[1]: 正在进入目录 `/u-boot-2008.10/tools'
make[1]: 没有什么可以做的为 `_depend'。
make[1]:正在离开目录 `/u-boot-2008.10/tools'
make[1]: arm-linux-gcc:命令未找到
make[1]: 正在进入目录 `/u-boot-2008.10/examples'
/bin/sh: arm-linux-gcc: not found
dirname: 缺少操作数
请尝试执行"dirname --help"来获取更多信息。
/bin/sh: arm-linux-gcc: not found
dirname: 缺少操作数
请尝试执行"dirname --help"来获取更多信息。
make[1]: 没有什么可以做的为 `_depend'。
make[1]:正在离开目录 `/u-boot-2008.10/examples'
make[1]: arm-linux-gcc:命令未找到
make[1]: 正在进入目录 `/u-boot-2008.10/api_examples'
/bin/sh: arm-linux-gcc: not found
dirname: 缺少操作数
请尝试执行"dirname --help"来获取更多信息。
make[1]: 没有什么可以做的为 `_depend'。
make[1]:正在离开目录 `/u-boot-2008.10/api_examples'
make -C tools all
make[1]: arm-linux-gcc:命令未找到
make[1]: 正在进入目录 `/u-boot-2008.10/tools'
make[1]:正在离开目录 `/u-boot-2008.10/tools'
make -C examples all
make[1]: arm-linux-gcc:命令未找到
make[1]: 正在进入目录 `/u-boot-2008.10/examples'
/bin/sh: arm-linux-gcc: not found
dirname: 缺少操作数
请尝试执行"dirname --help"来获取更多信息。
/bin/sh: arm-linux-gcc: not found
dirname: 缺少操作数
请尝试执行"dirname --help"来获取更多信息。
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x33F80000 -I/u-boot-2008.10/include -fno-builtin -ffreestanding -nostdinc -isystem -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mabi=apcs-gnu -Wall -Wstrict-prototypes -c -o hello_world.o hello_world.c
make[1]: arm-linux-gcc:命令未找到
make[1]: *** [hello_world.o] 错误 127
make[1]:正在离开目录 `/u-boot-2008.10/examples'
make: *** [examples] 错误 2
头像
YeLee
论坛版主
帖子: 26406
注册时间: 2008-08-13 8:48
系统: Fundu i64
来自: 东海硇州,一双管钥。
联系:

Re: uboot编译时出现问题

#2

帖子 YeLee » 2012-09-27 20:54

亲,错误提示都那么明显了,你缺个arm的gcc啊。 :em01
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
handongxu
帖子: 104
注册时间: 2012-08-14 20:00

Re: uboot编译时出现问题

#3

帖子 handongxu » 2012-09-27 22:00

YeLee 写了:亲,错误提示都那么明显了,你缺个arm的gcc啊。 :em01
可是我有啊,之前安装了啊
李沉舟
帖子: 4
注册时间: 2006-12-24 17:36

Re: uboot编译时出现问题

#4

帖子 李沉舟 » 2012-10-26 10:34

是不是路径不对?
回复