-
Notifications
You must be signed in to change notification settings - Fork 54
Description
I git clone this repository and was trying to build and install it on my system.
However it broke down on the "make" command. I could not find the reason behind it, please help.
Below is the output:
Scanning dependencies of target gmock_main
[ 3%] Building CXX object gmock/CMakeFiles/gmock_main.dir/usr/src/gtest/src/gtest-all.cc.o
[ 7%] Building CXX object gmock/CMakeFiles/gmock_main.dir/src/gmock-all.cc.o
[ 10%] Building CXX object gmock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o
[ 14%] Linking CXX static library libgmock_main.a
[ 14%] Built target gmock_main
[ 17%] Running C++ protocol buffer compiler on async_grpc/proto/math_service.proto
Scanning dependencies of target async_grpc
[ 21%] Building CXX object CMakeFiles/async_grpc.dir/async_grpc/common/time.cc.o
[ 25%] Building CXX object CMakeFiles/async_grpc.dir/async_grpc/completion_queue_pool.cc.o
[ 28%] Building CXX object CMakeFiles/async_grpc.dir/async_grpc/completion_queue_thread.cc.o
[ 32%] Building CXX object CMakeFiles/async_grpc.dir/async_grpc/event_queue_thread.cc.o
[ 35%] Building CXX object CMakeFiles/async_grpc.dir/async_grpc/retry.cc.o
[ 39%] Building CXX object CMakeFiles/async_grpc.dir/async_grpc/rpc.cc.o
[ 42%] Building CXX object CMakeFiles/async_grpc.dir/async_grpc/server.cc.o
[ 46%] Building CXX object CMakeFiles/async_grpc.dir/async_grpc/service.cc.o
[ 50%] Building CXX object CMakeFiles/async_grpc.dir/async_grpc/proto/math_service.pb.cc.o
[ 53%] Linking CXX static library libasync_grpc.a
[ 53%] Built target async_grpc
Scanning dependencies of target async_grpc.client_test
[ 57%] Building CXX object CMakeFiles/async_grpc.client_test.dir/async_grpc/client_test.cc.o
[ 60%] Linking CXX executable async_grpc.client_test
//usr/local/lib/libgrpc++.a(insecure_credentials.cc.o): In function grpc_impl::(anonymous namespace)::InsecureChannelCredentialsImpl::CreateChannelWithInterceptors(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, grpc_impl::ChannelArguments const&, std::vector<std::unique_ptr<grpc::experimental::ClientInterceptorFactoryInterface, std::default_delete<grpc::experimental::ClientInterceptorFactoryInterface> >, std::allocator<std::unique_ptr<grpc::experimental::ClientInterceptorFactoryInterface, std::default_delete<grpc::experimental::ClientInterceptorFactoryInterface> > > >)': insecure_credentials.cc:(.text+0x131): undefined reference to grpc_insecure_channel_create'
//usr/local/lib/libgrpc++.a(client_context.cc.o): In function grpc_impl::ClientContext::ClientContext()': client_context.cc:(.text+0x18a): undefined reference to gpr_inf_future'
//usr/local/lib/libgrpc++.a(client_context.cc.o): In function grpc_impl::ClientContext::set_call(grpc_call*, std::shared_ptr<grpc_impl::Channel> const&)': client_context.cc:(.text+0x78c): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(client_context.cc.o): In function grpc_impl::ClientContext::set_compression_algorithm(grpc_compression_algorithm)': client_context.cc:(.text+0x91a): undefined reference to gpr_log'
client_context.cc:(.text+0x95a): undefined reference to gpr_log' //usr/local/lib/libgrpc++.a(client_context.cc.o): In function grpc_impl::ClientContext::peerabi:cxx11 const':
client_context.cc:(.text+0xc28): undefined reference to gpr_free' //usr/local/lib/libgrpc++.a(client_context.cc.o): In function grpc_impl::ClientContext::SetGlobalCallbacks(grpc_impl::ClientContext::GlobalCallbacks*)':
client_context.cc:(.text+0xcb5): undefined reference to gpr_log' client_context.cc:(.text+0xcf3): undefined reference to gpr_log'
client_context.cc:(.text+0xd37): undefined reference to gpr_log' //usr/local/lib/libgrpc++.a(client_context.cc.o): In function grpc::internal::GrpcLibrary::init()':
client_context.cc:(.text._ZN4grpc8internal11GrpcLibrary4initEv[_ZN4grpc8internal11GrpcLibrary4initEv]+0xd): undefined reference to grpc_init' //usr/local/lib/libgrpc++.a(client_context.cc.o): In function grpc::internal::GrpcLibrary::shutdown()':
client_context.cc:(.text._ZN4grpc8internal11GrpcLibrary8shutdownEv[ZN4grpc8internal11GrpcLibrary8shutdownEv]+0xd): undefined reference to grpc_shutdown' //usr/local/lib/libgrpc++.a(channel_arguments.cc.o): In function grpc_impl::ChannelArguments::ChannelArguments(grpc_impl::ChannelArguments const&)':
channel_arguments.cc:(.text+0x2b0): undefined reference to gpr_log' channel_arguments.cc:(.text+0x36c): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(channel_arguments.cc.o): In function grpc_impl::ChannelArguments::SetSocketMutator(grpc_socket_mutator*)': channel_arguments.cc:(.text+0x916): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(channel_arguments.cc.o): In function grpc_impl::ChannelArguments::SetUserAgentPrefix(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': channel_arguments.cc:(.text+0xca2): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(channel_arguments.cc.o): In function grpc_core::Fork::IncExecCtxCount()': channel_arguments.cc:(.text._ZN9grpc_core4Fork15IncExecCtxCountEv[_ZN9grpc_core4Fork15IncExecCtxCountEv]+0xc): undefined reference to grpc_core::Fork::support_enabled'
channel_arguments.cc:(.text._ZN9grpc_core4Fork15IncExecCtxCountEv[_ZN9grpc_core4Fork15IncExecCtxCountEv]+0x26): undefined reference to grpc_core::Fork::DoIncExecCtxCount()' //usr/local/lib/libgrpc++.a(channel_arguments.cc.o): In function grpc_core::Fork::DecExecCtxCount()':
channel_arguments.cc:(.text._ZN9grpc_core4Fork15DecExecCtxCountEv[_ZN9grpc_core4Fork15DecExecCtxCountEv]+0xc): undefined reference to grpc_core::Fork::support_enabled_' channel_arguments.cc:(.text._ZN9grpc_core4Fork15DecExecCtxCountEv[_ZN9grpc_core4Fork15DecExecCtxCountEv]+0x26): undefined reference to grpc_core::Fork::DoDecExecCtxCount()'
//usr/local/lib/libgrpc++.a(channel_arguments.cc.o): In function grpc_core::ExecCtx::ExecCtx()': channel_arguments.cc:(.text._ZN9grpc_core7ExecCtxC2Ev[_ZN9grpc_core7ExecCtxC5Ev]+0x5b): undefined reference to gpr_cpu_current_cpu'
//usr/local/lib/libgrpc++.a(core_codegen.cc.o): In function grpc::CoreCodegen::gpr_malloc(unsigned long)': core_codegen.cc:(.text+0x132): undefined reference to gpr_malloc'
//usr/local/lib/libgrpc++.a(core_codegen.cc.o): In function grpc::CoreCodegen::gpr_free(void*)': core_codegen.cc:(.text+0x150): undefined reference to gpr_free'
//usr/local/lib/libgrpc++.a(core_codegen.cc.o): In function grpc::CoreCodegen::grpc_init()': core_codegen.cc:(.text+0x163): undefined reference to grpc_init'
//usr/local/lib/libgrpc++.a(core_codegen.cc.o): In function grpc::CoreCodegen::grpc_shutdown()': core_codegen.cc:(.text+0x177): undefined reference to grpc_shutdown'
//usr/local/lib/libgrpc++.a(core_codegen.cc.o): In function grpc::CoreCodegen::gpr_mu_init(pthread_mutex_t*)': core_codegen.cc:(.text+0x196): undefined reference to gpr_mu_init'
//usr/local/lib/libgrpc++.a(core_codegen.cc.o): In function grpc::CoreCodegen::gpr_mu_destroy(pthread_mutex_t*)': core_codegen.cc:(.text+0x1b6): undefined reference to gpr_mu_destroy'
//usr/local/lib/libgrpc++.a(core_codegen.cc.o): In function grpc::CoreCodegen::gpr_mu_lock(pthread_mutex_t*)': core_codegen.cc:(.text+0x1d6): undefined reference to gpr_mu_lock'
//usr/local/lib/libgrpc++.a(core_codegen.cc.o): In function grpc::CoreCodegen::gpr_mu_unlock(pthread_mutex_t*)': core_codegen.cc:(.text+0x1f6): undefined reference to gpr_mu_unlock'
//usr/local/lib/libgrpc++.a(core_codegen.cc.o): In function grpc::CoreCodegen::gpr_cv_init(pthread_cond_t*)': core_codegen.cc:(.text+0x216): undefined reference to gpr_cv_init'
//usr/local/lib/libgrpc++.a(core_codegen.cc.o): In function grpc::CoreCodegen::gpr_cv_destroy(pthread_cond_t*)': core_codegen.cc:(.text+0x236): undefined reference to gpr_cv_destroy'
//usr/local/lib/libgrpc++.a(core_codegen.cc.o): In function grpc::CoreCodegen::gpr_cv_wait(pthread_cond_t*, pthread_mutex_t*, gpr_timespec)': core_codegen.cc:(.text+0x27a): undefined reference to gpr_cv_wait'
//usr/local/lib/libgrpc++.a(core_codegen.cc.o): In function grpc::CoreCodegen::gpr_cv_signal(pthread_cond_t*)': core_codegen.cc:(.text+0x298): undefined reference to gpr_cv_signal'
//usr/local/lib/libgrpc++.a(core_codegen.cc.o): In function grpc::CoreCodegen::gpr_cv_broadcast(pthread_cond_t*)': core_codegen.cc:(.text+0x2b8): undefined reference to gpr_cv_broadcast'
//usr/local/lib/libgrpc++.a(core_codegen.cc.o): In function grpc::CoreCodegen::gpr_inf_future(gpr_clock_type)': core_codegen.cc:(.text+0x94b): undefined reference to gpr_inf_future'
//usr/local/lib/libgrpc++.a(core_codegen.cc.o): In function grpc::CoreCodegen::gpr_time_0(gpr_clock_type)': core_codegen.cc:(.text+0x967): undefined reference to gpr_time_0'
//usr/local/lib/libgrpc++.a(core_codegen.cc.o): In function grpc::CoreCodegen::assert_fail(char const*, char const*, int)': core_codegen.cc:(.text+0x9a8): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(time_cc.cc.o): In function grpc::Timepoint2Timespec(std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&, gpr_timespec*)': time_cc.cc:(.text+0x7c): undefined reference to gpr_inf_future'
time_cc.cc:(.text+0xae): undefined reference to gpr_inf_future' //usr/local/lib/libgrpc++.a(time_cc.cc.o): In function grpc::TimepointHR2Timespec(std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&, gpr_timespec*)':
time_cc.cc:(.text+0x1c2): undefined reference to gpr_inf_future' time_cc.cc:(.text+0x1f4): undefined reference to gpr_inf_future'
//usr/local/lib/libgrpc++.a(time_cc.cc.o): In function grpc::Timespec2Timepoint(gpr_timespec)': time_cc.cc:(.text+0x2ba): undefined reference to gpr_inf_future'
time_cc.cc:(.text+0x2cd): undefined reference to gpr_time_cmp' time_cc.cc:(.text+0x2f8): undefined reference to gpr_convert_clock_type'
//usr/local/lib/libgrpc++.a(compression.cc.o): In function grpc_compression_algorithm_name': compression.cc:(.text+0x15b): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(compression.cc.o): In function grpc_compression_algorithm_for_level': compression.cc:(.text+0x275): undefined reference to gpr_log'
compression.cc:(.text+0x2a9): undefined reference to gpr_log' //usr/local/lib/libgrpc++.a(compression.cc.o): In function grpc_static_slice_table()':
compression.cc:(.text._Z23grpc_static_slice_tablev[_Z23grpc_static_slice_tablev]+0x4e): undefined reference to gpr_log' compression.cc:(.text._Z23grpc_static_slice_tablev[_Z23grpc_static_slice_tablev]+0x94): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(compression.cc.o):compression.cc:(.text._Z29grpc_static_mdelem_manifestedv[_Z29grpc_static_mdelem_manifestedv]+0x4e): more undefined references to gpr_log' follow //usr/local/lib/libgrpc++.a(exec_ctx.cc.o): In function timespec_to_millis_round_down(gpr_timespec)':
exec_ctx.cc:(.text+0x200): undefined reference to gpr_time_sub' //usr/local/lib/libgrpc++.a(exec_ctx.cc.o): In function timespec_to_millis_round_up(gpr_timespec)':
exec_ctx.cc:(.text+0x2e9): undefined reference to gpr_time_sub' //usr/local/lib/libgrpc++.a(exec_ctx.cc.o): In function grpc_millis_to_timespec(long, gpr_clock_type)':
exec_ctx.cc:(.text+0x332): undefined reference to gpr_inf_future' exec_ctx.cc:(.text+0x351): undefined reference to gpr_inf_past'
exec_ctx.cc:(.text+0x36a): undefined reference to gpr_time_from_millis' exec_ctx.cc:(.text+0x37d): undefined reference to gpr_time_from_millis'
exec_ctx.cc:(.text+0x39f): undefined reference to gpr_convert_clock_type' exec_ctx.cc:(.text+0x3bc): undefined reference to gpr_time_add'
//usr/local/lib/libgrpc++.a(exec_ctx.cc.o): In function grpc_timespec_to_millis_round_down(gpr_timespec)': exec_ctx.cc:(.text+0x3fa): undefined reference to gpr_convert_clock_type'
//usr/local/lib/libgrpc++.a(exec_ctx.cc.o): In function grpc_timespec_to_millis_round_up(gpr_timespec)': exec_ctx.cc:(.text+0x448): undefined reference to gpr_convert_clock_type'
//usr/local/lib/libgrpc++.a(exec_ctx.cc.o): In function grpc_cycle_counter_to_millis_round_down(double)': exec_ctx.cc:(.text+0x48f): undefined reference to gpr_cycle_counter_sub(double, double)'
//usr/local/lib/libgrpc++.a(exec_ctx.cc.o): In function grpc_cycle_counter_to_millis_round_up(double)': exec_ctx.cc:(.text+0x4d6): undefined reference to gpr_cycle_counter_sub(double, double)'
//usr/local/lib/libgrpc++.a(exec_ctx.cc.o): In function grpc_core::ExecCtx::GlobalInit()': exec_ctx.cc:(.text+0x52d): undefined reference to gpr_get_cycle_counter()'
exec_ctx.cc:(.text+0x540): undefined reference to gpr_now' exec_ctx.cc:(.text+0x553): undefined reference to gpr_get_cycle_counter()'
//usr/local/lib/libgrpc++.a(exec_ctx.cc.o): In function grpc_core::ExecCtx::Flush()': exec_ctx.cc:(.text+0x664): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(exec_ctx.cc.o): In function grpc_core::ExecCtx::Now()': exec_ctx.cc:(.text+0x696): undefined reference to gpr_now'
//usr/local/lib/libgrpc++.a(exec_ctx.cc.o): In function grpc_core::ExecCtx::Run(grpc_core::DebugLocation const&, grpc_closure*, grpc_error*)': exec_ctx.cc:(.text+0x782): undefined reference to gpr_log'
exec_ctx.cc:(.text+0x806): undefined reference to gpr_log' //usr/local/lib/libgrpc++.a(exec_ctx.cc.o): In function grpc_core::ExecCtx::RunList(grpc_core::DebugLocation const&, grpc_closure_list*)':
exec_ctx.cc:(.text+0x8d3): undefined reference to gpr_log' exec_ctx.cc:(.text+0x957): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function rq_alloc(grpc_resource_quota*)': resource_quota.cc:(.text+0x84b): undefined reference to gpr_mu_lock'
resource_quota.cc:(.text+0x8b4): undefined reference to gpr_log' resource_quota.cc:(.text+0x9ab): undefined reference to gpr_mu_unlock'
resource_quota.cc:(.text+0xaa7): undefined reference to gpr_log' resource_quota.cc:(.text+0xb22): undefined reference to gpr_log'
resource_quota.cc:(.text+0xb93): undefined reference to gpr_mu_unlock' resource_quota.cc:(.text+0xbbb): undefined reference to gpr_mu_unlock'
//usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function rq_reclaim_from_per_user_free_pool(grpc_resource_quota*)': resource_quota.cc:(.text+0xc29): undefined reference to gpr_mu_lock'
resource_quota.cc:(.text+0xcef): undefined reference to gpr_log' resource_quota.cc:(.text+0xd05): undefined reference to gpr_mu_unlock'
resource_quota.cc:(.text+0xd7e): undefined reference to gpr_log' resource_quota.cc:(.text+0xd94): undefined reference to gpr_mu_unlock'
//usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function rq_reclaim(grpc_resource_quota*, bool)': resource_quota.cc:(.text+0xe86): undefined reference to gpr_log'
resource_quota.cc:(.text+0xeef): undefined reference to gpr_log' //usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function ru_slice_create(grpc_resource_user*, unsigned long)':
resource_quota.cc:(.text+0xfa8): undefined reference to gpr_malloc' //usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function ru_post_reclaimer(grpc_resource_user*, bool)':
resource_quota.cc:(.text+0x1164): undefined reference to gpr_log' resource_quota.cc:(.text+0x11cc): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function ru_shutdown(void*, grpc_error*)': resource_quota.cc:(.text+0x1433): undefined reference to gpr_log'
resource_quota.cc:(.text+0x144d): undefined reference to gpr_mu_lock' resource_quota.cc:(.text+0x152b): undefined reference to gpr_mu_unlock'
//usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function ru_destroy(void*, grpc_error*)': resource_quota.cc:(.text+0x15b8): undefined reference to gpr_log'
resource_quota.cc:(.text+0x16d0): undefined reference to gpr_mu_destroy' resource_quota.cc:(.text+0x16e3): undefined reference to gpr_free'
resource_quota.cc:(.text+0x16ef): undefined reference to gpr_free' //usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function rq_resize(void*, grpc_error*)':
resource_quota.cc:(.text+0x18fc): undefined reference to gpr_free' //usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function grpc_resource_quota_create':
resource_quota.cc:(.text+0x1950): undefined reference to gpr_malloc' resource_quota.cc:(.text+0x1965): undefined reference to gpr_ref_init'
resource_quota.cc:(.text+0x19ca): undefined reference to gpr_mu_init' resource_quota.cc:(.text+0x1a13): undefined reference to gpr_strdup'
resource_quota.cc:(.text+0x1a49): undefined reference to gpr_asprintf' //usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function grpc_resource_quota_unref_internal(grpc_resource_quota*)':
resource_quota.cc:(.text+0x1ae6): undefined reference to gpr_unref' resource_quota.cc:(.text+0x1b30): undefined reference to gpr_log'
resource_quota.cc:(.text+0x1b6b): undefined reference to gpr_free' resource_quota.cc:(.text+0x1b7b): undefined reference to gpr_mu_destroy'
resource_quota.cc:(.text+0x1b87): undefined reference to gpr_free' //usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function grpc_resource_quota_ref_internal(grpc_resource_quota*)':
resource_quota.cc:(.text+0x1c1a): undefined reference to gpr_ref' //usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function grpc_resource_quota_set_max_threads':
resource_quota.cc:(.text+0x1cab): undefined reference to gpr_log' resource_quota.cc:(.text+0x1cc0): undefined reference to gpr_mu_lock'
resource_quota.cc:(.text+0x1cda): undefined reference to gpr_mu_unlock' //usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function grpc_resource_quota_resize':
resource_quota.cc:(.text+0x1d1c): undefined reference to gpr_malloc' //usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function grpc_resource_quota_from_channel_args(grpc_channel_args const*, bool)':
resource_quota.cc:(.text+0x1ee0): undefined reference to gpr_log' //usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function grpc_resource_user_create(grpc_resource_quota*, char const*)':
resource_quota.cc:(.text+0x1f98): undefined reference to gpr_malloc' resource_quota.cc:(.text+0x209c): undefined reference to gpr_mu_init'
resource_quota.cc:(.text+0x21ce): undefined reference to gpr_strdup' resource_quota.cc:(.text+0x2204): undefined reference to gpr_asprintf'
//usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function ru_ref_by(grpc_resource_user*, long)': resource_quota.cc:(.text+0x2264): undefined reference to gpr_log'
resource_quota.cc:(.text+0x22b8): undefined reference to gpr_log' //usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function ru_unref_by(grpc_resource_user*, long)':
resource_quota.cc:(.text+0x2309): undefined reference to gpr_log' resource_quota.cc:(.text+0x2367): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function grpc_resource_user_allocate_threads(grpc_resource_user*, int)': resource_quota.cc:(.text+0x248f): undefined reference to gpr_log'
resource_quota.cc:(.text+0x24ab): undefined reference to gpr_mu_lock' resource_quota.cc:(.text+0x250b): undefined reference to gpr_mu_unlock'
//usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function grpc_resource_user_free_threads(grpc_resource_user*, int)': resource_quota.cc:(.text+0x2557): undefined reference to gpr_log'
resource_quota.cc:(.text+0x256f): undefined reference to gpr_mu_lock' resource_quota.cc:(.text+0x25fa): undefined reference to gpr_log'
resource_quota.cc:(.text+0x2616): undefined reference to gpr_mu_unlock' //usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function resource_user_alloc_locked(grpc_resource_user*, unsigned long, grpc_closure*)':
resource_quota.cc:(.text+0x26c9): undefined reference to gpr_log' //usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function grpc_resource_user_safe_alloc(grpc_resource_user*, unsigned long)':
resource_quota.cc:(.text+0x27be): undefined reference to gpr_mu_lock' resource_quota.cc:(.text+0x2816): undefined reference to gpr_mu_unlock'
resource_quota.cc:(.text+0x2872): undefined reference to gpr_mu_unlock' //usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function grpc_resource_user_alloc(grpc_resource_user*, unsigned long, grpc_closure*)':
resource_quota.cc:(.text+0x289f): undefined reference to gpr_mu_lock' resource_quota.cc:(.text+0x28e6): undefined reference to gpr_mu_unlock'
//usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function grpc_resource_user_free(grpc_resource_user*, unsigned long)': resource_quota.cc:(.text+0x290e): undefined reference to gpr_mu_lock'
resource_quota.cc:(.text+0x2970): undefined reference to gpr_log' resource_quota.cc:(.text+0x2a12): undefined reference to gpr_log'
resource_quota.cc:(.text+0x2a85): undefined reference to gpr_mu_unlock' //usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function grpc_resource_user_post_reclaimer(grpc_resource_user*, bool, grpc_closure*)':
resource_quota.cc:(.text+0x2afb): undefined reference to gpr_log' //usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function grpc_resource_user_finish_reclamation(grpc_resource_user*)':
resource_quota.cc:(.text+0x2bc6): undefined reference to gpr_log' //usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function closure_impl::closure_wrapper(void*, grpc_error*)':
resource_quota.cc:(.text._ZN12closure_impl15closure_wrapperEPvP10grpc_error[_ZN12closure_impl15closure_wrapperEPvP10grpc_error]+0x37): undefined reference to gpr_free' //usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function grpc_closure_create(char const*, int, void ()(void, grpc_error*), void*)':
resource_quota.cc:(.text.Z19grpc_closure_createPKciPFvPvP10grpc_errorES1[Z19grpc_closure_createPKciPFvPvP10grpc_errorES1]+0x1d): undefined reference to gpr_malloc' //usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function grpc_core::Closure::Run(grpc_core::DebugLocation const&, grpc_closure*, grpc_error*)':
resource_quota.cc:(.text._ZN9grpc_core7Closure3RunERKNS_13DebugLocationEP12grpc_closureP10grpc_error[_ZN9grpc_core7Closure3RunERKNS_13DebugLocationEP12grpc_closureP10grpc_error]+0xa7): undefined reference to gpr_log' resource_quota.cc:(.text._ZN9grpc_core7Closure3RunERKNS_13DebugLocationEP12grpc_closureP10grpc_error[_ZN9grpc_core7Closure3RunERKNS_13DebugLocationEP12grpc_closureP10grpc_error]+0xea): undefined reference to gpr_log'
resource_quota.cc:(.text._ZN9grpc_core7Closure3RunERKNS_13DebugLocationEP12grpc_closureP10grpc_error[_ZN9grpc_core7Closure3RunERKNS_13DebugLocationEP12grpc_closureP10grpc_error]+0x147): undefined reference to gpr_log' //usr/local/lib/libgrpc++.a(resource_quota.cc.o): In function grpc_core::RuSliceRefcount::Destroy(void*)':
resource_quota.cc:(.text._ZN9grpc_core15RuSliceRefcount7DestroyEPv[_ZN9grpc_core15RuSliceRefcount7DestroyEPv]+0x28): undefined reference to gpr_free' //usr/local/lib/libgrpc++.a(socket_mutator.cc.o): In function grpc_socket_mutator_init(grpc_socket_mutator*, grpc_socket_mutator_vtable const*)':
socket_mutator.cc:(.text+0x2c): undefined reference to gpr_ref_init' //usr/local/lib/libgrpc++.a(socket_mutator.cc.o): In function grpc_socket_mutator_ref(grpc_socket_mutator*)':
socket_mutator.cc:(.text+0x4b): undefined reference to gpr_ref' //usr/local/lib/libgrpc++.a(socket_mutator.cc.o): In function grpc_socket_mutator_unref(grpc_socket_mutator*)':
socket_mutator.cc:(.text+0x14b): undefined reference to gpr_unref' //usr/local/lib/libgrpc++.a(slice.cc.o): In function grpc_slice_to_c_string':
slice.cc:(.text+0x2a): undefined reference to gpr_malloc' //usr/local/lib/libgrpc++.a(slice.cc.o): In function (anonymous namespace)::MallocRefCount::Destroy(void*)':
slice.cc:(.text+0x89b): undefined reference to gpr_free' //usr/local/lib/libgrpc++.a(slice.cc.o): In function grpc_core::UnmanagedMemorySlice::HeapInit(unsigned long)':
slice.cc:(.text+0x99e): undefined reference to gpr_malloc' //usr/local/lib/libgrpc++.a(slice.cc.o): In function grpc_slice_split_tail_maybe_ref':
slice.cc:(.text+0xce0): undefined reference to gpr_log' slice.cc:(.text+0xd97): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(slice.cc.o): In function grpc_slice_split_head': slice.cc:(.text+0xfc6): undefined reference to gpr_log'
slice.cc:(.text+0x1097): undefined reference to gpr_log' slice.cc:(.text+0x115f): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(slice.cc.o):slice.cc:(.text+0x18ff): more undefined references to gpr_log' follow //usr/local/lib/libgrpc++.a(slice.cc.o): In function grpc_core::DefaultDeleteChar::operator()(char*)':
slice.cc:(.text._ZN9grpc_core17DefaultDeleteCharclEPc[_ZN9grpc_core17DefaultDeleteCharclEPc]+0x1f): undefined reference to gpr_free' //usr/local/lib/libgrpc++.a(slice.cc.o): In function grpc_core::RefCount::RefNonZero()':
slice.cc:(.text._ZN9grpc_core8RefCount10RefNonZeroEv[_ZN9grpc_core8RefCount10RefNonZeroEv]+0xa0): undefined reference to gpr_log' //usr/local/lib/libgrpc++.a(slice.cc.o): In function grpc_core::RefCount::Unref()':
slice.cc:(.text._ZN9grpc_core8RefCount5UnrefEv[_ZN9grpc_core8RefCount5UnrefEv]+0xa0): undefined reference to gpr_log' slice.cc:(.text._ZN9grpc_core8RefCount5UnrefEv[_ZN9grpc_core8RefCount5UnrefEv]+0xdd): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(slice.cc.o): In function grpc_refcounted_slice_length(grpc_slice const&)': slice.cc:(.text._Z28grpc_refcounted_slice_lengthRK10grpc_slice[_Z28grpc_refcounted_slice_lengthRK10grpc_slice]+0x46): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(slice.cc.o): In function grpc_refcounted_slice_data(grpc_slice const&)': slice.cc:(.text._Z26grpc_refcounted_slice_dataRK10grpc_slice[_Z26grpc_refcounted_slice_dataRK10grpc_slice]+0x46): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(slice.cc.o):slice.cc:(.text.ZN19grpc_slice_refcount2EqERK10grpc_sliceS2[ZN19grpc_slice_refcount2EqERK10grpc_sliceS2]+0x51): more undefined references to gpr_log' follow //usr/local/lib/libgrpc++.a(slice_buffer.cc.o): In function do_embiggen(grpc_slice_buffer*, unsigned long, unsigned long)':
slice_buffer.cc:(.text+0x9c): undefined reference to gpr_malloc' slice_buffer.cc:(.text+0xea): undefined reference to gpr_realloc'
//usr/local/lib/libgrpc++.a(slice_buffer.cc.o): In function grpc_slice_buffer_destroy_internal(grpc_slice_buffer*)': slice_buffer.cc:(.text+0x227): undefined reference to gpr_free'
//usr/local/lib/libgrpc++.a(slice_buffer.cc.o): In function grpc_slice_buffer_move_first_into_buffer': slice_buffer.cc:(.text+0xd31): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(slice_buffer.cc.o): In function grpc_slice_buffer_trim_end': slice_buffer.cc:(.text+0xf08): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(slice_buffer.cc.o): In function grpc_slice_buffer_take_first': slice_buffer.cc:(.text+0x112c): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(slice_buffer.cc.o): In function grpc_slice_buffer_remove_first(grpc_slice_buffer*)': slice_buffer.cc:(.text+0x121d): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(slice_buffer.cc.o): In function void slice_buffer_move_first_maybe_ref<true>(grpc_slice_buffer*, unsigned long, grpc_slice_buffer*)': slice_buffer.cc:(.text+0x1496): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(slice_buffer.cc.o):slice_buffer.cc:(.text+0x160c): more undefined references to gpr_log' follow //usr/local/lib/libgrpc++.a(byte_buffer.cc.o): In function grpc_raw_compressed_byte_buffer_create':
byte_buffer.cc:(.text+0x43): undefined reference to gpr_malloc' //usr/local/lib/libgrpc++.a(byte_buffer.cc.o): In function grpc_raw_byte_buffer_from_reader':
byte_buffer.cc:(.text+0xfb): undefined reference to gpr_malloc' //usr/local/lib/libgrpc++.a(byte_buffer.cc.o): In function grpc_byte_buffer_copy':
byte_buffer.cc:(.text+0x1da): undefined reference to gpr_log' //usr/local/lib/libgrpc++.a(byte_buffer.cc.o): In function grpc_byte_buffer_destroy':
byte_buffer.cc:(.text+0x238): undefined reference to gpr_free' //usr/local/lib/libgrpc++.a(byte_buffer.cc.o): In function grpc_byte_buffer_length':
byte_buffer.cc:(.text+0x2bf): undefined reference to gpr_log' //usr/local/lib/libgrpc++.a(byte_buffer_reader.cc.o): In function grpc_byte_buffer_reader_init':
byte_buffer_reader.cc:(.text+0x128): undefined reference to gpr_log' //usr/local/lib/libgrpc++.a(byte_buffer_reader.cc.o): In function grpc_byte_buffer_reader_readall':
byte_buffer_reader.cc:(.text+0x4e9): undefined reference to gpr_log' //usr/local/lib/libgrpc++.a(call.cc.o): In function grpc_call_create(grpc_call_create_args const*, grpc_call**)':
call.cc:(.text+0x2e9): undefined reference to grpc_core::Arena::CreateWithAlloc(unsigned long, unsigned long)' call.cc:(.text+0x41d): undefined reference to gpr_log'
call.cc:(.text+0x5c7): undefined reference to gpr_log' call.cc:(.text+0x6b8): undefined reference to gpr_log'
call.cc:(.text+0x700): undefined reference to gpr_log' call.cc:(.text+0x9cc): undefined reference to gpr_mu_lock'
call.cc:(.text+0xa95): undefined reference to gpr_mu_unlock' call.cc:(.text+0xb44): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(call.cc.o): In function grpc_call_set_completion_queue(grpc_call*, grpc_completion_queue*)': call.cc:(.text+0xd7b): undefined reference to gpr_log'
call.cc:(.text+0xdbc): undefined reference to gpr_log' //usr/local/lib/libgrpc++.a(call.cc.o): In function release_call(void*, grpc_error*)':
call.cc:(.text+0xf18): undefined reference to grpc_core::Arena::Destroy()' //usr/local/lib/libgrpc++.a(call.cc.o): In function destroy_call(void*, grpc_error*)':
call.cc:(.text+0x1125): undefined reference to gpr_get_cycle_counter()' call.cc:(.text+0x1133): undefined reference to gpr_cycle_counter_sub(double, double)'
//usr/local/lib/libgrpc++.a(call.cc.o): In function grpc_call_unref': call.cc:(.text+0x127d): undefined reference to gpr_log'
call.cc:(.text+0x12b3): undefined reference to gpr_mu_lock' call.cc:(.text+0x1351): undefined reference to gpr_mu_unlock'
call.cc:(.text+0x13a9): undefined reference to gpr_log' //usr/local/lib/libgrpc++.a(call.cc.o): In function grpc_call_cancel':
call.cc:(.text+0x1531): undefined reference to gpr_log' call.cc:(.text+0x156d): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(call.cc.o): In function grpc_call_get_peer': call.cc:(.text+0x1752): undefined reference to gpr_strdup'
call.cc:(.text+0x1784): undefined reference to gpr_strdup' //usr/local/lib/libgrpc++.a(call.cc.o): In function grpc_call_cancel_with_status':
call.cc:(.text+0x185c): undefined reference to gpr_log' call.cc:(.text+0x189c): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(call.cc.o): In function done_termination(void*, grpc_error*)': call.cc:(.text+0x1985): undefined reference to gpr_free'
//usr/local/lib/libgrpc++.a(call.cc.o): In function cancel_with_error(grpc_call*, grpc_error*)': call.cc:(.text+0x1a25): undefined reference to gpr_malloc'
//usr/local/lib/libgrpc++.a(call.cc.o): In function set_final_status(grpc_call*, grpc_error*)': call.cc:(.text+0x1c29): undefined reference to gpr_log'
call.cc:(.text+0x1c5a): undefined reference to gpr_log' //usr/local/lib/libgrpc++.a(call.cc.o): In function set_incoming_message_compression_algorithm(grpc_call*, grpc_message_compression_algorithm)':
=======================================================================
and a lot more until the ends looks like this .......
=======================================================================
ev_poll_posix.cc:(.text+0x3896): undefined reference to grpc_core::Fork::SetResetChildPollingEngineFunc(void (*)())' //usr/local/lib/libgrpc++.a(is_epollexclusive_available.cc.o): In function grpc_is_epollexclusive_available':
is_epollexclusive_available.cc:(.text+0x5c): undefined reference to gpr_log' is_epollexclusive_available.cc:(.text+0xbb): undefined reference to gpr_log'
is_epollexclusive_available.cc:(.text+0x14e): undefined reference to gpr_log' is_epollexclusive_available.cc:(.text+0x1a0): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(lockfree_event.cc.o): In function grpc_core::LockfreeEvent::DestroyEvent()': lockfree_event.cc:(.text+0x15c): undefined reference to gpr_log'
//usr/local/lib/libgrpc++.a(lockfree_event.cc.o):lockfree_event.cc:(.text+0x208): more undefined references to `gpr_log' follow
collect2: error: ld returned 1 exit status
CMakeFiles/async_grpc.client_test.dir/build.make:86: recipe for target 'async_grpc.client_test' failed
make[2]: *** [async_grpc.client_test] Error 1
CMakeFiles/Makefile2:73: recipe for target 'CMakeFiles/async_grpc.client_test.dir/all' failed
make[1]: *** [CMakeFiles/async_grpc.client_test.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2