problem to install rtems

Ralf Corsepius ralf.corsepius at rtems.org
Mon Jan 30 04:38:11 UTC 2006


On Sun, 2006-01-29 at 19:58 +0100, Matteo wrote:
> 
> Hi
>  
> I have install gcc-2.16.1,
                ^^^^^^^^^^^
You probably haven't installed this version ;)

>  binutils-2.16.1 and newlib-1.13.0 with the patch
> newlib-1.13.0-rtems-20050810.diff and binutils-2.16.1-rtems-20050816.diff.
> I have configured rtems with;
> /usr/local/rtems/source/b-rtems# ../rtems-4.7/configure --target=i386-rtems4.7
> --prefix=/usr/local/rtems/rtems4.7 --enable-cxx --enable-rdbg --disable-tests
> --enable-networking --enable-posix --enable-rtemsbsp=pc386 
> 
> and all ok, after I try to do ; 
> 
> root at matteo:/usr/local/rtems/source/b-rtems# make all
> 
> and I have an error like the following;
> 
> i386-rtems4.7-gcc --pipe -DHAVE_CONFIG_H   -isystem
> ../../../../pc386/lib/include -D__RTEMS_INSIDE__       -O4 -g -Wall -ansi -fasm
>  -o o-optimize/event.o -c
> ../../../../../../rtems-4.7/c/src/../../cpukit/rtems/src/event.c
> i386-rtems4.7-gcc --pipe -DHAVE_CONFIG_H   -isystem
> ../../../../pc386/lib/include -D__RTEMS_INSIDE__       -O4 -g -Wall -ansi -fasm
>  -o o-optimize/eventreceive.o -c
> ../../../../../../rtems-4.7/c/src/../../cpukit/rtems/src/eventreceive.c
> i386-rtems4.7-gcc --pipe -DHAVE_CONFIG_H   -isystem
> ../../../../pc386/lib/include -D__RTEMS_INSIDE__       -O4 -g -Wall -ansi -fasm
>  -o o-optimize/eventseize.o -c
> ../../../../../../rtems-4.7/c/src/../../cpukit/rtems/src/eventseize.c
> i386-rtems4.7-gcc --pipe -DHAVE_CONFIG_H   -isystem
> ../../../../pc386/lib/include -D__RTEMS_INSIDE__       -O4 -g -Wall -ansi -fasm
>  -o o-optimize/eventsend.o -c
> ../../../../../../rtems-4.7/c/src/../../cpukit/rtems/src/eventsend.c
> i386-rtems4.7-gcc --pipe -DHAVE_CONFIG_H   -isystem
> ../../../../pc386/lib/include -D__RTEMS_INSIDE__       -O4 -g -Wall -ansi -fasm
>  -o o-optimize/eventsurrender.o -c
> ../../../../../../rtems-4.7/c/src/../../cpukit/rtems/src/eventsurrender.c
> ../../../../../../rtems-4.7/c/src/../../cpukit/rtems/src/eventsurrender.c: In
> function '_Event_Surrender':
> ../../../../../../rtems-4.7/c/src/../../cpukit/rtems/src/eventsurrender.c:67:
> error: invalid lvalue in assignment
> ../../../../../../rtems-4.7/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
> `/usr/local/rtems/source/b-rtems/i386-rtems4.7/c/pc386/exec/rtems'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/usr/local/rtems/source/b-rtems/i386-rtems4.7/c/pc386/exec'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/rtems/source/b-rtems/i386-rtems4.7/c/pc386'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/rtems/source/b-rtems/i386-rtems4.7/c'
> make: *** [all-recursive] Error 1
> 
> I don't know why I have this problem, someone can help me ? 
> thanks in advance
Your gcc is too new for the version of RTEMS you are building.

I guess you are building rtems-4.6.x with gcc-4.0.x. RTEMS-4.6.x isn't
ready for gcc-4.x

Ralf





More information about the users mailing list