Thanks! I was able to get everything built and RPMed with libcares 1.11. Todd
On Wednesday, February 21, 2018 at 10:45:37 AM UTC-8, Ken Payson wrote: > > Yes, the minimum libcares version supported is 1.11.0 . > > On Friday, February 16, 2018 at 12:14:38 PM UTC-8, Todd Defilippi wrote: >> >> I now I am getting a build error: >> >> [CXX] Compiling >> src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc >> src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc:51:30: >> >> error: field ‘dns_server_addr’ has incomplete type >> struct ares_addr_port_node dns_server_addr; >> ^ >> src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc: >> >> In function ‘void on_txt_done_cb(void*, int, int, unsigned char*, int)’: >> src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc:270:53: >> >> error: ‘ares_parse_txt_reply_ext’ was not declared in this scope >> status = ares_parse_txt_reply_ext(buf, len, &reply); >> ^ >> src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc:273:58: >> >> error: invalid use of incomplete type ‘struct on_txt_done_cb(void*, int, >> int, unsigned char*, int)::ares_txt_ext’ >> for (result = reply; result != nullptr; result = result->next) { >> ^ >> src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc:265:10: >> >> error: forward declaration of ‘struct on_txt_done_cb(void*, int, int, >> unsigned char*, int)::ares_txt_ext’ >> struct ares_txt_ext* result = nullptr; >> ... >> >> I have a 1.10 cares RPM installed, it sounds from other comments that >> 1.10 will not work; is that correct? Do I need a 1.11 libcares? >> >> Thanks, >> Todd >> >> On Friday, February 16, 2018 at 11:58:33 AM UTC-8, Todd Defilippi wrote: >>> >>> Actually I think I may have figured it out. I was getting some >>> pkg_config complaints about libcares (which I had already installed on my >>> system). Running as >>> >>> make HAS_PKG_CONFIG=false HAS_SYSTEM_CARES=true >>> >>> seems to have solved that problem and it's building for now. Fingers >>> cross it continues to! >>> >>> Thanks, >>> Todd >>> >>> On Friday, February 16, 2018 at 11:39:55 AM UTC-8, Todd Defilippi wrote: >>>> >>>> I have some issues trying to build the gRPC source code from the >>>> tgz-ball. Is this the right place to ask about that? >>>> >>>> Thanks, >>>> Todd >>>> >>> -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegroups.com. To post to this group, send email to grpc-io@googlegroups.com. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/f1dc67e4-0549-4532-9bdd-2fc8148acf51%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.