Skip to content
New issue

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

undefined reference to `bool absl::lts_20230802::str_format_internal::FormatA rgImpl::Dispatch #12

Open
henry87653 opened this issue Oct 23, 2023 · 1 comment

Comments

@henry87653
Copy link

henry87653 commented Oct 23, 2023

非常感谢作者的分享,能否请教一个编译过程中遇到的问题?
尝试了重新安装absl与protobuf,两者应该都是最新版本,但是编译过程出现如下报错,与“absl::lts_20230802”相关。看起来与absl版本相关。

类似报错:protocolbuffers/protobuf#12292 ,没找到解决方法。

/home/ldx/ws/Dftpav/devel/lib/libhkust_pl_ssc.so: undefined reference to `bool absl::lts_20230802::str_format_internal::FormatA
rgImpl::Dispatch<long>(absl::lts_20230802::str_format_internal::FormatArgImpl::Data, absl::lts_20230802::str_format_internal::F
ormatConversionSpecImpl, void*)'                                                                                               
/home/ldx/ws/Dftpav/devel/lib/libhkust_pl_ssc.so: undefined reference to `bool absl::lts_20230802::str_format_internal::FormatA
rgImpl::Dispatch<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(absl::lts_20230802::str_form
at_internal::FormatArgImpl::Data, absl::lts_20230802::str_format_internal::FormatConversionSpecImpl, void*)'                   
/home/ldx/ws/Dftpav/devel/lib/libhkust_pl_ssc.so: undefined reference to `absl::lts_20230802::container_internal::DropDeletesWi
thoutResize(absl::lts_20230802::container_internal::CommonFields&, absl::lts_20230802::container_internal::PolicyFunctions cons
t&, void*)'                                                                                                                    
/home/ldx/ws/Dftpav/devel/lib/libhkust_pl_ssc.so: undefined reference to `absl::lts_20230802::hash_internal::MixingHashState::L
owLevelHashImpl(unsigned char const*, unsigned long)'                                                                          
/home/ldx/ws/Dftpav/devel/lib/libhkust_pl_ssc.so: undefined reference to `absl::lts_20230802::Mutex::AssertHeld() const'       
/home/ldx/ws/Dftpav/devel/lib/libhkust_pl_ssc.so: undefined reference to `absl::lts_20230802::log_internal::LogMessage& absl::l
ts_20230802::log_internal::LogMessage::operator<< <void*, 0>(void* const&)'                                                    
/home/ldx/ws/Dftpav/devel/lib/libhkust_pl_ssc.so: undefined reference to `absl::lts_20230802::strings_internal::CatPieces[abi:c
xx11](std::initializer_list<absl::lts_20230802::string_view>)'                                                                 
/home/ldx/ws/Dftpav/devel/lib/libhkust_pl_ssc.so: undefined reference to `absl::lts_20230802::numbers_internal::kHexTable'
/home/ldx/ws/Dftpav/devel/lib/libhkust_pl_ssc.so: undefined reference to `absl::lts_20230802::log_internal::LogMessage& absl::l
ts_20230802::log_internal::LogMessage::operator<< <unsigned short, 0>(unsigned short const&)'
/home/ldx/ws/Dftpav/devel/lib/libhkust_pl_ssc.so: undefined reference to `google::protobuf::internal::AssignDescriptors(google$
:protobuf::internal::DescriptorTable const* (*)(), absl::once_flag*, google::protobuf::Metadata const&)'
/home/ldx/ws/Dftpav/devel/lib/libhkust_pl_ssc.so: undefined reference to `absl::lts_20230802::internal_statusor::Helper::Crash(
absl::lts_20230802::Status const&)'
/home/ldx/ws/Dftpav/devel/lib/libhkust_pl_ssc.so: undefined reference to `absl::lts_20230802::hash_internal::MixingHashState::k
Seed'
/home/ldx/ws/Dftpav/devel/lib/libhkust_pl_ssc.so: undefined reference to `absl::lts_20230802::ascii_internal::kPropertyBits'
collect2: error: ld returned 1 exit status
@ChliWang
Copy link

我也遇到了0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants