Compile problem for ARM / LPD7A400
Hi everyone,
I am using arm-linux GCC 3.3 with GlibC 2.3.2. I have managed to compile a Linux version 2.6 kernel with this setup and patches for Logic PD card engine LPD7A400.
I am trying to get a version of U-Boot with working with the same. I have applied all available patches, that I gathered for the board from this list serve.
I get the following errors when I am trying to compile UBoot. Is there anyone who can encoutnered this problem and if so any lead?
Thanks in advance.
Dump from compile time:
In file included from cfi_flash.c:48:/home/devraj/lpd7a400/uboot/u-boot-1.1.1.lpd7a400/include/asm/processor.h:52:
parse error before `1' /home/devraj/lpd7a400/uboot/u-boot-1.1.1.lpd7a400/include/asm/processor.h:52:
warning: no semicolon at end of struct or union /home/devraj/lpd7a400/uboot/u-boot-1.1.1.lpd7a400/include/asm/processor.h:54:
parse error before `}' /home/devraj/lpd7a400/uboot/u-boot-1.1.1.lpd7a400/include/asm/processor.h:58:
field `insn' has incomplete type
make[1]: *** [cfi_flash.o] Error 1
make[1]: Leaving directory `/home/devraj/lpd7a400/uboot/u-boot-1.1.1.lpd7a400/drivers'
make: *** [drivers/libdrivers.a] Error 2
Regards,
Devraj
Quoted 8 lines · In message <[email protected]> you wrote:
I am using arm-linux GCC 3.3 with GlibC 2.3.2. I have managed to compile a Linux version 2.6 kernel with this setup and patches for Logic PD card engine LPD7A400.
I am trying to get a version of U-Boot with working with the same. I have applied all available patches, that I gathered for the board from this list serve.
Did you try compiling the tree with some other, known to be working toolchain?
Quoted 2 lines
I get the following errors when I am trying to compile UBoot. Is there anyone who can encoutnered this problem and if so any lead?
Are you absolutely sure that:
1) none of your source files has been crippled with DOS line endings (for example by downloading or storing on a windoze machine) ?
2) That your toolchain does not defione silly constants like "arm" ?
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Es gibt immer genug fuer die Beduerfnisse aller, aber niemals genug fuer die Gier einzelner. -- Ghandi