curl-library
Re: Ares change: IRIX problem
Date: Mon, 27 Aug 2012 23:21:29 +0200 (CEST)
On Fri, 24 Aug 2012, Tor Arntsen wrote:
> The problem is c-ares commit 90364defb038d5 which introduced the file
> ares_create_query.c, this file uses ns_t_opt from nameser.h On IRIX this is
> <arpa/nameser.h>, and ns_t_opt does not exist there. It does exist in the
> local "nameser.h" file in the c-ares source, but that's a fallback file for
> those systems which don't have either of <netinet/in.h> or <arpa/nameser.h>
> or <arpa/nameser_compat.h> Actually none of those ns_t_* types exist in the
> IRIX version of nameser.h (I've checked up to IRIX version 6.5.24m. I have
> 6.5.30m somewhere but it's not online right now so can't check). Not sure
> how to best handle this.
Thanks for the report!
On this system, does it build fine if you use the local nameser.h instead of
<arpa/nameser.h> like when ares_create_query.c compiles?
I'm thinking about adding an extra test for the ns_t_* symbols in the system
header before actually using it instead of the local version...
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2012-08-27