Skip to content

Missing definitions from 0.9.0 #205

Description

@Alfus

When trying to compile against master I am getting the following linker errors:

Undefined symbols for architecture arm64:
  "cel::base_internal::MessageTypeFieldCount(unsigned long)", referenced from:
      cel::base_internal::LegacyStructType::field_count() const in libdata.a(struct_type.o)
  "cel::interop_internal::ProtoStructValueToMessageWrapper(cel::Value const&)", referenced from:
      cel::interop_internal::ToLegacyValue(google::protobuf::Arena*, cel::Handle<cel::Value> const&, bool) in libinterop.a(interop.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I don't see a definition for the first one:
https://github.com/search?q=repo%3Agoogle%2Fcel-cpp%20MessageTypeFieldCount&type=code

Though the second one seems to be defined here: https://github.com/google/cel-cpp/blob/58397d797f2c98e2450e5b1df3d5b2048f1e7499/extensions/protobuf/struct_value.cc#L74
though without the ABSL_ATTRIBUTE_WEAK

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