Howdy,
When I try to build wget 1.11.4 on HP-UX B.10.20 A, it fails with the
following errors:
cc -Ae -I. -I. -DHAVE_CONFIG_H
-DSYSTEM_WGETRC=\"/users/m_kraai/etc/wgetrc\"
-DLOCALEDIR=\"/users/m_kraai/share/locale\" +O3 -c host.c
cc: "host.c", line 329: error 1588: "h_errno" undefined.
cc: "host.c", line 784: error 1588: "h_errno" undefined.
cc: "host.c", line 784: warning 563: Argument #1 is not the correct type.
Here's the portion of /usr/include/netdb.h that declares h_error:
/*
* Error return codes from gethostbyname() and gethostbyaddr()
* (left in extern int h_errno).
*/
#ifdef _XOPEN_SOURCE_EXTENDED
extern int h_errno;
#endif
There was some discussion of this problem
http://www.mail-archive.com/[email protected]/msg02082.html and a proposed
solution at http://www.mail-archive.com/[email protected]/msg02083.html.
Matt
The server made the following annotations
---------------------------------------------------------------------------------
This message contains information that may be privileged or confidential and is
the property of Beckman Coulter, Inc. It is intended only for the person to
whom it is addressed. If you are not the intended recipient, you are not
authorized to read, print, retain, copy, disseminate, distribute or use this
message or any part thereof. If you receive this message in error, please
notify the sender immediately and delete all copies of this message.
---------------------------------------------------------------------------------