打印
[嵌入式linux]

编译uboot时候遇到的问题,有没有人遇到过?

[复制链接]
3025|5
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
xuerenxiang|  楼主 | 2009-9-26 12:28 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
vm+Red Hat Enterprise Linux AS release 3 (Taroon Update 6)+cross2.95.3
+uboot1.1.4
以上是环境,以下是make时候出现的错误,我是新人,请高手帮我看看
以下是错误信息,请大家帮我看看
[root@localhost u-boot-1.1.4]# make
make[1]: Entering directory `/ub114/u-boot-1.1.4/tools'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/ub114/u-boot-1.1.4/tools'
make[1]: Entering directory `/ub114/u-boot-1.1.4/examples'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/ub114/u-boot-1.1.4/examples'
make[1]: Entering directory `/ub114/u-boot-1.1.4/post'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/ub114/u-boot-1.1.4/post'
make[1]: Entering directory `/ub114/u-boot-1.1.4/post/cpu'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/ub114/u-boot-1.1.4/post/cpu'
make -C tools all
make[1]: Entering directory `/ub114/u-boot-1.1.4/tools'
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0xa3000000 -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0xa3000000 -DUSE_HOSTCC -O  -o img2srec img2srec.o
strip img2srec
gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0xa3000000 -DUSE_HOSTCC -O -c mkimage.c
gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0xa3000000 -DUSE_HOSTCC -O -c crc32.c
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0xa3000000 -DUSE_HOSTCC -O  -o mkimage mkimage.o crc32.o
strip mkimage
gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0xa3000000 -DUSE_HOSTCC -O -c envcrc.c
gcc -g  -idirafter ../include -DTEXT_BASE=0xa3000000 -DUSE_HOSTCC -c environment.c
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0xa3000000 -DUSE_HOSTCC -O -o envcrc envcrc.o crc32.o environment.o
gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0xa3000000 -DUSE_HOSTCC -O -c gen_eth_addr.c
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0xa3000000 -DUSE_HOSTCC -O  -o gen_eth_addr gen_eth_addr.o
strip gen_eth_addr
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0xa3000000 -DUSE_HOSTCC -O -c -o bmp_**.o bmp_**.c
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0xa3000000 -DUSE_HOSTCC -O  -o bmp_** bmp_**.o
strip bmp_**
./bmp_** **s/denx.bmp >/ub114/u-boot-1.1.4/include/bmp_**.h
make[1]: Leaving directory `/ub114/u-boot-1.1.4/tools'
make -C examples all
make[1]: Entering directory `/ub114/u-boot-1.1.4/examples'
arm-linux-gcc -g  -Os  -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0xa3000000 -I/ub114/u-boot-1.1.4/include -fno-builtin -ffreestanding -nostdinc -isystem include -pipe  -DCONFIG_ARM -D__ARM__ -march=armv5 -mtune=xscale -mabi=apcs-gnu -Wall -Wstrict-prototypes -c -o stubs.o stubs.c
arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????
arm-linux-gcc: installation problem, cannot exec `cc1': ?????????
as:无法识别的选项“-marmv5”
make[1]: *** [stubs.o] Error 1
make[1]: Leaving directory `/ub114/u-boot-1.1.4/examples'
make: *** [examples] Error 2

相关帖子

沙发
itelectron| | 2009-9-30 19:10 | 只看该作者
老兄 你 好好自己 检查下 一般 问题 你自己能够解决的.
我用的是ELDK4.2 编译的.

使用特权

评论回复
板凳
itelectron| | 2009-9-30 19:11 | 只看该作者

使用特权

评论回复
地板
cqhtk| | 2009-10-20 10:42 | 只看该作者
呵呵

使用特权

评论回复
5
zhj1011| | 2009-10-20 12:44 | 只看该作者
好好看一下報錯信息啊

使用特权

评论回复
6
Edgar| | 2009-11-11 22:58 | 只看该作者
我比较喜欢用 codesourcery的cross toolchian
下载地址:
http://www.codesourcery.com/sgpp ... tion?@template=lite

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

4

主题

4

帖子

0

粉丝