You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2021/04/06 08:42:00 UTC

[GitHub] [incubator-brpc] Lowpower opened a new issue #1372: ../output/bin/protoc-gen-mcpack

Lowpower opened a new issue #1372:
URL: https://github.com/apache/incubator-brpc/issues/1372


   **Describe the bug (描述bug)**
   [ 95%] Linking CXX executable ../output/bin/protoc-gen-mcpack
   CMakeFiles/protoc-gen-mcpack.dir/mcpack2pb/generator.cpp.o: In function `google::protobuf::internal::StringTypeTraits::Get(int, google::protobuf::internal::ExtensionSet const&, std::string const&)':
   /usr/local/include/google/protobuf/extension_set.h:1077: undefined reference to `google::protobuf::internal::ExtensionSet::GetString(int, std::string const&) const'
   CMakeFiles/protoc-gen-mcpack.dir/mcpack2pb/generator.cpp.o: In function `google::protobuf::io::Printer::PrintInternal(std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >*, char const*)':
   /usr/local/include/google/protobuf/io/printer.h:304: undefined reference to `google::protobuf::io::Printer::Print(std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, char const*)'
   /usr/local/include/google/protobuf/io/printer.h:304: undefined reference to `google::protobuf::io::Printer::Print(std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, char const*)'
   /usr/local/include/google/protobuf/io/printer.h:304: undefined reference to `google::protobuf::io::Printer::Print(std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, char const*)'
   /usr/local/include/google/protobuf/io/printer.h:304: undefined reference to `google::protobuf::io::Printer::Print(std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, char const*)'
   /usr/local/include/google/protobuf/io/printer.h:304: undefined reference to `google::protobuf::io::Printer::Print(std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, char const*)'
   CMakeFiles/protoc-gen-mcpack.dir/mcpack2pb/generator.cpp.o:/usr/local/include/google/protobuf/io/printer.h:304: more undefined references to `google::protobuf::io::Printer::Print(std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, char const*)' follow
   CMakeFiles/protoc-gen-mcpack.dir/mcpack2pb/generator.cpp.o:(.data.rel.ro._ZTVN9mcpack2pb16McpackToProtobufE[_ZTVN9mcpack2pb16McpackToProtobufE]+0x28): undefined reference to `google::protobuf::compiler::CodeGenerator::GenerateAll(std::vector<google::protobuf::FileDescriptor const*, std::allocator<google::protobuf::FileDescriptor const*> > const&, std::string const&, google::protobuf::compiler::GeneratorContext*, std::string*) const'
   ../output/lib/libbrpc.so: undefined reference to `google::protobuf::Descriptor::DebugString() const'
   ../output/lib/libbrpc.so: undefined reference to `google::protobuf::internal::ArenaStringPtr::Set(google::protobuf::internal::ArenaStringPtr::EmptyDefault, std::string const&, google::protobuf::Arena*)'
   ../output/lib/libbrpc.so: undefined reference to `google::protobuf::Message::GetTypeName() const'
   ../output/lib/libbrpc.so: undefined reference to `google::protobuf::internal::InlineGreedyStringParser(std::string*, char const*, google::protobuf::internal::ParseContext*)'
   ../output/lib/libbrpc.so: undefined reference to `google::protobuf::io::EpsCopyOutputStream::WriteStringMaybeAliasedOutline(unsigned int, std::string const&, unsigned char*)'
   ../output/lib/libbrpc.so: undefined reference to `google::protobuf::EnumDescriptor::FindValueByName(std::string const&) const'
   ../output/lib/libbrpc.so: undefined reference to `google::protobuf::ServiceDescriptor::FindMethodByName(std::string const&) const'
   ../output/lib/libbrpc.so: undefined reference to `google::protobuf::internal::ArenaStringPtr::Set(google::protobuf::internal::ArenaStringPtr::EmptyDefault, std::string&&, google::protobuf::Arena*)'
   ../output/lib/libbrpc.so: undefined reference to `google::protobuf::MessageLite::SerializeToString(std::string*) const'
   ../output/lib/libbrpc.so: undefined reference to `leveldb::DB::Open(leveldb::Options const&, std::string const&, leveldb::DB**)'
   ../output/lib/libbrpc.so: undefined reference to `google::protobuf::SetLogHandler(void (*)(google::protobuf::LogLevel, char const*, int, std::string const&))'
   ../output/lib/libbrpc.so: undefined reference to `google::protobuf::Reflection::GetRepeatedStringReference(google::protobuf::Message const&, google::protobuf::FieldDescriptor const*, int, std::string*) const'
   ../output/lib/libbrpc.so: undefined reference to `google::SetCommandLineOption(char const*, char const*)'
   ../output/lib/libbrpc.so: undefined reference to `google::protobuf::Message::ShortDebugString() const'
   ../output/lib/libbrpc.so: undefined reference to `google::protobuf::MessageLite::ParseFromString(std::string const&)'
   ../output/lib/libbrpc.so: undefined reference to `google::protobuf::Reflection::GetString(google::protobuf::Message const&, google::protobuf::FieldDescriptor const*) const'
   ../output/lib/libbrpc.so: undefined reference to `google::protobuf::Reflection::SetString(google::protobuf::Message*, google::protobuf::FieldDescriptor const*, std::string) const'
   ../output/lib/libbrpc.so: undefined reference to `google::protobuf::Reflection::GetStringReference(google::protobuf::Message const&, google::protobuf::FieldDescriptor const*, std::string*) const'
   ../output/lib/libbrpc.so: undefined reference to `google::protobuf::internal::ArenaStringPtr::Mutable(google::protobuf::internal::ArenaStringPtr::EmptyDefault, google::protobuf::Arena*)'
   ../output/lib/libbrpc.so: undefined reference to `google::protobuf::ServiceDescriptor::DebugString() const'
   ../output/lib/libbrpc.so: undefined reference to `google::GetCommandLineOption(char const*, std::string*)'
   ../output/lib/libbrpc.so: undefined reference to `google::protobuf::Reflection::AddString(google::protobuf::Message*, google::protobuf::FieldDescriptor const*, std::string) const'
   ../output/lib/libbrpc.so: undefined reference to `google::protobuf::internal::fixed_address_empty_string'
   ../output/lib/libbrpc.so: undefined reference to `google::protobuf::Descriptor::FindFieldByName(std::string const&) const'
   ../output/lib/libbrpc.so: undefined reference to `leveldb::Status::ToString() const'
   ../output/lib/libbrpc.so: undefined reference to `google::RegisterFlagValidator(std::string const*, bool (*)(char const*, std::string const&))'
   ../output/lib/libbrpc.so: undefined reference to `google::FlagRegisterer::FlagRegisterer<std::string>(char const*, char const*, char const*, std::string*, std::string*)'
   ../output/lib/libbrpc.so: undefined reference to `google::protobuf::Message::InitializationErrorString() const'
   
   **To Reproduce (复现方法)**
   
   
   **Expected behavior (期望行为)**
   
   
   **Versions (各种版本)**
   OS:centos7
   Compiler:gcc10.1
   brpc:
   protobuf:3.15.7
   
   **Additional context/screenshots (更多上下文/截图)**
   
   


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] sangli00 commented on issue #1372: ../output/bin/protoc-gen-mcpack

