On Sun, May 01, 2005 at 11:22:24AM -0700, OpenMacNews wrote:
> ../../../WWW/Library/Implementation/HTTCP.c:1329: error: 'struct hostent'
> has no member named 'h_addr'
> make[1]: *** [HTTCP.o] Error 1
> make: *** [all] Error 2
>
> checking lynx 286dev11, same problem.
>
> if I drop back to a 10.3.9 system, then all's OK ... no issue w/ h_addr.
>
> has something in the 'gethost' family changed under Tiger?
apparently. Perhaps a look at the related header files would help.
For instance on Solaris, that's defined in /usr/include/netdb.h,
e.g.,
struct hostent {
char *h_name; /* official name of host */
char **h_aliases; /* alias list */
int h_addrtype; /* host address type */
int h_length; /* length of address */
char **h_addr_list; /* list of addresses from name server */
#define h_addr h_addr_list[0] /* address, for backward compatiblity */
};
Seeing a "#define" there gives the impression that someone might have
decided to break compatibility by removing it on some other system.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
_______________________________________________
Lynx-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lynx-dev