Created
August 18, 2018 21:31
-
-
Save timjp87/66a53fe7c5a840993de341bc2b86b036 to your computer and use it in GitHub Desktop.
Wireshare ethereum-dissectors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2049/2398] Building C object plugins/epan/ethereum/CMakeFiles/ethereum.dir/packet-ethereum-disc.c.o | |
FAILED: plugins/epan/ethereum/CMakeFiles/ethereum.dir/packet-ethereum-disc.c.o | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DPLUGIN_VERSION=\"0.0.0\" -Dethereum_EXPORTS -I. -I/Users/x123456/misc/wireshark -I/Users/x123456/misc/wireshark/plugins/epan/ethereum -isystem /usr/local/opt/gettext/include -isystem /usr/local/include -isystem /usr/local/Cellar/glib/2.56.1/include/glib-2.0 -isystem /usr/local/Cellar/glib/2.56.1/lib/glib-2.0/include -isystem /usr/local/Cellar/pcre/8.42/include -isystem /usr/local/Cellar/gnutls/3.5.19/include -isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Kerberos.framework/Headers -isystem /usr/local/include/lua-5.1 -isystem /usr/local/Cellar/lz4/1.8.2/include -isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/libxml2 -isystem /usr/local/Cellar/libmaxminddb/1.3.2/include -iframework /usr/local/opt/qt5/lib -isystem /usr/local/opt/qt5/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt5/./mkspecs/macx-clang -isystem /usr/local/opt/qt5/lib/QtMacExtras.framework/Headers -isystem /usr/local/opt/qt5/lib/QtGui.framework/Headers -isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/OpenGL.framework/Headers -isystem /usr/local/opt/qt5/lib/QtMultimedia.framework/Headers -isystem /usr/local/opt/qt5/lib/QtNetwork.framework/Headers -isystem /usr/local/opt/qt5/lib/QtPrintSupport.framework/Headers -isystem /usr/local/opt/qt5/lib/QtWidgets.framework/Headers -isystem /usr/local/opt/qt5/lib/QtSvg.framework/Headers -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MACEXTRAS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_CORE_LIB -fvisibility=hidden -Wall -Wextra -Wextra-semi -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wheader-guard -Wframe-larger-than=32768 -Wc++-compat -Wunused-const-variable -Wshadow -Wno-pointer-sign -Wold-style-definition -Wstrict-prototypes -Wshorten-64-to-32 -Werror=implicit -Wcomma -Qunused-arguments -std=gnu99 -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -fPIC -Werror -MD -MT plugins/epan/ethereum/CMakeFiles/ethereum.dir/packet-ethereum-disc.c.o -MF plugins/epan/ethereum/CMakeFiles/ethereum.dir/packet-ethereum-disc.c.o.d -o plugins/epan/ethereum/CMakeFiles/ethereum.dir/packet-ethereum-disc.c.o -c /Users/x123456/misc/wireshark/plugins/epan/ethereum/packet-ethereum-disc.c | |
/Users/x123456/misc/wireshark/plugins/epan/ethereum/packet-ethereum-disc.c:770:37: error: unknown type name 'srt_gui_init_cb'; did you mean 'srt_init_cb'? | |
srt_gui_init_cb gui_callback, void *gui_data) { | |
^~~~~~~~~~~~~~~ | |
srt_init_cb | |
/Users/x123456/misc/wireshark/epan/srt_table.h:44:16: note: 'srt_init_cb' declared here | |
typedef void (*srt_init_cb)(struct register_srt* srt, GArray* srt_array); | |
^ | |
/Users/x123456/misc/wireshark/plugins/epan/ethereum/packet-ethereum-disc.c:773:60: error: too many arguments to function call, expected 7, have 9 | |
NULL, NULL, gui_callback, gui_data, NULL); | |
^~~~~~~~~~~~~~ | |
/Users/x123456/misc/wireshark/epan/srt_table.h:181:1: note: 'init_srt_table' declared here | |
WS_DLL_PUBLIC srt_stat_table* init_srt_table(const char *name, const char *short_name, GArray *srt_array, int num_procs, const char* proc_column_name, | |
^ | |
/Users/x123456/misc/wireshark/ws_symbol_export.h:187:24: note: expanded from macro 'WS_DLL_PUBLIC' | |
#define WS_DLL_PUBLIC WS_DLL_PUBLIC_DEF extern | |
^ | |
/Users/x123456/misc/wireshark/ws_symbol_export.h:135:31: note: expanded from macro 'WS_DLL_PUBLIC_DEF' | |
#define WS_DLL_PUBLIC_DEF __attribute__ ((visibility ("default"))) | |
^ | |
/Users/x123456/misc/wireshark/plugins/epan/ethereum/packet-ethereum-disc.c:807:80: error: incompatible pointer types passing 'void (struct register_srt *, GArray *, srt_init_cb, void *)' (aka 'void (struct register_srt *, struct _GArray *, void (*)(struct register_srt *, struct _GArray *), void *)') to parameter of type 'srt_init_cb' (aka 'void (*)(struct register_srt *, struct _GArray *)') [-Werror,-Wincompatible-pointer-types] | |
register_srt_table(proto_ethereum, "ethereum", 1, ethereum_srt_table_packet, ethereum_srt_table_init, NULL); | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
/Users/x123456/misc/wireshark/epan/srt_table.h:67:83: note: passing argument to parameter 'init_cb' here | |
tap_packet_cb srt_packet_func, srt_init_cb init_cb, srt_param_handler_cb param_cb); | |
^ | |
3 errors generated. | |
[2054/2398] Automatic MOC and UIC for target qtui | |
ninja: build stopped: subcommand failed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you find a solution for the build error?