Groups
Groups
Sign in
Groups
Groups
Protocol Buffers
Conversations
About
Send feedback
Help
/usr/bin/ld: /usr/local/lib/libprotoc.a(plugin.pb.o):(.data.rel.ro+0x20): undefined reference to `google::protobuf::Message::CopyWithSourceCheck(google::protobuf::Message&, google::protobuf::Message const&)
196 views
Skip to first unread message
Chen书生
unread,
Aug 24, 2023, 7:14:02 AM
8/24/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Protocol Buffers
when I compile protobuf 3.21.7 with the following commands:
$ PROTOBUF_VERSION=21.7
$ curl -LO
https://github.com/protocolbuffers/protobuf/releases/download/v$PROTOBUF_VERSION/protobuf-all-$PROTOBUF_VERSION.tar.gz
$ tar xzf protobuf-all-$PROTOBUF_VERSION.tar.gz
$ cd protobuf-$PROTOBUF_VERSION
$ ./configure --disable-shared --with-pic
$ make # You may want to pass -j to make this run faster; see make --help
$ sudo make install
after compiling, why so many function is undefined?
nm /usr/local/lib/libprotoc.a|grep CopyWithSourceCheck U _ZN6google8protobuf7Message19CopyWithSourceCheckERS1_RKS1_
Reply all
Reply to author
Forward
0 new messages