<html>
<head>
</head>
<body>
<br>
That has fixed it. Thanks<br>
<br>
<br>
Joel Sherrill wrote:<br>
<blockquote type="cite" cite="mid:3E5D4C2F.CAAC758E@OARcorp.com">
  <pre wrap=""><br>Angelo Fraietta wrote:<br></pre>
  <blockquote type="cite">
    <pre wrap="">Is there anything I can do now?<br></pre>
    </blockquote>
    <pre wrap=""><!----><br>Download the patch attached to PR340 and apply it. :)<br><br>The URL is <a class="moz-txt-link-freetext" href="http://www.oarcorp.com/cgi-bin/gnatsweb.pl">http://www.oarcorp.com/cgi-bin/gnatsweb.pl</a><br>Login as guest with password guest.  If someone knows<br>how to turn that into a URL, it would be handy. :)<br><br></pre>
    <blockquote type="cite">
      <pre wrap="">Joel Sherrill wrote:<br><br></pre>
      <blockquote type="cite">
        <pre wrap="">Till Straumann wrote:<br><br></pre>
        <blockquote type="cite">
          <pre wrap="">I had submitted a fix for this<br>PR#340<br><br></pre>
          </blockquote>
          <pre wrap="">It is merged on both the release branch and trunk so the next<br>tarballs will pick it up.<br>Thanks for the speed Till.<br><br></pre>
          <blockquote type="cite">
            <pre wrap="">HTH<br>-- Till<br>Angelo Fraietta wrote:<br><br></pre>
            <blockquote type="cite">
              <pre wrap="">I am getting the followingh link error when I try to build my exe<br>(the<br>rtems source builds fine)<br>i386-rtems-gcc --pipe -B/opt/rtems/i386-rtems/pc386/lib/ -specs<br>bsp_specs -qrtems   -g -Wall  -O4 -g       -D_E_STL    -I<br>../../../estl<br>-I ../engine -I ../engineinterface -I ../hal_include -I<br>../link_driver<br>-I ../../../threads/source -I ../../../mididriver -I<br>../../../mididriver/hal_rtems       -Wl,-Ttext,0x00100000 -o<br>o-optimize/smart.obj  o-optimize/diags.o o-optimize/rtems_init.o<br>o-optimize/midioutput.o o-optimize/scheduler.o<br>o-optimize/rtems_simulator.o o-optimize/commtasks.o<br>/opt/rtems/i386-rtems/pc386/lib/no-dpmem.rel<br>/opt/rtems/i386-rtems/pc386/lib/no-mp.rel<br>/opt/rtems/i386-rtems/pc386/lib/no-part.rel<br>/opt/rtems/i386-rtems/pc386/lib/no-signal.rel<br>../engine/o-optimize/sm_engine.a<br>../engineinterface/o-optimize/sm_engineinterface.a<br>../engine/o-optimize/sm_engine.a<br>../link_driver/o-optimize/
