I have built htdig-3.1.0b4 on Solaris 2.5.1 using Sunworkshop 3.0 or C++ 4.2
and I had only to make a few minor mods - I list them here:
Connection.cc did not have the right define wanter for gethostname prototype:
*** Connection.cc.dist Wed Dec 23 01:53:14 1998
--- Connection.cc Tue Jan 19 10:56:56 1999
***************
*** 509,515 ****
return inet_ntoa(peer.sin_addr);
}
! #if defined(__sun__)
extern "C" int gethostname(char *name, int namelen);
#endif
--- 509,515 ----
return inet_ntoa(peer.sin_addr);
}
! #if defined(NEED_PROTO_GETHOSTNAME)
extern "C" int gethostname(char *name, int namelen);
#endif
And config got GETPEERNAME_LENGTH_T wrong as unsigned int instead of int (in
include/htconfig.h).
Otherwise seems to work fine when these fixes applied. Sorry if this should
have been reported as a bug.
--
-----------------------------------------------------------------------------
| Peter Polkinghorne, Computer Centre, Brunel University, Uxbridge, UB8 3PH,|
| Peter.Pol...@brunel.ac.uk +44 1895 274000 x2561 UK |
-----------------------------------------------------------------------------
----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-...@sdsu.edu containing the single word "unsubscribe" in
the body of the message.
Thanks!
>Otherwise seems to work fine when these fixes applied. Sorry if this should
>have been reported as a bug.
Thanks for the report, it'll be in the CVS tree when I get a chance to
commit the changes.
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/