Trouble with the install

14 views
Skip to first unread message

paullouis...@gmail.com

unread,
Apr 18, 2019, 12:29:38 PM4/18/19
to grpc.io
Hi guys,

I tired to install grpc using the described mathod of PI (https://github.com/p4lang/PI). But when I do the make command I have an error :
[MAKE]    Generating /home/pcamille/tools/grpc-1.3.2/libs/opt/pkgconfig/grpc.pc
[MAKE]    Generating /home/pcamille/tools/grpc-1.3.2/libs/opt/pkgconfig/grpc_unsecure.pc
[MAKE]    Generating cache.mk
[C]       Compiling src/core/lib/profiling/basic_timers.c
cc1
: error: command line option ‘-std=c++11 is valid for C++/ObjC++ but not for C [-Werror]
cc1
: all warnings being treated as errors
Makefile:2470: recipe for target '/home/pcamille/tools/grpc-1.3.2/objs/opt/src/core/lib/profiling/basic_timers.o' failed
make
: *** [/home/pcamille/tools/grpc-1.3.2/objs/opt/src/core/lib/profiling/basic_timers.o] Error 1


I don't know how to solve it.

Paul-Louis

paullouis...@gmail.com

unread,
Apr 19, 2019, 4:51:03 AM4/19/19
to grpc.io
I did it with the apt install rather than the git repo.
Reply all
Reply to author
Forward
0 new messages