netkit-telnet compile error



Hello,

I am trying to compile telnet and I have gotten the source code
(netkit-telnet-0.17.orig.tar.gz ) from http://www.debian.org.

But the problem is, as you see the below, make produces error messages
and
stop. My environment is RedHat 8.0 3.2-7 and gcc 3.2.

Any help will be greately appreciated.

Thank you.

onionsjk@xxxxxxxxx

[[[ messages from make ]]]
--------------------------------------------------


make[1]: entering `/airhost/src/netkit-telnet-0.17/telnet' directory
g++ -O2 -fno-rtti -fno-exceptions -Wall -W -Wpointer-arith
-Wbad-function-cast -
Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnes
ted-externs -Winline -DUSE_TERMIO -DKLUDGELINEMODE commands.cc -c
cc1plus: warning: ignoring command line option '-Wbad-function-cast'
cc1plus: warning: ignoring command line option '-Wmissing-declarations'
cc1plus: warning: ignoring command line option '-Wnested-externs'
commands.cc:91:15: warning: extra tokens at end of #endif directive
g++ -O2 -fno-rtti -fno-exceptions -Wall -W -Wpointer-arith
-Wbad-function-cast -
Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnes
ted-externs -Winline -DUSE_TERMIO -DKLUDGELINEMODE main.cc -c
cc1plus: warning: ignoring command line option '-Wbad-function-cast'
cc1plus: warning: ignoring command line option '-Wmissing-declarations'
cc1plus: warning: ignoring command line option '-Wnested-externs'
main.cc: In function `void usage()':
main.cc:92: `exit' undeclared (first use this function)
main.cc:92: (Each undeclared identifier is reported only once for each
function
it appears in.)
make[1]: *** [main.o] error 1
make[1]: exiting `/airhost/src/netkit-telnet-0.17/telnet' directory
make: *** [telnet.build] error 2

.



Relevant Pages

  • netkit-telnet compile fail. `exit undeclared in main.cc ?
    ... I have posted this to comp.os.linux.networking but have no follow-up. ... So I am posting it again to comp.os.linux.misc. ... I am trying to compile telnet and I have gotten the source code ... main.cc:92: (Each undeclared identifier is reported only once for each ...
    (comp.os.linux.misc)
  • va_start issue in GCC 3.3.1
    ... Source Code: ... pagutil.c:941: error: (Each undeclared identifier is reported only once ...
    (comp.lang.cpp)
  • Re: FreeBSD 5-STABLE doesnt compile: fails on Kerberos5?
    ... and I got these error messages a bit of the way into it. ... > Any idea what was causing this? ... (Each undeclared identifier is reported only once ... To unsubscribe, ...
    (freebsd-questions)
  • Re: FreeBSD 5-STABLE doesnt compile: fails on Kerberos5?
    ... and I got these error messages a bit of the way into it. ... > Any idea what was causing this? ... (Each undeclared identifier is reported only once ... To unsubscribe, ...
    (freebsd-stable)