[U-Boot-Users] compile error

Wolfgang Denk wd at denx.de
Thu Jun 29 01:50:55 CEST 2006


In message <20060628231631.16647.qmail at web54304.mail.yahoo.com> you wrote:
> I am porting u-boot-1.1.4 for one of our board.
> I have the below code in my header file.

There is probably more code (or, to be precise, more definitions)  in
this file...

> #if (CONFIG_COMMANDS & CFG_CMD_KGDB)
> #define CFG_CBSIZE 1024 /* Console I/O Buffer Size  */
> #else
> #define CFG_CBSIZE 256 /* Console I/O Buffer Size  */
> #endif
> 
> I am getting a compile error:
> Invalid token in expression

And there was no line number or so with this error message?

> Am I missing something?

Yes: providing enough of context for a helpful reply.

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
The optimum committee has no members.
                                                   - Norman Augustine




More information about the U-Boot mailing list