[U-Boot-Users] compile u-boot err with arm-elf-gcc
lai222333
lai222333 at 163.com
Tue Jul 4 12:45:02 CEST 2006
dear:
all
please give me a hand!!!
trying to compile u-boot ,get some errs:
arm-elf-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -mshort-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0x007d0000 -I/home/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 -Wall -Wstrict-prototypes -c -o cfi_flash.o cfi_flash.c
In file included from cfi_flash.c:48:
/home/u-boot-1.1.3/include/asm/processor.h:52: parse error before `1'
/home/u-boot-1.1.3/include/asm/processor.h:52: warning: no semicolon at end of struct or union
/home/u-boot-1.1.3/include/asm/processor.h:54: parse error before `}'
/home/u-boot-1.1.3/include/asm/processor.h:58: field `insn' has incomplete type
make[1]: *** [cfi_flash.o] Error 1
make[1]: Leaving directory `/home/u-boot-1.1.3/drivers'
make: *** [drivers/libdrivers.a] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060704/f8de524f/attachment.htm
More information about the U-Boot
mailing list