<div dir="ltr">This probably has to do with the recent updates to RTEMS for SMP support. <div><br></div><div style>It has been weeks since I have updated RTEMS and tried to rebuild, I will have to try it tonight. </div><div style>
<br></div><div style>Alan</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 16, 2013 at 1:52 PM, Ehsan Salmanpour <span dir="ltr"><<a href="mailto:salmanpour.ehsan@yahoo.com" target="_blank">salmanpour.ehsan@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:arial,helvetica,sans-serif"><div>Hi everybody!</div><div><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif">
According to instructions on <br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif"><a href="http://alanstechnotes.blogspot.de/2013/03/compiling-and-installing-rtems-for.html" target="_blank">http://alanstechnotes.blogspot.de/2013/03/compiling-and-installing-rtems-for.html</a></div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif">I built and installed RTEMS for Raspberry Pi on CentOS.</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif">
All steps seem to work fine but at the final step when
I want to "make install" following errors occurs:</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif">
In function 'newlib_create_hook':<br>../../../../../../rtems-git/c/src/../../cpukit/libcsupport/src/newlibc_reent.c:44:12: error: lvalue required as left operand of assignment<br> _REENT = _GLOBAL_REENT;<br> ^<br>
../../../../../../rtems-git/c/src/../../cpukit/libcsupport/src/newlibc_reent.c:46:29: error: lvalue required as unary '&' operand<br> _Thread_Set_libc_reent
(&_REENT);<br> ^<br>gmake[4]: *** [src/libcsupport_a-newlibc_reent.o] Error 1<br>gmake[4]: Leaving directory `/home/rtems/development/rtems/build-rtems-rpi/arm-rtems4.11/c/raspberrypi/cpukit/libcsupport'<br>
gmake[3]: *** [install-recursive] Error 1<br>gmake[3]: Leaving directory `/home/rtems/development/rtems/build-rtems-rpi/arm-rtems4.11/c/raspberrypi/cpukit'<br>gmake[2]: *** [install-recursive] Error 1<br>gmake[2]: Leaving directory `/home/rtems/development/rtems/build-rtems-rpi/arm-rtems4.11/c/raspberrypi'<br>
gmake[1]: *** [install-recursive] Error 1<br>gmake[1]: Leaving directory `/home/rtems/development/rtems/build-rtems-rpi/arm-rtems4.11/c'<br>make: *** [install-recursive] Error 1<br>[root@localhost build-rtems-rpi]# make install ->
OUTPUT.txt<br>../../../../../../rtems-git/c/src/../../cpukit/libcsupport/src/newlibc_reent.c: In function 'newlib_create_hook':<br>../../../../../../rtems-git/c/src/../../cpukit/libcsupport/src/newlibc_reent.c:44:12: error: lvalue required as left operand of assignment<br>
_REENT = _GLOBAL_REENT;<br> ^<br>../../../../../../rtems-git/c/src/../../cpukit/libcsupport/src/newlibc_reent.c:46:29: error: lvalue required as unary '&' operand<br> _Thread_Set_libc_reent (&_REENT);<br>
^<br>gmake[4]: *** [src/libcsupport_a-newlibc_reent.o] Error 1<br>gmake[3]: *** [install-recursive] Error 1<br>gmake[2]: *** [install-recursive] Error 1<br>gmake[1]: *** [install-recursive] Error
1<br>make: *** [install-recursive] Error 1<br><br></div></div></div><br>_______________________________________________<br>
rtems-users mailing list<br>
<a href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a><br>
<a href="http://www.rtems.org/mailman/listinfo/rtems-users" target="_blank">http://www.rtems.org/mailman/listinfo/rtems-users</a><br>
<br></blockquote></div><br></div>