[U-Boot-Users] mistake

Alexandr Kuleschov kuleschov at alpha.tula.net
Tue Nov 29 11:00:18 CET 2005


Hi people!

I work with based on AT91RM9200  board.
At compilation gcc2.95.3 there is a mistake

arm-elf-gcc   -g   -Os   -fno-strict-aliasing  -fno-common  -ffixed-r8
-mshort-load-bytes  -msoft-float  -D__KERNEL__  -DTEXT_BASE=0x21f00000
-I/home/ask/distr/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     -Wall
-Wstrict-prototypes  -c  -o  cfi_flash.o  cfi_flash.c In file included
from cfi_flash.c:48:
/home/ask/distr/u-boot-1.1.3/include/asm/processor.h:52: parse error before `1'
/home/ask/distr/u-boot-1.1.3/include/asm/processor.h:52: warning: no semicolon at end of struct or union
/home/ask/distr/u-boot-1.1.3/include/asm/processor.h:54: parse error before `}'
/home/ask/distr/u-boot-1.1.3/include/asm/processor.h:58: field `insn' has incomplete type

Problem in the next line  in file "processor.h":

union debug_insn {
        u32     arm;        // ERROR HERE
        u16     thumb;
};



How to solve a problem?
Thank
P.S. host OS - ASPLinux 9.2

Alexandr





More information about the U-Boot mailing list