We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bbs@946d4dbea71b:~/pttbbs/daemon/boardd$ pmake clean all rm -f boardc.o boardd.o convert.o article.o strings.o board_service_impl.o bbs++.o evbuffer.o board.pb.cc board.grpc.pb.cc board.pb.h board.grpc.pb.h board.pb.o board.grpc.pb.o boardc boardd protoc -I. --cpp_out=. --grpc_out=. --plugin=protoc-gen-grpc=/usr/bin/grpc_cpp_plugin board.proto ccache clang++ -g -Os -W -Wall -Wunused -Wno-missing-field-initializers -Wno-address-of-packed-member -pipe -DBBSHOME='"/home/bbs"' -I../../include -Wno-invalid-source-encoding -std=c++17 -I../.. -I. -Wno-unused-parameter -c board.pb.cc ccache clang++ -g -Os -W -Wall -Wunused -Wno-missing-field-initializers -Wno-address-of-packed-member -pipe -DBBSHOME='"/home/bbs"' -I../../include -Wno-invalid-source-encoding -std=c++17 -I../.. -I. -Wno-unused-parameter -c board.grpc.pb.cc ccache clang++ -g -Os -W -Wall -Wunused -Wno-missing-field-initializers -Wno-address-of-packed-member -pipe -DBBSHOME='"/home/bbs"' -I../../include -Wno-invalid-source-encoding -std=c++17 -I../.. -I. -Wno-unused-parameter -c boardc.cpp ccache clang++ -g -Os -W -Wall -Wunused -Wno-missing-field-initializers -Wno-address-of-packed-member -pipe -DBBSHOME='"/home/bbs"' -I../../include -Wno-invalid-source-encoding -std=c++17 -I../.. -I. -Wno-unused-parameter -o boardc board.pb.o board.grpc.pb.o boardc.o -Os -Wl,--as-needed ../../util/util_var.o ../../common/bbs/libcmbbs.a ../../common/sys/libcmsys.a ../../common/osdep/libosdep.a -levent -pthread -lstdc++ -lgrpc++ -lprotobuf -lgflags /usr/bin/ld: board.grpc.pb.o: undefined reference to symbol 'gpr_log' /usr/bin/ld: /lib/x86_64-linux-gnu/libgpr.so.29: error adding symbols: DSO missing from command line clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake: stopped in /home/bbs/pttbbs/daemon/boardd bbs@946d4dbea71b:~/pttbbs/daemon/boardd$ dpkg -l|grep grpc ii libgrpc++-dev:amd64 1.51.1-3+b1 amd64 high performance general RPC framework (development) ii libgrpc++1.51:amd64 1.51.1-3+b1 amd64 high performance general RPC framework ii libgrpc-dev:amd64 1.51.1-3+b1 amd64 high performance general RPC framework (development) ii libgrpc29:amd64 1.51.1-3+b1 amd64 high performance general RPC framework ii protobuf-compiler-grpc 1.51.1-3+b1 amd64 high performance general RPC framework - protobuf plugin bbs@946d4dbea71b:~/pttbbs/daemon/boardd$
The text was updated successfully, but these errors were encountered:
Can be resolved by adding -lgpr -labsl_synchronization
-lgpr -labsl_synchronization
Need to check the side-effect after adding these flags though~
grpc/grpc#36832
Sorry, something went wrong.
A better configure for grpc/grpc++:
grpc/grpc++
`pkg-config --libs protobuf grpc++`
https://github.com/grpc/grpc/blob/v1.30.2/examples/cpp/helloworld/Makefile https://github.com/grpc/grpc/blob/v1.51.1/examples/cpp/helloworld/Makefile
Fixed with commit 1ef2a12.
No branches or pull requests
The text was updated successfully, but these errors were encountered: