xuerenxiang 发表于 2009-9-26 12:28

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

vm+Red Hat Enterprise Linux AS release 3 (Taroon Update 6)+cross2.95.3
+uboot1.1.4
以上是环境,以下是make时候出现的错误,我是新人,请高手帮我看看
以下是错误信息,请大家帮我看看
# make
make: Entering directory `/ub114/u-boot-1.1.4/tools'
make: `.depend' is up to date.
make: Leaving directory `/ub114/u-boot-1.1.4/tools'
make: Entering directory `/ub114/u-boot-1.1.4/examples'
make: `.depend' is up to date.
make: Leaving directory `/ub114/u-boot-1.1.4/examples'
make: Entering directory `/ub114/u-boot-1.1.4/post'
make: `.depend' is up to date.
make: Leaving directory `/ub114/u-boot-1.1.4/post'
make: Entering directory `/ub114/u-boot-1.1.4/post/cpu'
make: `.depend' is up to date.
make: Leaving directory `/ub114/u-boot-1.1.4/post/cpu'
make -C tools all
make: 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: Leaving directory `/ub114/u-boot-1.1.4/tools'
make -C examples all
make: 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: *** Error 1
make: Leaving directory `/ub114/u-boot-1.1.4/examples'
make: *** Error 2

itelectron 发表于 2009-9-30 19:10

老兄 你 好好自己 检查下 一般 问题 你自己能够解决的.
我用的是ELDK4.2 编译的.

itelectron 发表于 2009-9-30 19:11

https://bbs.21ic.com/icview-131540-1-1.html
偶的入门贴

cqhtk 发表于 2009-10-20 10:42

呵呵

zhj1011 发表于 2009-10-20 12:44

好好看一下報錯信息啊

Edgar 发表于 2009-11-11 22:58

我比较喜欢用 codesourcery的cross toolchian
下载地址:
http://www.codesourcery.com/sgpp/lite/arm/portal/subscription?@template=lite
页: [1]
查看完整版本: 编译uboot时候遇到的问题,有没有人遇到过?