PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

netkittelnet compile fail. `exit' undeclared in main.cc


Your Ad Here

Your Ad Here

help getting IP address in c code
For user level programs there should virtually *never* be a need to include from theusr-include-linux directory. But there are some tricks to learn about how to avoid...
Dual network configuration
On 28 Jun 2006, in the Usenet newsgroup comp.os.linux.networking, in article newsgroup comp.os.linux.misc in article Please don't multi-post. This article is on topic...

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.

----------------------------- snip ------------------------------------

I am trying to compile telnet and I have gotten the source code

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.

ubuntu hangs during first boot
the following words to the mbuttes incomp.os.linux.misc...: This is fine. GNU-Linux doesn't care much about whether it's installed in primary or logical parbreastions. ;-) Did you... (a...

Any help will be greately appreciated.

Thank you.

messages from make --------------------------------------------------

make1: 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 -DUSETERMIO -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 -DUSETERMIO -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.) make1: *** main.o error 1 make1: exiting `-airhost-src-netkit-telnet-0.17-telnet' directory make: *** telnet.build error 2

Reply È



Your Ad Here

List | Previous | Next

help getting IP address in c code

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

Linux has poor multimedia features 1738