Skip to content

Link errors for make run_assistant #83

@yblin00

Description

@yblin00

When I type commands "make run_assistant", the errors appear as follows. How can I fix the issues? Thanks.

wire_format.cc:(.text+0x98c0): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()' /lib/../lib/libprotobuf.a(wire_format.cc.o): In function google::protobuf::internal::MapKeyDataOnlyByteSize(google::protobuf::FieldDescriptor const*, google::protobuf::MapKey const&)':
wire_format.cc:(.text+0x9f2a): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::LogMessageFatal(char const*, int, absl::lts_20230125::string_view)' wire_format.cc:(.text+0x9f42): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()'
wire_format.cc:(.text+0x9f92): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::LogMessageFatal(char const*, int)' wire_format.cc:(.text+0x9fcb): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()'
wire_format.cc:(.text+0xa0af): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::LogMessageFatal(char const*, int)' wire_format.cc:(.text+0xa0e8): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()'
wire_format.cc:(.text+0xa105): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()' wire_format.cc:(.text+0xa111): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()'
/lib/../lib/libprotobuf.a(wire_format.cc.o): In function google::protobuf::internal::MapValueRefDataOnlyByteSize(google::protobuf::FieldDescriptor const*, google::protobuf::MapValueConstRef const&)': wire_format.cc:(.text+0xa18c): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::LogMessageFatal(char const*, int)'
wire_format.cc:(.text+0xa1c5): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()' wire_format.cc:(.text+0xa304): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::LogMessageFatal(char const*, int)'
wire_format.cc:(.text+0xa33d): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()' wire_format.cc:(.text+0xa35a): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()'
wire_format.cc:(.text+0xa366): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()' /lib/../lib/libprotobuf.a(wire_format.cc.o): In function char const* google::protobuf::internal::EpsCopyInputStream::ReadPackedVarint<google::protobuf::internal::WireFormat::_InternalParseAndMergeField(google::protobuf::Message*, char const*, google::protobuf::internal::ParseContext*, unsigned long, google::protobuf::Reflection const*, google::protobuf::FieldDescriptor const*)::{lambda(int)#1}>(char const*, google::protobuf::internal::WireFormat::_InternalParseAndMergeField(google::protobuf::Message*, char const*, google::protobuf::internal::ParseContext*, unsigned long, google::protobuf::Reflection const*, google::protobuf::FieldDescriptor const*)::{lambda(int)#1})':
wire_format.cc:(.text+0xb57f): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::LogMessageFatal(char const*, int, absl::lts_20230125::string_view)' wire_format.cc:(.text+0xb5b5): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()'
wire_format.cc:(.text+0xb688): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::LogMessageFatal(char const*, int, absl::lts_20230125::string_view)' wire_format.cc:(.text+0xb6a0): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()'
wire_format.cc:(.text+0xb7b9): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::LogMessageFatal(char const*, int, absl::lts_20230125::string_view)' wire_format.cc:(.text+0xb7d1): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()'
wire_format.cc:(.text+0xb8d4): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()' /lib/../lib/libprotobuf.a(wire_format.cc.o): In function google::protobuf::io::EpsCopyOutputStream::WriteString(unsigned int, absl::lts_20230125::Cord const&, unsigned char*)':
wire_format.cc:(.text._ZN6google8protobuf2io19EpsCopyOutputStream11WriteStringEjRKN4absl12lts_202301254CordEPh[_ZN6google8protobuf2io19EpsCopyOutputStream11WriteStringEjRKN4absl12lts_202301254CordEPh]+0xbd): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::LogMessageFatal(char const*, int, absl::lts_20230125::string_view)' wire_format.cc:(.text._ZN6google8protobuf2io19EpsCopyOutputStream11WriteStringEjRKN4absl12lts_202301254CordEPh[_ZN6google8protobuf2io19EpsCopyOutputStream11WriteStringEjRKN4absl12lts_202301254CordEPh]+0xf0): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()'
wire_format.cc:(.text._ZN6google8protobuf2io19EpsCopyOutputStream11WriteStringEjRKN4absl12lts_202301254CordEPh[_ZN6google8protobuf2io19EpsCopyOutputStream11WriteStringEjRKN4absl12lts_202301254CordEPh]+0x186): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()' /lib/../lib/libprotobuf.a(wire_format.cc.o): In function google::protobuf::internal::EpsCopyInputStream::ReadCord(char const*, int, absl::lts_20230125::Cord*)':
wire_format.cc:(.text._ZN6google8protobuf8internal18EpsCopyInputStream8ReadCordEPKciPN4absl12lts_202301254CordE[_ZN6google8protobuf8internal18EpsCopyInputStream8ReadCordEPKciPN4absl12lts_202301254CordE]+0x94): undefined reference to absl::lts_20230125::Cord::operator=(absl::lts_20230125::string_view)' /lib/../lib/libprotobuf.a(wire_format.cc.o): In function google::protobuf::UnknownField::GetLengthDelimitedSize() const':
wire_format.cc:(.text._ZNK6google8protobuf12UnknownField22GetLengthDelimitedSizeEv[_ZNK6google8protobuf12UnknownField22GetLengthDelimitedSizeEv]+0x9f): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::LogMessageFatal(char const*, int, absl::lts_20230125::string_view)' wire_format.cc:(.text._ZNK6google8protobuf12UnknownField22GetLengthDelimitedSizeEv[_ZNK6google8protobuf12UnknownField22GetLengthDelimitedSizeEv]+0xb7): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()'
/lib/../lib/libprotobuf.a(wire_format.cc.o): In function google::protobuf::DynamicMapSorter::Sort(google::protobuf::Message const&, int, google::protobuf::Reflection const*, google::protobuf::FieldDescriptor const*)': wire_format.cc:(.text._ZN6google8protobuf16DynamicMapSorter4SortERKNS0_7MessageEiPKNS0_10ReflectionEPKNS0_15FieldDescriptorE[_ZN6google8protobuf16DynamicMapSorter4SortERKNS0_7MessageEiPKNS0_10ReflectionEPKNS0_15FieldDescriptorE]+0x207): undefined reference to absl::lts_20230125::log_internal::LogMessage::LogMessage(char const*, int, absl::lts_20230125::LogSeverity)'
wire_format.cc:(.text._ZN6google8protobuf16DynamicMapSorter4SortERKNS0_7MessageEiPKNS0_10ReflectionEPKNS0_15FieldDescriptorE[_ZN6google8protobuf16DynamicMapSorter4SortERKNS0_7MessageEiPKNS0_10ReflectionEPKNS0_15FieldDescriptorE]+0x2af): undefined reference to absl::lts_20230125::log_internal::LogMessage::~LogMessage()' wire_format.cc:(.text._ZN6google8protobuf16DynamicMapSorter4SortERKNS0_7MessageEiPKNS0_10ReflectionEPKNS0_15FieldDescriptorE[_ZN6google8protobuf16DynamicMapSorter4SortERKNS0_7MessageEiPKNS0_10ReflectionEPKNS0_15FieldDescriptorE]+0x2ed): undefined reference to absl::lts_20230125::log_internal::LogMessage::~LogMessage()'
/lib/../lib/libprotobuf.a(wire_format.cc.o): In function google::protobuf::DynamicMapSorter::MapEntryMessageComparator::operator()(google::protobuf::Message const*, google::protobuf::Message const*)': wire_format.cc:(.text._ZN6google8protobuf16DynamicMapSorter25MapEntryMessageComparatorclEPKNS0_7MessageES5_[_ZN6google8protobuf16DynamicMapSorter25MapEntryMessageComparatorclEPKNS0_7MessageES5_]+0x30a): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::LogMessageFatal(char const*, int)'
wire_format.cc:(.text.ZN6google8protobuf16DynamicMapSorter25MapEntryMessageComparatorclEPKNS0_7MessageES5[ZN6google8protobuf16DynamicMapSorter25MapEntryMessageComparatorclEPKNS0_7MessageES5]+0x346): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()' wire_format.cc:(.text._ZN6google8protobuf16DynamicMapSorter25MapEntryMessageComparatorclEPKNS0_7MessageES5_[_ZN6google8protobuf16DynamicMapSorter25MapEntryMessageComparatorclEPKNS0_7MessageES5_]+0x37f): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()'
/lib/../lib/libprotobuf.a(wire_format.cc.o): In function google::protobuf::internal::MapKeySorter::MapKeyComparator::operator()(google::protobuf::MapKey const&, google::protobuf::MapKey const&) const': wire_format.cc:(.text._ZNK6google8protobuf8internal12MapKeySorter16MapKeyComparatorclERKNS0_6MapKeyES6_[_ZNK6google8protobuf8internal12MapKeySorter16MapKeyComparatorclERKNS0_6MapKeyES6_]+0x85): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::LogMessageFatal(char const*, int, absl::lts_20230125::string_view)'
wire_format.cc:(.text.ZNK6google8protobuf8internal12MapKeySorter16MapKeyComparatorclERKNS0_6MapKeyES6[ZNK6google8protobuf8internal12MapKeySorter16MapKeyComparatorclERKNS0_6MapKeyES6]+0xb8): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()' wire_format.cc:(.text._ZNK6google8protobuf8internal12MapKeySorter16MapKeyComparatorclERKNS0_6MapKeyES6_[_ZNK6google8protobuf8internal12MapKeySorter16MapKeyComparatorclERKNS0_6MapKeyES6_]+0x1e5): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::LogMessageFatal(char const*, int)'
wire_format.cc:(.text.ZNK6google8protobuf8internal12MapKeySorter16MapKeyComparatorclERKNS0_6MapKeyES6[ZNK6google8protobuf8internal12MapKeySorter16MapKeyComparatorclERKNS0_6MapKeyES6]+0x21e): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()' wire_format.cc:(.text._ZNK6google8protobuf8internal12MapKeySorter16MapKeyComparatorclERKNS0_6MapKeyES6_[_ZNK6google8protobuf8internal12MapKeySorter16MapKeyComparatorclERKNS0_6MapKeyES6_]+0x23f): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()'
wire_format.cc:(.text.ZNK6google8protobuf8internal12MapKeySorter16MapKeyComparatorclERKNS0_6MapKeyES6[ZNK6google8protobuf8internal12MapKeySorter16MapKeyComparatorclERKNS0_6MapKeyES6]+0x253): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()' /lib/../lib/libprotobuf.a(wire_format.cc.o): In function char const* google::protobuf::internal::ParseContext::ParseGroupgoogle::protobuf::internal::WireFormat::MessageSetParser(google::protobuf::internal::WireFormat::MessageSetParser*, char const*, unsigned int)':
wire_format.cc:(.text._ZN6google8protobuf8internal12ParseContext10ParseGroupINS1_10WireFormat16MessageSetParserEEEPKcPT_S7_j[_ZN6google8protobuf8internal12ParseContext10ParseGroupINS1_10WireFormat16MessageSetParserEEEPKcPT_S7_j]+0x105): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::LogMessageFatal(char const*, int, absl::lts_20230125::string_view)' wire_format.cc:(.text._ZN6google8protobuf8internal12ParseContext10ParseGroupINS1_10WireFormat16MessageSetParserEEEPKcPT_S7_j[_ZN6google8protobuf8internal12ParseContext10ParseGroupINS1_10WireFormat16MessageSetParserEEEPKcPT_S7_j]+0x11d): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()'
wire_format.cc:(.text._ZN6google8protobuf8internal12ParseContext10ParseGroupINS1_10WireFormat16MessageSetParserEEEPKcPT_S7_j[_ZN6google8protobuf8internal12ParseContext10ParseGroupINS1_10WireFormat16MessageSetParserEEEPKcPT_S7_j]+0x18b): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::LogMessageFatal(char const*, int, absl::lts_20230125::string_view)' wire_format.cc:(.text._ZN6google8protobuf8internal12ParseContext10ParseGroupINS1_10WireFormat16MessageSetParserEEEPKcPT_S7_j[_ZN6google8protobuf8internal12ParseContext10ParseGroupINS1_10WireFormat16MessageSetParserEEEPKcPT_S7_j]+0x1a3): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()'
/lib/../lib/libprotobuf.a(wire_format.cc.o): In function char const* google::protobuf::internal::ParseContext::ParseGroup<google::protobuf::Message>(google::protobuf::Message*, char const*, unsigned int)': wire_format.cc:(.text._ZN6google8protobuf8internal12ParseContext10ParseGroupINS0_7MessageEEEPKcPT_S6_j[_ZN6google8protobuf8internal12ParseContext10ParseGroupINS0_7MessageEEEPKcPT_S6_j]+0x10d): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::LogMessageFatal(char const*, int, absl::lts_20230125::string_view)'
wire_format.cc:(.text._ZN6google8protobuf8internal12ParseContext10ParseGroupINS0_7MessageEEEPKcPT_S6_j[_ZN6google8protobuf8internal12ParseContext10ParseGroupINS0_7MessageEEEPKcPT_S6_j]+0x125): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()' wire_format.cc:(.text._ZN6google8protobuf8internal12ParseContext10ParseGroupINS0_7MessageEEEPKcPT_S6_j[_ZN6google8protobuf8internal12ParseContext10ParseGroupINS0_7MessageEEEPKcPT_S6_j]+0x193): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::LogMessageFatal(char const*, int, absl::lts_20230125::string_view)'
wire_format.cc:(.text._ZN6google8protobuf8internal12ParseContext10ParseGroupINS0_7MessageEEEPKcPT_S6_j[_ZN6google8protobuf8internal12ParseContext10ParseGroupINS0_7MessageEEEPKcPT_S6_j]+0x1ab): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()' /lib/../lib/libprotobuf.a(wire_format_lite.cc.o): In function google::protobuf::internal::WireFormatLite::WriteString(int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, google::protobuf::io::CodedOutputStream*)':
wire_format_lite.cc:(.text+0xe09): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::LogMessageFatal(char const*, int, absl::lts_20230125::string_view)' wire_format_lite.cc:(.text+0xe21): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()'
/lib/../lib/libprotobuf.a(wire_format_lite.cc.o): In function google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, google::protobuf::io::CodedOutputStream*)': wire_format_lite.cc:(.text+0xf22): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::LogMessageFatal(char const*, int, absl::lts_20230125::string_view)'
wire_format_lite.cc:(.text+0xf3a): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()' /lib/../lib/libprotobuf.a(wire_format_lite.cc.o): In function google::protobuf::internal::WireFormatLite::WriteBytes(int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, google::protobuf::io::CodedOutputStream*)':
wire_format_lite.cc:(.text+0x1059): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::LogMessageFatal(char const*, int, absl::lts_20230125::string_view)' wire_format_lite.cc:(.text+0x1071): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()'
/lib/../lib/libprotobuf.a(wire_format_lite.cc.o): In function google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, google::protobuf::io::CodedOutputStream*)': wire_format_lite.cc:(.text+0x1172): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::LogMessageFatal(char const*, int, absl::lts_20230125::string_view)'
wire_format_lite.cc:(.text+0x118a): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()' /lib/../lib/libprotobuf.a(wire_format_lite.cc.o): In function google::protobuf::internal::PrintUTF8ErrorLog(absl::lts_20230125::string_view, absl::lts_20230125::string_view, char const*, bool)':
wire_format_lite.cc:(.text+0x180b): undefined reference to absl::lts_20230125::StrCat[abi:cxx11](absl::lts_20230125::AlphaNum const&, absl::lts_20230125::AlphaNum const&, absl::lts_20230125::AlphaNum const&)' wire_format_lite.cc:(.text+0x18fd): undefined reference to absl::lts_20230125::log_internal::LogMessage::LogMessage(char const*, int, absl::lts_20230125::LogSeverity)'
wire_format_lite.cc:(.text+0x1921): undefined reference to absl::lts_20230125::log_internal::LogMessage::operator<<(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' wire_format_lite.cc:(.text+0x1945): undefined reference to absl::lts_20230125::log_internal::LogMessage::~LogMessage()'
wire_format_lite.cc:(.text+0x19b9): undefined reference to absl::lts_20230125::log_internal::LogMessage::~LogMessage()' /lib/../lib/libprotobuf.a(wire_format_lite.cc.o): In function google::protobuf::internal::WireFormatLite::VerifyUtf8String(char const*, int, google::protobuf::internal::WireFormatLite::Operation, char const*)':
wire_format_lite.cc:(.text+0x1a53): undefined reference to utf8_range::IsStructurallyValid(absl::lts_20230125::string_view)' /lib/../lib/libprotobuf.a(type.pb.cc.o): In function google::protobuf::Type::Clear()':
type.pb.cc:(.text+0x7e1): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::LogMessageFatal(char const*, int, absl::lts_20230125::string_view)' type.pb.cc:(.text+0x814): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()'
type.pb.cc:(.text+0x871): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()' /lib/../lib/libprotobuf.a(type.pb.cc.o): In function google::protobuf::Type::MergeImpl(google::protobuf::Message&, google::protobuf::Message const&)':
type.pb.cc:(.text+0x16b6): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::LogMessageFatal(char const*, int, absl::lts_20230125::string_view)' type.pb.cc:(.text+0x16ce): undefined reference to absl::lts_20230125::log_internal::LogMessageFatal::~LogMessageFatal()'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions