Re: [tkined] Problem with Compling Scotty.

Doug Hughes (Doug.Hughes@Eng.Auburn.EDU)
Fri, 31 Jul 1998 08:04:14 -0500

>
>This is a cryptographically signed message in MIME format.
>
>--------------ms19B0E268D9B9BDB24FA61EE1
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>
>I'm having problem with compling Scotty. It is in the ntping section.
>Below is the problem:
>
># make
>if [ -f ntping ] ; then mv -f ntping ntping.bak ; else true ; fi
>rm -f ntping.bak || true
>gcc -o ntping ntping.o
>Undefined first referenced
> symbol in file
>socket ntping.o
>getprotobyname ntping.o
>gethostbyname ntping.o
>bind ntping.o
>setsockopt ntping.o
>getsockopt ntping.o
>sendto ntping.o
>getsockname ntping.o
>recvfrom ntping.o
>ld: fatal: Symbol referencing errors. No output written to ntping
>make: *** [ntping] Error 1
>
>Thanks for Any Advice.
>
>

You don't say what version of scotty or what OS? Let's assume for a moment
that you are using Solaris2 (since that's what it looks like).
add -lnsl -lsocket to your LDFLAGS for ntping.

--
____________________________________________________________________________
Doug Hughes					Engineering Network Services
System/Net Admin  				Auburn University
			doug@eng.auburn.edu

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.