RTEMS 4.0.0 build (Reposted)
Tony Butt
tjb at cea.com.au
Tue Apr 4 23:54:00 UTC 2000
Please excuse what may be an ignorant question, but I have only just joined
this group, and I have a RTEMS build problem that I cannot easily resolve.
Also please excuse the repost, if this question has already been answered, but I
had trouble with my mailing list subscription. If you have already answered, I
have not seen it, so please resend to me (direct if you wish).
I have been trying to install RTEMS 4.0.0 using the following support tools:
Newlib 1.8.2
egcs 1.1.2
binutils 2.9.1, with the RTEMS patch applied.
Configured for an m68k target, genm68302 BSP
I have tried 2 seperate build platforms, A Windows NT4 SR6 PC, using Cygnus
Developers Kit v20, and a HP workstation, using HPUX 10.20.
My problem is that the link step for all of the test programs fails with an
undefined reference to isatty. Both build platforms have the same problem.
Do I need to provide a stub for isatty, should it be in the BSP, or should
newlib be providing this for me?
The output from the build of hello.exe is shown here...
cd hello; gmake all
/usr/local/egcs-1.1.2-binutils-2.9.1-newlib-1.8.2/m68k-rtems/bin/m68k-rtems-gcc
--pipe -m68302 -msoft-float -Wall -ansi -fasm -g -B/usr/local/rtems/tools/build
-m68k-rtems/gen68302/lib/ -specs bsp_specs -qrtems -O4 -fomit-frame-pointer
-o o-gen68302/hello.exe o-gen68302/init.o /usr/local/rtems/tools/build-m68k-r
tems/gen68302/lib/no-dpmem.rel /usr/local/rtems/tools/build-m68k-rtems/gen68302/
lib/no-event.rel /usr/local/rtems/tools/build-m68k-rtems/gen68302/lib/no-msg.rel
/usr/local/rtems/tools/build-m68k-rtems/gen68302/lib/no-mp.rel /usr/local/rtems
/tools/build-m68k-rtems/gen68302/lib/no-part.rel /usr/local/rtems/tools/build-m6
8k-rtems/gen68302/lib/no-signal.rel /usr/local/rtems/tools/build-m68k-rtems/gen6
8302/lib/no-timer.rel /usr/local/rtems/tools/build-m68k-rtems/gen68302/lib/no-rt
mon.rel /usr/local/rtems/tools/build-m68k-rtems/gen68302/lib/libtest.a
/usr/local/egcs-1.1.2-binutils-2.9.1-newlib-1.8.2/m68k-rtems/m68k-rtems/lib/libc
.a(makebuf.o): In function `__smakebuf':
makebuf.c:93: undefined reference to `isatty'
collect2: ld returned 1 exit status
gmake[4]: *** [o-gen68302/hello.exe] Error 1
gmake[4]: Target `all' not remade because of errors.
I've looked at the source code for newlib, and seen that 'isatty' is normally
provided there, but it is not being built for me.
Thanks in advance...
Tony Butt
----------------------------------
E-Mail: tjb at cea.com.au
Date: 03-Apr-00
Time: 08:28:05
Tony Butt Phone (02) 62130195
CEA Technologies
----------------------------------
More information about the users
mailing list