This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Red boot package
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Marcin Chrusciel <Marcin dot chrusciel at cit dot be>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 23 May 2006 10:07:04 +0200
- Subject: Re: [ECOS] Red boot package
- References: <4833790BBC8C1748ABE1E781F17425F30953CA@citexchange.cit.be>
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