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

Alan Cudmore alan.cudmore at gmail.com
Tue Jul 16 18:03:00 UTC 2013


This probably has to do with the recent updates to RTEMS for SMP support.

It has been weeks since I have updated RTEMS and tried to rebuild, I will
have to try it tonight.

Alan



On Tue, Jul 16, 2013 at 1:52 PM, Ehsan Salmanpour <
salmanpour.ehsan at yahoo.com> wrote:

> 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
>
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20130716/9b465719/attachment.html>


More information about the users mailing list