<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I did not see that error, but I did my initial WSL install in the summer and have done occasional package updates. <div class="">My sparc RTEMS kernel build completed as well, and 3+ hours sounds right for a toolchain build ( my PC has an AMD 6300 CPU ) </div><div class=""><br class=""></div><div class="">I’m not sure how hard it is to build a Mingw32 based toolchain these days, but that should be much faster. I’m pretty sure a Linux VM on windows is much faster as well.  </div><div class=""><br class=""></div><div class="">Alan</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 24, 2017, at 8:14 PM, Karim, Hassan <<a href="mailto:hassan.karim@bison.howard.edu" class="">hassan.karim@bison.howard.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Thanks Alan. So that confirms... it is very slow. Would you say it took the full day to do all of the compiling. Mine is taking 3-5 hrs each time I have to restart (because of missing packages).<div class=""><br class=""></div><div class="">From the list that you presented, I was missing ncurses-dev python-dev zlib1g-dev. I forgot that I had only installed zlib1g-dev on another machine. On that machine I was missing python and ncurses too. </div><div class=""><br class=""></div><div class="">But apt-get complained about the python-dev not being certifiable. Is the following message normal or has it been compromised?</div><div class=""><div class=""><font face="monospace, monospace" style="background-color:rgb(204,204,204)" class="">WARNING: The following packages cannot be authenticated!</font></div><div class=""><font face="monospace, monospace" style="background-color:rgb(204,204,204)" class="">  flex libfl-dev python2.7 libpython2.7 libpython2.7-stdlib python2.7-minimal</font></div><div class=""><font face="monospace, monospace" style="background-color:rgb(204,204,204)" class="">  libpython2.7-minimal libexpat1-dev libpython2.7-dev python2.7-dev</font></div></div><div class=""><br class=""></div></div><div class="gmail_extra"><br clear="all" class=""><div class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div style="font-size:small" class=""><font style="background-color:rgb(255,255,255)" color="#073763" class="">Regards,</font></div><div style="font-size:small" class=""><font style="background-color:rgb(255,255,255)" color="#073763" class=""><br class=""></font></div><div style="font-size:small" class=""><b class=""><font style="background-color:rgb(255,255,255)" color="#073763" class="">Hassan Karim, CISSP</font></b></div><span style="font-size:small;background-color:rgb(255,255,255)" class=""><font color="#073763" class=""><a href="https://www.linkedin.com/in/hassankarimcissp" target="_blank" class="">https://www.linkedin.com/in/hassankarimcissp</a> </font></span><div style="font-size:small" class=""><font style="background-color:rgb(255,255,255)" color="#073763" class="">Comp Sci Ph.D. Student</font></div><div style="font-size:small" class=""><font style="background-color:rgb(255,255,255)" color="#073763" class="">Howard University</font></div><div style="font-size:small" class=""><font style="background-color:rgb(255,255,255)" color="#073763" class="">(202) 569-1012</font></div></div></div></div></div></div>
<br class=""><div class="gmail_quote">On Tue, Jan 24, 2017 at 7:55 PM, Alan Cudmore <span dir="ltr" class=""><<a href="mailto:alan.cudmore@gmail.com" target="_blank" class="">alan.cudmore@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">I was able to build both toolchains ( sparc and arm ) , compile RTEMS for arm/raspberrypi, and build an application with a waf makefile. Except for being very slow, it seems very compatible with Ubuntu. <div class=""><br class=""></div><div class="">If you build RTEMS with the test suite, you will also need to install pax ( sudo apt-get install pax ). </div><span class="HOEnZb"><font color="#888888" class=""><div class=""><br class=""></div><div class="">Alan</div></font></span><div class=""><div class="h5"><div class=""><br class=""></div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Jan 24, 2017, at 7:22 PM, Karim, Hassan <<a href="mailto:hassan.karim@bison.howard.edu" target="_blank" class="">hassan.karim@bison.howard.edu</a><wbr class="">> wrote:</div><br class="m_-4260534601242210665Apple-interchange-newline"><div class=""><div dir="auto" class="">Ok. Thanks. I will retry<br class=""><br class=""><div data-smartmail="gmail_signature" class="">Regards,<br class="">Hassan Karim, CISSP<br class="">Ph.D. Student<br class="">Computer Science<br class="">Howard University<br class=""><a href="tel:(202)%20569-1012" value="+12025691012" target="_blank" class="">+1202-569-1012</a></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Jan 24, 2017 5:53 PM, "Alan Cudmore" <<a href="mailto:alan.cudmore@gmail.com" target="_blank" class="">alan.cudmore@gmail.com</a>> wrote:<br type="attribution" class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">So far I have built the arm-rtems4.12 tools on WSL. It’s working on sparc-rtems4.12 now. <div class="">Seems OK so far. </div><div class=""><br class=""></div><div class="">Alan</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class=""><blockquote type="cite" class=""><div class="">On Jan 24, 2017, at 5:34 PM, Karim, Hassan <<a href="mailto:hassan.karim@bison.howard.edu" target="_blank" class="">hassan.karim@bison.howard.edu</a><wbr class="">> wrote:</div><br class="m_-4260534601242210665m_-5149495447400448278Apple-interchange-newline"><div class=""><div dir="auto" class="">Those are the same packages I installed on one computer. I will confirm on the other.<br class=""><br class=""><div data-smartmail="gmail_signature" class="">Regards,<br class="">Hassan Karim, CISSP<br class="">Ph.D. Student<br class="">Computer Science<br class="">Howard University<br class=""><a href="tel:(202)%20569-1012" value="+12025691012" target="_blank" class="">+1202-569-1012</a></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Jan 24, 2017 11:09 AM, "Alan Cudmore" <<a href="mailto:alan.cudmore@gmail.com" target="_blank" class="">alan.cudmore@gmail.com</a>> wrote:<br type="attribution" class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Hi,<div class="">By WLS, do you mean the Windows Subsystem for Linux?</div><div class="">I was able to build a toolchain when it was first released. </div><div class="">I submitted this RSB doc patch, but I don’t know if it made it in:</div><div class=""><a href="https://lists.rtems.org/pipermail/devel/2016-August/015866.html" target="_blank" class="">https://lists.rtems.org/piperm<wbr class="">ail/devel/2016-August/015866.h<wbr class="">tml</a></div><div class=""><br class=""></div><div class="">As to how to resolve it, there should be a log file with a more specific error. From what I know, you do have to restart the build process. </div><div class="">I found that I had to install a few more packages than a standard Ubuntu install to get the toolchain to build. </div><div class=""><br class=""></div><div class="">Here is what I had to install:</div><div class=""><pre style="white-space:pre-wrap;background-color:rgb(255,255,255)" class="">$ sudo apt-get install autoconf automake bison flex binutils gcc \
+g++ gdb texinfo unzip ncurses-dev python-dev git zlib1g-dev make</pre><div class=""><br class=""></div></div><div class="">I’m going to try this again, to make sure I can still build my sparc and ARM tools. </div><div class=""><br class=""></div><div class="">Alan</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class=""><blockquote type="cite" class=""><div class="">On Jan 24, 2017, at 10:44 AM, Karim, Hassan <<a href="mailto:hassan.karim@bison.howard.edu" target="_blank" class="">hassan.karim@bison.howard.edu</a><wbr class="">> wrote:</div><br class="m_-4260534601242210665m_-5149495447400448278m_4690907375876891179Apple-interchange-newline"><div class=""><div dir="ltr" class="">Gurus:<div class="">I am trying to build RTEMS tool set on Ubuntu for WLS. Making progress. but then after several hours, build failed. I got the errors below. ANy idea how to resolve and better yet, how to not spend another 5 hrs getting to the point where the next issue pops up. In other words, do I have start from ground 0 everytime I encounter a bug?</div><div class=""><br class=""></div><div class=""><span style="font-family:monospace,monospace" class=""><br class=""></span></div><div class=""><span style="font-family:monospace,monospace" class="">make[2]: *** [lto-compress.o] Error 1</span></div><div class=""><div class=""><font face="monospace, monospace" class="">make[2]: *** Waiting for unfinished jobs....</font></div><div class=""><font face="monospace, monospace" class="">rm gcc.pod</font></div><div class=""><font face="monospace, monospace" class="">make[2]: Leaving directory `/home/drhass/RTEMS/src/rtems-<wbr class="">source-builder/rtems/build/spa<wbr class="">rc-rtems4.12-gcc-6.3.0-newlib-<wbr class="">2.5.0-x86_64-linux-gnu-1/build<wbr class="">/gcc'</font></div><div class=""><font face="monospace, monospace" class="">make[1]: *** [all-gcc] Error 2</font></div><div class=""><font face="monospace, monospace" class="">make[1]: Leaving directory `/home/drhass/RTEMS/src/rtems-<wbr class="">source-builder/rtems/build/spa<wbr class="">rc-rtems4.12-gcc-6.3.0-newlib-<wbr class="">2.5.0-x86_64-linux-gnu-1/build<wbr class="">'</font></div><div class=""><font face="monospace, monospace" class="">make: *** [all] Error 2</font></div><div class=""><font face="monospace, monospace" class="">shell cmd failed: /bin/sh -ex  /home/drhass/RTEMS/src/rtems-<wbr class="">source-builder/rtems/build/spa<wbr class="">rc-rtems4.12-gcc-6.3.0-newlib-<wbr class="">2.5.0-x86_64-linux-gnu-1/doit</font></div><div class=""><font face="monospace, monospace" class="">error: building sparc-rtems4.12-gcc-6.3.0-newl<wbr class="">ib-2.5.0-x86_64-linux-gnu-1</font></div></div><div class=""><br clear="all" class=""><div class=""><div class="m_-4260534601242210665m_-5149495447400448278m_4690907375876891179gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div style="font-size:small" class=""><font style="background-color:rgb(255,255,255)" color="#073763" class="">Regards,</font></div><div style="font-size:small" class=""><font style="background-color:rgb(255,255,255)" color="#073763" class=""><br class=""></font></div><div style="font-size:small" class=""><b class=""><font style="background-color:rgb(255,255,255)" color="#073763" class="">Hassan Karim, CISSP</font></b></div><span style="font-size:small;background-color:rgb(255,255,255)" class=""><font color="#073763" class=""><a href="https://www.linkedin.com/in/hassankarimcissp" target="_blank" class="">https://www.linkedin.com/in/ha<wbr class="">ssankarimcissp</a> </font></span><div style="font-size:small" class=""><font style="background-color:rgb(255,255,255)" color="#073763" class="">Comp Sci Ph.D. Student</font></div><div style="font-size:small" class=""><font style="background-color:rgb(255,255,255)" color="#073763" class="">Howard University</font></div><div style="font-size:small" class=""><font style="background-color:rgb(255,255,255)" color="#073763" class=""><a href="tel:(202)%20569-1012" value="+12025691012" target="_blank" class="">(202) 569-1012</a></font></div></div></div></div></div></div>
</div></div>
______________________________<wbr class="">_________________<br class="">users mailing list<br class=""><a href="mailto:users@rtems.org" target="_blank" class="">users@rtems.org</a><br class=""><a href="http://lists.rtems.org/mailman/listinfo/users" target="_blank" class="">http://lists.rtems.org/mailman<wbr class="">/listinfo/users</a></div></blockquote></div><br class=""></div></div></blockquote></div></div>
</div></blockquote></div><br class=""></div></div></blockquote></div></div>
</div></blockquote></div><br class=""></div></div></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></body></html>