This is a discussion on Re: 5.2.2.pre3 and IRIX 6.5 within the SNMP Coders forums, part of the Networking and Network Related category; On Fri, Oct 07, 2005 at 11:20:26AM +0100, Dave Shield wrote: > On Thu, 2005-10-06 at ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Fri, Oct 07, 2005 at 11:20:26AM +0100, Dave Shield wrote:
> On Thu, 2005-10-06 at 12:05 -0500, Albert Chin wrote: > > On Thu, Oct 06, 2005 at 12:55:26PM +0100, Dave Shield wrote: > > > The inet_addr() and inet_ntoa() checks seem to be responding > > > to specific IRIX problems. Simply removing these settings without > > > further investigation is probably unwise. > > > > It's defined in <arpa/inet.h> on 6.5.23m: > > extern char *inet_ntoa(struct in_addr); > > > > It doesn't cause a problem during the build. I don't know if it is > > needed for an earlier IRIX release. > > Checking the history, the suppression of <arpa/inet.h> dates > from November 2001 (as does the explicit inclusion of > <netinet/{tcp,ip}.h>) - though the explanation was only added > some time later. > The explicit declaration of 'inet_ntoa()' is clearly a > consequence of not including <arpa/inet.h> > > > What is the definition of inet_addr() in <arpa/inet.h> ? extern in_addr_t inet_addr(const char *); -- albert chin (china@thewrittenword.com) ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |