lede icon indicating copy to clipboard operation
lede copied to clipboard

更新到最新源码后编译报错 如何解决

Open shijiancat opened this issue 8 years ago • 0 comments

更新到最新源码后 更新安装feeds 编译报错 结果如下 请问如何解决

ir /hostpkg/libprotobuf-c-V1.2.1 make [4]: Entering directory /home/sjijian/lede/build_dir /hostpkg/libprotobuf-c-V121 protoc-C/protocc_protoc_c-c_bytes_field.o In file included from protoc-c/c_bytes_fteldcc:63: 0: /protoc-c/c_bytes_field.h: 89: 3: error:'map'does not name a type map<string, string> variables protoc-c/c_bytes_field.cc:77:25:error:'map'has not been decLared p<string, string>* variables protoc-c/e_bytes_field.cc:77:28:error:expected map<string, string>* variables)[ before token protoc-c/c-bytes_fteld cc: In function 'void google: protobuf: compiler: c: SetBytesVartables(const google: :p otobuf:: FteldDescriptor*,int)': protoc-clc_bytes_field. cc: 78: 5: error: 'vartables'was not declared in this scope (variables)["name"]= FieldName(descriptor ) protoc-clc_bytes_field. cc: In constructor 'google: protobuf:: compiler:: c:: BytesFteldGenerator: BytesFteldGener ator (const google: protobuf:: FLeLdDescrtptor) protoc-cIc_bytes_fteld cc:89:34:error:'vartables'was not declared in this scope SetBytesVartables(descriptor, &variables_); protoc-c/c_bytes_fteldcc: In member function virtual void google: :protobuf::compiLer::c::BytesFteLdGenerator ::GeneratestructMenbers(google: : protobuf: to: Printer*)const: protoc-c/c_bytes_fteldcc: 101: 22: error:variables_' was not decLared in this scope printer->Print(varLable ProtobufCBinaryData SnamesSdeprecateds: \n"); protoc-c/c_bytes_fteldcc: In member function'vtrtual void : GeneratestaticInit(google::protobuf:: to: Printer*)const: protoc-c/c bytes_ fteld Cc: 142: 22: error:'vartables googLe: protobuf:: compiler: : c:: BytesFteLdGenerator printer->Print(variables_,""Default_values". was not decLared in this scope Makefile: 1169: recipe for target 'protoc-c/protoc_c_protoc_c-c_bytes_field.o'fatled make[4]:*** [protoc-c/protoc__c_protoc_c-c_bytes_fteldo] Error 1 make[4]: Leaving directory '/home/sjijian/Ledebuild_dir/hostpkg/Ltbprotobuf-c-v121 Makeftie: 67: recipe for target '/home/sjtjtan/Lede/build dir/hostpkg/Libprotobuf-c-v121/.built'fatled ake [3]: ** [/home/sjijian/Lede/build_dir/hostpkg/Ltbprotobuf-c-v1 21/.built] Error 2 make[3]: Leaving dtrectory'/home/sjijian/Lede/feeds/packages/Libs/protobuf-c package/MakefiLe: 107: recipe for target ' age/feed f-c/h ptLe’ faiL

shijiancat avatar Aug 09 '18 11:08 shijiancat