This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Red boot package


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]