<html>
<head>
</head>
<body>
Is there anything I can do now?<br>
<br>
Joel Sherrill wrote:<br>
<blockquote type="cite" cite="mid:3E5D3F55.53651F4A@OARcorp.com">
<pre wrap=""><br>Till Straumann wrote:<br></pre>
<blockquote type="cite">
<pre wrap="">I had submitted a fix for this<br><br>PR#340<br></pre>
</blockquote>
<pre wrap=""><!----><br>It is merged on both the release branch and trunk so the next <br>tarballs will pick it up.<br><br>Thanks for the speed Till. <br><br></pre>
<blockquote type="cite">
<pre wrap="">HTH<br><br>-- Till<br><br>Angelo Fraietta wrote:<br></pre>
<blockquote type="cite">
<pre wrap="">I am getting the followingh link error when I try to build my exe (the<br>rtems source builds fine)<br><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 ../../../estl<br>-I ../engine -I ../engineinterface -I ../hal_include -I ../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
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 --verbose<br>--with-system-zlib --disable-nls --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 --verbose<br>--with-system-zlib --disable-nls --enable-versi
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 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_engineinterface.a<br>../engine/o-optimize/s
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++ -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><br>This also happend with the pc386dx build a
s well as the pc386 build<br><br></pre>
</blockquote>
</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>