<div dir="ltr">Hi, have you tried to run ./bootstrap in the source code folder?</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 16, 2015 at 9:57 AM, Francois ARSENAULT <span dir="ltr"><<a href="mailto:Francois.Arsenault@mdacorporation.com" target="_blank">Francois.Arsenault@mdacorporation.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-CA" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal">I am new to RTEMS and I want to build a RTEMS application for the sparc/leon3 BSP.<u></u><u></u></p>
<p class="MsoNormal">For start, I just want to compile/build RTEMS as is without any modification.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have the following issue: when executed, the “configure” script generates this error:<u></u><u></u></p>
<p class="MsoNormal">../../configure --target=sparc-rtems --prefix=/cygdrive/c/COLKa/src/rtems-4.10.2<u></u><u></u></p>
<p class="MsoNormal">../../configure: line 1779: syntax error near unexpected token `.'<u></u><u></u></p>
<p class="MsoNormal">../../configure: line 1779: `RTEMS_TOP(.)'<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Here are the details of the host/target and build commands<u></u><u></u></p>
<p class="MsoNormal">1) The host is Windows7/Cygwin-32bits<u></u><u></u></p>
<p class="MsoNormal">2) The RTEMS version is rtems-4.10.2.tar.bz2 (downloaded from
<a href="http://git.rtems.org/rtems/" target="_blank">http://git.rtems.org/rtems/</a>)<u></u><u></u></p>
<p class="MsoNormal">3) Build commands:<u></u><u></u></p>
<p class="MsoNormal">tar xjvf rtems-4.10.2.tar.bz2<u></u><u></u></p>
<p class="MsoNormal">cd rtems-4.10.2<u></u><u></u></p>
<p class="MsoNormal">ln -s /bin/gcc.exe /bin/cc.exe<u></u><u></u></p>
<p class="MsoNormal">export PATH=/cygdrive/c/opt/sparc-elf-4.4.2-mingw/bin:/cygdrive/c/opt/rtems-4.10-mingw/bin:${PATH}<u></u><u></u></p>
<p class="MsoNormal">aclocal-1.11<u></u><u></u></p>
<p class="MsoNormal">autoscan-2.69<u></u><u></u></p>
<p class="MsoNormal">autoconf-2.69 <u></u><u></u></p>
<p class="MsoNormal">automake-1.11 --add-missing<u></u><u></u></p>
<p class="MsoNormal">cd tools/build<u></u><u></u></p>
<p class="MsoNormal">../../configure -target=sparc-rtems -prefix=/cygdrive/c/COLKa/src/rtems-4.10.2<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">THIS COMMAND GENERATES THE FOLLOWING ERRORS:<u></u><u></u></p>
<p class="MsoNormal">../../configure: line 1779: syntax error near unexpected token `.'<u></u><u></u></p>
<p class="MsoNormal">../../configure: line 1779: `RTEMS_TOP(.)'<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">It seems that “RTEMS_TOP” is not defined.<u></u><u></u></p>
<p class="MsoNormal">I have also tried a RTEMS Gaisler distribution (rtems-4.8-1.1.2-src.tar.bz2) using  a Linux/Ubuntu host and I have the same error.<u></u><u></u></p>
<p class="MsoNormal">I have also try different autoconf and automake versions and I have the same error.<u></u><u></u></p>
<p class="MsoNormal">How can I fix this issue?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal">Francois Arsenault<u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Cambria","serif"">Software Engineer</span><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

<br>_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><span><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:16px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">______________________________</span></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><a href="http://www.tallertechnologies.com" target="_blank"><img src="http://www.tallertechnologies.com/templates/tallertechnologies/images/signature.png" width="200" height="78"></a></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><b style="font-weight:normal"><br><span style="font-size:16px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"></span></b></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><font face="verdana, sans-serif" size="4">Marcos Díaz</font></span></p><p dir="ltr" style="margin-top:0pt;margin-bottom:0pt"><font color="#000000" face="verdana, sans-serif"><span style="line-height:17px;white-space:pre-wrap">Software Engineer</span></font></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><b style="font-weight:normal"><br><span style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"></span></b></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><font face="arial, helvetica, sans-serif" size="1">San Lorenzo 47, 3rd Floor, Office 5</font></span></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><font face="arial, helvetica, sans-serif" size="1">Córdoba, Argentina </font></span></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><b style="font-weight:normal"><font face="arial, helvetica, sans-serif" size="1"><br><span style="color:rgb(0,0,0);background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"></span></font></b></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><font face="arial, helvetica, sans-serif" size="1"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:bold;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Phone:</span><span style="color:rgb(0,0,0);background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"> +54 351 4217888 / +54 351 4218211/ </span><span style="color:rgb(0,0,0);line-height:12px;white-space:pre-wrap">+54 351 7617452</span></font></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><font face="arial, helvetica, sans-serif" size="1"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:bold;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Skype:</span><span style="color:rgb(0,0,0);background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"> markdiaz22</span></font></p><div><span style="font-size:11px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span></div></span></div></div>
</div>