public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Red boot package
@ 2006-05-22 12:32 Marcin Chrusciel
  2006-05-22 12:46 ` Gary Thomas
  2006-05-23  8:07 ` Andrew Lunn
  0 siblings, 2 replies; 5+ messages in thread
From: Marcin Chrusciel @ 2006-05-22 12:32 UTC (permalink / raw)
  To: ecos-discuss


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.....

 
Marcin 

 


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

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

* Re: [ECOS] Red boot package
  2006-05-22 12:32 [ECOS] Red boot package Marcin Chrusciel
@ 2006-05-22 12:46 ` Gary Thomas
  2006-05-23  8:07 ` Andrew Lunn
  1 sibling, 0 replies; 5+ messages in thread
From: Gary Thomas @ 2006-05-22 12:46 UTC (permalink / raw)
  To: Marcin Chrusciel; +Cc: ecos-discuss

On Mon, 2006-05-22 at 14:31 +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.....

What's the target [architecture]?  This problem was discussed a few 
weeks ago and solutions for some architectures are already in CVS.
Look at this thread:
  http://sourceware.org/ml/ecos-discuss/2006-05/msg00102.html

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

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

* Re: [ECOS] Red boot package
  2006-05-22 12:32 [ECOS] Red boot package Marcin Chrusciel
  2006-05-22 12:46 ` Gary Thomas
@ 2006-05-23  8:07 ` Andrew Lunn
  1 sibling, 0 replies; 5+ messages in thread
From: Andrew Lunn @ 2006-05-23  8:07 UTC (permalink / raw)
  To: Marcin Chrusciel; +Cc: ecos-discuss

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

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

* Re: [ECOS] Red boot package
  2006-05-23  9:50 ` Andrew Lunn
@ 2006-05-23 11:54   ` Gary Thomas
  0 siblings, 0 replies; 5+ messages in thread
From: Gary Thomas @ 2006-05-23 11:54 UTC (permalink / raw)
  To: Andrew Lunn; +Cc: Marcin Chrusciel, eCos Disuss

On Tue, 2006-05-23 at 11:50 +0200, Andrew Lunn wrote:
> On Tue, May 23, 2006 at 11:36:01AM +0200, Marcin Chrusciel wrote:
> > Hello again...
> > 
> > I've just applied following parch
> > http://sourceware.org/ml/ecos-discuss/2006-05/msg00102.html 
> > 
> > And idd "lvalue assignment" problem is solved but still I have
> > following:
> > 
> > /tmp/ecos/packages/redboot/current/src/main.c: In function 'cyg_start':
> > /tmp/ecos/packages/redboot/current/src/main.c:301: error:
> > 'workspace_end_init' undeclared (first use in this function)
> > /tmp/ecos/packages/redboot/current/src/main.c:301: error: (Each
> > undeclared identifier is reported only once
> > /tmp/ecos/packages/redboot/current/src/main.c:301: error: for each
> > function it appears in.)
> > 
> > 'workspace_end_init' undeclared???
> 
> This is a problem with the "reliable" fis update from Alex N. It uses a
> variable that does not exit.
> 
> Maybe something was missing in the patch?

No, this variable is properly defined in redboot.h

My guess is that somehow Marcin has touched the files in his build
directory and it didn't get updated properly.  Try 
  % make clean; make

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

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

* Re: [ECOS] Red boot package
       [not found] <4833790BBC8C1748ABE1E781F17425F30953DB@citexchange.cit.be>
@ 2006-05-23  9:50 ` Andrew Lunn
  2006-05-23 11:54   ` Gary Thomas
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Lunn @ 2006-05-23  9:50 UTC (permalink / raw)
  To: Marcin Chrusciel, eCos Disuss; +Cc: Andrew Lunn, Gary Thomas

On Tue, May 23, 2006 at 11:36:01AM +0200, Marcin Chrusciel wrote:
> Hello again...
> 
> I've just applied following parch
> http://sourceware.org/ml/ecos-discuss/2006-05/msg00102.html 
> 
> And idd "lvalue assignment" problem is solved but still I have
> following:
> 
> /tmp/ecos/packages/redboot/current/src/main.c: In function 'cyg_start':
> /tmp/ecos/packages/redboot/current/src/main.c:301: error:
> 'workspace_end_init' undeclared (first use in this function)
> /tmp/ecos/packages/redboot/current/src/main.c:301: error: (Each
> undeclared identifier is reported only once
> /tmp/ecos/packages/redboot/current/src/main.c:301: error: for each
> function it appears in.)
> 
> 'workspace_end_init' undeclared???

This is a problem with the "reliable" fis update from Alex N. It uses a
variable that does not exit.

Maybe something was missing in the patch?

      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

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

end of thread, other threads:[~2006-05-23 11:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-22 12:32 [ECOS] Red boot package Marcin Chrusciel
2006-05-22 12:46 ` Gary Thomas
2006-05-23  8:07 ` Andrew Lunn
     [not found] <4833790BBC8C1748ABE1E781F17425F30953DB@citexchange.cit.be>
2006-05-23  9:50 ` Andrew Lunn
2006-05-23 11:54   ` Gary Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).