axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Helmut A. Semmelmayer" <hsemmelma...@hotmail.com>
Subject RE: AIX 5.3.3 build
Date Thu, 10 Apr 2008 08:42:06 GMT
 
in uuid_gen_unix.c around line 36 it says:
 
#ifdef HAVE_LINUX_IF_H# include <linux/if.h>#else# ifdef HAVE_NET_IF_H#  include <sys/sockio.h>#
 include <net/if.h>#  include <net/if_arp.h># endif# ifdef HAVE_NET_IF_TYPES_H#
 include <net/if_types.h># endif# ifdef HAVE_NET_IF_DL_H#  include <net/if_dl.h>#
endif#endifAIX offers net/if.h, net/if_arp.h, net/if_types.h and net/if_dl.h but not sockio.h
But if you do #undef HAVE_NET_IF_H in conifg.h it does not work either.



> Date: Thu, 10 Apr 2008 12:58:37 +0530> From: samisa@wso2.com> To: axis-c-user@ws.apache.org>
Subject: Re: AIX 5.3.3 build> > Helmut A. Semmelmayer wrote:> > Hello,> >
> > There have been several posts on this list about problems when > > building
Axis2/C on AIX.> > > > We want to build a web service client in C that runs on
AIX, but we > > are experiencing problems> > when we try to build Axis2/C 1.3.0.
./configure runs without any > > problems, but when we> > run make, we get errors
about missing header files and typedefs like > > u_short:> > > > [...]>
> gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include > > -I../../../include/platforms
-I../../../include/platforms/unix> > -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall > >
-Wno-implicit-function-declaration -MT uuid_gen_unix.lo> > -MD -MP -MF .deps/uuid_gen_unix.Tpo
-c uuid_gen_unix.c -DPIC -o > > .libs/uuid_gen_unix.o> > uuid_gen_unix.c:24:26:
error: sys/sockio.h: No such file or directory> > In file included from uuid_gen_unix.c:26:>
> /usr/include/net/if_arp.h:68: error: expected specifier-qualifier-list > > before
'u_short'> > /usr/include/net/if_arp.h:99: error: expected specifier-qualifier-list
> > before 'u_short'> > /usr/include/net/if_arp.h:103: error: expected > >
specifier-qualifier-list before 'u_short'> > /usr/include/net/if_arp.h:107: error: expected
> > specifier-qualifier-list before 'u_short'> > /usr/include/net/if_arp.h:153:
error: expected > > specifier-qualifier-list before 'u_char'> > /usr/include/net/if_arp.h:170:
error: field 'at_iaddr' has incomplete type> > /usr/include/net/if_arp.h:171: error:
expected > > specifier-qualifier-list before 'u_char'> > /usr/include/net/if_arp.h:204:
error: field 'arp_pa' has incomplete type> > /usr/include/net/if_arp.h:205: error: field
'arp_ha' has incomplete type> > /usr/include/net/if_arp.h:207: error: expected >
> specifier-qualifier-list before 'u_short'> > /usr/include/net/if_arp.h:227: error:
field 'ac_if' has incomplete type> > /usr/include/net/if_arp.h:228: error: expected
> > specifier-qualifier-list before 'u_char'> > /usr/include/net/if_arp.h:324:
error: expected > > specifier-qualifier-list before 'u_char'> > [...]> >
> > It seems to me that the build environment is not configured correctly > >
and/or ./configure does not detect> > AIX 5.3.3 properly.> > > > Did anybody
experience the same problem and came up with a fix for it?> > More than a config problem,
it looks to me as if this is a source problem.> Where is sockio.h located in AIX? Is there
a sockio.h header at all on AIX?> > Samisa...> > > --------------------------------------------------------------------->
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org> For additional commands,
e-mail: axis-c-user-help@ws.apache.org> 
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
Mime
View raw message