Posted by GitBox <gi...@apache.org>.
sangli00 commented on issue #1372:
URL: https://github.com/apache/incubator-brpc/issues/1372#issuecomment-1086561247


   老哥,这个问题解决了吗


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] yuan-luo commented on issue #1372: ../output/bin/protoc-gen-mcpack

Posted by GitBox <gi...@apache.org>.
yuan-luo commented on issue #1372:
URL: https://github.com/apache/incubator-brpc/issues/1372#issuecomment-830767209


   我在Ubuntu 20.04上遇到类似的问题。
    undefined reference to `google::FlagRegisterer::FlagRegisterer()
   
   https://github.com/apache/incubator-brpc/issues/1392


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] wwbmmm edited a comment on issue #1372: ../output/bin/protoc-gen-mcpack

Posted by GitBox <gi...@apache.org>.
wwbmmm edited a comment on issue #1372:
URL: https://github.com/apache/incubator-brpc/issues/1372#issuecomment-1086565725


   > 老哥,这个问题解决了吗
   
   你遇到的具体问题是什么,和上面的issue描述一样吗?


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] wwbmmm commented on issue #1372: ../output/bin/protoc-gen-mcpack

Posted by GitBox <gi...@apache.org>.
wwbmmm commented on issue #1372:
URL: https://github.com/apache/incubator-brpc/issues/1372#issuecomment-1086565725


   > 老哥,这个问题解决了吗
   
   你遇到的具体问题的什么,和上面的issue描述一样吗?


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org