help for first installation of rtems

Paul Evans paule at martexdesign.com
Sun Jan 22 07:19:57 UTC 2006


Hi,

I seem to recall hearing that later versions of gcc behave differently when
assigning to lvalues that require evaluation (A C99 compliance issue). What
version of gcc are you using? Is it the same as the one 4.6.5 was validated
on?

Just a thought..


hth,

	-Paul


-----Original Message-----
From: Matteo [mailto:matteo.posterli at studenti.unipr.it] 
Sent: Saturday, January 21, 2006 12:49 PM
To: rtems-users at rtems.com
Subject: help for first installation of rtems



Hi
I have intel centrno and linux ubuntu and I would like install RTEMS.
I download rtems-4.6.5.tar.bz2 and I uncompressed and untar in
/myhome/rtems/rtems-src/      sun after I do 
/myhome/rtems/rtems-b/../rtems-src/configure
and all ok at the end of configuration a message said to me to do make all
to
build for posix and I do it
/myhome/rtems/rtems-b/make all 
but I had a problem like the follow;

...
Making all in rtems
make[4]: Entering directory
`/home/matteo/projects/rtems/rtems-b/c/posix/exec/rtems'
gcc --pipe -DHAVE_CONFIG_H   -isystem ../../../../posix/lib/include
-D__RTEMS_INSIDE__     -D_BSD_SOURCE  -O2 -g -Wall -ansi -fasm  -o
o-optimize/eventsurrender.o -c
../../../../../rtems-src/c/src/../../cpukit/rtems/src/eventsurrender.c
../../../../../rtems-src/c/src/../../cpukit/rtems/src/eventsurrender.c: In
function '_Event_Surrender':
../../../../../rtems-src/c/src/../../cpukit/rtems/src/eventsurrender.c:67:
error: invalid lvalue in assignment
../../../../../rtems-src/c/src/../../cpukit/rtems/src/eventsurrender.c:99:
error: invalid lvalue in assignment
make[4]: *** [o-optimize/eventsurrender.o] Error 1
make[4]: Leaving directory
`/home/matteo/projects/rtems/rtems-b/c/posix/exec/rtems'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/matteo/projects/rtems/rtems-b/c/posix/exec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/matteo/projects/rtems/rtems-b/c/posix'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/matteo/projects/rtems/rtems-b/c'
make: *** [all-recursive] Error 1
matteo at matteo:~/projects/rtems/rtems-b$

what I can do now?
someone can help me?

Thanks in advantage.

Matteo Posterli





More information about the users mailing list