Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fails to build on debian testing and wireshark-1.10.5 #11

Open
GoogleCodeExporter opened this issue Feb 16, 2016 · 0 comments
Open

fails to build on debian testing and wireshark-1.10.5 #11

GoogleCodeExporter opened this issue Feb 16, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. patch http://code.google.com/p/protobuf-wireshark/issues/detail?id=9
2. compile against wireshark-1.10.5

  CC       packet-protobuf.lo
packet-protobuf.c: In function 'proto_register_protobuf':
packet-protobuf.c:70:9: error: too many arguments to function 
'get_persconffile_path'
         dirname = get_persconffile_path("protobuf", FALSE, FALSE);
         ^
In file included from packet-protobuf.c:9:0:
../../epan/filesystem.h:197:21: note: declared here
 WS_DLL_PUBLIC char *get_persconffile_path(const char *filename, gboolean from_profile);
                     ^
packet-protobuf.c:60:12: warning: variable 'protobuf_module' set but not used 
[-Wunused-but-set-variable]
  module_t *protobuf_module;
            ^
packet-protobuf.c: In function 'wireshark_pb_process_protobuf_register_subtree':
packet-protobuf.c:152:31: warning: request for implicit conversion from 'void 
*' to 'struct hf_register_info *' not permitted in C++ [-Wc++-compat]
   hf_register_info *hf_info = malloc(sizeof( hf_register_info ) );
                               ^
packet-protobuf.c: In function 'wireshark_pb_process_protobuf_register_field':
packet-protobuf.c:173:27: warning: enum conversion in initialization is invalid 
in C++ [-Wc++-compat]
                           type,
                           ^
packet-protobuf.c:173:27: warning: (near initialization for 
'message_info.hfinfo.type') [-Wc++-compat]
packet-protobuf.c:181:31: warning: request for implicit conversion from 'void 
*' to 'struct hf_register_info *' not permitted in C++ [-Wc++-compat]
   hf_register_info *hf_info = malloc(sizeof( hf_register_info ) );
                               ^
make: *** [packet-protobuf.lo] Error 1
Unable to compile wireshark plugin in /tmp/wireshark-1.10.5//plugins/protobuf
f

Original issue reported on code.google.com by [email protected] on 3 Mar 2014 at 1:37

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

No branches or pull requests

1 participant