>>>>> Brian Ford writes:
Brian> I was originally not aware that the list was closed.
The list is not really closed. You have to be subscribed to send
messages - the only reason for this rule is to keep spams from the
Brian> Incidentally, I am trying this on a Sparc Solaris 7 system with
Brian> tcl/tk 8.2.3. I ran into one compile problem with CVS scotty
Brian> and two similar problems with 2.1.10. It seems that on Solaris
Brian> 7, ipaddr_t is defined in /usr/include/netinet/in.h to be a
Brian> uint32_t. This conflicts with the definitions for 2.1.10 in
Brian> tnm/generic/tnmNtp.c & tnm/ntping/ntping.c and for CVS in
Brian> nmicmpd.c. I would recommend using something similar to what
Brian> Sun did in /usr/include/netinet/in.h:
I thought this was easy to fix. Two hours later I have learned quite a
bit about the latest ANSI C standard proposal, the autoconf system and
I managed to come up with a hopefully working solution. The problem is
that you better use things like int32_t and uint32_t in order to be
portable. So you have to find out whether your system already has a
suitable definition or not. Once you know the fixed sized int types,
you can check for ipaddr_t and define it to be uint32_t if it is
Things are now in the CVS repository - but mostly untested since I
have no 64 bit systems. So comments and bug reports are welcome.
-- Juergen Schoenwaelder Technical University Braunschweig <email@example.com> 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 <firstname.lastname@example.org>. !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.
This archive was generated by hypermail 2b29 : Mon Jan 08 2001 - 15:27:36 MET