All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] Compile problem for ARM / LPD7A400
@ 2004-10-25  4:38 Devraj Mukherjee
  2004-10-25 13:33 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Devraj Mukherjee @ 2004-10-25  4:38 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot-Users] Compile problem for ARM / LPD7A400
  2004-10-25  4:38 [U-Boot-Users] Compile problem for ARM / LPD7A400 Devraj Mukherjee
@ 2004-10-25 13:33 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2004-10-25 13:33 UTC (permalink / raw)
  To: u-boot

In message <417C832E.5090107@eternitytechnologies.com> 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?

> 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

-- 
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-25 13:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-25  4:38 [U-Boot-Users] Compile problem for ARM / LPD7A400 Devraj Mukherjee
2004-10-25 13:33 ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.