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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]