arm linux gcc编译u-boot时出错,编译uboot时候出现的问题,请大虾进来看看

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 smdk2410_config

Configuring for smdk2410 board...

[root@localhost u-boot-1.1.4]# make

make[1]: Entering directory `/ub114/u-boot-1.1.4/tools'

ln -s ../common/environment.c environment.c

ln -s ../lib_generic/crc32.c crc32.c

gcc -M -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOSTCC environment.c img2srec.c mkimage.c crc32.c envcrc.c gen_eth_addr.c bmp_logo.c >  .depend

make[1]: Leaving directory `/ub114/u-boot-1.1.4/tools'

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'

arm-linux-gcc -M -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0x33F80000 -I/ub114/u-boot-1.1.4/include -fno-builtin -ffreestanding -nostdinc -isystem include -pipe  -DCONFIG_ARM -D__ARM__ -march=armv4 -mabi=apcs-gnu -Wall -Wstrict-prototypes  stubs.c  > .depend

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

make[1]: *** [.depend] Error 1

make[1]: Leaving directory `/ub114/u-boot-1.1.4/examples'

make[1]: Entering directory `/ub114/u-boot-1.1.4/post'

arm-linux-gcc -M -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0x33F80000 -I/ub114/u-boot-1.1.4/include -fno-builtin -ffreestanding -nostdinc -isystem include -pipe  -DCONFIG_ARM -D__ARM__ -march=armv4 -mabi=apcs-gnu -Wall -Wstrict-prototypes cache_8xx.S cache.c codec.c c pu.c dsp.c ether.c i2c.c memory.c post.c rtc.c spr.c sysmon.c tests.c uart.c usb.c watchdog.c > .depend

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

make[1]: *** [.depend] Error 1

make[1]: Leaving directory `/ub114/u-boot-1.1.4/post'

make[1]: Entering directory `/ub114/u-boot-1.1.4/post/cpu'

arm-linux-gcc -M -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0x33F80000 -I/ub114/u-boot-1.1.4/include -fno-builtin -ffreestanding -nostdinc -isystem include -pipe  -DCONFIG_ARM -D__ARM__ -march=armv4 -mabi=apcs-gnu -Wall -Wstrict-prototypes asm.S cmp.c cmpi.c two.c twox.c three.c threex.c threei.c andi.c srawi.c rlwnm.c rlwinm.c rlwimi.c store.c load.c cr.c b.c multi.c string.c complex.c > .depend

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????

make[1]: *** [.depend] Error 1

make[1]: Leaving directory `/ub114/u-boot-1.1.4/post/cpu'

make: *** [depend] Error 2

[root@localhost u-boot-1.1.4]#

|

结帖率:0.00%

|

看起来交叉编译成了大问题。。

|

编译器版本换一个试试

|

make distclean

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值