make: *** [install-recursive] Error 1

Ehsan Salmanpour salmanpour.ehsan at yahoo.com
Tue Jul 16 17:52:31 UTC 2013


Hi everybody!

According to instructions on 

http://alanstechnotes.blogspot.de/2013/03/compiling-and-installing-rtems-for.html
I built and installed RTEMS for Raspberry Pi on CentOS.
All steps seem to work fine but at the final step when I want to "make install" following errors occurs:

In function 'newlib_create_hook':
../../../../../../rtems-git/c/src/../../cpukit/libcsupport/src/newlibc_reent.c:44:12: error: lvalue required as left operand of assignment
     _REENT = _GLOBAL_REENT;
            ^
../../../../../../rtems-git/c/src/../../cpukit/libcsupport/src/newlibc_reent.c:46:29: error: lvalue required as unary '&' operand
     _Thread_Set_libc_reent (&_REENT);
                             ^
gmake[4]: *** [src/libcsupport_a-newlibc_reent.o] Error 1
gmake[4]: Leaving directory `/home/rtems/development/rtems/build-rtems-rpi/arm-rtems4.11/c/raspberrypi/cpukit/libcsupport'
gmake[3]: *** [install-recursive] Error 1
gmake[3]: Leaving directory `/home/rtems/development/rtems/build-rtems-rpi/arm-rtems4.11/c/raspberrypi/cpukit'
gmake[2]: *** [install-recursive] Error 1
gmake[2]: Leaving directory `/home/rtems/development/rtems/build-rtems-rpi/arm-rtems4.11/c/raspberrypi'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory `/home/rtems/development/rtems/build-rtems-rpi/arm-rtems4.11/c'
make: *** [install-recursive] Error 1
[root at localhost build-rtems-rpi]# make install -> OUTPUT.txt
../../../../../../rtems-git/c/src/../../cpukit/libcsupport/src/newlibc_reent.c: In function 'newlib_create_hook':
../../../../../../rtems-git/c/src/../../cpukit/libcsupport/src/newlibc_reent.c:44:12: error: lvalue required as left operand of assignment
     _REENT = _GLOBAL_REENT;
            ^
../../../../../../rtems-git/c/src/../../cpukit/libcsupport/src/newlibc_reent.c:46:29: error: lvalue required as unary '&' operand
     _Thread_Set_libc_reent (&_REENT);
                             ^
gmake[4]: *** [src/libcsupport_a-newlibc_reent.o] Error 1
gmake[3]: *** [install-recursive] Error 1
gmake[2]: *** [install-recursive] Error 1
gmake[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20130716/32e9842b/attachment.html>


More information about the users mailing list