wangyutum / tor-cell-dissector Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
I get this error when trying to make
Im on Archlinux
In file included from packet-cell.c:37:0:
/usr/include/wireshark/epan/dissectors/packet-ssl.h:34:20: note: expected ‘dissector_handle_t {aka struct dissector_handle *}’ but argument is of type ‘const char *’
WS_DLL_PUBLIC void ssl_dissector_add(guint port, dissector_handle_t handle);
^~~~~~~~~~~~~~~~~
packet-cell.c:348:2: error: too many arguments to function ‘ssl_dissector_add’
ssl_dissector_add(port, "cell", TRUE);
^~~~~~~~~~~~~~~~~
In file included from packet-cell.c:37:0:
/usr/include/wireshark/epan/dissectors/packet-ssl.h:34:20: note: declared here
WS_DLL_PUBLIC void ssl_dissector_add(guint port, dissector_handle_t handle);
^~~~~~~~~~~~~~~~~
packet-cell.c: In function ‘proto_reg_handoff_cell’:
packet-cell.c:378:23: warning: implicit declaration of function ‘new_register_dissector’; did you mean ‘deregister_dissector’? [-Wimplicit-function-declaration]
cell_handle = new_register_dissector("cell", dissect_cell, proto_cell);
^~~~~~~~~~~~~~~~~~~~~~
deregister_dissector
packet-cell.c:378:21: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
cell_handle = new_register_dissector("cell", dissect_cell, proto_cell);
^
packet-cell.c:388:33: warning: passing argument 1 of ‘range_copy’ from incompatible pointer type [-Wincompatible-pointer-types]
cell_ssl_range = range_copy(global_cell_ssl_range);
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/wireshark/epan/prefs.h:33:0,
from /usr/include/wireshark/epan/epan.h:31,
from /usr/include/wireshark/epan/packet.h:28,
from packet-cell.c:35:
/usr/include/wireshark/epan/range.h:151:24: note: expected ‘wmem_allocator_t * {aka struct _wmem_allocator_t *}’ but argument is of type ‘range_t * {aka struct epan_range *}’
WS_DLL_PUBLIC range_t *range_copy(wmem_allocator_t *scope, range_t *src);
^~~~~~~~~~
packet-cell.c:388:22: error: too few arguments to function ‘range_copy’
cell_ssl_range = range_copy(global_cell_ssl_range);
^~~~~~~~~~
In file included from /usr/include/wireshark/epan/prefs.h:33:0,
from /usr/include/wireshark/epan/epan.h:31,
from /usr/include/wireshark/epan/packet.h:28,
from packet-cell.c:35:
/usr/include/wireshark/epan/range.h:151:24: note: declared here
WS_DLL_PUBLIC range_t *range_copy(wmem_allocator_t *scope, range_t *src);
^~~~~~~~~~
make: *** [Makefile:18: packet-cell.c.o] Error 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.