Re: Compiling on RS-6000's

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 UTC