Snapshot 20030128 broke my buildt
Angelo Fraietta
angelo_f at bigpond.com
Wed Feb 26 21:46:04 UTC 2003
I am getting the followingh link error when I try to build my exe (the
rtems source builds fine)
i386-rtems-gcc --pipe -B/opt/rtems/i386-rtems/pc386/lib/ -specs
bsp_specs -qrtems -g -Wall -O4 -g -D_E_STL -I ../../../estl
-I ../engine -I ../engineinterface -I ../hal_include -I ../link_driver
-I ../../../threads/source -I ../../../mididriver -I
../../../mididriver/hal_rtems -Wl,-Ttext,0x00100000 -o
o-optimize/smart.obj o-optimize/diags.o o-optimize/rtems_init.o
o-optimize/midioutput.o o-optimize/scheduler.o
o-optimize/rtems_simulator.o o-optimize/commtasks.o
/opt/rtems/i386-rtems/pc386/lib/no-dpmem.rel
/opt/rtems/i386-rtems/pc386/lib/no-mp.rel
/opt/rtems/i386-rtems/pc386/lib/no-part.rel
/opt/rtems/i386-rtems/pc386/lib/no-signal.rel
../engine/o-optimize/sm_engine.a
../engineinterface/o-optimize/sm_engineinterface.a
../engine/o-optimize/sm_engine.a
../link_driver/o-optimize/sm_link_driver.a
../link_driver/hal_rtems/o-optimize/sm_comm.a
../../../threads/source/o-optimize/sm_rtems_active.a
../../../threads/source/hal_rtems/o-optimize/sm_rtems_thread.a
../../../mididriver/hal_rtems/o-optimize/rtems_midi.a -lstdc++ -v
Reading specs from /opt/rtems/lib/gcc-lib/i386-rtems/3.2.1/specs
Reading specs from /opt/rtems/i386-rtems/pc386/lib/bsp_specs
rename spec cpp to old_cpp
rename spec lib to old_lib
rename spec endfile to old_endfile
rename spec startfile to old_startfile
rename spec link to old_link
Configured with: ../gcc/configure --target=i386-rtems
--prefix=/opt/rtems --with-gnu-as --with-gnu-ld --with-newlib --verbose
--with-system-zlib --disable-nls --enable-version-specific-runtime-libs
--enable-threads=rtems --enable-languages=c,c++
: (reconfigured) ../gcc/configure --target=i386-rtems
--prefix=/opt/rtems --with-gnu-as --with-gnu-ld --with-newlib --verbose
--with-system-zlib --disable-nls --enable-version-specific-runtime-libs
--enable-threads=rtems --enable-languages=c,c++
Thread model: rtems
gcc version 3.2.1
/opt/rtems/lib/gcc-lib/i386-rtems/3.2.1/collect2 -dc -dp -N -e start -o
o-optimize/smart.obj /opt/rtems/i386-rtems/pc386/lib/start.o
/opt/rtems/lib/gcc-lib/i386-rtems/3.2.1/crti.o
/opt/rtems/lib/gcc-lib/i386-rtems/3.2.1/crtbegin.o
-L/opt/rtems/i386-rtems/pc386/lib
-L/opt/rtems/lib/gcc-lib/i386-rtems/3.2.1
-L/opt/rtems/lib/gcc-lib/i386-rtems/3.2.1/../../../../i386-rtems/lib
-Ttext 0x00100000 o-optimize/diags.o o-optimize/rtems_init.o
o-optimize/midioutput.o o-optimize/scheduler.o
o-optimize/rtems_simulator.o o-optimize/commtasks.o
/opt/rtems/i386-rtems/pc386/lib/no-dpmem.rel
/opt/rtems/i386-rtems/pc386/lib/no-mp.rel
/opt/rtems/i386-rtems/pc386/lib/no-part.rel
/opt/rtems/i386-rtems/pc386/lib/no-signal.rel
../engine/o-optimize/sm_engine.a
../engineinterface/o-optimize/sm_engineinterface.a
../engine/o-optimize/sm_engine.a
../link_driver/o-optimize/sm_link_driver.a
../link_driver/hal_rtems/o-optimize/sm_comm.a
../../../threads/source/o-optimize/sm_rtems_active.a
../../../threads/source/hal_rtems/o-optimize/sm_rtems_thread.a
../../../mididriver/hal_rtems/o-optimize/rtems_midi.a -lstdc++ -lgcc
--start-group -lrtemsbsp -lrtemscpu -lc -lgcc --end-group -T
/opt/rtems/i386-rtems/pc386/lib/linkcmds -lgcc
/opt/rtems/lib/gcc-lib/i386-rtems/3.2.1/crtend.o
/opt/rtems/lib/gcc-lib/i386-rtems/3.2.1/crtn.o
/opt/rtems/lib/gcc-lib/i386-rtems/3.2.1/../../../../i386-rtems/lib/libc.a(fdopen.o):
In function `_fdopen_r':
/opt/rtems/tools/build/i386-rtems/newlib/libc/stdio/../../../../../gcc/newlib/libc/stdio/fdopen.c:67:
undefined reference to `_fcntl_r'
collect2: ld returned 1 exit status
make: *** [o-optimize/smart.exe] Error 1
[angelo-Fraiettas-Computer:controller/source/hal_rtems_pc386]
angelofraietta%
This also happend with the pc386dx build as well as the pc386 build
--
Angelo Fraietta
PO Box 859
Hamilton NSW 2303
Home Page
http://www.users.bigpond.com/angelo_f/
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)
More information about the users
mailing list