|
请大家来帮手看看编译u-boot时出现的错误?
[复制链接]
ot@localhost u-boot-1.1.6]# export PATH=/ning/2.95.3/bin:$PATH
[root@localhost u-boot-1.1.6]# make B2_config
Configuring for B2 board...
[root@localhost u-boot-1.1.6]# make
for dir in tools examples post post/cpu ; do make -C $dir _depend ; done
make[1]: Entering directory `/ning/u-boot-1.1.6/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/ning/u-boot-1.1.6/tools'
make[1]: Entering directory `/ning/u-boot-1.1.6/examples'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/ning/u-boot-1.1.6/examples'
make[1]: Entering directory `/ning/u-boot-1.1.6/post'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/ning/u-boot-1.1.6/post'
make[1]: Entering directory `/ning/u-boot-1.1.6/post/cpu'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/ning/u-boot-1.1.6/post/cpu'
make -C tools all
make[1]: Entering directory `/ning/u-boot-1.1.6/tools'
gcc -Wall -pedantic -idirafter /ning/u-boot-1.1.6/include -idirafter /ning/u-boot-1.1.6/include2 -idirafter /ning/u-boot-1.1.6/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c
gcc -Wall -pedantic -idirafter /ning/u-boot-1.1.6/include -idirafter /ning/u-boot-1.1.6/include2 -idirafter /ning/u-boot-1.1.6/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -o img2srec img2srec.o
strip img2srec
gcc -g -Wall -pedantic -idirafter /ning/u-boot-1.1.6/include -idirafter /ning/u-boot-1.1.6/include2 -idirafter /ning/u-boot-1.1.6/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o mkimage.o mkimage.c
gcc -g -Wall -pedantic -idirafter /ning/u-boot-1.1.6/include -idirafter /ning/u-boot-1.1.6/include2 -idirafter /ning/u-boot-1.1.6/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o crc32.o crc32.c
gcc -Wall -pedantic -idirafter /ning/u-boot-1.1.6/include -idirafter /ning/u-boot-1.1.6/include2 -idirafter /ning/u-boot-1.1.6/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -o mkimage mkimage.o crc32.o
strip mkimage
gcc -g -Wall -pedantic -idirafter /ning/u-boot-1.1.6/include -idirafter /ning/u-boot-1.1.6/include2 -idirafter /ning/u-boot-1.1.6/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o envcrc.o envcrc.c
gcc -g -idirafter /ning/u-boot-1.1.6/include -idirafter /ning/u-boot-1.1.6/include2 -idirafter /ning/u-boot-1.1.6/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -c -o environment.o environment.c
gcc -Wall -pedantic -idirafter /ning/u-boot-1.1.6/include -idirafter /ning/u-boot-1.1.6/include2 -idirafter /ning/u-boot-1.1.6/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -o envcrc envcrc.o crc32.o environment.o
gcc -g -Wall -pedantic -idirafter /ning/u-boot-1.1.6/include -idirafter /ning/u-boot-1.1.6/include2 -idirafter /ning/u-boot-1.1.6/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o gen_eth_addr.o gen_eth_addr.c
gcc -Wall -pedantic -idirafter /ning/u-boot-1.1.6/include -idirafter /ning/u-boot-1.1.6/include2 -idirafter /ning/u-boot-1.1.6/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -o gen_eth_addr gen_eth_addr.o
strip gen_eth_addr
gcc -Wall -pedantic -idirafter /ning/u-boot-1.1.6/include -idirafter /ning/u-boot-1.1.6/include2 -idirafter /ning/u-boot-1.1.6/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o bmp_logo.o bmp_logo.c
gcc -Wall -pedantic -idirafter /ning/u-boot-1.1.6/include -idirafter /ning/u-boot-1.1.6/include2 -idirafter /ning/u-boot-1.1.6/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -o bmp_logo bmp_logo.o
strip bmp_logo
./bmp_logo logos/denx.bmp >/ning/u-boot-1.1.6/include/bmp_logo.h
make[1]: Leaving directory `/ning/u-boot-1.1.6/tools'
make -C examples all
make[1]: Entering directory `/ning/u-boot-1.1.6/examples'
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x0C100000 -I/ning/u-boot-1.1.6/include -fno-builtin -ffreestanding -nostdinc -isystem include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o hello_world.o hello_world.c
arm-linux-gcc: installation problem, cannot exec `cpp0': ?????????
arm-linux-gcc: installation problem, cannot exec `cc1': ?????????
as:无法识别的选项“-marmv4”
make[1]: *** [hello_world.o] Error 1
make[1]: Leaving directory `/ning/u-boot-1.1.6/examples'
make: *** [examples] Error 2
|
|