[U-Boot-Users] u-boot compile error with arm-elf-20040714

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

Hello!
chenzhixin schrieb:
is there some body help me
Why don't you ask the people who provided the patch to you? Are you really expecting people on a mailing list for an *open*source* project to give support for closed-source patches of a third-party?
It seems that you are using GCC 2.95.3. This version was very favorite a few years ago, but today it won't be supported by many projects. The "-MQ" option is used only once in the whole U-Boot source code. Why couldn't you find it?
With best regards Andreas Schweigstill
participants (3)
-
Andreas Schweigstill
-
chenzhixin
-
Ganesh Chandra Patro