Hi, I'm trying to build gRPC v1.4.1 as following. I have all the required third party libraries built (with Clang and libc++) and installed (besides boringssl which is cloned inside third_party and built recursively).
I'm running make as following: make HOST_CC=clang HOST_CXX="clang++ -stdlib=libc++ -std=c++11" CC=clang CXX="clang++ -stdlib=libc++ -std=c++11" and I get an error during linkage of the protoc gRPC plugin: [HOSTLD] Linking /grpc-1.4.1/bins/opt/grpc_cpp_plugin /usr/bin/ld: /grpc-1.4.1/objs/opt/src/compiler/cpp_plugin.o: undefined reference to symbol '_ZNSt3__18ios_base4initEPv' //usr/lib/x86_64-linux-gnu/libc++.so.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make: *** [/grpc-1.4.1/bins/opt/grpc_cpp_plugin] Error 1 My constraint is that I really need to build with libc++. The whole thing does work if I build with libstdc++ (given protobuf is built with libstdc++ as well). I really need your help here, thank you! Alex -- 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 [email protected]. To post to this group, send email to [email protected]. 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/d37d91eb-d75e-4d4b-b6b3-b55424705e30%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
