W3C home > Mailing lists > Public > www-lib@w3.org > July to September 1998

Compiling on RS-6000's

From: <rsegal@us.ibm.com>
Date: Wed, 8 Jul 1998 11:29:41 -0400
To: www-lib@w3.org
Message-ID: <8525663B.0054EB8C.00@us.ibm.com>
> > 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:28 GMT