Compiling on RS-6000's

> > At 17:07 5/22/98 -0400, huimin zhou wrote:
>
> > By the way, one must include /usr/include/sys/machine and
> > /usr/include/netinet/in.h in sysdep.h to make the system compile under
> > RS-6000 AIX 4.*.*.
>
> <netinet/in.h> should already be included. Do you mean <sys/machine> or
> <sys/machine.h>?
>
> Henrik

I have been working with Huimin on compiling libwww for AIX.  After taking
a
closer look, I think it is only necessary to change the order in which
<netinet/in.h> is loaded.  I believe the problem is that <netinet/in.h>
needs to be included before <netinet/tcp.h>.  The reason is that
<netinet/tcp.h> loads <netinet/ip.h> and <netinet/ip.h> makes use of
structures defined in <netinet/in.h>.  By moving the including of
<netinet/in.h> before <netinet/tcp.h>, this problem is avoided.

The second problem we had compiling on AIX is that the constant
SHOW_ALL_TRACE defined in HTUtils.h is too large to fit in a 32-bit signed
integer.

-Rich

_____________________________________________________________________

Richard Segal                                   rsegal@watson.ibm.com

IBM Thomas J. Watson Research Center            +1 914 784-7416 (vox)
PO Box 704, Room H2-K20                         +1 914 784-6054 (fax)
Yorktown Heights, NY 10598

WWW: http://www.research.ibm.com/people/r/rsegal
_____________________________________________________________________

Received on Wednesday, 8 July 1998 11:29:39 UTC