Re: [tkined] compile error in tnmNtp.c

From: Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Date: Tue Jun 26 2001 - 17:04:44 MET DST


>>>>> Matt Selsky writes:

Matt> I got a similar error while compiling ntping.c This file
Matt> actually uses ipaddr_t though. Solaris8 defines ipaddr_t in
Matt> /usr/include/netinet/in.h Solaris2.5.1, however, does not define
Matt> this. So there should be another conditional compilation
Matt> parameter. To get around this error, I just compiled out the
Matt> entire stanza which checks for ipaddr_t in ntping.c

If have put a check for _IPADDR_T around the definition to make
it work on Solaris 8. This should be good enough for scotty 2.1.X
(note that nmicmpd in 3.0.0 does not use ipaddr_t anymore).

/js

-- 
Juergen Schoenwaelder      Technical University Braunschweig
<schoenw@ibr.cs.tu-bs.de>  Dept. Operating Systems & Computer Networks
Phone: +49 531 391 3289    Bueltenweg 74/75, 38106 Braunschweig, Germany
Fax:   +49 531 391 5936    <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>

-- !! 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.



This archive was generated by hypermail 2b29 : Thu Jan 03 2002 - 14:56:27 MET