Re: I cannot compile under rs6000-ibm-aix4.1.4.0

On Tue, 19 May 1998, huimin zhou wrote:

> Hi, 
> 
> After I run configure, I tried compiling the library, but it gave me 
> following error message:
> ----------------------------------------------------------------------
> In file included from /usr/include/netinet/tcp.h:58,
>                  from sysdep.h:637,
>                  from HTParse.c:14:
> /usr/include/netinet/ip.h:100: parse error before `ip_xhl'
> /usr/include/netinet/ip.h:100: warning: no semicolon at end of struct or 
> union
> /usr/include/netinet/ip.h:100: warning: no semicolon at end of struct or 
> union
> /usr/include/netinet/ip.h:100: warning: no semicolon at end of struct or 
> union
> /usr/include/netinet/ip.h:105: warning: data definition has no type or 
> storage c
> lass
> /usr/include/netinet/ip.h:106: parse error before `}'
> /usr/include/netinet/ip.h:106: warning: data definition has no type or 
> storage c
> lass
> /usr/include/netinet/ip.h:113: parse error before `}'
> /usr/include/netinet/ip.h:116: field `ip_ff' has incomplete type
> /usr/include/netinet/ip.h:129: field `ip_src' has incomplete type
> /usr/include/netinet/ip.h:129: field `ip_dst' has incomplete type
> /usr/include/netinet/ip.h:206: parse error before `ipt_xcode'
> /usr/include/netinet/ip.h:206: warning: no semicolon at end of struct or 
> union
> /usr/include/netinet/ip.h:206: warning: no semicolon at end of struct or 
> union
> /usr/include/netinet/ip.h:206: warning: no semicolon at end of struct or 
> union
> /usr/include/netinet/ip.h:212: warning: data definition has no type or 
> storage c
> lass
> /usr/include/netinet/ip.h:213: parse error before `}'
> /usr/include/netinet/ip.h:213: warning: data definition has no type or 
> storage c
> lass
> /usr/include/netinet/ip.h:223: field `ipt_addr' has incomplete type
> /usr/include/netinet/ip.h:227: parse error before `}'
> In file included from sysdep.h:637,
>                  from HTParse.c:14:
> /usr/include/netinet/tcp.h:71: field `ip_ff' has incomplete type
> make: 1254-004 The error code from the last command is 1.
> ----------------------------------------------------------------------
> Does anybody know how to make this thing work under AIX?
> 
> Thanks!
> 
> Huimin
> 
> 
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
> 
> 

I'm not sure what will make it work for sure. But it appears that a number
of the libraries you're calling for it don't appear to be the right
libraries. Check what C Compiler you use. Make sure the configure program
uses it (I don't remember for sure if thats an option, but it probably
is). 

GNU software is always the best there is.  If you can only find a
reference to gcc (which most poeople use), I'd suggest installing it
instead of your native compiler.

If you need that (or other binaries), try looking at
ftp://aixpdslib.seas.ucla.edu/pub for them. Its makes AIX administration a
bit easier.

-tim

Received on Wednesday, 20 May 1998 09:08:56 UTC