GRPC_Compilation: libares.a Error while compiling GRPC 1.7.3

42 views
Skip to first unread message

neelisr...@gmail.com

unread,
Dec 22, 2017, 8:06:16 AM12/22/17
to grpc.io
Hi all,

This is Neeli Srinivas. I am new to GRPC. I am trying to compile grpc for arm architecture.
for compilation of GRPC I am getting below error.

[CXX]     Compiling src/cpp/server/server_credentials.cc
[CXX]     Compiling src/cpp/server/server_posix.cc
[CXX]     Compiling src/cpp/thread_manager/thread_manager.cc
[CXX]     Compiling src/cpp/util/byte_buffer_cc.cc
[CXX]     Compiling src/cpp/util/slice_cc.cc
[CXX]     Compiling src/cpp/util/status.cc
[CXX]     Compiling src/cpp/util/string_ref.cc
[CXX]     Compiling src/cpp/util/time_cc.cc
[CXX]     Compiling src/cpp/codegen/codegen_init.cc
[CXX]     Compiling src/cpp/common/insecure_create_auth_context.cc
[HOSTCXX] Compiling src/compiler/cpp_generator.cc
[HOSTCXX] Compiling src/compiler/csharp_generator.cc
[HOSTCXX] Compiling src/compiler/node_generator.cc
[HOSTCXX] Compiling src/compiler/objective_c_generator.cc
[HOSTCXX] Compiling src/compiler/php_generator.cc
[HOSTCXX] Compiling src/compiler/python_generator.cc
[HOSTCXX] Compiling src/compiler/ruby_generator.cc
[AR]      Creating /home/srinin3/pybuild/ssp-linux-a6_os/lib_oss/grpc/libs/opt/libares.a
arm-linux-ar: /home/srinin3/pybuild/ssp-linux-a6_os/lib_oss/grpc/libs/opt/libares.a: No such file or directory
make: *** [/home/srinin3/pybuild/ssp-linux-a6_os/lib_oss/grpc/libs/opt/libares.a] Error 1


How can i rectify this error ?
is there any special process need to follow for compilation of grpc ?
I am using grpc 1.7.3 with protobuf 3.2.0
Advanched Thanks


Thanks
Srinivas Neeli

Nicolas Noble

unread,
Jan 24, 2018, 1:37:36 PM1/24/18
to grpc.io
Actually, this doesn't really seem related to arm per-se. This feels like a normal bug in our dependency tree for the ares dependency. You should be able to bypass this one (if it hasn't been fixed yet) by actually installing the c-ares library on your system.
Reply all
Reply to author
Forward
0 new messages