这是indexloc提供的服务,不要输入任何密码
Skip to content

Undefined symbol on macOS in dylib #624

@BotellaA

Description

@BotellaA

I got this error while compiling libabsl_cord.dylib

Undefined symbols for architecture x86_64:
  "absl::numbers_internal::FastIntToBuffer(unsigned long long, char*)", referenced from:
      char* absl::numbers_internal::FastIntToBuffer<unsigned long>(unsigned long, char*) in cord.o
  "absl::StrCat(absl::AlphaNum const&, absl::AlphaNum const&)", referenced from:
      absl::strings_internal::CordTestAccess::LengthToTag(unsigned long) in cord.o
  "absl::StrCat(absl::AlphaNum const&, absl::AlphaNum const&, absl::AlphaNum const&, absl::AlphaNum const&)", referenced from:
      absl::Cord::RemovePrefix(unsigned long) in cord.o
      absl::Cord::RemoveSuffix(unsigned long) in cord.o
  "absl::CEscape(absl::string_view)", referenced from:
      absl::DumpNode(absl::cord_internal::CordRep*, bool, std::__1::basic_ostream<char, std::__1::char_traits<char> >*) in cord.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any idea?

Metadata

Metadata

Assignees

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