Skip to content
This repository was archived by the owner on May 29, 2018. It is now read-only.
This repository was archived by the owner on May 29, 2018. It is now read-only.

Error at make with libprotoc 2.6.0 #4

Description

@guillaumeinnov24

protoc php_options.proto --cpp_out=. -I. -I/usr/include -I/usr/local/include
g++ -Wall -g -c php_options.pb.cc -o php_options.pb.o
In file included from php_options.pb.cc:5:0:
php_options.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is
php_options.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update
php_options.pb.h:14:2: error: #error your headers.
In file included from php_options.pb.cc:5:0:
php_options.pb.h: In member function ‘void PHPFileOptions::clear_namespace_()’:
php_options.pb.h:153:23: error: ‘GetEmptyStringAlreadyInited’ is not a member of ‘google::protobuf::internal’
php_options.pb.h: In member function ‘void PHPFileOptions::set_namespace_(const string&)’:
php_options.pb.h:164:23: error: ‘GetEmptyStringAlreadyInited’ is not a member of ‘google::protobuf::internal’
php_options.pb.h: In member function ‘void PHPFileOptions::set_namespace_(const char_)’:
php_options.pb.h:172:23: error: ‘GetEmptyStringAlreadyInited’ is not a member of ‘google::protobuf::internal’
php_options.pb.h: In member function ‘void PHPFileOptions::set_namespace_(const char_, size_t)’:
php_options.pb.h:180:23: error: ‘GetEmptyStringAlreadyInited’ is not a member of ‘google::protobuf::internal’
php_options.pb.h: In member function ‘std::string* PHPFileOptions::mutable_namespace_()’:
php_options.pb.h:188:23: error: ‘GetEmptyStringAlreadyInited’ is not a member of ‘google::protobuf::internal’
php_options.pb.h: In member function ‘std::string* PHPFileOptions::release_namespace_()’:
php_options.pb.h:196:23: error: ‘GetEmptyStringAlreadyInited’ is not a member of ‘google::protobuf::internal’
php_options.pb.h:200:48: error: ‘GetEmptyStringAlreadyInited’ is not a member of ‘google::protobuf::internal’
php_options.pb.h: In member function ‘void PHPFileOptions::set_allocated_namespace_(std::string_)’:
php_options.pb.h:205:23: error: ‘GetEmptyStringAlreadyInited’ is not a member of ‘google::protobuf::internal’
php_options.pb.h:213:48: error: ‘GetEmptyStringAlreadyInited’ is not a member of ‘google::protobuf::internal’
php_options.pb.cc: In member function ‘void PHPFileOptions::SharedCtor()’:
php_options.pb.cc:128:3: error: ‘GetEmptyString’ is not a member of ‘google::protobuf::internal’
php_options.pb.cc:130:46: error: ‘GetEmptyStringAlreadyInited’ is not a member of ‘google::protobuf::internal’
php_options.pb.cc: In member function ‘void PHPFileOptions::SharedDtor()’:
php_options.pb.cc:141:23: error: ‘GetEmptyStringAlreadyInited’ is not a member of ‘google::protobuf::internal’
php_options.pb.cc: In member function ‘virtual void PHPFileOptions::Clear()’:
php_options.pb.cc:172:27: error: ‘GetEmptyStringAlreadyInited’ is not a member of ‘google::protobuf::internal’
php_options.pb.cc: In member function ‘virtual bool PHPFileOptions::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream_)’:
php_options.pb.cc:188:63: error: ‘class google::protobuf::io::CodedInputStream’ has no member named ‘ReadTagWithCutoff’
php_options.pb.cc:197:11: error: ‘VerifyUTF8StringNamedField’ is not a member of ‘google::protobuf::internal::WireFormat’
php_options.pb.cc: In member function ‘virtual void PHPFileOptions::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream_) const’:
php_options.pb.cc:250:5: error: ‘VerifyUTF8StringNamedField’ is not a member of ‘google::protobuf::internal::WireFormat’
php_options.pb.cc:254:5: error: ‘WriteStringMaybeAliased’ is not a member of ‘google::protobuf::internal::WireFormatLite’
php_options.pb.cc: In member function ‘virtual google::protobuf::uint8_ PHPFileOptions::SerializeWithCachedSizesToArray(google::protobuf::uint8_) const’:
php_options.pb.cc:275:5: error: ‘VerifyUTF8StringNamedField’ is not a member of ‘google::protobuf::internal::WireFormat’
make: *_* [php_options.pb.o] Erreur 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions