public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] compile errors with gcc-4.5.1
@ 2010-12-10 18:14 Kumar Gala
  2010-12-10 18:27 ` [U-Boot] compile errors with gcc-4.5.1 on OXC and RMU boards Scott Wood
  2010-12-12 21:20 ` [U-Boot] compile errors with gcc-4.5.1 Wolfgang Denk
  0 siblings, 2 replies; 11+ messages in thread
From: Kumar Gala @ 2010-12-10 18:14 UTC (permalink / raw)
  To: u-boot

On the OXC & RMU boards I'm seeing the following build error:

powerpc-linux-gnu-gcc  -g  -Os   -mrelocatable -ffunction-sections -fdata-sections -fPIC -meabi -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0xFFF00000 -I/local/home/galak/git/u-boot-85xx/include -fno-builtin -ffreestanding -nostdinc -isystem /local/opt/freescale/usr/local/gcc-4.5.55-eglibc-2.11.55/powerpc-linux-gnu/bin/../lib/gcc/powerpc-linux-gnu/4.5.1/include -pipe  -DCONFIG_PPC -D__powerpc__ -DCONFIG_MPC824X -ffixed-r2 -mstring -mcpu=603e -msoft-float -Wall -Wstrict-prototypes -fno-stack-protector   \
		-o board.o board.c -c
board.c: In function 'board_init_r':
board.c:761:35: error: token "[" is not valid in preprocessor expressions
make[1]: *** [board.o] Error 1

Not sure what to be done about it, since OXC.h defines:

#define CONFIG_SYS_FLASH_BASE           (0-flash_info[0].size)

- k

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

end of thread, other threads:[~2010-12-14 11:14 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-10 18:14 [U-Boot] compile errors with gcc-4.5.1 Kumar Gala
2010-12-10 18:27 ` [U-Boot] compile errors with gcc-4.5.1 on OXC and RMU boards Scott Wood
2010-12-12 21:49   ` Wolfgang Denk
2010-12-13 14:51     ` Kumar Gala
2010-12-13 16:15       ` Wolfgang Denk
2010-12-13 18:47         ` Kumar Gala
2010-12-13 19:03           ` Nathan Sidwell
2010-12-13 21:26             ` Wolfgang Denk
2010-12-14  7:12               ` Nathan Sidwell
2010-12-14 11:14                 ` Wolfgang Denk
2010-12-12 21:20 ` [U-Boot] compile errors with gcc-4.5.1 Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox