[ECOS] Red boot package

Andrew Lunn andrew@lunn.ch
Tue May 23 08:07:00 GMT 2006


On Mon, May 22, 2006 at 02:31:38PM +0200, Marcin Chrusciel wrote:
> 
> I tried to rebuild my ecos with redboot package (after hw template
> selecting I change package to redboot) and I got following error:
> 
> exceptions   -Wp,-MD,src/main.tmp -o src/redboot_main.o
> /tmp/ecos/packages/redboot/current/src/main.c
> /tmp/ecos/packages/redboot/current/src/main.c: In function 'cyg_start':
> /tmp/ecos/packages/redboot/current/src/main.c:398: error: invalid lvalue
> in assignment
> /tmp/ecos/packages/redboot/current/src/main.c: In function 'do_go':
> /tmp/ecos/packages/redboot/current/src/main.c:598: error: invalid lvalue
> in assignment
> 
> What do I do wrong? I would be glad for any help.....

This is a cache macro in my source tree. You need to look at the macro
and recode the assignmnet so that there is no cast on the left hand
side. More recent versions of gcc are disallowing this, where as older
versions do allow it.

         Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list