Open bryguypgh opened 10 years ago
I also have this problem on Linux. On Mac OS X, I get an undefined identifier error (src/hadooprpc.c:192:16, EBADR is not defined). But somehow the uncrustify stuff works.
EDIT: uncrustify 0.60 is required. Version 0.59 does not work.
Edit the Makefile and remove -Werror. src/fuse.c:1022:35: error: variable ‘permission’ set but not used [-Werror=unused-but-set-variable] HadoopHdfsFsPermissionProto permission = HADOOPHDFSFS_PERMISSION_PROTO__INIT;
i have same problem. want to mount HDFS from native-hdfs-fuse anyone please tell me about fixed of this problem.
The readme doesn't mention uncrustify as a prerequisite but make will fail without it.
Once all the deps were in place and I ran a make clean then tried make again, I got the following output:
$ make mkdir build protoc-c --proto_path proto --cout proto proto/.proto uncrustify -c uncrustify.cfg -l C --replace --no-backup proto/_.[ch] uncrustify.cfg:25 Unknown symbol 'tok_split_gte' uncrustify.cfg:28 Unknown symbol 'utf8_bom' uncrustify.cfg:31 Unknown symbol 'utf8_byte' uncrustify.cfg:34 Unknown symbol 'utf8_force' uncrustify.cfg:103 Unknown symbol 'indent_ctor_init_leading' uncrustify.cfg:106 Unknown symbol 'indent_ctor_init' uncrustify.cfg:120 Unknown symbol 'indent_func_def_force_col1' uncrustify.cfg:218 Unknown symbol 'indent_oc_block' uncrustify.cfg:222 Unknown symbol 'indent_oc_block_msg' uncrustify.cfg:225 Unknown symbol 'indent_oc_msg_colon' uncrustify.cfg:238 Unknown symbol 'sp_cpp_lambda_assign' uncrustify.cfg:241 Unknown symbol 'sp_cpp_lambda_paren' uncrustify.cfg:268 Unknown symbol 'sp_before_pp_stringify' uncrustify.cfg:305 Unknown symbol 'sp_ptr_star_paren' uncrustify.cfg:330 Unknown symbol 'sp_before_template_paren' uncrustify.cfg:356 Unknown symbol 'sp_permit_cpp11_shift' uncrustify.cfg:368 Unknown symbol 'sp_inside_sparen_open' uncrustify.cfg:483 Unknown symbol 'sp_inside_tparen' uncrustify.cfg:486 Unknown symbol 'sp_after_tparen_close' uncrustify.cfg:521 Unknown symbol 'sp_after_throw' uncrustify.cfg:525 Unknown symbol 'sp_catch_paren' uncrustify.cfg:529 Unknown symbol 'sp_version_paren' uncrustify.cfg:533 Unknown symbol 'sp_scope_paren' uncrustify.cfg:616 Unknown symbol 'sp_after_oc_dict_colon' uncrustify.cfg:620 Unknown symbol 'sp_before_oc_dict_colon' uncrustify.cfg:662 Unknown symbol 'sp_after_oc_msg_receiver' uncrustify.cfg:665 Unknown symbol 'sp_after_oc_property' uncrustify.cfg:680 Unknown symbol 'sp_after_for_colon' uncrustify.cfg:683 Unknown symbol 'sp_before_for_colon' uncrustify.cfg:686 Unknown symbol 'sp_extern_paren' uncrustify.cfg:695 Unknown symbol 'sp_after_new' uncrustify.cfg:698 Unknown symbol 'sp_before_tr_emb_cmt' uncrustify.cfg:701 Unknown symbol 'sp_num_before_tr_emb_cmt' uncrustify.cfg:704 Unknown symbol 'sp_annotation_paren' uncrustify.cfg:851 Unknown symbol 'align_pp_define_together' uncrustify.cfg:866 Unknown symbol 'align_oc_msg_colon_first' uncrustify.cfg:897 Unknown symbol 'nl_oc_msg_leave_one_liner' uncrustify.cfg:926 Unknown symbol 'nl_typedef_blk_start' uncrustify.cfg:930 Unknown symbol 'nl_typedef_blk_end' uncrustify.cfg:934 Unknown symbol 'nl_typedef_blk_in' uncrustify.cfg:938 Unknown symbol 'nl_var_def_blk_start' uncrustify.cfg:942 Unknown symbol 'nl_var_def_blk_end' uncrustify.cfg:946 Unknown symbol 'nl_var_def_blk_in' uncrustify.cfg:1002 Unknown symbol 'nl_scope_brace' uncrustify.cfg:1005 Unknown symbol 'nl_unittest_brace' uncrustify.cfg:1008 Unknown symbol 'nl_version_brace' uncrustify.cfg:1043 Unknown symbol 'nl_case_colon_brace' uncrustify.cfg:1115 Unknown symbol 'nl_oc_msg_args' uncrustify.cfg:1152 Unknown symbol 'nl_brace_struct_var' uncrustify.cfg:1256 Unknown symbol 'ls_code_width' uncrustify.cfg:1275 Unknown symbol 'nl_after_func_body_class' uncrustify.cfg:1296 Unknown symbol 'nl_after_struct' uncrustify.cfg:1299 Unknown symbol 'nl_after_class' uncrustify.cfg:1327 Unknown symbol 'nl_property_brace' uncrustify.cfg:1339 Unknown symbol 'nl_remove_extra_newlines' uncrustify.cfg:1342 Unknown symbol 'nl_before_return' uncrustify.cfg:1349 Unknown symbol 'nl_after_annotation' uncrustify.cfg:1352 Unknown symbol 'nl_between_annotation' uncrustify.cfg:1501 Unknown symbol 'cmt_insert_oc_msg_header' Parsing: proto/ClientDatanodeProtocol.pb-c.c as language C Parsing: proto/ClientDatanodeProtocol.pb-c.h as language C Parsing: proto/ClientNamenodeProtocol.pb-c.c as language C Parsing: proto/ClientNamenodeProtocol.pb-c.h as language C Parsing: proto/IpcConnectionContext.pb-c.c as language C Parsing: proto/IpcConnectionContext.pb-c.h as language C Parsing: proto/ProtobufRpcEngine.pb-c.c as language C Parsing: proto/ProtobufRpcEngine.pb-c.h as language C Parsing: proto/RpcHeader.pb-c.c as language C Parsing: proto/RpcHeader.pb-c.h as language C Parsing: proto/Security.pb-c.c as language C Parsing: proto/Security.pb-c.h as language C Parsing: proto/acl.pb-c.c as language C Parsing: proto/acl.pb-c.h as language C Parsing: proto/datatransfer.pb-c.c as language C Parsing: proto/datatransfer.pb-c.h as language C Parsing: proto/hdfs.pb-c.c as language C Parsing: proto/hdfs.pb-c.h as language C make: *\ [build/proto] Error 1