sm_link_dri<br>ver.a<br>../link_driver/hal_rtems/o-optimize/sm_comm.a<br>../../../threads/source/o-optimize/sm_rtems_active.a<br>../../../threads/source/hal_rtems/o-optimize/sm_rtems_thread.a<br>../../../mididriver/hal_rtems/o-optimize/rtems_midi.a -lstdc++ -v<br>Reading specs from /opt/rtems/lib/gcc-lib/i386-rtems/3.2.1/specs<br>Reading specs from /opt/rtems/i386-rtems/pc386/lib/bsp_specs<br>rename spec cpp to old_cpp<br>rename spec lib to old_lib<br>rename spec endfile to old_endfile<br>rename spec startfile to old_startfile<br>rename spec link to old_link<br>Configured with: ../gcc/configure --target=i386-rtems<br>--prefix=/opt/rtems --with-gnu-as --with-gnu-ld --with-newlib<br>--verbose<br>--with-system-zlib --disable-nls<br>--enable-version-specific-runtime-libs<br>--enable-threads=rtems --enable-languages=c,c++<br>: (reconfigured) ../gcc/configure --target=i386-rtems<br>--prefix=/opt/rtems --with-gnu-as --with-gnu-ld --with-newlib<br>--verbose<br>--with-system-zlib --di
sable-nls --enable-versi<br>on-specific-runtime-libs<br>--enable-threads=rtems --enable-languages=c,c++<br>Thread model: rtems<br>gcc version 3.2.1<br>/opt/rtems/lib/gcc-lib/i386-rtems/3.2.1/collect2 -dc -dp -N -e<br>start -o<br>o-optimize/smart.obj /opt/rtems/i386-rtems/pc386/lib/start.o<br>/opt/rtems/lib/gcc-lib/i386-rtems/3.2.1/crti.o<br>/opt/rtems/lib/gcc-lib/i386-rtems/3.2.1/crtbegin.o<br>-L/opt/rtems/i386-rtems/pc386/lib<br>-L/opt/rtems/lib/gcc-lib/i386-rtems/3.2.1<br>-L/opt/rtems/lib/gcc-lib/i386-rtems/3.2.1/../../../../i386-rtems/lib<br>-Ttext 0x00100000 o-optimize/diags.o o-optimize/rtems_init.o<br>o-optimize/midioutput.o o-optimize/scheduler.o<br>o-optimize/rtems_simulator.o o-optimize/commtasks.o<br>/opt/rtems/i386-rtems/pc386/lib/no-dpmem.rel<br>/opt/rtems/i386-rtems/pc386/lib/no-mp.rel<br>/opt/rtems/i386-rtems/pc386/lib/no-part.rel<br>/opt/rtems/i386-rtems/pc386/lib/no-signal.rel<br>../engine/o-optimize/sm_engine.a<br>../engineinterface/o-optimize/sm_engineinterf
ace.a<br>../engine/o-optimize/s<br>m_engine.a<br>../link_driver/o-optimize/sm_link_driver.a<br>../link_driver/hal_rtems/o-optimize/sm_comm.a<br>../../../threads/source/o-optimize/sm_rtems_active.a<br>../../../threads/source/hal_rtems/o-optimize/sm_rtems_thread.a<br>../../../mididriver/hal_rtems/o-optimize/rtems_midi.a -lstdc++<br>-lgcc<br>--start-group -lrtemsbsp -lrtemscpu -lc -lgcc --end-group -T<br>/opt/rtems/i386-rtems/pc386/lib/linkcmds -lgcc<br>/opt/rtems/lib/gcc-lib/i386-rtems/3.2.1/crtend.o<br>/opt/rtems/lib/gcc-lib/i386-rtems/3.2.1/crtn.o<br>/opt/rtems/lib/gcc-lib/i386-rtems/3.2.1/../../../../i386-rtems/lib/libc.a(fdopen.o):<br>In function `_fdopen_r':<br>/opt/rtems/tools/build/i386-rtems/newlib/libc/stdio/../../../../../gcc/newlib/libc/stdio/fdopen.c:67:<br>undefined reference to `_fcntl_r'<br>collect2: ld returned 1 exit status<br>make: *** [o-optimize/smart.exe] Error 1<br>[angelo-Fraiettas-Computer:controller/source/hal_rtems_pc386]<br>angelofraietta%<br>This als
o happend with the pc386dx build a<br>s well as the pc386 build<br><br></pre>
              </blockquote>
              </blockquote>
              </blockquote>
              <pre wrap="">--<br>Angelo Fraietta<br><br>PO Box 859<br>Hamilton NSW 2303<br><br>Home Page<br><br><a class="moz-txt-link-freetext" href="http://www.users.bigpond.com/angelo_f/">http://www.users.bigpond.com/angelo_f/</a><br><br>There are those who seek knowledge for the sake of knowledge - that is CURIOSITY<br>There are those who seek knowledge to be known by others - that is VANITY<br>There are those who seek knowledge in order to serve - that is LOVE<br>    Bernard of Clairvaux (1090 - 1153)<br></pre>
              </blockquote>
              <pre wrap=""><!----><br></pre>
              </blockquote>
              <br>
              <pre class="moz-signature" cols="$mailwrapcol">-- 
Angelo Fraietta

PO Box 859
Hamilton NSW 2303

Home Page


<a class="moz-txt-link-freetext" href="http://www.users.bigpond.com/angelo_f/">http://www.users.bigpond.com/angelo_f/</a>

There are those who seek knowledge for the sake of knowledge - that is CURIOSITY
There are those who seek knowledge to be known by others - that is VANITY
There are those who seek knowledge in order to serve - that is LOVE
    Bernard of Clairvaux (1090 - 1153)</pre>
              <br>
              </body>
              </html>