Skip to content

can't build native java so on macOS 13.4 #3400

Description

@aceforeverd
/Users/danielace/Git/4paradigm/OpenMLDB/build/hybridse/src/proto/fe_common.pb.hIn file included from :/Users/danielace/Git/4paradigm/OpenMLDB/.deps/usr/include/google/protobuf/generated_message_table_driven.h:39:
/Users/danielace/Git/4paradigm/OpenMLDB/.deps/usr/include/google/protobuf/wire_format_lite_inl.h:12625:29: :
In file included from error: /Users/danielace/Git/4paradigm/OpenMLDB/.deps/usr/include/google/protobuf/generated_message_table_driven.h:39redefinition of 'ReadPrimitive<long long, google::protobuf::internal::WireFormatLite::TYPE_SFIXED64>':

/Users/danielace/Git/4paradigm/OpenMLDB/.deps/usr/include/google/protobuf/wire_format_lite_inl.h:126:29: error: inline bool WireFormatLite::ReadPrimitive<int64, WireFormatLite::TYPE_SFIXED64>(
                            ^redefinition of 'ReadPrimitive<long long, google::protobuf::internal::WireFormatLite::TYPE_SFIXED64>'

/usr/local/include/google/protobuf/wire_format_lite.h:983:17: note: inline bool WireFormatLite::ReadPrimitive<int64, WireFormatLite::TYPE_SFIXED64>(previous definition is here

                            ^
/usr/local/include/google/protobuf/wire_format_lite.h:WireFormatLite::ReadPrimitive<int64_t, WireFormatLite::TYPE_SFIXED64>(983

host

macOS 13.4.1 22F82 x86_64

-MBP build % gcc -v
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: x86_64-apple-darwin22.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingbuildopenmldb compiling and installing

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions