Hi All, I have configured c-ares for AIX 52 with the following option: ./configure --enable-static=yes
But when I ran make I got the following error: if gcc -DHAVE_CONFIG_H -I. -I. -g -O2 -MT adig.o -MD -MP -MF ".deps/adig.Tpo" -c -o adig.o adig.c; then mv -f ".deps/adig.Tpo" ".deps/adig.Po"; else rm -f ".deps/adig.Tpo"; exit 1; fi adig.c:119: error: `T_NAPTR' undeclared here (not in a function) adig.c:119: error: initializer element is not constant adig.c:119: error: (near initialization for `types[33].value') adig.c:119: error: initializer element is not constant adig.c:119: error: (near initialization for `types[33]') adig.c:120: error: initializer element is not constant adig.c:120: error: (near initialization for `types[34]') adig.c: In function `display_rr': adig.c:615: error: `T_NAPTR' undeclared (first use in this function) adig.c:615: error: (Each undeclared identifier is reported only once adig.c:615: error: for each function it appears in.) make: 1254-004 The error code from the last command is 1. I checked config.log and the error is in : /usr/include/arpa/nameser_compat.h:244: error: conflicting types for `HEADER' /usr/include/arpa/onameser_compat.h:265: error: previous declaration of `HEADER' I am using gcc 3.3.2 bash-3.00# gcc -v Reading specs from /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/specs Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --disable-nls --enable-languages=c,c++ --prefix=/opt/freeware --enable-threads --enable-version-specific-runtime-libs --host=powerpc-ibm-aix5.2.0.0 Thread model: aix gcc version 3.3.2 Thanks and Regards, Vivek