openbsd-compat/inet_ntoa.h missing from 3.7p1?

Ayamura KIKUCHI ayamura at ayamura.org
Wed Sep 17 04:43:22 EST 2003


> On IRIX 6.5:

> cc-1005 cc: ERROR File = inet_ntoa.c, Line = 46
>   The source file "inet_ntoa.h" is unavailable.
> 
>   #include "inet_ntoa.h"
>                         ^
> Is openbsd-compat/inet_ntoa.h missing or is openbsd-compat/inet_ntoa.c
> wrong?

The include file openbsd-compat/inet_ntoa.h is not needed to compile
openbsd-compat/inet_ntoa.c on IRIX.

Why BROKEN_INET_NTOA should be defined on IRIX 5/6?

openbsd-compat/inet_ntoa.c:
#if defined(BROKEN_INET_NTOA) || !defined(HAVE_INET_NTOA)
	...
	char *inet_ntoa(struct in_addr in) { ... }
#endif /* defined(BROKEN_INET_NTOA) || !defined(HAVE_INET_NTOA) */

configure.ac:
*-*-irix5*)
	...
	AC_DEFINE(BROKEN_INET_NTOA)
	...
*-*-irix6*)
	...
	AC_DEFINE(BROKEN_INET_NTOA)
	...

p.s.
3.7p1's sshd daemon can not work on IRIX 6.5.21.

-- ayamura




More information about the openssh-unix-dev mailing list