[U-Boot-Users] u-boot compile error with arm-elf-20040714
chenzhixin
calmear at gmail.com
Fri Apr 20 12:46:39 CEST 2007
my board is lpc2210,i found a patch from nxp u-boot-lpc2294.patch
but when i compile the uboot as :
cd u-boot-1.2.0
patch -p1 < ../u-boot-lpc2294.patch
make lpc2294_config
make
the sysytem give me a error :
arm-elf-gcc: store.o: No such file or directory
arm-elf-gcc: unrecognized option `-MQ'
arm-elf-gcc: load.o: No such file or directory
arm-elf-gcc: unrecognized option `-MQ'
arm-elf-gcc: cr.o: No such file or directory
arm-elf-gcc: unrecognized option `-MQ'
arm-elf-gcc: b.o: No such file or directory
arm-elf-gcc: unrecognized option `-MQ'
arm-elf-gcc: multi.o: No such file or directory
arm-elf-gcc: unrecognized option `-MQ'
arm-elf-gcc: string.o: No such file or directory
arm-elf-gcc: unrecognized option `-MQ'
(the 1.1.6 alse give the same error )
after i compile the u-boot-1.1.3,the error is :
make[1]: Entering directory `/home/newlad/u-boot-1.1.3/examples'
arm-elf-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8
-mshort-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0x81400000
-I/home/newlad/u-boot-1.1.3/include -fno-builtin -ffreestanding -nostdinc
-isystem /usr/local/lib/gcc-lib/arm-elf/2.95.3/include -pipe -DCONFIG_ARM
-D__ARM__ -mapcs-32 -march=armv4 -mtune=arm7tdmi -msoft-float -Uarm -Wall
-Wstrict-prototypes -c -o hello_world.o hello_world.c
arm-elf-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8
-mshort-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0x81400000
-I/home/newlad/u-boot-1.1.3/include -fno-builtin -ffreestanding -nostdinc
-isystem /usr/local/lib/gcc-lib/arm-elf/2.95.3/include -pipe -DCONFIG_ARM
-D__ARM__ -mapcs-32 -march=armv4 -mtune=arm7tdmi -msoft-float -Uarm -Wall
-Wstrict-prototypes -c -o stubs.o stubs.c
arm-elf-ar crv libstubs.a stubs.o
a - stubs.o
make[1]: *** No rule to make target `hello_world.srec', needed by `all'.
Stop.
make[1]: Leaving directory `/home/newlad/u-boot-1.1.3/examples'
make: *** [examples] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070420/bc8ecf17/attachment.htm
More information about the U-Boot
mailing list