Subject: Re: Ares 1.2.1 on Mac OS X

Re: Ares 1.2.1 on Mac OS X

From: Heinz Stockinger <Heinz.Stockinger_at_univie.ac.at>
Date: 2005-04-20

Daniel Stenberg wrote:

> Hi
>
> This is a mail from a discussion I've held in privately with Heinz
> Stockinger that I'm forwarding with his permission.
>
> Heinz, do these warnings/errors dissappear if you set the
> DBIND_8_COMPAT define? Or have you figured out what else that is needed?
>
Now I get:

 gcc -DBIND_8_COMPAT -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT
ares_process.lo -MD
-MP -MF .deps/ares_process.Tpo -c ares_process.c -o ares_process.o
In file included from ares_process.c:31:
/usr/include/arpa/nameser_compat.h:121: error: conflicting types for
`HEADER'
/usr/include/arpa/nameser8_compat.h:304: error: previous declaration of
`HEADER'ares_process.c: In function `read_udp_packets':
ares_process.c:261: error: `NS_PACKETSZ' undeclared (first use in this
function)ares_process.c:261: error: (Each undeclared identifier is
reported only once
ares_process.c:261: error: for each function it appears in.)
ares_process.c: In function `process_answer':
ares_process.c:305: error: `NS_HFIXEDSZ' undeclared (first use in this
function)ares_process.c:326: error: `NS_PACKETSZ' undeclared (first use
in this function)ares_process.c:347: error: `ns_r_servfail' undeclared
(first use in this function)
ares_process.c:347: error: `ns_r_notimpl' undeclared (first use in this
function)
ares_process.c:347: error: `ns_r_refused' undeclared (first use in this
function)

version 1.2.1 worked nicely.

Heinz
_______________________________________________
http://cool.haxx.se/mailman/listinfo/c-ares
Received on Wed Apr 20 19:45:16 2005