intel / intel/confidential-computing.sgx

BUILDING PSW ERROR: undefined reference to `google::protobuf

Open
#491 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.5k
Forks
565
PR merge metrics
No merged PRs in 30d

Description

I am building psw on my ubuntu 18.04. I already installed protobuf library and sdk and I am trying to build psw to use dnnl.
An error occurs while running make psw:

../bin/libipc.so: undefined reference to `google::protobuf::internal::empty_string_'
../bin/libipc.so: undefined reference to `google::protobuf::internal::ArenaStringPtr::AssignWithDefault(std::string const*, google::protobuf::internal::ArenaStringPtr)'
../bin/libipc.so: undefined reference to `google::protobuf::io::LazyStringOutputStream::LazyStringOutputStream(google::protobuf::ResultCallback*)'
../bin/libipc.so: undefined reference to `google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::string*)'

Can anyone help me to identify where the problem is?

Thanks in advance

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.