Subject: Re: Ares 1.2.1 on Mac OS X

Re: Ares 1.2.1 on Mac OS X

From: Daniel Stenberg <daniel_at_haxx.se>
Date: 2005-04-20

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?

-- 
   c-ares -- my preferred DNS asynch resolver library
---------- Forwarded message ----------
Date: Wed, 20 Apr 2005 10:51:58 +0200
From: Heinz Stockinger
To: Daniel Stenberg <daniel@haxx.se>
Subject: Re: Ares 1.2.1 on Mac OS X
Daniel Stenberg wrote:
> On Wed, 20 Apr 2005, Heinz Stockinger wrote:
> 
>> Partly:
> 
> 
> Oh, it struck me you're playing with 1.2.1. Can you try the latest CVS 
> version or a daily snapshot? We've done some serious changes since the 1.2.1 
> and some of them are related to Mac OS X builds.
> 
>   http://daniel.haxx.se/projects/c-ares/daily-snapshot/
> 
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT ares_gethostbyname.lo -MD -MP -MF 
.deps/ares_gethostbyname.Tpo -c ares_gethostbyname.c -o ares_gethostbyname.o
ares_gethostbyname.c: In function `next_lookup':
ares_gethostbyname.c:123: error: `C_IN' undeclared (first use in this function)
ares_gethostbyname.c:123: error: (Each undeclared identifier is reported only 
once
ares_gethostbyname.c:123: error: for each function it appears in.)
ares_gethostbyname.c:123: error: `T_AAAA' undeclared (first use in this 
function)
ares_gethostbyname.c:126: error: `T_A' undeclared (first use in this function)
ares_gethostbyname.c: In function `host_callback':
ares_gethostbyname.c:170: error: `C_IN' undeclared (first use in this function)
ares_gethostbyname.c:170: error: `T_A' undeclared (first use in this function)
make[1]: *** [ares_gethostbyname.lo] Error 1
doesn't help much, since C_IN is defined in
PantherServer:/usr/include/arpa heinz$ grep C_IN *
nameser8_compat.h:#define C_IN          1               /* the arpa internet */
nameser_compat.h:#define C_IN           ns_c_in
Heinz
_______________________________________________
http://cool.haxx.se/mailman/listinfo/c-ares
Received on Wed Apr 20 12:22:14 2005