tspannhw opened a new issue #14457:
URL: https://github.com/apache/pulsar/issues/14457
**Describe the bug**
Compile fails
53%] Building CXX object
lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/ProducerImpl.cc.o
[ 54%] Building CXX object
lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/ProtobufNativeSchema.cc.o
/home/nvidia/nvme/PulsarOnRaspberryPi/pulsar/pulsar-client-cpp/lib/ProtobufNativeSchema.cc:
In function ‘pulsar::SchemaInfo pulsar::createProtobufNativeSchema(const
google::protobuf::Descriptor*)’:
/home/nvidia/nvme/PulsarOnRaspberryPi/pulsar/pulsar-client-cpp/lib/ProtobufNativeSchema.cc:51:47:
error: ‘class google::protobuf::FileDescriptorSet’ has no member named
‘ByteSizeLong’; did you mean ‘ByteSize’?
std::vector<char> bytes(fileDescriptorSet.ByteSizeLong());
^~~~~~~~~~~~
ByteSize
At global scope:
cc1plus: error: unrecognized command line option ‘-Wno-stringop-truncation’
[-Werror]
cc1plus: all warnings being treated as errors
lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/build.make:920: recipe for target
'lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/ProtobufNativeSchema.cc.o' failed
make[2]: ***
[lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/ProtobufNativeSchema.cc.o] Error 1
CMakeFiles/Makefile2:220: recipe for target
'lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/all' failed
make[1]: *** [lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/all] Error 2
Makefile:148: recipe for target 'all' failed
make: *** [all] Error 2
**To Reproduce**
make
**Expected behavior**
Build executable
**Screenshots**
N/A
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
**Additional context**
Add any other context about the problem here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]