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

Re: Compiling on RS-6000's

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Fri, 10 Jul 1998 18:39:03 -0400
Message-Id: <3.0.5.32.19980710183903.03087e70@localhost>
To: rsegal@us.ibm.com, www-lib@w3.org
At 11:29 7/8/98 -0400, rsegal@us.ibm.com wrote:
>> > 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.

Ok, I will see if that causes problems on other platforms

>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.

I think the right thing to do is to declare it unsigned.

Thanks!

Henrik
--
Henrik Frystyk Nielsen,
World Wide Web Consortium
http://www.w3.org/People/Frystyk
Received on Friday, 10 July 1998 18:38:41 GMT

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