[CMake] config issue - resolver issue

27 views
Skip to first unread message

Joel Winarske

unread,
Oct 30, 2018, 3:22:41 PM10/30/18
to grpc.io
I'm using CMake to build the gRPC stack and am not seeing any registred Resolvers post grpc_init().  I'm thinking this is a build config issue...  This is how I'm building for Linux/Windows/Mac:


This is the program trace output:
D1030 11:57:20.450732396   10308 is_epollexclusive_available.cc:86] epoll_ctl with EPOLLEXCLUSIVE | EPOLLONESHOT succeeded. This is evidence of no EPOLLEXCLUSIVE support. Not using epollex polling engine.
I1030 11:57:20.450781447   10308 ev_epollex_linux.cc:1655]   Skipping epollex because it is not supported.
I1030 11:57:20.450788909   10308 ev_epoll1_linux.cc:116]     grpc epoll fd: 3
D1030 11:57:20.450795406   10308 ev_posix.cc:169]            Using polling engine: epoll1
Using locale en-US
assistant_sdk robots_pem: 
assistant_sdk CreateCustomChannel(embeddedassistant.googleapis.com:443, creds, arg)

E1030 11:59:46.884190775   10308 resolver_registry.cc:80]    don't know how to resolve 'embeddedassistant.googleapis.com:443' or 'dns:///embeddedassistant.googleapis.com:443'
E1030 12:03:10.788147777   10308 resolver_registry.cc:80]    don't know how to resolve 'dns:///embeddedassistant.googleapis.com:443' or 'dns:///dns:///embeddedassistant.googleapis.com:443'
E1030 12:03:10.788190415   10308 channel.cc:95]              channel stack builder failed: {"created":"@1540926190.788170707","description":"resolver creation failed","file":"/home/joel/git/assistant-sdk-cpp/build/grpc-prefix/src/grpc/src/core/ext/filters/client_channel/client_channel.cc","file_line":739}
assistant_sdk wrote first request: config { audio_in_config { encoding: LINEAR16 sample_rate_hertz: 16000 } audio_out_config { encoding: LINEAR16 sample_rate_hertz: 16000 } dialog_state_in { language_code: "en-US" } device_config { device_id: "default" device_model_id: "default" } screen_out_config { } }
assistant_sdk waiting for response ... 
assistant_sdk failed, error: lame client channel
terminate called without an active exception


Joel

Joel Winarske

unread,
Oct 30, 2018, 8:20:57 PM10/30/18
to grpc.io
I figured it out. It turned out to be a combo of link order, and missing libs cares, and address_sorting.

How the prior combo faked out the linker is interesting.

On to more interesting things.

Reply all
Reply to author
Forward
0 new messages