Hi Daniel, In the following compilation, gcc -DHAVE_CONFIG_H -I. -g -O2 -MT adig.o -MD -MP -MF ".deps/adig.Tpo" -c -o adig.o adig.c
To check this, i have temporaily renamed the file /usr/include/arpa/onameser_compat.h as /usr/include/arpa/onameser_compat. This time i got this error: In file included from adig.c:29: /usr/include/arpa/nameser.h:645:34: arpa/onameser_compat.h: No such file or directory The following are the lines in the /usr/include/arpa/nameser.h: +640 #ifdef _USE_IRS +641 #ifdef BIND_4_COMPAT +642 #include <arpa/nameser_compat.h> +643 #endif /* BIND_4_COMPAT */ +644 #else /* _USE_IRS */ +645 #include <arpa/onameser_compat.h> +646 #endif /* _USE_IRS */ +647 +648 #endif /* !_ARPA_NAMESER_H_ */ Thanks and Regards, Vivek On Mon, Jul 6, 2009 at 2:56 AM, Daniel Stenberg<dan...@haxx.se> wrote: > On Mon, 6 Jul 2009, Vivek Katakam wrote: > >> 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' > > But how come the latter header file is included? We only explicitly include > the first one so I figure the second one is a mistake/oversight/bug. > > -- > > / daniel.haxx.se >