=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for ettercap-NG-0.7.3nb14 Making all in man make[1]: "/tmp/net/ettercap-NG/work/ettercap-NG-0.7.3/man/Makefile" line 527: warning: duplicate script for target "%.ps" ignored make[1]: "/tmp/net/ettercap-NG/work/ettercap-NG-0.7.3/man/Makefile" line 524: warning: using previous script for "%.ps" defined here make[1]: "/tmp/net/ettercap-NG/work/ettercap-NG-0.7.3/man/Makefile" line 528: warning: duplicate script for target "%.ps" ignored make[1]: "/tmp/net/ettercap-NG/work/ettercap-NG-0.7.3/man/Makefile" line 524: warning: using previous script for "%.ps" defined here make[1]: "/tmp/net/ettercap-NG/work/ettercap-NG-0.7.3/man/Makefile" line 529: warning: duplicate script for target "%.ps" ignored make[1]: "/tmp/net/ettercap-NG/work/ettercap-NG-0.7.3/man/Makefile" line 524: warning: using previous script for "%.ps" defined here Making all in share Making all in include /usr/bin/make all-am Making all in include /usr/bin/make all-am Making all in src Making all in os if gcc -DHAVE_CONFIG_H -I. -I. -I../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libec_os_a-ec_dummy.o -MD -MP -MF ".deps/libec_os_a-ec_dummy.Tpo" -c -o libec_os_a-ec_dummy.o `test -f 'ec_dummy.c' || echo './'`ec_dummy.c; then mv -f ".deps/libec_os_a-ec_dummy.Tpo" ".deps/libec_os_a-ec_dummy.Po"; else rm -f ".deps/libec_os_a-ec_dummy.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libec_os_a-ec_bsd.o -MD -MP -MF ".deps/libec_os_a-ec_bsd.Tpo" -c -o libec_os_a-ec_bsd.o `test -f 'ec_bsd.c' || echo './'`ec_bsd.c; then mv -f ".deps/libec_os_a-ec_bsd.Tpo" ".deps/libec_os_a-ec_bsd.Po"; else rm -f ".deps/libec_os_a-ec_bsd.Tpo"; exit 1; fi In file included from ../../include/ec_sniff.h:7:0, from ../../include/ec_globals.h:7, from ../../include/ec.h:54, from ec_bsd.c:21: ../../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ rm -f libec_os.a ar cru libec_os.a libec_os_a-ec_dummy.o libec_os_a-ec_bsd.o ranlib libec_os.a Making all in interfaces Making all in daemon if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libec_daemon_a-ec_daemon.o -MD -MP -MF ".deps/libec_daemon_a-ec_daemon.Tpo" -c -o libec_daemon_a-ec_daemon.o `test -f 'ec_daemon.c' || echo './'`ec_daemon.c; then mv -f ".deps/libec_daemon_a-ec_daemon.Tpo" ".deps/libec_daemon_a-ec_daemon.Po"; else rm -f ".deps/libec_daemon_a-ec_daemon.Tpo"; exit 1; fi In file included from ../../../include/ec_sniff.h:7:0, from ../../../include/ec_globals.h:7, from ../../../include/ec.h:54, from ec_daemon.c:23: ../../../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../../../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ rm -f libec_daemon.a ar cru libec_daemon.a libec_daemon_a-ec_daemon.o ranlib libec_daemon.a Making all in text if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libec_text_a-ec_text.o -MD -MP -MF ".deps/libec_text_a-ec_text.Tpo" -c -o libec_text_a-ec_text.o `test -f 'ec_text.c' || echo './'`ec_text.c; then mv -f ".deps/libec_text_a-ec_text.Tpo" ".deps/libec_text_a-ec_text.Po"; else rm -f ".deps/libec_text_a-ec_text.Tpo"; exit 1; fi ec_text.c: In function 'text_stats': ec_text.c:482:50: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'u_int64 {aka long unsigned int}' [-Wformat=] fprintf(stdout, "\n Received packets : %8lld\n", GBL_STATS->ps_recv); ~~~~^ %8ld ec_text.c:483:50: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'u_int64 {aka long unsigned int}' [-Wformat=] fprintf(stdout, " Dropped packets : %8lld %.2f %%\n", GBL_STATS->ps_drop, ~~~~^ %8ld ec_text.c:485:50: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'u_int64 {aka long unsigned int}' [-Wformat=] fprintf(stdout, " Forwarded : %8lld bytes: %8lld\n\n", GBL_STATS->ps_sent, GBL_STATS->bs_sent); ~~~~^ %8ld ec_text.c:485:64: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'u_int64 {aka long unsigned int}' [-Wformat=] fprintf(stdout, " Forwarded : %8lld bytes: %8lld\n\n", GBL_STATS->ps_sent, GBL_STATS->bs_sent); ~~~~^ %8ld ec_text.c:490:63: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'u_int64 {aka long unsigned int}' [-Wformat=] fprintf(stdout, " Bottom Half received packet : pck: %8lld byte: %8lld\n", ~~~~^ %8ld ec_text.c:490:76: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'u_int64 {aka long unsigned int}' [-Wformat=] fprintf(stdout, " Bottom Half received packet : pck: %8lld byte: %8lld\n", ~~~~^ %8ld ec_text.c:492:63: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'u_int64 {aka long unsigned int}' [-Wformat=] fprintf(stdout, " Top Half received packet : pck: %8lld byte: %8lld\n", ~~~~^ %8ld ec_text.c:492:76: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'u_int64 {aka long unsigned int}' [-Wformat=] fprintf(stdout, " Top Half received packet : pck: %8lld byte: %8lld\n", ~~~~^ %8ld In file included from ../../../include/ec_sniff.h:7:0, from ../../../include/ec_globals.h:7, from ../../../include/ec.h:54, from ec_text.c:23: ec_text.c: At top level: ../../../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../../../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libec_text_a-ec_text_conn.o -MD -MP -MF ".deps/libec_text_a-ec_text_conn.Tpo" -c -o libec_text_a-ec_text_conn.o `test -f 'ec_text_conn.c' || echo './'`ec_text_conn.c; then mv -f ".deps/libec_text_a-ec_text_conn.Tpo" ".deps/libec_text_a-ec_text_conn.Po"; else rm -f ".deps/libec_text_a-ec_text_conn.Tpo"; exit 1; fi In file included from ../../../include/ec_sniff.h:7:0, from ../../../include/ec_globals.h:7, from ../../../include/ec.h:54, from ec_text_conn.c:23: ../../../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../../../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libec_text_a-ec_text_display.o -MD -MP -MF ".deps/libec_text_a-ec_text_display.Tpo" -c -o libec_text_a-ec_text_display.o `test -f 'ec_text_display.c' || echo './'`ec_text_display.c; then mv -f ".deps/libec_text_a-ec_text_display.Tpo" ".deps/libec_text_a-ec_text_display.Po"; else rm -f ".deps/libec_text_a-ec_text_display.Tpo"; exit 1; fi ec_text_display.c: In function 'text_print_packet': ec_text_display.c:57:36: warning: pointer targets in passing argument 2 of 'regexec' differ in signedness [-Wpointer-sign] regexec(GBL_OPTIONS->regex, po->DATA.disp_data, 0, NULL, 0) != 0) { ^~ In file included from ../../../include/ec_filter.h:9:0, from ../../../include/ec_globals.h:12, from ../../../include/ec.h:54, from ec_text_display.c:23: /usr/include/regex.h:137:5: note: expected 'const char * restrict' but argument is of type 'u_char * {aka unsigned char *}' int regexec(const regex_t * __restrict, ^~~~~~~ In file included from ../../../include/ec_sniff.h:7:0, from ../../../include/ec_globals.h:7, from ../../../include/ec.h:54, from ec_text_display.c:23: ec_text_display.c: At top level: ../../../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../../../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libec_text_a-ec_text_plugin.o -MD -MP -MF ".deps/libec_text_a-ec_text_plugin.Tpo" -c -o libec_text_a-ec_text_plugin.o `test -f 'ec_text_plugin.c' || echo './'`ec_text_plugin.c; then mv -f ".deps/libec_text_a-ec_text_plugin.Tpo" ".deps/libec_text_a-ec_text_plugin.Po"; else rm -f ".deps/libec_text_a-ec_text_plugin.Tpo"; exit 1; fi In file included from ../../../include/ec_sniff.h:7:0, from ../../../include/ec_globals.h:7, from ../../../include/ec.h:54, from ec_text_plugin.c:23: ../../../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../../../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libec_text_a-ec_text_profile.o -MD -MP -MF ".deps/libec_text_a-ec_text_profile.Tpo" -c -o libec_text_a-ec_text_profile.o `test -f 'ec_text_profile.c' || echo './'`ec_text_profile.c; then mv -f ".deps/libec_text_a-ec_text_profile.Tpo" ".deps/libec_text_a-ec_text_profile.Po"; else rm -f ".deps/libec_text_a-ec_text_profile.Tpo"; exit 1; fi In file included from ../../../include/ec_sniff.h:7:0, from ../../../include/ec_globals.h:7, from ../../../include/ec.h:54, from ec_text_profile.c:23: ../../../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../../../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ rm -f libec_text.a ar cru libec_text.a libec_text_a-ec_text.o libec_text_a-ec_text_conn.o libec_text_a-ec_text_display.o libec_text_a-ec_text_plugin.o libec_text_a-ec_text_profile.o ranlib libec_text.a Making all in curses Making all in widgets if gcc -DHAVE_CONFIG_H -I. -I. -I../../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libwdg_a-wdg.o -MD -MP -MF ".deps/libwdg_a-wdg.Tpo" -c -o libwdg_a-wdg.o `test -f 'wdg.c' || echo './'`wdg.c; then mv -f ".deps/libwdg_a-wdg.Tpo" ".deps/libwdg_a-wdg.Po"; else rm -f ".deps/libwdg_a-wdg.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libwdg_a-wdg_compound.o -MD -MP -MF ".deps/libwdg_a-wdg_compound.Tpo" -c -o libwdg_a-wdg_compound.o `test -f 'wdg_compound.c' || echo './'`wdg_compound.c; then mv -f ".deps/libwdg_a-wdg_compound.Tpo" ".deps/libwdg_a-wdg_compound.Po"; else rm -f ".deps/libwdg_a-wdg_compound.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libwdg_a-wdg_debug.o -MD -MP -MF ".deps/libwdg_a-wdg_debug.Tpo" -c -o libwdg_a-wdg_debug.o `test -f 'wdg_debug.c' || echo './'`wdg_debug.c; then mv -f ".deps/libwdg_a-wdg_debug.Tpo" ".deps/libwdg_a-wdg_debug.Po"; else rm -f ".deps/libwdg_a-wdg_debug.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libwdg_a-wdg_dialog.o -MD -MP -MF ".deps/libwdg_a-wdg_dialog.Tpo" -c -o libwdg_a-wdg_dialog.o `test -f 'wdg_dialog.c' || echo './'`wdg_dialog.c; then mv -f ".deps/libwdg_a-wdg_dialog.Tpo" ".deps/libwdg_a-wdg_dialog.Po"; else rm -f ".deps/libwdg_a-wdg_dialog.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libwdg_a-wdg_dynlist.o -MD -MP -MF ".deps/libwdg_a-wdg_dynlist.Tpo" -c -o libwdg_a-wdg_dynlist.o `test -f 'wdg_dynlist.c' || echo './'`wdg_dynlist.c; then mv -f ".deps/libwdg_a-wdg_dynlist.Tpo" ".deps/libwdg_a-wdg_dynlist.Po"; else rm -f ".deps/libwdg_a-wdg_dynlist.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libwdg_a-wdg_error.o -MD -MP -MF ".deps/libwdg_a-wdg_error.Tpo" -c -o libwdg_a-wdg_error.o `test -f 'wdg_error.c' || echo './'`wdg_error.c; then mv -f ".deps/libwdg_a-wdg_error.Tpo" ".deps/libwdg_a-wdg_error.Po"; else rm -f ".deps/libwdg_a-wdg_error.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libwdg_a-wdg_file.o -MD -MP -MF ".deps/libwdg_a-wdg_file.Tpo" -c -o libwdg_a-wdg_file.o `test -f 'wdg_file.c' || echo './'`wdg_file.c; then mv -f ".deps/libwdg_a-wdg_file.Tpo" ".deps/libwdg_a-wdg_file.Po"; else rm -f ".deps/libwdg_a-wdg_file.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libwdg_a-wdg_input.o -MD -MP -MF ".deps/libwdg_a-wdg_input.Tpo" -c -o libwdg_a-wdg_input.o `test -f 'wdg_input.c' || echo './'`wdg_input.c; then mv -f ".deps/libwdg_a-wdg_input.Tpo" ".deps/libwdg_a-wdg_input.Po"; else rm -f ".deps/libwdg_a-wdg_input.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libwdg_a-wdg_list.o -MD -MP -MF ".deps/libwdg_a-wdg_list.Tpo" -c -o libwdg_a-wdg_list.o `test -f 'wdg_list.c' || echo './'`wdg_list.c; then mv -f ".deps/libwdg_a-wdg_list.Tpo" ".deps/libwdg_a-wdg_list.Po"; else rm -f ".deps/libwdg_a-wdg_list.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libwdg_a-wdg_menu.o -MD -MP -MF ".deps/libwdg_a-wdg_menu.Tpo" -c -o libwdg_a-wdg_menu.o `test -f 'wdg_menu.c' || echo './'`wdg_menu.c; then mv -f ".deps/libwdg_a-wdg_menu.Tpo" ".deps/libwdg_a-wdg_menu.Po"; else rm -f ".deps/libwdg_a-wdg_menu.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libwdg_a-wdg_panel.o -MD -MP -MF ".deps/libwdg_a-wdg_panel.Tpo" -c -o libwdg_a-wdg_panel.o `test -f 'wdg_panel.c' || echo './'`wdg_panel.c; then mv -f ".deps/libwdg_a-wdg_panel.Tpo" ".deps/libwdg_a-wdg_panel.Po"; else rm -f ".deps/libwdg_a-wdg_panel.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libwdg_a-wdg_percentage.o -MD -MP -MF ".deps/libwdg_a-wdg_percentage.Tpo" -c -o libwdg_a-wdg_percentage.o `test -f 'wdg_percentage.c' || echo './'`wdg_percentage.c; then mv -f ".deps/libwdg_a-wdg_percentage.Tpo" ".deps/libwdg_a-wdg_percentage.Po"; else rm -f ".deps/libwdg_a-wdg_percentage.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libwdg_a-wdg_scroll.o -MD -MP -MF ".deps/libwdg_a-wdg_scroll.Tpo" -c -o libwdg_a-wdg_scroll.o `test -f 'wdg_scroll.c' || echo './'`wdg_scroll.c; then mv -f ".deps/libwdg_a-wdg_scroll.Tpo" ".deps/libwdg_a-wdg_scroll.Po"; else rm -f ".deps/libwdg_a-wdg_scroll.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libwdg_a-wdg_window.o -MD -MP -MF ".deps/libwdg_a-wdg_window.Tpo" -c -o libwdg_a-wdg_window.o `test -f 'wdg_window.c' || echo './'`wdg_window.c; then mv -f ".deps/libwdg_a-wdg_window.Tpo" ".deps/libwdg_a-wdg_window.Po"; else rm -f ".deps/libwdg_a-wdg_window.Tpo"; exit 1; fi rm -f libwdg.a ar cru libwdg.a libwdg_a-wdg.o libwdg_a-wdg_compound.o libwdg_a-wdg_debug.o libwdg_a-wdg_dialog.o libwdg_a-wdg_dynlist.o libwdg_a-wdg_error.o libwdg_a-wdg_file.o libwdg_a-wdg_input.o libwdg_a-wdg_list.o libwdg_a-wdg_menu.o libwdg_a-wdg_panel.o libwdg_a-wdg_percentage.o libwdg_a-wdg_scroll.o libwdg_a-wdg_window.o ranlib libwdg.a if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -Iwidgets -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libec_curses_a-ec_curses.o -MD -MP -MF ".deps/libec_curses_a-ec_curses.Tpo" -c -o libec_curses_a-ec_curses.o `test -f 'ec_curses.c' || echo './'`ec_curses.c; then mv -f ".deps/libec_curses_a-ec_curses.Tpo" ".deps/libec_curses_a-ec_curses.Po"; else rm -f ".deps/libec_curses_a-ec_curses.Tpo"; exit 1; fi ec_curses.c: In function 'curses_unified_sniff': ec_curses.c:557:7: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] iface = pcap_lookupdev(err); ^~~~~ In file included from ec_curses.c:29:0: /usr/include/pcap.h:330:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ ec_curses.c: In function 'curses_bridged_sniff': ec_curses.c:580:7: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] strncpy(GBL_OPTIONS->iface, pcap_lookupdev(err), IFACE_LEN - 1); ^~~~~~~ In file included from ec_curses.c:29:0: /usr/include/pcap.h:330:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ ec_curses.c:580:7: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] strncpy(GBL_OPTIONS->iface, pcap_lookupdev(err), IFACE_LEN - 1); ^~~~~~~ In file included from ec_curses.c:29:0: /usr/include/pcap.h:330:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ In file included from ../../../include/ec_sniff.h:7:0, from ../../../include/ec_globals.h:7, from ../../../include/ec.h:54, from ec_curses.c:23: ec_curses.c: At top level: ../../../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../../../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -Iwidgets -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libec_curses_a-ec_curses_filters.o -MD -MP -MF ".deps/libec_curses_a-ec_curses_filters.Tpo" -c -o libec_curses_a-ec_curses_filters.o `test -f 'ec_curses_filters.c' || echo './'`ec_curses_filters.c; then mv -f ".deps/libec_curses_a-ec_curses_filters.Tpo" ".deps/libec_curses_a-ec_curses_filters.Po"; else rm -f ".deps/libec_curses_a-ec_curses_filters.Tpo"; exit 1; fi In file included from ../../../include/ec_sniff.h:7:0, from ../../../include/ec_globals.h:7, from ../../../include/ec.h:54, from ec_curses_filters.c:23: ../../../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../../../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -Iwidgets -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libec_curses_a-ec_curses_help.o -MD -MP -MF ".deps/libec_curses_a-ec_curses_help.Tpo" -c -o libec_curses_a-ec_curses_help.o `test -f 'ec_curses_help.c' || echo './'`ec_curses_help.c; then mv -f ".deps/libec_curses_a-ec_curses_help.Tpo" ".deps/libec_curses_a-ec_curses_help.Po"; else rm -f ".deps/libec_curses_a-ec_curses_help.Tpo"; exit 1; fi In file included from ../../../include/ec_sniff.h:7:0, from ../../../include/ec_globals.h:7, from ../../../include/ec.h:54, from ec_curses_help.c:23: ../../../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../../../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -Iwidgets -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libec_curses_a-ec_curses_hosts.o -MD -MP -MF ".deps/libec_curses_a-ec_curses_hosts.Tpo" -c -o libec_curses_a-ec_curses_hosts.o `test -f 'ec_curses_hosts.c' || echo './'`ec_curses_hosts.c; then mv -f ".deps/libec_curses_a-ec_curses_hosts.Tpo" ".deps/libec_curses_a-ec_curses_hosts.Po"; else rm -f ".deps/libec_curses_a-ec_curses_hosts.Tpo"; exit 1; fi In file included from ../../../include/ec_sniff.h:7:0, from ../../../include/ec_globals.h:7, from ../../../include/ec.h:54, from ec_curses_hosts.c:23: ../../../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../../../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -Iwidgets -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libec_curses_a-ec_curses_live.o -MD -MP -MF ".deps/libec_curses_a-ec_curses_live.Tpo" -c -o libec_curses_a-ec_curses_live.o `test -f 'ec_curses_live.c' || echo './'`ec_curses_live.c; then mv -f ".deps/libec_curses_a-ec_curses_live.Tpo" ".deps/libec_curses_a-ec_curses_live.Po"; else rm -f ".deps/libec_curses_a-ec_curses_live.Tpo"; exit 1; fi In file included from ../../../include/ec_sniff.h:7:0, from ../../../include/ec_globals.h:7, from ../../../include/ec.h:54, from ec_curses_live.c:23: ../../../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../../../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -Iwidgets -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libec_curses_a-ec_curses_logging.o -MD -MP -MF ".deps/libec_curses_a-ec_curses_logging.Tpo" -c -o libec_curses_a-ec_curses_logging.o `test -f 'ec_curses_logging.c' || echo './'`ec_curses_logging.c; then mv -f ".deps/libec_curses_a-ec_curses_logging.Tpo" ".deps/libec_curses_a-ec_curses_logging.Po"; else rm -f ".deps/libec_curses_a-ec_curses_logging.Tpo"; exit 1; fi In file included from ../../../include/ec_sniff.h:7:0, from ../../../include/ec_globals.h:7, from ../../../include/ec.h:54, from ec_curses_logging.c:23: ../../../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../../../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -Iwidgets -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libec_curses_a-ec_curses_mitm.o -MD -MP -MF ".deps/libec_curses_a-ec_curses_mitm.Tpo" -c -o libec_curses_a-ec_curses_mitm.o `test -f 'ec_curses_mitm.c' || echo './'`ec_curses_mitm.c; then mv -f ".deps/libec_curses_a-ec_curses_mitm.Tpo" ".deps/libec_curses_a-ec_curses_mitm.Po"; else rm -f ".deps/libec_curses_a-ec_curses_mitm.Tpo"; exit 1; fi In file included from ../../../include/ec_sniff.h:7:0, from ../../../include/ec_globals.h:7, from ../../../include/ec.h:54, from ec_curses_mitm.c:23: ../../../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../../../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -Iwidgets -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libec_curses_a-ec_curses_offline.o -MD -MP -MF ".deps/libec_curses_a-ec_curses_offline.Tpo" -c -o libec_curses_a-ec_curses_offline.o `test -f 'ec_curses_offline.c' || echo './'`ec_curses_offline.c; then mv -f ".deps/libec_curses_a-ec_curses_offline.Tpo" ".deps/libec_curses_a-ec_curses_offline.Po"; else rm -f ".deps/libec_curses_a-ec_curses_offline.Tpo"; exit 1; fi In file included from ../../../include/ec_sniff.h:7:0, from ../../../include/ec_globals.h:7, from ../../../include/ec.h:54, from ec_curses_offline.c:23: ../../../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../../../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -Iwidgets -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libec_curses_a-ec_curses_plugins.o -MD -MP -MF ".deps/libec_curses_a-ec_curses_plugins.Tpo" -c -o libec_curses_a-ec_curses_plugins.o `test -f 'ec_curses_plugins.c' || echo './'`ec_curses_plugins.c; then mv -f ".deps/libec_curses_a-ec_curses_plugins.Tpo" ".deps/libec_curses_a-ec_curses_plugins.Po"; else rm -f ".deps/libec_curses_a-ec_curses_plugins.Tpo"; exit 1; fi In file included from ../../../include/ec_sniff.h:7:0, from ../../../include/ec_globals.h:7, from ../../../include/ec.h:54, from ec_curses_plugins.c:23: ../../../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../../../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -Iwidgets -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libec_curses_a-ec_curses_start.o -MD -MP -MF ".deps/libec_curses_a-ec_curses_start.Tpo" -c -o libec_curses_a-ec_curses_start.o `test -f 'ec_curses_start.c' || echo './'`ec_curses_start.c; then mv -f ".deps/libec_curses_a-ec_curses_start.Tpo" ".deps/libec_curses_a-ec_curses_start.Po"; else rm -f ".deps/libec_curses_a-ec_curses_start.Tpo"; exit 1; fi In file included from ../../../include/ec_sniff.h:7:0, from ../../../include/ec_globals.h:7, from ../../../include/ec.h:54, from ec_curses_start.c:23: ../../../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../../../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -Iwidgets -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libec_curses_a-ec_curses_targets.o -MD -MP -MF ".deps/libec_curses_a-ec_curses_targets.Tpo" -c -o libec_curses_a-ec_curses_targets.o `test -f 'ec_curses_targets.c' || echo './'`ec_curses_targets.c; then mv -f ".deps/libec_curses_a-ec_curses_targets.Tpo" ".deps/libec_curses_a-ec_curses_targets.Po"; else rm -f ".deps/libec_curses_a-ec_curses_targets.Tpo"; exit 1; fi ec_curses_targets.c: In function 'add_target1': ec_curses_targets.c:384:33: warning: pointer targets in passing argument 3 of 'ip_addr_init' differ in signedness [-Wpointer-sign] ip_addr_init(&host, AF_INET, (char *)&ip); ^ In file included from ../../../include/ec_proto.h:7:0, from ../../../include/ec_packet.h:7, from ../../../include/ec_sniff.h:7, from ../../../include/ec_globals.h:7, from ../../../include/ec.h:54, from ec_curses_targets.c:23: ../../../include/ec_inet.h:56:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr); ^~~~~~~~~~~~ ec_curses_targets.c: In function 'add_target2': ec_curses_targets.c:402:33: warning: pointer targets in passing argument 3 of 'ip_addr_init' differ in signedness [-Wpointer-sign] ip_addr_init(&host, AF_INET, (char *)&ip); ^ In file included from ../../../include/ec_proto.h:7:0, from ../../../include/ec_packet.h:7, from ../../../include/ec_sniff.h:7, from ../../../include/ec_globals.h:7, from ../../../include/ec.h:54, from ec_curses_targets.c:23: ../../../include/ec_inet.h:56:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr); ^~~~~~~~~~~~ In file included from ../../../include/ec_sniff.h:7:0, from ../../../include/ec_globals.h:7, from ../../../include/ec.h:54, from ec_curses_targets.c:23: ec_curses_targets.c: At top level: ../../../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../../../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -Iwidgets -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libec_curses_a-ec_curses_view.o -MD -MP -MF ".deps/libec_curses_a-ec_curses_view.Tpo" -c -o libec_curses_a-ec_curses_view.o `test -f 'ec_curses_view.c' || echo './'`ec_curses_view.c; then mv -f ".deps/libec_curses_a-ec_curses_view.Tpo" ".deps/libec_curses_a-ec_curses_view.Po"; else rm -f ".deps/libec_curses_a-ec_curses_view.Tpo"; exit 1; fi ec_curses_view.c: In function 'curses_set_wepkey': ec_curses_view.c:205:16: warning: pointer targets in passing argument 1 of 'set_wep_key' differ in signedness [-Wpointer-sign] set_wep_key(wkey); ^~~~ ec_curses_view.c:45:12: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' extern int set_wep_key(u_char *string); ^~~~~~~~~~~ In file included from ../../../include/ec_sniff.h:7:0, from ../../../include/ec_globals.h:7, from ../../../include/ec.h:54, from ec_curses_view.c:23: ec_curses_view.c: At top level: ../../../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../../../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -Iwidgets -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libec_curses_a-ec_curses_view_connections.o -MD -MP -MF ".deps/libec_curses_a-ec_curses_view_connections.Tpo" -c -o libec_curses_a-ec_curses_view_connections.o `test -f 'ec_curses_view_connections.c' || echo './'`ec_curses_view_connections.c; then mv -f ".deps/libec_curses_a-ec_curses_view_connections.Tpo" ".deps/libec_curses_a-ec_curses_view_connections.Po"; else rm -f ".deps/libec_curses_a-ec_curses_view_connections.Tpo"; exit 1; fi ec_curses_view_connections.c: In function 'split_print': ec_curses_view_connections.c:338:36: warning: pointer targets in passing argument 2 of 'regexec' differ in signedness [-Wpointer-sign] regexec(GBL_OPTIONS->regex, text, 0, NULL, 0) != 0) { ^~~~ In file included from ../../../include/ec_filter.h:9:0, from ../../../include/ec_globals.h:12, from ../../../include/ec.h:54, from ec_curses_view_connections.c:23: /usr/include/regex.h:137:5: note: expected 'const char * restrict' but argument is of type 'u_char * {aka unsigned char *}' int regexec(const regex_t * __restrict, ^~~~~~~ ec_curses_view_connections.c: In function 'split_print_po': ec_curses_view_connections.c:370:36: warning: pointer targets in passing argument 2 of 'regexec' differ in signedness [-Wpointer-sign] regexec(GBL_OPTIONS->regex, po->DATA.disp_data, 0, NULL, 0) != 0) { ^~ In file included from ../../../include/ec_filter.h:9:0, from ../../../include/ec_globals.h:12, from ../../../include/ec.h:54, from ec_curses_view_connections.c:23: /usr/include/regex.h:137:5: note: expected 'const char * restrict' but argument is of type 'u_char * {aka unsigned char *}' int regexec(const regex_t * __restrict, ^~~~~~~ ec_curses_view_connections.c: In function 'join_print': ec_curses_view_connections.c:458:36: warning: pointer targets in passing argument 2 of 'regexec' differ in signedness [-Wpointer-sign] regexec(GBL_OPTIONS->regex, text, 0, NULL, 0) != 0) { ^~~~ In file included from ../../../include/ec_filter.h:9:0, from ../../../include/ec_globals.h:12, from ../../../include/ec.h:54, from ec_curses_view_connections.c:23: /usr/include/regex.h:137:5: note: expected 'const char * restrict' but argument is of type 'u_char * {aka unsigned char *}' int regexec(const regex_t * __restrict, ^~~~~~~ ec_curses_view_connections.c: In function 'join_print_po': ec_curses_view_connections.c:489:36: warning: pointer targets in passing argument 2 of 'regexec' differ in signedness [-Wpointer-sign] regexec(GBL_OPTIONS->regex, po->DATA.disp_data, 0, NULL, 0) != 0) { ^~ In file included from ../../../include/ec_filter.h:9:0, from ../../../include/ec_globals.h:12, from ../../../include/ec.h:54, from ec_curses_view_connections.c:23: /usr/include/regex.h:137:5: note: expected 'const char * restrict' but argument is of type 'u_char * {aka unsigned char *}' int regexec(const regex_t * __restrict, ^~~~~~~ ec_curses_view_connections.c: In function 'curses_connection_inject': ec_curses_view_connections.c:575:55: warning: pointer targets in passing argument 5 of 'wdg_input_add' differ in signedness [-Wpointer-sign] wdg_input_add(in, 1, 1, "Chars to be injected :", injectbuf, 50, 10); ^~~~~~~~~ In file included from ec_curses_view_connections.c:24:0: widgets/wdg.h:258:13: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' extern void wdg_input_add(wdg_t *wo, size_t x, size_t y, const char *caption, char *buf, size_t len, size_t lines); ^~~~~~~~~~~~~ ec_curses_view_connections.c: In function 'inject_user': ec_curses_view_connections.c:588:20: warning: pointer targets in passing argument 1 of 'strescape' differ in signedness [-Wpointer-sign] len = strescape(injectbuf, injectbuf); ^~~~~~~~~ In file included from ../../../include/ec.h:55:0, from ec_curses_view_connections.c:23: ../../../include/ec_strings.h:34:19: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN int strescape(char *dst, char *src); ^~~~~~~~~ ec_curses_view_connections.c:588:31: warning: pointer targets in passing argument 2 of 'strescape' differ in signedness [-Wpointer-sign] len = strescape(injectbuf, injectbuf); ^~~~~~~~~ In file included from ../../../include/ec.h:55:0, from ec_curses_view_connections.c:23: ../../../include/ec_strings.h:34:19: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN int strescape(char *dst, char *src); ^~~~~~~~~ In file included from ../../../include/ec_sniff.h:7:0, from ../../../include/ec_globals.h:7, from ../../../include/ec.h:54, from ec_curses_view_connections.c:23: ec_curses_view_connections.c: At top level: ../../../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../../../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/ncurses -Iwidgets -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT libec_curses_a-ec_curses_view_profiles.o -MD -MP -MF ".deps/libec_curses_a-ec_curses_view_profiles.Tpo" -c -o libec_curses_a-ec_curses_view_profiles.o `test -f 'ec_curses_view_profiles.c' || echo './'`ec_curses_view_profiles.c; then mv -f ".deps/libec_curses_a-ec_curses_view_profiles.Tpo" ".deps/libec_curses_a-ec_curses_view_profiles.Po"; else rm -f ".deps/libec_curses_a-ec_curses_view_profiles.Tpo"; exit 1; fi ec_curses_view_profiles.c: In function 'curses_profile_detail': ec_curses_view_profiles.c:172:90: warning: pointer targets in passing argument 1 of 'manuf_search' differ in signedness [-Wpointer-sign] wdg_scroll_print(wdg_pro_detail, EC_COLOR, " MANUFACTURER : %s \n\n", manuf_search(h->L2_addr)); ^ In file included from ec_curses_view_profiles.c:28:0: ../../../include/ec_manuf.h:8:22: note: expected 'char *' but argument is of type 'u_int8 * {aka unsigned char *}' EC_API_EXTERN char * manuf_search(char *m); ^~~~~~~~~~~~ ec_curses_view_profiles.c:189:27: warning: pointer targets in passing argument 1 of 'fingerprint_search' differ in signedness [-Wpointer-sign] if (fingerprint_search(h->fingerprint, os) == ESUCCESS) ^ In file included from ../../../include/ec_profiles.h:7:0, from ../../../include/ec_packet.h:8, from ../../../include/ec_sniff.h:7, from ../../../include/ec_globals.h:7, from ../../../include/ec.h:54, from ec_curses_view_profiles.c:23: ../../../include/ec_fingerprint.h:8:19: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN int fingerprint_search(const char *f, char *dst); ^~~~~~~~~~~~~~~~~~ In file included from ../../../include/ec_sniff.h:7:0, from ../../../include/ec_globals.h:7, from ../../../include/ec.h:54, from ec_curses_view_profiles.c:23: ec_curses_view_profiles.c: At top level: ../../../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../../../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ rm -f libec_curses.a ar cru libec_curses.a libec_curses_a-ec_curses.o libec_curses_a-ec_curses_filters.o libec_curses_a-ec_curses_help.o libec_curses_a-ec_curses_hosts.o libec_curses_a-ec_curses_live.o libec_curses_a-ec_curses_logging.o libec_curses_a-ec_curses_mitm.o libec_curses_a-ec_curses_offline.o libec_curses_a-ec_curses_plugins.o libec_curses_a-ec_curses_start.o libec_curses_a-ec_curses_targets.o libec_curses_a-ec_curses_view.o libec_curses_a-ec_curses_view_connections.o libec_curses_a-ec_curses_view_profiles.o ranlib libec_curses.a Joining libwdg objects into libec_curses... if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_capture.o -MD -MP -MF ".deps/ettercap-ec_capture.Tpo" -c -o ettercap-ec_capture.o `test -f 'ec_capture.c' || echo './'`ec_capture.c; then mv -f ".deps/ettercap-ec_capture.Tpo" ".deps/ettercap-ec_capture.Po"; else rm -f ".deps/ettercap-ec_capture.Tpo"; exit 1; fi ec_capture.c: In function 'capture_init': ec_capture.c:115:7: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] char *ifa = pcap_lookupdev(pcap_errbuf); ^~~~ In file included from ../include/ec_decode.h:10:0, from ec_capture.c:24: /usr/include/pcap.h:330:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ ec_capture.c: In function 'get_hw_info': ec_capture.c:402:45: warning: pointer targets in passing argument 3 of 'ip_addr_init' differ in signedness [-Wpointer-sign] ip_addr_init(&GBL_IFACE->ip, AF_INET, (char *)&ip); ^ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_capture.c:23: ../include/ec_inet.h:56:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr); ^~~~~~~~~~~~ ec_capture.c:407:50: warning: pointer targets in passing argument 3 of 'ip_addr_init' differ in signedness [-Wpointer-sign] ip_addr_init(&GBL_IFACE->network, AF_INET, (char *)&network); ^ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_capture.c:23: ../include/ec_inet.h:56:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr); ^~~~~~~~~~~~ ec_capture.c:416:53: warning: pointer targets in passing argument 3 of 'ip_addr_init' differ in signedness [-Wpointer-sign] ip_addr_init(&GBL_IFACE->netmask, AF_INET, (char *)&net); ^ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_capture.c:23: ../include/ec_inet.h:56:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr); ^~~~~~~~~~~~ ec_capture.c:418:53: warning: pointer targets in passing argument 3 of 'ip_addr_init' differ in signedness [-Wpointer-sign] ip_addr_init(&GBL_IFACE->netmask, AF_INET, (char *)&netmask); ^ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_capture.c:23: ../include/ec_inet.h:56:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr); ^~~~~~~~~~~~ ec_capture.c:451:46: warning: pointer targets in passing argument 3 of 'ip_addr_init' differ in signedness [-Wpointer-sign] ip_addr_init(&GBL_BRIDGE->ip, AF_INET, (char *)&ip); ^ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_capture.c:23: ../include/ec_inet.h:56:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr); ^~~~~~~~~~~~ ec_capture.c:456:51: warning: pointer targets in passing argument 3 of 'ip_addr_init' differ in signedness [-Wpointer-sign] ip_addr_init(&GBL_BRIDGE->network, AF_INET, (char *)&network); ^ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_capture.c:23: ../include/ec_inet.h:56:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr); ^~~~~~~~~~~~ ec_capture.c:457:51: warning: pointer targets in passing argument 3 of 'ip_addr_init' differ in signedness [-Wpointer-sign] ip_addr_init(&GBL_BRIDGE->netmask, AF_INET, (char *)&netmask); ^ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_capture.c:23: ../include/ec_inet.h:56:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr); ^~~~~~~~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_capture.c:23: ec_capture.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_checksum.o -MD -MP -MF ".deps/ettercap-ec_checksum.Tpo" -c -o ettercap-ec_checksum.o `test -f 'ec_checksum.c' || echo './'`ec_checksum.c; then mv -f ".deps/ettercap-ec_checksum.Tpo" ".deps/ettercap-ec_checksum.Po"; else rm -f ".deps/ettercap-ec_checksum.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_checksum.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_conf.o -MD -MP -MF ".deps/ettercap-ec_conf.Tpo" -c -o ettercap-ec_conf.o `test -f 'ec_conf.c' || echo './'`ec_conf.c; then mv -f ".deps/ettercap-ec_conf.Tpo" ".deps/ettercap-ec_conf.Po"; else rm -f ".deps/ettercap-ec_conf.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_conf.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_connbuf.o -MD -MP -MF ".deps/ettercap-ec_connbuf.Tpo" -c -o ettercap-ec_connbuf.o `test -f 'ec_connbuf.c' || echo './'`ec_connbuf.c; then mv -f ".deps/ettercap-ec_connbuf.Tpo" ".deps/ettercap-ec_connbuf.Po"; else rm -f ".deps/ettercap-ec_connbuf.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_connbuf.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_conntrack.o -MD -MP -MF ".deps/ettercap-ec_conntrack.Tpo" -c -o ettercap-ec_conntrack.o `test -f 'ec_conntrack.c' || echo './'`ec_conntrack.c; then mv -f ".deps/ettercap-ec_conntrack.Tpo" ".deps/ettercap-ec_conntrack.Po"; else rm -f ".deps/ettercap-ec_conntrack.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_conntrack.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_debug.o -MD -MP -MF ".deps/ettercap-ec_debug.Tpo" -c -o ettercap-ec_debug.o `test -f 'ec_debug.c' || echo './'`ec_debug.c; then mv -f ".deps/ettercap-ec_debug.Tpo" ".deps/ettercap-ec_debug.Po"; else rm -f ".deps/ettercap-ec_debug.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_debug.c:24: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_decode.o -MD -MP -MF ".deps/ettercap-ec_decode.Tpo" -c -o ettercap-ec_decode.o `test -f 'ec_decode.c' || echo './'`ec_decode.c; then mv -f ".deps/ettercap-ec_decode.Tpo" ".deps/ettercap-ec_decode.Po"; else rm -f ".deps/ettercap-ec_decode.Tpo"; exit 1; fi ec_decode.c: In function 'ec_decode': ec_decode.c:156:38: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (GBL_OPTIONS->iface && !strcmp(param, GBL_OPTIONS->iface)) ^~~~~ In file included from ../include/ec.h:27:0, from ec_decode.c:23: /usr/include/string.h:56:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strcmp(const char *, const char *); ^~~~~~ ec_decode.c:158:50: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (GBL_OPTIONS->iface_bridge && !strcmp(param, GBL_OPTIONS->iface_bridge)) ^~~~~ In file included from ../include/ec.h:27:0, from ec_decode.c:23: /usr/include/string.h:56:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strcmp(const char *, const char *); ^~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_decode.c:23: ec_decode.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_dispatcher.o -MD -MP -MF ".deps/ettercap-ec_dispatcher.Tpo" -c -o ettercap-ec_dispatcher.o `test -f 'ec_dispatcher.c' || echo './'`ec_dispatcher.c; then mv -f ".deps/ettercap-ec_dispatcher.Tpo" ".deps/ettercap-ec_dispatcher.Po"; else rm -f ".deps/ettercap-ec_dispatcher.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_dispatcher.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_dissect.o -MD -MP -MF ".deps/ettercap-ec_dissect.Tpo" -c -o ettercap-ec_dissect.o `test -f 'ec_dissect.c' || echo './'`ec_dissect.c; then mv -f ".deps/ettercap-ec_dissect.Tpo" ".deps/ettercap-ec_dissect.Po"; else rm -f ".deps/ettercap-ec_dissect.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_dissect.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_error.o -MD -MP -MF ".deps/ettercap-ec_error.Tpo" -c -o ettercap-ec_error.o `test -f 'ec_error.c' || echo './'`ec_error.c; then mv -f ".deps/ettercap-ec_error.Tpo" ".deps/ettercap-ec_error.Po"; else rm -f ".deps/ettercap-ec_error.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_error.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_file.o -MD -MP -MF ".deps/ettercap-ec_file.Tpo" -c -o ettercap-ec_file.o `test -f 'ec_file.c' || echo './'`ec_file.c; then mv -f ".deps/ettercap-ec_file.Tpo" ".deps/ettercap-ec_file.Po"; else rm -f ".deps/ettercap-ec_file.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_file.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_filter.o -MD -MP -MF ".deps/ettercap-ec_filter.Tpo" -c -o ettercap-ec_filter.o `test -f 'ec_filter.c' || echo './'`ec_filter.c; then mv -f ".deps/ettercap-ec_filter.Tpo" ".deps/ettercap-ec_filter.Po"; else rm -f ".deps/ettercap-ec_filter.Tpo"; exit 1; fi ec_filter.c: In function 'func_regex': ec_filter.c:501:48: warning: pointer targets in passing argument 2 of 'regexec' differ in signedness [-Wpointer-sign] if (regexec(fop->op.func.ropt->regex, po->DATA.data, 0, NULL, 0) == 0) ^~ In file included from ../include/ec_filter.h:9:0, from ../include/ec_globals.h:12, from ../include/ec.h:54, from ec_filter.c:23: /usr/include/regex.h:137:5: note: expected 'const char * restrict' but argument is of type 'u_char * {aka unsigned char *}' int regexec(const regex_t * __restrict, ^~~~~~~ ec_filter.c:506:48: warning: pointer targets in passing argument 2 of 'regexec' differ in signedness [-Wpointer-sign] if (regexec(fop->op.func.ropt->regex, po->DATA.disp_data, 0, NULL, 0) == 0) ^~ In file included from ../include/ec_filter.h:9:0, from ../include/ec_globals.h:12, from ../include/ec.h:54, from ec_filter.c:23: /usr/include/regex.h:137:5: note: expected 'const char * restrict' but argument is of type 'u_char * {aka unsigned char *}' int regexec(const regex_t * __restrict, ^~~~~~~ ec_filter.c: In function 'func_pcre': ec_filter.c:538:90: warning: pointer targets in passing argument 3 of 'pcre_exec' differ in signedness [-Wpointer-sign] if ( (ret = pcre_exec(fop->op.func.ropt->pregex, fop->op.func.ropt->preg_extra, po->DATA.data, po->DATA.len, 0, 0, ovec, sizeof(ovec) / sizeof(*ovec))) < 0) ^~ In file included from ../include/ec_filter.h:11:0, from ../include/ec_globals.h:12, from ../include/ec.h:54, from ec_filter.c:23: /tmp/net/ettercap-NG/work/.buildlink/include/pcre.h:573:20: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' PCRE_EXP_DECL int pcre_exec(const pcre *, const pcre_extra *, PCRE_SPTR, ^~~~~~~~~ In file included from ec_filter.c:23:0: ec_filter.c:555:52: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] SAFE_CALLOC(replaced, ovec[1] + strlen(q) + 1, sizeof(char)); ^ ../include/ec.h:65:15: note: in definition of macro 'SAFE_CALLOC' x = calloc(n, s); \ ^ In file included from ../include/ec.h:27:0, from ec_filter.c:23: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ ec_filter.c:565:37: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] int marker = atoi(q + i + 1); ^ In file included from ../include/ec.h:15:0, from ec_filter.c:23: /usr/include/stdlib.h:101:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int atoi(const char *); ^~~~ ec_filter.c:570:63: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] while (q[++i + 1] != ' ' && q[i] < q[strlen(q)] ); ^ In file included from ../include/ec.h:27:0, from ec_filter.c:23: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ ec_filter.c:606:83: warning: pointer targets in passing argument 3 of 'pcre_exec' differ in signedness [-Wpointer-sign] if ( pcre_exec(fop->op.func.ropt->pregex, fop->op.func.ropt->preg_extra, po->DATA.disp_data, po->DATA.disp_len, 0, 0, NULL, 0) < 0) ^~ In file included from ../include/ec_filter.h:11:0, from ../include/ec_globals.h:12, from ../include/ec.h:54, from ec_filter.c:23: /tmp/net/ettercap-NG/work/.buildlink/include/pcre.h:573:20: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' PCRE_EXP_DECL int pcre_exec(const pcre *, const pcre_extra *, PCRE_SPTR, ^~~~~~~~~ ec_filter.c: In function 'func_inject': ec_filter.c:707:19: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] if ((fd = open(fop->op.func.string, O_RDONLY | O_BINARY)) == -1) { ^~~ In file included from /tmp/net/ettercap-NG/work/.buildlink/include/libnet11/libnet.h:66:0, from ../include/ec_send.h:9, from ec_filter.c:27: /usr/include/fcntl.h:308:5: note: expected 'const char *' but argument is of type 'u_int8 * {aka unsigned char *}' int open(const char *, int, ...); ^~~~ ec_filter.c: In function 'func_log': ec_filter.c:763:14: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] fd = open(fop->op.func.string, O_CREAT | O_APPEND | O_RDWR | O_BINARY, 0600); ^~~ In file included from /tmp/net/ettercap-NG/work/.buildlink/include/libnet11/libnet.h:66:0, from ../include/ec_send.h:9, from ec_filter.c:27: /usr/include/fcntl.h:308:5: note: expected 'const char *' but argument is of type 'u_int8 * {aka unsigned char *}' int open(const char *, int, ...); ^~~~ ec_filter.c: In function 'func_exec': ec_filter.c:854:17: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *q = fop->op.func.string; ^~~ ec_filter.c: In function 'reconstruct_strings': ec_filter.c:1063:72: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fop[i].op.func.string = (char *)(fenv->map + fh->data + (int)fop[i].op.func.string); ^ ec_filter.c:1063:38: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] fop[i].op.func.string = (char *)(fenv->map + fh->data + (int)fop[i].op.func.string); ^ ec_filter.c:1065:73: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fop[i].op.func.replace = (char *)(fenv->map + fh->data + (int)fop[i].op.func.replace); ^ ec_filter.c:1065:39: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] fop[i].op.func.replace = (char *)(fenv->map + fh->data + (int)fop[i].op.func.replace); ^ ec_filter.c:1070:72: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fop[i].op.test.string = (char *)(fenv->map + fh->data + (int)fop[i].op.test.string); ^ ec_filter.c:1070:38: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] fop[i].op.test.string = (char *)(fenv->map + fh->data + (int)fop[i].op.test.string); ^ ec_filter.c:1075:74: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fop[i].op.assign.string = (char *)(fenv->map + fh->data + (int)fop[i].op.assign.string); ^ ec_filter.c:1075:40: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] fop[i].op.assign.string = (char *)(fenv->map + fh->data + (int)fop[i].op.assign.string); ^ ec_filter.c: In function 'compile_regex': ec_filter.c:1110:58: warning: pointer targets in passing argument 2 of 'regcomp' differ in signedness [-Wpointer-sign] err = regcomp(fop[i].op.func.ropt->regex, fop[i].op.func.string, REG_EXTENDED | REG_NOSUB | REG_ICASE ); ^~~ In file included from ../include/ec_filter.h:9:0, from ../include/ec_globals.h:12, from ../include/ec.h:54, from ec_filter.c:23: /usr/include/regex.h:135:5: note: expected 'const char * restrict' but argument is of type 'u_int8 * {aka unsigned char *}' int regcomp(regex_t * __restrict, const char * __restrict, int); ^~~~~~~ ec_filter.c:1124:59: warning: pointer targets in passing argument 1 of 'pcre_compile' differ in signedness [-Wpointer-sign] fop[i].op.func.ropt->pregex = pcre_compile(fop[i].op.func.string, 0, &perrbuf, &err, NULL ); ^~~ In file included from ../include/ec_filter.h:11:0, from ../include/ec_globals.h:12, from ../include/ec.h:54, from ec_filter.c:23: /tmp/net/ettercap-NG/work/.buildlink/include/pcre.h:540:21: note: expected 'const char *' but argument is of type 'u_int8 * {aka unsigned char *}' PCRE_EXP_DECL pcre *pcre_compile(const char *, int, const char **, int *, ^~~~~~~~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_filter.c:23: ec_filter.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_fingerprint.o -MD -MP -MF ".deps/ettercap-ec_fingerprint.Tpo" -c -o ettercap-ec_fingerprint.o `test -f 'ec_fingerprint.c' || echo './'`ec_fingerprint.c; then mv -f ".deps/ettercap-ec_fingerprint.Tpo" ".deps/ettercap-ec_fingerprint.Po"; else rm -f ".deps/ettercap-ec_fingerprint.Tpo"; exit 1; fi ec_fingerprint.c: In function 'fingerprint_submit': ec_fingerprint.c:354:22: warning: pointer targets in passing argument 2 of 'socket_send' differ in signedness [-Wpointer-sign] socket_send(sock, getmsg, strlen(getmsg)); ^~~~~~ In file included from ec_fingerprint.c:26:0: ../include/ec_socket.h:17:19: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int socket_send(int s, const u_char *payload, size_t size); ^~~~~~~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_fingerprint.c:24: ec_fingerprint.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_format.o -MD -MP -MF ".deps/ettercap-ec_format.Tpo" -c -o ettercap-ec_format.o `test -f 'ec_format.c' || echo './'`ec_format.c; then mv -f ".deps/ettercap-ec_format.Tpo" ".deps/ettercap-ec_format.Po"; else rm -f ".deps/ettercap-ec_format.Tpo"; exit 1; fi In file included from /usr/include/string.h:127:0, from ../include/ec.h:27, from ec_format.c:24: ec_format.c: In function 'hex_format': ec_format.c:170:14: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign] strcpy(dst, ""); ^ ec_format.c:170:14: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' ec_format.c:170:14: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign] strcpy(dst, ""); ^ /usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' __ssp_bos_icheck2_restrict(strcpy, char *, const char *) ^ In file included from /usr/include/stdio.h:597:0, from ../include/ec.h:14, from ec_format.c:24: ec_format.c:178:20: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-Wpointer-sign] sprintf(dst, "%s %04x: ", dst, i ); ^ ec_format.c:178:20: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' ec_format.c:184:31: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-Wpointer-sign] sprintf(dst, "%s%02x ", dst, (u_char) buf[i+j]); ^ ec_format.c:184:31: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' ec_format.c:186:31: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-Wpointer-sign] sprintf(dst, "%s%02x", dst, (u_char) buf[i+j]); ^ ec_format.c:186:31: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' In file included from /usr/include/string.h:127:0, from ../include/ec.h:27, from ec_format.c:24: ec_format.c:191:30: warning: pointer targets in passing argument 1 of '__builtin___strcat_chk' differ in signedness [-Wpointer-sign] strcat(dst, " "); ^ ec_format.c:191:30: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' ec_format.c:191:30: warning: pointer targets in passing argument 1 of '__strcat_ichk' differ in signedness [-Wpointer-sign] strcat(dst, " "); ^ /usr/include/ssp/string.h:90:1: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' __ssp_bos_icheck2_restrict(strcat, char *, const char *) ^ ec_format.c:193:30: warning: pointer targets in passing argument 1 of '__builtin___strcat_chk' differ in signedness [-Wpointer-sign] strcat(dst, " "); ^ ec_format.c:193:30: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' ec_format.c:193:30: warning: pointer targets in passing argument 1 of '__strcat_ichk' differ in signedness [-Wpointer-sign] strcat(dst, " "); ^ /usr/include/ssp/string.h:90:1: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' __ssp_bos_icheck2_restrict(strcat, char *, const char *) ^ ec_format.c:196:19: warning: pointer targets in passing argument 1 of '__builtin___strcat_chk' differ in signedness [-Wpointer-sign] strcat(dst, " "); ^ ec_format.c:196:19: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' ec_format.c:196:19: warning: pointer targets in passing argument 1 of '__strcat_ichk' differ in signedness [-Wpointer-sign] strcat(dst, " "); ^ /usr/include/ssp/string.h:90:1: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' __ssp_bos_icheck2_restrict(strcat, char *, const char *) ^ In file included from /usr/include/stdio.h:597:0, from ../include/ec.h:14, from ec_format.c:24: ec_format.c:201:34: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-Wpointer-sign] dim = sprintf(dst, "%s%c", dst, c); ^ ec_format.c:201:34: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' In file included from /usr/include/string.h:127:0, from ../include/ec.h:27, from ec_format.c:24: ec_format.c:203:19: warning: pointer targets in passing argument 1 of '__builtin___strcat_chk' differ in signedness [-Wpointer-sign] strcat(dst, "\n"); ^ ec_format.c:203:19: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' ec_format.c:203:19: warning: pointer targets in passing argument 1 of '__strcat_ichk' differ in signedness [-Wpointer-sign] strcat(dst, "\n"); ^ /usr/include/ssp/string.h:90:1: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' __ssp_bos_icheck2_restrict(strcat, char *, const char *) ^ ec_format.c: In function 'ascii_format': ec_format.c:220:14: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign] strcpy(dst, ""); ^ ec_format.c:220:14: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' ec_format.c:220:14: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign] strcpy(dst, ""); ^ /usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' __ssp_bos_icheck2_restrict(strcpy, char *, const char *) ^ ec_format.c: In function 'text_format': ec_format.c:245:14: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign] strcpy(dst, ""); ^ ec_format.c:245:14: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' ec_format.c:245:14: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign] strcpy(dst, ""); ^ /usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' __ssp_bos_icheck2_restrict(strcpy, char *, const char *) ^ ec_format.c: In function 'ebcdic_format': ec_format.c:280:14: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign] strcpy(dst, ""); ^ ec_format.c:280:14: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' ec_format.c:280:14: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign] strcpy(dst, ""); ^ /usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' __ssp_bos_icheck2_restrict(strcpy, char *, const char *) ^ ec_format.c: In function 'html_format': ec_format.c:301:14: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign] strcpy(dst, ""); ^ ec_format.c:301:14: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' ec_format.c:301:14: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign] strcpy(dst, ""); ^ /usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' __ssp_bos_icheck2_restrict(strcpy, char *, const char *) ^ ec_format.c: In function 'bin_format': ec_format.c:327:14: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign] strcpy(dst, ""); ^ ec_format.c:327:14: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' ec_format.c:327:14: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign] strcpy(dst, ""); ^ /usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' __ssp_bos_icheck2_restrict(strcpy, char *, const char *) ^ ec_format.c: In function 'zero_format': ec_format.c:343:11: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign] strcpy(dst, ""); ^ ec_format.c:343:11: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' ec_format.c:343:11: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign] strcpy(dst, ""); ^ /usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' __ssp_bos_icheck2_restrict(strcpy, char *, const char *) ^ ec_format.c: In function 'utf8_format': ec_format.c:377:14: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign] strcpy(dst, ""); ^ ec_format.c:377:14: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' ec_format.c:377:14: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign] strcpy(dst, ""); ^ /usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' __ssp_bos_icheck2_restrict(strcpy, char *, const char *) ^ ec_format.c: In function 'set_utf8_encoding': ec_format.c:413:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (fromcode == NULL || strlen(fromcode) < 1) ^~~~~~~~ In file included from ../include/ec.h:27:0, from ec_format.c:24: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ ec_format.c:419:29: warning: pointer targets in passing argument 2 of 'iconv_open' differ in signedness [-Wpointer-sign] cd = iconv_open("UTF-8", fromcode); ^~~~~~~~ In file included from ec_format.c:30:0: /usr/include/iconv.h:45:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' iconv_t iconv_open(const char *, const char *); ^~~~~~~~~~ ec_format.c:426:27: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] utf8_encoding = strdup(fromcode); ^~~~~~~~ In file included from ../include/ec.h:27:0, from ec_format.c:24: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_format.c:24: ec_format.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_globals.o -MD -MP -MF ".deps/ettercap-ec_globals.Tpo" -c -o ettercap-ec_globals.o `test -f 'ec_globals.c' || echo './'`ec_globals.c; then mv -f ".deps/ettercap-ec_globals.Tpo" ".deps/ettercap-ec_globals.Po"; else rm -f ".deps/ettercap-ec_globals.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_globals.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_hash.o -MD -MP -MF ".deps/ettercap-ec_hash.Tpo" -c -o ettercap-ec_hash.o `test -f 'ec_hash.c' || echo './'`ec_hash.c; then mv -f ".deps/ettercap-ec_hash.Tpo" ".deps/ettercap-ec_hash.Po"; else rm -f ".deps/ettercap-ec_hash.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_hash.c:56: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_hook.o -MD -MP -MF ".deps/ettercap-ec_hook.Tpo" -c -o ettercap-ec_hook.o `test -f 'ec_hook.c' || echo './'`ec_hook.c; then mv -f ".deps/ettercap-ec_hook.Tpo" ".deps/ettercap-ec_hook.Po"; else rm -f ".deps/ettercap-ec_hook.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_hook.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_inet.o -MD -MP -MF ".deps/ettercap-ec_inet.Tpo" -c -o ettercap-ec_inet.o `test -f 'ec_inet.c' || echo './'`ec_inet.c; then mv -f ".deps/ettercap-ec_inet.Tpo" ".deps/ettercap-ec_inet.Po"; else rm -f ".deps/ettercap-ec_inet.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_inet.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_inject.o -MD -MP -MF ".deps/ettercap-ec_inject.Tpo" -c -o ettercap-ec_inject.o `test -f 'ec_inject.c' || echo './'`ec_inject.c; then mv -f ".deps/ettercap-ec_inject.Tpo" ".deps/ettercap-ec_inject.Po"; else rm -f ".deps/ettercap-ec_inject.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_inject.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_interfaces.o -MD -MP -MF ".deps/ettercap-ec_interfaces.Tpo" -c -o ettercap-ec_interfaces.o `test -f 'ec_interfaces.c' || echo './'`ec_interfaces.c; then mv -f ".deps/ettercap-ec_interfaces.Tpo" ".deps/ettercap-ec_interfaces.Po"; else rm -f ".deps/ettercap-ec_interfaces.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_interfaces.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_log.o -MD -MP -MF ".deps/ettercap-ec_log.Tpo" -c -o ettercap-ec_log.o `test -f 'ec_log.c' || echo './'`ec_log.c; then mv -f ".deps/ettercap-ec_log.Tpo" ".deps/ettercap-ec_log.Po"; else rm -f ".deps/ettercap-ec_log.Tpo"; exit 1; fi ec_log.c: In function 'log_packet': ec_log.c:248:39: warning: pointer targets in passing argument 2 of 'regexec' differ in signedness [-Wpointer-sign] if (regexec(GBL_OPTIONS->regex, po->DATA.disp_data, 0, NULL, 0) == 0) ^~ In file included from ../include/ec_filter.h:9:0, from ../include/ec_globals.h:12, from ../include/ec.h:54, from ec_log.c:23: /usr/include/regex.h:137:5: note: expected 'const char * restrict' but argument is of type 'u_char * {aka unsigned char *}' int regexec(const regex_t * __restrict, ^~~~~~~ ec_log.c: In function 'log_write_info': ec_log.c:491:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] !strcmp(hi.fingerprint, "") && // no fingerprint ^~ In file included from ../include/ec.h:27:0, from ec_log.c:23: /usr/include/string.h:56:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strcmp(const char *, const char *); ^~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_log.c:23: ec_log.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_main.o -MD -MP -MF ".deps/ettercap-ec_main.Tpo" -c -o ettercap-ec_main.o `test -f 'ec_main.c' || echo './'`ec_main.c; then mv -f ".deps/ettercap-ec_main.Tpo" ".deps/ettercap-ec_main.Po"; else rm -f ".deps/ettercap-ec_main.Tpo"; exit 1; fi In file included from ../include/ec.h:54:0, from ec_main.c:23: ec_main.c: In function 'main': ../include/ec_globals.h:173:28: warning: pointer targets in passing argument 1 of 'set_utf8_encoding' differ in signedness [-Wpointer-sign] #define GBL_CONF (GBLS->conf) ^ ec_main.c:151:22: note: in expansion of macro 'GBL_CONF' set_utf8_encoding(GBL_CONF->utf8_encoding); ^~~~~~~~ In file included from ec_main.c:33:0: ../include/ec_format.h:16:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int set_utf8_encoding(u_char *fromcode); ^~~~~~~~~~~~~~~~~ ec_main.c: In function 'time_check': ec_main.c:281:55: warning: this 'for' clause does not guard... [-Wmisleading-indentation] (G5P,"%s",ctime(&K9));o+=4;O=strchr(o+4,' ');*O=0; for(U4M=(1<<5)-(1<<2)+1; ^~~ ec_main.c:282:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' U4M>0;U4M--)dMG[U4M]=dMG[U4M]^dMG[U4M-1];for(U4M=0;U4M0;_ ^~~ ec_main.c:288:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' --)T0Q[_]=T0Q[_]^T0Q[_-1];write(1,dMG,1);while(__++<1<<5)printf("%c",(1<<5) ^~~~~ ec_main.c:290:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(--__) printf("%c",(1<<6)-(1<<4)-(1<<3)+(1<<1)); printf(T0Q,&X5T[U4M]. ^~~~~ ec_main.c:290:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(--__) printf("%c",(1<<6)-(1<<4)-(1<<3)+(1<<1)); printf(T0Q,&X5T[U4M]. ^~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_main.c:23: ec_main.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_manuf.o -MD -MP -MF ".deps/ettercap-ec_manuf.Tpo" -c -o ettercap-ec_manuf.o `test -f 'ec_manuf.c' || echo './'`ec_manuf.c; then mv -f ".deps/ettercap-ec_manuf.Tpo" ".deps/ettercap-ec_manuf.Po"; else rm -f ".deps/ettercap-ec_manuf.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_manuf.c:56: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_mitm.o -MD -MP -MF ".deps/ettercap-ec_mitm.Tpo" -c -o ettercap-ec_mitm.o `test -f 'ec_mitm.c' || echo './'`ec_mitm.c; then mv -f ".deps/ettercap-ec_mitm.Tpo" ".deps/ettercap-ec_mitm.Po"; else rm -f ".deps/ettercap-ec_mitm.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_mitm.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_packet.o -MD -MP -MF ".deps/ettercap-ec_packet.Tpo" -c -o ettercap-ec_packet.o `test -f 'ec_packet.c' || echo './'`ec_packet.c; then mv -f ".deps/ettercap-ec_packet.Tpo" ".deps/ettercap-ec_packet.Po"; else rm -f ".deps/ettercap-ec_packet.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_parser.o -MD -MP -MF ".deps/ettercap-ec_parser.Tpo" -c -o ettercap-ec_parser.o `test -f 'ec_parser.c' || echo './'`ec_parser.c; then mv -f ".deps/ettercap-ec_parser.Tpo" ".deps/ettercap-ec_parser.Po"; else rm -f ".deps/ettercap-ec_parser.Tpo"; exit 1; fi ec_parser.c: In function 'parse_options': ec_parser.c:350:31: warning: pointer targets in passing argument 1 of 'set_wep_key' differ in signedness [-Wpointer-sign] set_wep_key(optarg); ^~~~~~ ec_parser.c:53:12: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' extern int set_wep_key(u_char *string); ^~~~~~~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_parser.c:24: ec_parser.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_passive.o -MD -MP -MF ".deps/ettercap-ec_passive.Tpo" -c -o ettercap-ec_passive.o `test -f 'ec_passive.c' || echo './'`ec_passive.c; then mv -f ".deps/ettercap-ec_passive.Tpo" ".deps/ettercap-ec_passive.Po"; else rm -f ".deps/ettercap-ec_passive.Tpo"; exit 1; fi ec_passive.c: In function 'print_host': ec_passive.c:106:63: warning: pointer targets in passing argument 1 of 'manuf_search' differ in signedness [-Wpointer-sign] fprintf(stdout, " MANUFACTURER : %s \n\n", manuf_search(h->L2_addr)); ^ In file included from ec_passive.c:28:0: ../include/ec_manuf.h:8:22: note: expected 'char *' but argument is of type 'u_int8 * {aka unsigned char *}' EC_API_EXTERN char * manuf_search(char *m); ^~~~~~~~~~~~ ec_passive.c:123:27: warning: pointer targets in passing argument 1 of 'fingerprint_search' differ in signedness [-Wpointer-sign] if (fingerprint_search(h->fingerprint, os) == ESUCCESS) ^ In file included from ../include/ec_profiles.h:7:0, from ../include/ec_packet.h:8, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_passive.c:23: ../include/ec_fingerprint.h:8:19: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN int fingerprint_search(const char *f, char *dst); ^~~~~~~~~~~~~~~~~~ ec_passive.c: In function 'print_host_xml': ec_passive.c:176:63: warning: pointer targets in passing argument 1 of 'manuf_search' differ in signedness [-Wpointer-sign] fprintf(stdout, "\t\t%s\n", manuf_search(h->L2_addr)); ^ In file included from ec_passive.c:28:0: ../include/ec_manuf.h:8:22: note: expected 'char *' but argument is of type 'u_int8 * {aka unsigned char *}' EC_API_EXTERN char * manuf_search(char *m); ^~~~~~~~~~~~ ec_passive.c:192:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(h->fingerprint, "")) { ^ In file included from ../include/ec.h:27:0, from ec_passive.c:23: /usr/include/string.h:56:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strcmp(const char *, const char *); ^~~~~~ ec_passive.c:193:30: warning: pointer targets in passing argument 1 of 'fingerprint_search' differ in signedness [-Wpointer-sign] if (fingerprint_search(h->fingerprint, os) == ESUCCESS) { ^ In file included from ../include/ec_profiles.h:7:0, from ../include/ec_packet.h:8, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_passive.c:23: ../include/ec_fingerprint.h:8:19: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN int fingerprint_search(const char *f, char *dst); ^~~~~~~~~~~~~~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_passive.c:23: ec_passive.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_plugins.o -MD -MP -MF ".deps/ettercap-ec_plugins.Tpo" -c -o ettercap-ec_plugins.o `test -f 'ec_plugins.c' || echo './'`ec_plugins.c; then mv -f ".deps/ettercap-ec_plugins.Tpo" ".deps/ettercap-ec_plugins.Po"; else rm -f ".deps/ettercap-ec_plugins.Tpo"; exit 1; fi ec_plugins.c: In function 'plugin_load_all': ec_plugins.c:170:34: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] n = scandir(where, &namelist, plugin_filter, alphasort); ^~~~~~~~~~~~~ In file included from ec_plugins.c:26:0: /usr/include/dirent.h:111:5: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int scandir(const char *, struct dirent ***, ^~~~~~~ ec_plugins.c:176:37: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] n = scandir(where, &namelist, plugin_filter, alphasort); ^~~~~~~~~~~~~ In file included from ec_plugins.c:26:0: /usr/include/dirent.h:111:5: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int scandir(const char *, struct dirent ***, ^~~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_plugins.c:23: ec_plugins.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_poll.o -MD -MP -MF ".deps/ettercap-ec_poll.Tpo" -c -o ettercap-ec_poll.o `test -f 'ec_poll.c' || echo './'`ec_poll.c; then mv -f ".deps/ettercap-ec_poll.Tpo" ".deps/ettercap-ec_poll.Po"; else rm -f ".deps/ettercap-ec_poll.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_poll.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_profiles.o -MD -MP -MF ".deps/ettercap-ec_profiles.Tpo" -c -o ettercap-ec_profiles.o `test -f 'ec_profiles.c' || echo './'`ec_profiles.c; then mv -f ".deps/ettercap-ec_profiles.Tpo" ".deps/ettercap-ec_profiles.Po"; else rm -f ".deps/ettercap-ec_profiles.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_profiles.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_resolv.o -MD -MP -MF ".deps/ettercap-ec_resolv.Tpo" -c -o ettercap-ec_resolv.o `test -f 'ec_resolv.c' || echo './'`ec_resolv.c; then mv -f ".deps/ettercap-ec_resolv.Tpo" ".deps/ettercap-ec_resolv.Po"; else rm -f ".deps/ettercap-ec_resolv.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_resolv.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_scan.o -MD -MP -MF ".deps/ettercap-ec_scan.Tpo" -c -o ettercap-ec_scan.o `test -f 'ec_scan.c' || echo './'`ec_scan.c; then mv -f ".deps/ettercap-ec_scan.Tpo" ".deps/ettercap-ec_scan.Po"; else rm -f ".deps/ettercap-ec_scan.Tpo"; exit 1; fi ec_scan.c: In function 'scan_netmask': ec_scan.c:373:38: warning: pointer targets in passing argument 3 of 'ip_addr_init' differ in signedness [-Wpointer-sign] ip_addr_init(&scanip, AF_INET, (char *)¤t); ^ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_scan.c:23: ../include/ec_inet.h:56:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr); ^~~~~~~~~~~~ ec_scan.c: In function 'scan_load_hosts': ec_scan.c:560:35: warning: pointer targets in passing argument 3 of 'ip_addr_init' differ in signedness [-Wpointer-sign] ip_addr_init(&hip, AF_INET, (char *)&tip); ^ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_scan.c:23: ../include/ec_inet.h:56:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr); ^~~~~~~~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_scan.c:23: ec_scan.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_send.o -MD -MP -MF ".deps/ettercap-ec_send.Tpo" -c -o ettercap-ec_send.o `test -f 'ec_send.c' || echo './'`ec_send.c; then mv -f ".deps/ettercap-ec_send.Tpo" ".deps/ettercap-ec_send.Po"; else rm -f ".deps/ettercap-ec_send.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_send.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_services.o -MD -MP -MF ".deps/ettercap-ec_services.Tpo" -c -o ettercap-ec_services.o `test -f 'ec_services.c' || echo './'`ec_services.c; then mv -f ".deps/ettercap-ec_services.Tpo" ".deps/ettercap-ec_services.Po"; else rm -f ".deps/ettercap-ec_services.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_services.c:24: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_session.o -MD -MP -MF ".deps/ettercap-ec_session.Tpo" -c -o ettercap-ec_session.o `test -f 'ec_session.c' || echo './'`ec_session.c; then mv -f ".deps/ettercap-ec_session.Tpo" ".deps/ettercap-ec_session.Po"; else rm -f ".deps/ettercap-ec_session.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_session.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_signals.o -MD -MP -MF ".deps/ettercap-ec_signals.Tpo" -c -o ettercap-ec_signals.o `test -f 'ec_signals.c' || echo './'`ec_signals.c; then mv -f ".deps/ettercap-ec_signals.Tpo" ".deps/ettercap-ec_signals.Po"; else rm -f ".deps/ettercap-ec_signals.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_signals.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_socket.o -MD -MP -MF ".deps/ettercap-ec_socket.Tpo" -c -o ettercap-ec_socket.o `test -f 'ec_socket.c' || echo './'`ec_socket.c; then mv -f ".deps/ettercap-ec_socket.Tpo" ".deps/ettercap-ec_socket.Po"; else rm -f ".deps/ettercap-ec_socket.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_socket.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_sniff.o -MD -MP -MF ".deps/ettercap-ec_sniff.Tpo" -c -o ettercap-ec_sniff.o `test -f 'ec_sniff.c' || echo './'`ec_sniff.c; then mv -f ".deps/ettercap-ec_sniff.Tpo" ".deps/ettercap-ec_sniff.Po"; else rm -f ".deps/ettercap-ec_sniff.Tpo"; exit 1; fi ec_sniff.c: In function 'expand_range_ip': ec_sniff.c:422:34: warning: pointer targets in passing argument 3 of 'ip_addr_init' differ in signedness [-Wpointer-sign] ip_addr_init(&tmp, AF_INET,(char *)&ipaddr ); ^ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_sniff.c:23: ../include/ec_inet.h:56:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr); ^~~~~~~~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_sniff.c:23: ec_sniff.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_sniff_bridge.o -MD -MP -MF ".deps/ettercap-ec_sniff_bridge.Tpo" -c -o ettercap-ec_sniff_bridge.o `test -f 'ec_sniff_bridge.c' || echo './'`ec_sniff_bridge.c; then mv -f ".deps/ettercap-ec_sniff_bridge.Tpo" ".deps/ettercap-ec_sniff_bridge.Po"; else rm -f ".deps/ettercap-ec_sniff_bridge.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_sniff_bridge.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_sniff_unified.o -MD -MP -MF ".deps/ettercap-ec_sniff_unified.Tpo" -c -o ettercap-ec_sniff_unified.o `test -f 'ec_sniff_unified.c' || echo './'`ec_sniff_unified.c; then mv -f ".deps/ettercap-ec_sniff_unified.Tpo" ".deps/ettercap-ec_sniff_unified.Po"; else rm -f ".deps/ettercap-ec_sniff_unified.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_sniff_unified.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_sslwrap.o -MD -MP -MF ".deps/ettercap-ec_sslwrap.Tpo" -c -o ettercap-ec_sslwrap.o `test -f 'ec_sslwrap.c' || echo './'`ec_sslwrap.c; then mv -f ".deps/ettercap-ec_sslwrap.Tpo" ".deps/ettercap-ec_sslwrap.Po"; else rm -f ".deps/ettercap-ec_sslwrap.Tpo"; exit 1; fi ec_sslwrap.c: In function 'sslw_start': ec_sslwrap.c:314:58: warning: pointer targets in passing argument 3 of 'ip_addr_init' differ in signedness [-Wpointer-sign] ip_addr_init(&(ae->ip[SSL_CLIENT]), AF_INET, (char *)&(client_sin.sin_addr.s_addr)); ^ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_sslwrap.c:23: ../include/ec_inet.h:56:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr); ^~~~~~~~~~~~ ec_sslwrap.c: In function 'sslw_create_selfsigned': ec_sslwrap.c:942:82: warning: pointer targets in passing argument 4 of 'X509_NAME_add_entry_by_txt' differ in signedness [-Wpointer-sign] X509_NAME_add_entry_by_txt(X509_get_issuer_name(out_cert), "L", MBSTRING_ASC, " ", -1, -1, 0); ^~~ In file included from /usr/include/openssl/ssl.h:20:0, from ec_sslwrap.c:49: /usr/include/openssl/x509.h:831:5: note: expected 'const unsigned char *' but argument is of type 'char *' int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_sslwrap.c:23: ec_sslwrap.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_stats.o -MD -MP -MF ".deps/ettercap-ec_stats.Tpo" -c -o ettercap-ec_stats.o `test -f 'ec_stats.c' || echo './'`ec_stats.c; then mv -f ".deps/ettercap-ec_stats.Tpo" ".deps/ettercap-ec_stats.Po"; else rm -f ".deps/ettercap-ec_stats.Tpo"; exit 1; fi ec_stats.c: In function 'stats_half_end': ec_stats.c:82:10: warning: variable 'time' set but not used [-Wunused-but-set-variable] float time; ^~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_stats.c:23: ec_stats.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_streambuf.o -MD -MP -MF ".deps/ettercap-ec_streambuf.Tpo" -c -o ettercap-ec_streambuf.o `test -f 'ec_streambuf.c' || echo './'`ec_streambuf.c; then mv -f ".deps/ettercap-ec_streambuf.Tpo" ".deps/ettercap-ec_streambuf.Po"; else rm -f ".deps/ettercap-ec_streambuf.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_streambuf.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_strings.o -MD -MP -MF ".deps/ettercap-ec_strings.Tpo" -c -o ettercap-ec_strings.o `test -f 'ec_strings.c' || echo './'`ec_strings.c; then mv -f ".deps/ettercap-ec_strings.Tpo" ".deps/ettercap-ec_strings.Po"; else rm -f ".deps/ettercap-ec_strings.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_strings.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_threads.o -MD -MP -MF ".deps/ettercap-ec_threads.Tpo" -c -o ettercap-ec_threads.o `test -f 'ec_threads.c' || echo './'`ec_threads.c; then mv -f ".deps/ettercap-ec_threads.Tpo" ".deps/ettercap-ec_threads.Po"; else rm -f ".deps/ettercap-ec_threads.Tpo"; exit 1; fi ec_threads.c: In function 'ec_thread_init': ec_threads.c:263:14: warning: unused variable 'id' [-Wunused-variable] pthread_t id = pthread_self(); ^~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_threads.c:23: ec_threads.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_ui.o -MD -MP -MF ".deps/ettercap-ec_ui.Tpo" -c -o ettercap-ec_ui.o `test -f 'ec_ui.c' || echo './'`ec_ui.c; then mv -f ".deps/ettercap-ec_ui.Tpo" ".deps/ettercap-ec_ui.Po"; else rm -f ".deps/ettercap-ec_ui.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_ui.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_update.o -MD -MP -MF ".deps/ettercap-ec_update.Tpo" -c -o ettercap-ec_update.o `test -f 'ec_update.c' || echo './'`ec_update.c; then mv -f ".deps/ettercap-ec_update.Tpo" ".deps/ettercap-ec_update.Po"; else rm -f ".deps/ettercap-ec_update.Tpo"; exit 1; fi ec_update.c: In function 'global_update': ec_update.c:73:22: warning: pointer targets in passing argument 2 of 'socket_send' differ in signedness [-Wpointer-sign] socket_send(sock, getmsg, strlen(getmsg)); ^~~~~~ In file included from ec_update.c:24:0: ../include/ec_socket.h:17:19: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int socket_send(int s, const u_char *payload, size_t size); ^~~~~~~~~~~ ec_update.c:78:28: warning: pointer targets in passing argument 2 of 'socket_recv' differ in signedness [-Wpointer-sign] len = socket_recv(sock, buffer, sizeof(buffer) - 1); ^~~~~~ In file included from ec_update.c:24:0: ../include/ec_socket.h:18:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int socket_recv(int s, u_char *payload, size_t size); ^~~~~~~~~~~ ec_update.c: In function 'do_update': ec_update.c:285:22: warning: pointer targets in passing argument 2 of 'socket_send' differ in signedness [-Wpointer-sign] socket_send(sock, getmsg, strlen(getmsg)); ^~~~~~ In file included from ec_update.c:24:0: ../include/ec_socket.h:17:19: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int socket_send(int s, const u_char *payload, size_t size); ^~~~~~~~~~~ ec_update.c:290:37: warning: pointer targets in passing argument 2 of 'socket_recv' differ in signedness [-Wpointer-sign] while ( (len = socket_recv(sock, buffer, sizeof(buffer) - 1)) ) { ^~~~~~ In file included from ec_update.c:24:0: ../include/ec_socket.h:18:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int socket_recv(int s, u_char *payload, size_t size); ^~~~~~~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from ec_update.c:23: ec_update.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_arp_poisoning.o -MD -MP -MF ".deps/ettercap-ec_arp_poisoning.Tpo" -c -o ettercap-ec_arp_poisoning.o `test -f 'mitm/ec_arp_poisoning.c' || echo './'`mitm/ec_arp_poisoning.c; then mv -f ".deps/ettercap-ec_arp_poisoning.Tpo" ".deps/ettercap-ec_arp_poisoning.Po"; else rm -f ".deps/ettercap-ec_arp_poisoning.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from mitm/ec_arp_poisoning.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_dhcp_spoofing.o -MD -MP -MF ".deps/ettercap-ec_dhcp_spoofing.Tpo" -c -o ettercap-ec_dhcp_spoofing.o `test -f 'mitm/ec_dhcp_spoofing.c' || echo './'`mitm/ec_dhcp_spoofing.c; then mv -f ".deps/ettercap-ec_dhcp_spoofing.Tpo" ".deps/ettercap-ec_dhcp_spoofing.Po"; else rm -f ".deps/ettercap-ec_dhcp_spoofing.Tpo"; exit 1; fi mitm/ec_dhcp_spoofing.c: In function 'dhcp_spoofing_start': mitm/ec_dhcp_spoofing.c:110:47: warning: pointer targets in passing argument 3 of 'ip_addr_init' differ in signedness [-Wpointer-sign] ip_addr_init(&dhcp_netmask, AF_INET, (char *)&ipaddr); ^ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from mitm/ec_dhcp_spoofing.c:23: ../include/ec_inet.h:56:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr); ^~~~~~~~~~~~ mitm/ec_dhcp_spoofing.c:120:43: warning: pointer targets in passing argument 3 of 'ip_addr_init' differ in signedness [-Wpointer-sign] ip_addr_init(&dhcp_dns, AF_INET, (char *)&ipaddr); ^ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from mitm/ec_dhcp_spoofing.c:23: ../include/ec_inet.h:56:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr); ^~~~~~~~~~~~ mitm/ec_dhcp_spoofing.c: In function 'dhcp_spoofing_req': mitm/ec_dhcp_spoofing.c:218:41: warning: pointer targets in passing argument 3 of 'ip_addr_init' differ in signedness [-Wpointer-sign] ip_addr_init(&client, AF_INET, (char *)&dhcp->dhcp_cip); ^ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from mitm/ec_dhcp_spoofing.c:23: ../include/ec_inet.h:56:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr); ^~~~~~~~~~~~ mitm/ec_dhcp_spoofing.c:241:19: warning: pointer targets in passing argument 1 of 'ip_addr_cpy' differ in signedness [-Wpointer-sign] ip_addr_cpy(dhcp_options + 5, &server); ^~~~~~~~~~~~ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from mitm/ec_dhcp_spoofing.c:23: ../include/ec_inet.h:57:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_cpy(u_char *addr, struct ip_addr *sa); ^~~~~~~~~~~ mitm/ec_dhcp_spoofing.c:243:74: warning: pointer targets in passing argument 4 of 'send_dhcp_reply' differ in signedness [-Wpointer-sign] send_dhcp_reply(&server, dhcp_addr_reply(&po->L3.src), po->L2.src, dhcp_hdr, dhcp_options, dhcp_optlen); ^~~~~~~~ In file included from mitm/ec_dhcp_spoofing.c:25:0: ../include/ec_send.h:20:19: note: expected 'u_int8 * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int send_dhcp_reply(struct ip_addr *sip, struct ip_addr *tip, u_int8 *tmac, u_int8 *dhcp_hdr, u_int8 *options, size_t optlen); ^~~~~~~~~~~~~~~ mitm/ec_dhcp_spoofing.c:243:84: warning: pointer targets in passing argument 5 of 'send_dhcp_reply' differ in signedness [-Wpointer-sign] send_dhcp_reply(&server, dhcp_addr_reply(&po->L3.src), po->L2.src, dhcp_hdr, dhcp_options, dhcp_optlen); ^~~~~~~~~~~~ In file included from mitm/ec_dhcp_spoofing.c:25:0: ../include/ec_send.h:20:19: note: expected 'u_int8 * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int send_dhcp_reply(struct ip_addr *sip, struct ip_addr *tip, u_int8 *tmac, u_int8 *dhcp_hdr, u_int8 *options, size_t optlen); ^~~~~~~~~~~~~~~ mitm/ec_dhcp_spoofing.c:253:19: warning: pointer targets in passing argument 1 of 'ip_addr_cpy' differ in signedness [-Wpointer-sign] ip_addr_cpy(dhcp_options + 5, &GBL_IFACE->ip); ^~~~~~~~~~~~ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from mitm/ec_dhcp_spoofing.c:23: ../include/ec_inet.h:57:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_cpy(u_char *addr, struct ip_addr *sa); ^~~~~~~~~~~ mitm/ec_dhcp_spoofing.c:255:81: warning: pointer targets in passing argument 4 of 'send_dhcp_reply' differ in signedness [-Wpointer-sign] send_dhcp_reply(&GBL_IFACE->ip, dhcp_addr_reply(&po->L3.src), po->L2.src, dhcp_hdr, dhcp_options, dhcp_optlen); ^~~~~~~~ In file included from mitm/ec_dhcp_spoofing.c:25:0: ../include/ec_send.h:20:19: note: expected 'u_int8 * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int send_dhcp_reply(struct ip_addr *sip, struct ip_addr *tip, u_int8 *tmac, u_int8 *dhcp_hdr, u_int8 *options, size_t optlen); ^~~~~~~~~~~~~~~ mitm/ec_dhcp_spoofing.c:255:91: warning: pointer targets in passing argument 5 of 'send_dhcp_reply' differ in signedness [-Wpointer-sign] send_dhcp_reply(&GBL_IFACE->ip, dhcp_addr_reply(&po->L3.src), po->L2.src, dhcp_hdr, dhcp_options, dhcp_optlen); ^~~~~~~~~~~~ In file included from mitm/ec_dhcp_spoofing.c:25:0: ../include/ec_send.h:20:19: note: expected 'u_int8 * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int send_dhcp_reply(struct ip_addr *sip, struct ip_addr *tip, u_int8 *tmac, u_int8 *dhcp_hdr, u_int8 *options, size_t optlen); ^~~~~~~~~~~~~~~ mitm/ec_dhcp_spoofing.c: In function 'dhcp_spoofing_disc': mitm/ec_dhcp_spoofing.c:295:16: warning: pointer targets in passing argument 1 of 'ip_addr_cpy' differ in signedness [-Wpointer-sign] ip_addr_cpy(dhcp_options + 5, &GBL_IFACE->ip); ^~~~~~~~~~~~ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from mitm/ec_dhcp_spoofing.c:23: ../include/ec_inet.h:57:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_cpy(u_char *addr, struct ip_addr *sa); ^~~~~~~~~~~ mitm/ec_dhcp_spoofing.c:298:78: warning: pointer targets in passing argument 4 of 'send_dhcp_reply' differ in signedness [-Wpointer-sign] send_dhcp_reply(&GBL_IFACE->ip, dhcp_addr_reply(&po->L3.src), po->L2.src, dhcp_hdr, dhcp_options, dhcp_optlen); ^~~~~~~~ In file included from mitm/ec_dhcp_spoofing.c:25:0: ../include/ec_send.h:20:19: note: expected 'u_int8 * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int send_dhcp_reply(struct ip_addr *sip, struct ip_addr *tip, u_int8 *tmac, u_int8 *dhcp_hdr, u_int8 *options, size_t optlen); ^~~~~~~~~~~~~~~ mitm/ec_dhcp_spoofing.c:298:88: warning: pointer targets in passing argument 5 of 'send_dhcp_reply' differ in signedness [-Wpointer-sign] send_dhcp_reply(&GBL_IFACE->ip, dhcp_addr_reply(&po->L3.src), po->L2.src, dhcp_hdr, dhcp_options, dhcp_optlen); ^~~~~~~~~~~~ In file included from mitm/ec_dhcp_spoofing.c:25:0: ../include/ec_send.h:20:19: note: expected 'u_int8 * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int send_dhcp_reply(struct ip_addr *sip, struct ip_addr *tip, u_int8 *tmac, u_int8 *dhcp_hdr, u_int8 *options, size_t optlen); ^~~~~~~~~~~~~~~ mitm/ec_dhcp_spoofing.c: In function 'dhcp_setup_options': mitm/ec_dhcp_spoofing.c:314:16: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] u_int8 *p = dhcp_options; ^~~~~~~~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from mitm/ec_dhcp_spoofing.c:23: mitm/ec_dhcp_spoofing.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_icmp_redirect.o -MD -MP -MF ".deps/ettercap-ec_icmp_redirect.Tpo" -c -o ettercap-ec_icmp_redirect.o `test -f 'mitm/ec_icmp_redirect.c' || echo './'`mitm/ec_icmp_redirect.c; then mv -f ".deps/ettercap-ec_icmp_redirect.Tpo" ".deps/ettercap-ec_icmp_redirect.Po"; else rm -f ".deps/ettercap-ec_icmp_redirect.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from mitm/ec_icmp_redirect.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_port_stealing.o -MD -MP -MF ".deps/ettercap-ec_port_stealing.Tpo" -c -o ettercap-ec_port_stealing.o `test -f 'mitm/ec_port_stealing.c' || echo './'`mitm/ec_port_stealing.c; then mv -f ".deps/ettercap-ec_port_stealing.Tpo" ".deps/ettercap-ec_port_stealing.Po"; else rm -f ".deps/ettercap-ec_port_stealing.Tpo"; exit 1; fi mitm/ec_port_stealing.c: In function 'port_stealing_start': mitm/ec_port_stealing.c:183:35: warning: pointer targets in passing argument 2 of 'packet_create_object' differ in signedness [-Wpointer-sign] packet_create_object(&fake_po, fake_pck, FAKE_PCK_LEN); ^~~~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from mitm/ec_port_stealing.c:23: ../include/ec_packet.h:112:26: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ mitm/ec_port_stealing.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_arp.o -MD -MP -MF ".deps/ettercap-ec_arp.Tpo" -c -o ettercap-ec_arp.o `test -f 'protocols/ec_arp.c' || echo './'`protocols/ec_arp.c; then mv -f ".deps/ettercap-ec_arp.Tpo" ".deps/ettercap-ec_arp.Po"; else rm -f ".deps/ettercap-ec_arp.Tpo"; exit 1; fi protocols/ec_arp.c: In function 'decode_arp': protocols/ec_arp.c:94:46: warning: pointer targets in passing argument 3 of 'ip_addr_init' differ in signedness [-Wpointer-sign] ip_addr_init(&PACKET->L3.src, AF_INET, (char *)&earp->arp_spa); ^ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from protocols/ec_arp.c:23: ../include/ec_inet.h:56:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr); ^~~~~~~~~~~~ protocols/ec_arp.c:95:46: warning: pointer targets in passing argument 3 of 'ip_addr_init' differ in signedness [-Wpointer-sign] ip_addr_init(&PACKET->L3.dst, AF_INET, (char *)&earp->arp_tpa); ^ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from protocols/ec_arp.c:23: ../include/ec_inet.h:56:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr); ^~~~~~~~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from protocols/ec_arp.c:23: protocols/ec_arp.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_eth.o -MD -MP -MF ".deps/ettercap-ec_eth.Tpo" -c -o ettercap-ec_eth.o `test -f 'protocols/ec_eth.c' || echo './'`protocols/ec_eth.c; then mv -f ".deps/ettercap-ec_eth.Tpo" ".deps/ettercap-ec_eth.Po"; else rm -f ".deps/ettercap-ec_eth.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from protocols/ec_eth.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_fddi.o -MD -MP -MF ".deps/ettercap-ec_fddi.Tpo" -c -o ettercap-ec_fddi.o `test -f 'protocols/ec_fddi.c' || echo './'`protocols/ec_fddi.c; then mv -f ".deps/ettercap-ec_fddi.Tpo" ".deps/ettercap-ec_fddi.Po"; else rm -f ".deps/ettercap-ec_fddi.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from protocols/ec_fddi.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_cooked.o -MD -MP -MF ".deps/ettercap-ec_cooked.Tpo" -c -o ettercap-ec_cooked.o `test -f 'protocols/ec_cooked.c' || echo './'`protocols/ec_cooked.c; then mv -f ".deps/ettercap-ec_cooked.Tpo" ".deps/ettercap-ec_cooked.Po"; else rm -f ".deps/ettercap-ec_cooked.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from protocols/ec_cooked.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_gre.o -MD -MP -MF ".deps/ettercap-ec_gre.Tpo" -c -o ettercap-ec_gre.o `test -f 'protocols/ec_gre.c' || echo './'`protocols/ec_gre.c; then mv -f ".deps/ettercap-ec_gre.Tpo" ".deps/ettercap-ec_gre.Po"; else rm -f ".deps/ettercap-ec_gre.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from protocols/ec_gre.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_icmp.o -MD -MP -MF ".deps/ettercap-ec_icmp.Tpo" -c -o ettercap-ec_icmp.o `test -f 'protocols/ec_icmp.c' || echo './'`protocols/ec_icmp.c; then mv -f ".deps/ettercap-ec_icmp.Tpo" ".deps/ettercap-ec_icmp.Po"; else rm -f ".deps/ettercap-ec_icmp.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from protocols/ec_icmp.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_ip.o -MD -MP -MF ".deps/ettercap-ec_ip.Tpo" -c -o ettercap-ec_ip.o `test -f 'protocols/ec_ip.c' || echo './'`protocols/ec_ip.c; then mv -f ".deps/ettercap-ec_ip.Tpo" ".deps/ettercap-ec_ip.Po"; else rm -f ".deps/ettercap-ec_ip.Tpo"; exit 1; fi protocols/ec_ip.c: In function 'decode_ip': protocols/ec_ip.c:114:43: warning: pointer targets in passing argument 3 of 'ip_addr_init' differ in signedness [-Wpointer-sign] ip_addr_init(&PACKET->L3.src, AF_INET, (char *)&ip->saddr); ^ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from protocols/ec_ip.c:23: ../include/ec_inet.h:56:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr); ^~~~~~~~~~~~ protocols/ec_ip.c:115:43: warning: pointer targets in passing argument 3 of 'ip_addr_init' differ in signedness [-Wpointer-sign] ip_addr_init(&PACKET->L3.dst, AF_INET, (char *)&ip->daddr); ^ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from protocols/ec_ip.c:23: ../include/ec_inet.h:56:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr); ^~~~~~~~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from protocols/ec_ip.c:23: protocols/ec_ip.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_ip6.o -MD -MP -MF ".deps/ettercap-ec_ip6.Tpo" -c -o ettercap-ec_ip6.o `test -f 'protocols/ec_ip6.c' || echo './'`protocols/ec_ip6.c; then mv -f ".deps/ettercap-ec_ip6.Tpo" ".deps/ettercap-ec_ip6.Po"; else rm -f ".deps/ettercap-ec_ip6.Tpo"; exit 1; fi protocols/ec_ip6.c: In function 'decode_ip6': protocols/ec_ip6.c:75:8: warning: variable 'opt' set but not used [-Wunused-but-set-variable] int opt; /* -1 means no options defined, if 0 an option is present */ ^~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from protocols/ec_ip6.c:23: protocols/ec_ip6.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_ppp.o -MD -MP -MF ".deps/ettercap-ec_ppp.Tpo" -c -o ettercap-ec_ppp.o `test -f 'protocols/ec_ppp.c' || echo './'`protocols/ec_ppp.c; then mv -f ".deps/ettercap-ec_ppp.Tpo" ".deps/ettercap-ec_ppp.Po"; else rm -f ".deps/ettercap-ec_ppp.Tpo"; exit 1; fi In file included from /usr/include/stdio.h:597:0, from ../include/ec.h:14, from protocols/ec_ppp.c:23: protocols/ec_ppp.c: In function 'decode_ppp': protocols/ec_ppp.c:164:27: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-Wpointer-sign] sprintf(dummy, "%02X", chapch->value.challenge_v1[i]); ^ protocols/ec_ppp.c:164:27: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' In file included from /usr/include/string.h:127:0, from ../include/ec.h:27, from protocols/ec_ppp.c:23: protocols/ec_ppp.c:165:26: warning: pointer targets in passing argument 1 of '__builtin___strcat_chk' differ in signedness [-Wpointer-sign] strcat(schallenge, dummy); ^ protocols/ec_ppp.c:165:26: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' protocols/ec_ppp.c:165:38: warning: pointer targets in passing argument 2 of '__builtin___strcat_chk' differ in signedness [-Wpointer-sign] strcat(schallenge, dummy); ^ protocols/ec_ppp.c:165:38: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' protocols/ec_ppp.c:165:26: warning: pointer targets in passing argument 1 of '__strcat_ichk' differ in signedness [-Wpointer-sign] strcat(schallenge, dummy); ^ /usr/include/ssp/string.h:90:1: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' __ssp_bos_icheck2_restrict(strcat, char *, const char *) ^ protocols/ec_ppp.c:165:38: warning: pointer targets in passing argument 2 of '__strcat_ichk' differ in signedness [-Wpointer-sign] strcat(schallenge, dummy); ^ /usr/include/ssp/string.h:90:1: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' __ssp_bos_icheck2_restrict(strcat, char *, const char *) ^ In file included from ../include/ec_globals.h:9:0, from ../include/ec.h:54, from protocols/ec_ppp.c:23: protocols/ec_ppp.c:188:85: warning: pointer targets in passing argument 2 of 'ip_addr_ntoa' differ in signedness [-Wpointer-sign] DISSECT_MSG("\n\nTunnel PPTP: %s -> ", ip_addr_ntoa(&PACKET->L3.src, temp)); ^ ../include/ec_ui.h:43:39: note: in definition of macro 'USER_MSG' #define USER_MSG(x, ...) ui_msg(x, ## __VA_ARGS__ ) ^~~~~~~~~~~ protocols/ec_ppp.c:188:16: note: in expansion of macro 'DISSECT_MSG' DISSECT_MSG("\n\nTunnel PPTP: %s -> ", ip_addr_ntoa(&PACKET->L3.src, temp)); ^~~~~~~~~~~ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from protocols/ec_ppp.c:23: ../include/ec_inet.h:62:21: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN char *ip_addr_ntoa(struct ip_addr *sa, char *dst); ^~~~~~~~~~~~ In file included from ../include/ec_globals.h:9:0, from ../include/ec.h:54, from protocols/ec_ppp.c:23: protocols/ec_ppp.c:189:66: warning: pointer targets in passing argument 2 of 'ip_addr_ntoa' differ in signedness [-Wpointer-sign] DISSECT_MSG("%s\n", ip_addr_ntoa(&PACKET->L3.dst, temp)); ^ ../include/ec_ui.h:43:39: note: in definition of macro 'USER_MSG' #define USER_MSG(x, ...) ui_msg(x, ## __VA_ARGS__ ) ^~~~~~~~~~~ protocols/ec_ppp.c:189:16: note: in expansion of macro 'DISSECT_MSG' DISSECT_MSG("%s\n", ip_addr_ntoa(&PACKET->L3.dst, temp)); ^~~~~~~~~~~ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from protocols/ec_ppp.c:23: ../include/ec_inet.h:62:21: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN char *ip_addr_ntoa(struct ip_addr *sa, char *dst); ^~~~~~~~~~~~ protocols/ec_ppp.c:207:32: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if ((p = strchr(user, '\\')) == NULL) ^~~~ In file included from ../include/ec.h:27:0, from protocols/ec_ppp.c:23: /usr/include/string.h:55:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strchr(const char *, int); ^~~~~~ protocols/ec_ppp.c:207:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((p = strchr(user, '\\')) == NULL) ^ protocols/ec_ppp.c:215:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] SHA1_Update(&ctx, p, strlen(p)); ^ In file included from ../include/ec.h:27:0, from protocols/ec_ppp.c:23: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ protocols/ec_ppp.c:236:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pap_auth = (char *)(lcph + 1); ^ In file included from ../include/ec_globals.h:9:0, from ../include/ec.h:54, from protocols/ec_ppp.c:23: protocols/ec_ppp.c:242:82: warning: pointer targets in passing argument 2 of 'ip_addr_ntoa' differ in signedness [-Wpointer-sign] DISSECT_MSG("\n\nTunnel PPTP: %s -> ", ip_addr_ntoa(&PACKET->L3.src, temp)); ^ ../include/ec_ui.h:43:39: note: in definition of macro 'USER_MSG' #define USER_MSG(x, ...) ui_msg(x, ## __VA_ARGS__ ) ^~~~~~~~~~~ protocols/ec_ppp.c:242:13: note: in expansion of macro 'DISSECT_MSG' DISSECT_MSG("\n\nTunnel PPTP: %s -> ", ip_addr_ntoa(&PACKET->L3.src, temp)); ^~~~~~~~~~~ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from protocols/ec_ppp.c:23: ../include/ec_inet.h:62:21: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN char *ip_addr_ntoa(struct ip_addr *sa, char *dst); ^~~~~~~~~~~~ In file included from ../include/ec_globals.h:9:0, from ../include/ec.h:54, from protocols/ec_ppp.c:23: protocols/ec_ppp.c:243:63: warning: pointer targets in passing argument 2 of 'ip_addr_ntoa' differ in signedness [-Wpointer-sign] DISSECT_MSG("%s\n", ip_addr_ntoa(&PACKET->L3.dst, temp)); ^ ../include/ec_ui.h:43:39: note: in definition of macro 'USER_MSG' #define USER_MSG(x, ...) ui_msg(x, ## __VA_ARGS__ ) ^~~~~~~~~~~ protocols/ec_ppp.c:243:13: note: in expansion of macro 'DISSECT_MSG' DISSECT_MSG("%s\n", ip_addr_ntoa(&PACKET->L3.dst, temp)); ^~~~~~~~~~~ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from protocols/ec_ppp.c:23: ../include/ec_inet.h:62:21: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN char *ip_addr_ntoa(struct ip_addr *sa, char *dst); ^~~~~~~~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from protocols/ec_ppp.c:23: protocols/ec_ppp.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_prism.o -MD -MP -MF ".deps/ettercap-ec_prism.Tpo" -c -o ettercap-ec_prism.o `test -f 'protocols/ec_prism.c' || echo './'`protocols/ec_prism.c; then mv -f ".deps/ettercap-ec_prism.Tpo" ".deps/ettercap-ec_prism.Po"; else rm -f ".deps/ettercap-ec_prism.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from protocols/ec_prism.c:22: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_rawip.o -MD -MP -MF ".deps/ettercap-ec_rawip.Tpo" -c -o ettercap-ec_rawip.o `test -f 'protocols/ec_rawip.c' || echo './'`protocols/ec_rawip.c; then mv -f ".deps/ettercap-ec_rawip.Tpo" ".deps/ettercap-ec_rawip.Po"; else rm -f ".deps/ettercap-ec_rawip.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from protocols/ec_rawip.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_tcp.o -MD -MP -MF ".deps/ettercap-ec_tcp.Tpo" -c -o ettercap-ec_tcp.o `test -f 'protocols/ec_tcp.c' || echo './'`protocols/ec_tcp.c; then mv -f ".deps/ettercap-ec_tcp.Tpo" ".deps/ettercap-ec_tcp.Po"; else rm -f ".deps/ettercap-ec_tcp.Tpo"; exit 1; fi protocols/ec_tcp.c: In function 'decode_tcp': protocols/ec_tcp.c:119:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] opt_end = (u_char *)((int)tcp + tcp->off * 4); ^ protocols/ec_tcp.c:119:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] opt_end = (u_char *)((int)tcp + tcp->off * 4); ^ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from protocols/ec_tcp.c:23: protocols/ec_tcp.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_tr.o -MD -MP -MF ".deps/ettercap-ec_tr.Tpo" -c -o ettercap-ec_tr.o `test -f 'protocols/ec_tr.c' || echo './'`protocols/ec_tr.c; then mv -f ".deps/ettercap-ec_tr.Tpo" ".deps/ettercap-ec_tr.Po"; else rm -f ".deps/ettercap-ec_tr.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from protocols/ec_tr.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_vlan.o -MD -MP -MF ".deps/ettercap-ec_vlan.Tpo" -c -o ettercap-ec_vlan.o `test -f 'protocols/ec_vlan.c' || echo './'`protocols/ec_vlan.c; then mv -f ".deps/ettercap-ec_vlan.Tpo" ".deps/ettercap-ec_vlan.Po"; else rm -f ".deps/ettercap-ec_vlan.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from protocols/ec_vlan.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_udp.o -MD -MP -MF ".deps/ettercap-ec_udp.Tpo" -c -o ettercap-ec_udp.o `test -f 'protocols/ec_udp.c' || echo './'`protocols/ec_udp.c; then mv -f ".deps/ettercap-ec_udp.Tpo" ".deps/ettercap-ec_udp.Po"; else rm -f ".deps/ettercap-ec_udp.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from protocols/ec_udp.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_wifi.o -MD -MP -MF ".deps/ettercap-ec_wifi.Tpo" -c -o ettercap-ec_wifi.o `test -f 'protocols/ec_wifi.c' || echo './'`protocols/ec_wifi.c; then mv -f ".deps/ettercap-ec_wifi.Tpo" ".deps/ettercap-ec_wifi.Po"; else rm -f ".deps/ettercap-ec_wifi.Tpo"; exit 1; fi protocols/ec_wifi.c: In function 'set_wep_key': protocols/ec_wifi.c:370:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] char s[strlen(string) + 1]; ^~~~~~ In file included from ../include/ec.h:27:0, from protocols/ec_wifi.c:23: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ In file included from /usr/include/string.h:127:0, from ../include/ec.h:27, from protocols/ec_wifi.c:23: protocols/ec_wifi.c:375:14: warning: pointer targets in passing argument 2 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign] strcpy(s, string); ^ protocols/ec_wifi.c:375:14: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' protocols/ec_wifi.c:375:14: warning: pointer targets in passing argument 2 of '__strcpy_ichk' differ in signedness [-Wpointer-sign] strcpy(s, string); ^ /usr/include/ssp/string.h:89:1: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' __ssp_bos_icheck2_restrict(strcpy, char *, const char *) ^ protocols/ec_wifi.c:377:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = ec_strtok(s, ":", &tok); ^ protocols/ec_wifi.c:381:15: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] bit = atoi(p); ^ In file included from ../include/ec.h:15:0, from protocols/ec_wifi.c:23: /usr/include/stdlib.h:101:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int atoi(const char *); ^~~~ protocols/ec_wifi.c:398:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = ec_strtok(NULL, ":", &tok); ^ protocols/ec_wifi.c:405:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = ec_strtok(NULL, ":", &tok); ^ protocols/ec_wifi.c:411:21: warning: pointer targets in passing argument 1 of 'strescape' differ in signedness [-Wpointer-sign] if (strescape(wkey, p) != (int)wlen) ^~~~ In file included from ../include/ec.h:55:0, from protocols/ec_wifi.c:23: ../include/ec_strings.h:34:19: note: expected 'char *' but argument is of type 'u_int8 * {aka unsigned char *}' EC_API_EXTERN int strescape(char *dst, char *src); ^~~~~~~~~ protocols/ec_wifi.c:411:27: warning: pointer targets in passing argument 2 of 'strescape' differ in signedness [-Wpointer-sign] if (strescape(wkey, p) != (int)wlen) ^ In file included from ../include/ec.h:55:0, from protocols/ec_wifi.c:23: ../include/ec_strings.h:34:19: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN int strescape(char *dst, char *src); ^~~~~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from protocols/ec_wifi.c:23: protocols/ec_wifi.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_bgp.o -MD -MP -MF ".deps/ettercap-ec_bgp.Tpo" -c -o ettercap-ec_bgp.o `test -f 'dissectors/ec_bgp.c' || echo './'`dissectors/ec_bgp.c; then mv -f ".deps/ettercap-ec_bgp.Tpo" ".deps/ettercap-ec_bgp.Po"; else rm -f ".deps/ettercap-ec_bgp.Tpo"; exit 1; fi dissectors/ec_bgp.c: In function 'dissector_bgp': dissectors/ec_bgp.c:177:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] str_ptr = PACKET->DISSECTOR.pass + strlen(PACKET->DISSECTOR.pass); ^ In file included from /usr/include/stdio.h:597:0, from ../include/ec.h:14, from dissectors/ec_bgp.c:97: dissectors/ec_bgp.c:180:24: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-Wpointer-sign] sprintf(str_ptr + (j * 3), " %.2x", parameters[i + 3 + j]); ^ dissectors/ec_bgp.c:180:24: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' In file included from /usr/include/string.h:127:0, from ../include/ec.h:27, from dissectors/ec_bgp.c:97: dissectors/ec_bgp.c:182:20: warning: pointer targets in passing argument 1 of '__builtin___strcat_chk' differ in signedness [-Wpointer-sign] strcat(str_ptr, " )"); ^ dissectors/ec_bgp.c:182:20: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' dissectors/ec_bgp.c:182:20: warning: pointer targets in passing argument 1 of '__strcat_ichk' differ in signedness [-Wpointer-sign] strcat(str_ptr, " )"); ^ /usr/include/ssp/string.h:90:1: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' __ssp_bos_icheck2_restrict(strcat, char *, const char *) ^ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_bgp.c:97: dissectors/ec_bgp.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_cvs.o -MD -MP -MF ".deps/ettercap-ec_cvs.Tpo" -c -o ettercap-ec_cvs.o `test -f 'dissectors/ec_cvs.c' || echo './'`dissectors/ec_cvs.c; then mv -f ".deps/ettercap-ec_cvs.Tpo" ".deps/ettercap-ec_cvs.Po"; else rm -f ".deps/ettercap-ec_cvs.Tpo"; exit 1; fi dissectors/ec_cvs.c: In function 'dissector_cvs': dissectors/ec_cvs.c:88:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if ( strncmp(ptr, CVS_LOGIN, strlen(CVS_LOGIN)) ) ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_cvs.c:23: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncmp(const char *, const char *, size_t); ^~~~~~~ dissectors/ec_cvs.c:100:36: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.user = strdup(++ptr); ^~ In file included from ../include/ec.h:27:0, from dissectors/ec_cvs.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_cvs.c:114:36: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.pass = strdup(ptr); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_cvs.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_cvs.c:23: dissectors/ec_cvs.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_dhcp.o -MD -MP -MF ".deps/ettercap-ec_dhcp.Tpo" -c -o ettercap-ec_dhcp.o `test -f 'dissectors/ec_dhcp.c' || echo './'`dissectors/ec_dhcp.c; then mv -f ".deps/ettercap-ec_dhcp.Tpo" ".deps/ettercap-ec_dhcp.Po"; else rm -f ".deps/ettercap-ec_dhcp.Tpo"; exit 1; fi dissectors/ec_dhcp.c: In function 'dissector_dhcp': dissectors/ec_dhcp.c:161:50: warning: pointer targets in passing argument 3 of 'ip_addr_init' differ in signedness [-Wpointer-sign] ip_addr_init(&client, AF_INET, (char *)&dhcp->ciaddr); ^ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_dhcp.c:55: ../include/ec_inet.h:56:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr); ^~~~~~~~~~~~ dissectors/ec_dhcp.c:206:44: warning: pointer targets in passing argument 3 of 'ip_addr_init' differ in signedness [-Wpointer-sign] ip_addr_init(&client, AF_INET, (char *)&dhcp->yiaddr ); ^ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_dhcp.c:55: ../include/ec_inet.h:56:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr); ^~~~~~~~~~~~ In file included from /usr/include/string.h:127:0, from ../include/ec.h:27, from dissectors/ec_dhcp.c:55: dissectors/ec_dhcp.c:230:35: warning: pointer targets in passing argument 2 of '__builtin___strncpy_chk' differ in signedness [-Wpointer-sign] strncpy(domain, opt + 1, MIN(*opt, sizeof(domain)) ); ^ dissectors/ec_dhcp.c:230:35: note: expected 'const char *' but argument is of type 'u_int8 * {aka unsigned char *}' dissectors/ec_dhcp.c:230:35: warning: pointer targets in passing argument 2 of '__strncpy_ichk' differ in signedness [-Wpointer-sign] strncpy(domain, opt + 1, MIN(*opt, sizeof(domain)) ); ^ /usr/include/ssp/string.h:91:1: note: expected 'const char * restrict' but argument is of type 'u_int8 * {aka unsigned char *}' __ssp_bos_icheck3_restrict(strncpy, char *, const char *) ^ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_dhcp.c:55: dissectors/ec_dhcp.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_dns.o -MD -MP -MF ".deps/ettercap-ec_dns.Tpo" -c -o ettercap-ec_dns.o `test -f 'dissectors/ec_dns.c' || echo './'`dissectors/ec_dns.c; then mv -f ".deps/ettercap-ec_dns.Tpo" ".deps/ettercap-ec_dns.Po"; else rm -f ".deps/ettercap-ec_dns.Tpo"; exit 1; fi dissectors/ec_dns.c: In function 'dissector_dns': dissectors/ec_dns.c:185:40: warning: pointer targets in passing argument 3 of 'ip_addr_init' differ in signedness [-Wpointer-sign] ip_addr_init(&ip, AF_INET, (char *)&addr); ^ In file included from ../include/ec_proto.h:7:0, from ../include/ec_packet.h:7, from ../include/ec_sniff.h:7, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_dns.c:23: ../include/ec_inet.h:56:19: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr); ^~~~~~~~~~~~ dissectors/ec_dns.c:107:10: warning: variable 'ttl' set but not used [-Wunused-but-set-variable] int32 ttl; ^~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_dns.c:23: dissectors/ec_dns.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_ftp.o -MD -MP -MF ".deps/ettercap-ec_ftp.Tpo" -c -o ettercap-ec_ftp.o `test -f 'dissectors/ec_ftp.c' || echo './'`dissectors/ec_ftp.c; then mv -f ".deps/ettercap-ec_ftp.Tpo" ".deps/ettercap-ec_ftp.Po"; else rm -f ".deps/ettercap-ec_ftp.Tpo"; exit 1; fi In file included from dissectors/ec_ftp.c:25:0: dissectors/ec_ftp.c: In function 'dissector_ftp': ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ ../include/ec_dissect.h:58:51: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&session, PACKET, DISSECT_CODE(func)); \ ^~~~~~~~~~~~ dissectors/ec_ftp.c:54:4: note: in expansion of macro 'CREATE_SESSION_ON_SYN_ACK' CREATE_SESSION_ON_SYN_ACK("ftp", s, dissector_ftp); ^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ ../include/ec_dissect.h:79:44: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(func)); \ ^~~~~~~~~~~~ dissectors/ec_ftp.c:57:4: note: in expansion of macro 'IF_FIRST_PACKET_FROM_SERVER' IF_FIRST_PACKET_FROM_SERVER("ftp", s, ident, dissector_ftp) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ dissectors/ec_ftp.c:64:20: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp(ptr, "220", 3)) { ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_ftp.c:23: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncmp(const char *, const char *, size_t); ^~~~~~~ dissectors/ec_ftp.c:65:44: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.banner = strdup(ptr + 4); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_ftp.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_ftp.c:68:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.banner, '\r')) != NULL ) ^ dissectors/ec_ftp.c:92:22: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if ( !strncasecmp(ptr, "USER ", 5) ) { ^~~ In file included from /usr/include/string.h:98:0, from ../include/ec.h:27, from dissectors/ec_ftp.c:23: /usr/include/strings.h:64:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncasecmp(const char *, const char *, size_t); ^~~~~~~~~~~ In file included from dissectors/ec_ftp.c:25:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_ftp.c:97:42: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&s, PACKET, DISSECT_CODE(dissector_ftp)); ^~~~~~~~~~~~ dissectors/ec_ftp.c:105:24: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] s->data = strdup(ptr); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_ftp.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_ftp.c:106:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] s->data_len = strlen(ptr); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_ftp.c:23: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ dissectors/ec_ftp.c:108:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(s->data,'\r')) != NULL ) ^ dissectors/ec_ftp.c:118:22: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if ( !strncasecmp(ptr, "PASS ", 5) ) { ^~~ In file included from /usr/include/string.h:98:0, from ../include/ec.h:27, from dissectors/ec_ftp.c:23: /usr/include/strings.h:64:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncasecmp(const char *, const char *, size_t); ^~~~~~~~~~~ In file included from dissectors/ec_ftp.c:25:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_ftp.c:125:44: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(dissector_ftp)); ^~~~~~~~~~~~ dissectors/ec_ftp.c:142:39: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.pass = strdup(ptr); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_ftp.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_ftp.c:143:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\r')) != NULL ) ^ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_ftp.c:23: dissectors/ec_ftp.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_http.o -MD -MP -MF ".deps/ettercap-ec_http.Tpo" -c -o ettercap-ec_http.o `test -f 'dissectors/ec_http.c' || echo './'`dissectors/ec_http.c; then mv -f ".deps/ettercap-ec_http.Tpo" ".deps/ettercap-ec_http.Po"; else rm -f ".deps/ettercap-ec_http.Tpo"; exit 1; fi dissectors/ec_http.c: In function 'dissector_http': dissectors/ec_http.c:161:31: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if ((from_here = strstr(ptr, "Authorization: Passport")) && ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:68:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strstr(const char *, const char *); ^~~~~~ dissectors/ec_http.c:162:30: warning: pointer targets in passing argument 1 of 'Parse_Passport_Auth' differ in signedness [-Wpointer-sign] Parse_Passport_Auth(ptr, from_here + strlen("Authorization: Passport"), PACKET)); ^~~ dissectors/ec_http.c:103:12: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' static int Parse_Passport_Auth(char *ptr, char *from_here, struct packet_object *po); ^~~~~~~~~~~~~~~~~~~ dissectors/ec_http.c:163:36: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if ((from_here = strstr(ptr, ": NTLM ")) && ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:68:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strstr(const char *, const char *); ^~~~~~ dissectors/ec_http.c:164:26: warning: pointer targets in passing argument 1 of 'Parse_NTLM_Auth' differ in signedness [-Wpointer-sign] Parse_NTLM_Auth(ptr, from_here + strlen(": NTLM "), PACKET)); ^~~ dissectors/ec_http.c:104:12: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' static int Parse_NTLM_Auth(char *ptr, char *from_here, struct packet_object *po); ^~~~~~~~~~~~~~~ dissectors/ec_http.c:165:36: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] else if ((from_here = strstr(ptr, ": Basic ")) && ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:68:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strstr(const char *, const char *); ^~~~~~ dissectors/ec_http.c:166:27: warning: pointer targets in passing argument 1 of 'Parse_Basic_Auth' differ in signedness [-Wpointer-sign] Parse_Basic_Auth(ptr, from_here + strlen(": Basic "), PACKET)); ^~~ dissectors/ec_http.c:105:12: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' static int Parse_Basic_Auth(char *ptr, char *from_here, struct packet_object *po); ^~~~~~~~~~~~~~~~ dissectors/ec_http.c:167:25: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] else if (!strncmp(ptr, "GET ", 4)) ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncmp(const char *, const char *, size_t); ^~~~~~~ dissectors/ec_http.c:169:25: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] else if (!strncmp(ptr, "POST ", 5)) ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncmp(const char *, const char *, size_t); ^~~~~~~ In file included from dissectors/ec_http.c:26:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_http.c:172:47: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(dissector_http)); ^~~~~~~~~~~~ dissectors/ec_http.c:184:20: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp(ptr, "HTTP", 4)) { ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncmp(const char *, const char *, size_t); ^~~~~~~ In file included from dissectors/ec_http.c:26:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_http.c:190:39: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(PACKET, DISSECT_CODE(dissector_http)); ^~~~~~~~~~~~ dissectors/ec_http.c:197:34: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if ((from_here = strstr(ptr, ": NTLM "))) ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:68:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strstr(const char *, const char *); ^~~~~~ dissectors/ec_http.c:198:29: warning: pointer targets in passing argument 1 of 'Parse_NTLM_Auth' differ in signedness [-Wpointer-sign] Parse_NTLM_Auth(ptr, from_here + strlen(": NTLM "), PACKET); ^~~ dissectors/ec_http.c:104:12: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' static int Parse_NTLM_Auth(char *ptr, char *from_here, struct packet_object *po); ^~~~~~~~~~~~~~~ In file included from dissectors/ec_http.c:26:0: dissectors/ec_http.c: In function 'Check_CONNECT': ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_http.c:216:37: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, po, DISSECT_CODE(dissector_http)); ^~~~~~~~~~~~ dissectors/ec_http.c:221:65: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (conn_status->c_status == PROXY_WAIT_OK && !strncmp(ptr + 8, " 200 ", 5)) ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncmp(const char *, const char *, size_t); ^~~~~~~ dissectors/ec_http.c:225:21: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] (strstr(ptr, "\r\n\r\n") || (ptr[0]=='\r' && ptr[1]=='\n'))) { ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:68:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strstr(const char *, const char *); ^~~~~~ In file included from dissectors/ec_http.c:26:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_http.c:226:38: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(po, DISSECT_CODE(dissector_http)); ^~~~~~~~~~~~ dissectors/ec_http.c:232:52: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] } else if (FROM_CLIENT("proxy", po) && !strncmp(ptr, "CONNECT ", 8)) { ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncmp(const char *, const char *, size_t); ^~~~~~~ In file included from dissectors/ec_http.c:26:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_http.c:233:38: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&s, po, DISSECT_CODE(dissector_http)); ^~~~~~~~~~~~ dissectors/ec_http.c: In function 'Get_Banner': dissectors/ec_http.c:262:27: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if ((start = strstr(ptr, "Server: ")) && (end = strstr(start, "\r"))) { ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:68:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strstr(const char *, const char *); ^~~~~~ dissectors/ec_http.c: In function 'Parse_Passport_Auth': dissectors/ec_http.c:293:15: warning: pointer targets in passing argument 1 of 'Decode_Url' differ in signedness [-Wpointer-sign] Decode_Url(po->DISSECTOR.info); ^~ dissectors/ec_http.c:95:13: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' static void Decode_Url(u_char *src); ^~~~~~~~~~ dissectors/ec_http.c:299:21: warning: pointer targets in passing argument 1 of 'Decode_Url' differ in signedness [-Wpointer-sign] Decode_Url(po->DISSECTOR.user); ^~ dissectors/ec_http.c:95:13: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' static void Decode_Url(u_char *src); ^~~~~~~~~~ dissectors/ec_http.c:302:21: warning: pointer targets in passing argument 1 of 'Decode_Url' differ in signedness [-Wpointer-sign] Decode_Url(po->DISSECTOR.pass); ^~ dissectors/ec_http.c:95:13: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' static void Decode_Url(u_char *src); ^~~~~~~~~~ dissectors/ec_http.c: In function 'Parse_Basic_Auth': dissectors/ec_http.c:349:22: warning: pointer targets in passing argument 1 of 'Find_Url' differ in signedness [-Wpointer-sign] Find_Url(ptr, &(po->DISSECTOR.info)); ^~~ dissectors/ec_http.c:97:13: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' static void Find_Url(u_char *to_parse, char **ret); ^~~~~~~~ In file included from dissectors/ec_http.c:26:0: dissectors/ec_http.c: In function 'Parse_NTLM_Auth': ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_http.c:400:38: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&s, po, DISSECT_CODE(dissector_http)); ^~~~~~~~~~~~ dissectors/ec_http.c:404:15: warning: pointer targets in passing argument 1 of 'dumpRaw' differ in signedness [-Wpointer-sign] dumpRaw(conn_status->c_data, challenge_struct->challengeData, 8); ^~~~~~~~~~~ dissectors/ec_http.c:107:13: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' static void dumpRaw(char *str, unsigned char *buf, size_t len); ^~~~~~~ In file included from dissectors/ec_http.c:26:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_http.c:412:40: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, po, DISSECT_CODE(dissector_http)); ^~~~~~~~~~~~ In file included from /usr/include/string.h:127:0, from ../include/ec.h:27, from dissectors/ec_http.c:23: dissectors/ec_http.c:434:40: warning: pointer targets in passing argument 2 of '__builtin___strcat_chk' differ in signedness [-Wpointer-sign] strcat(po->DISSECTOR.pass, conn_status->c_data); ^ dissectors/ec_http.c:434:40: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' dissectors/ec_http.c:434:40: warning: pointer targets in passing argument 2 of '__strcat_ichk' differ in signedness [-Wpointer-sign] strcat(po->DISSECTOR.pass, conn_status->c_data); ^ /usr/include/ssp/string.h:90:1: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' __ssp_bos_icheck2_restrict(strcat, char *, const char *) ^ dissectors/ec_http.c:440:25: warning: pointer targets in passing argument 1 of 'Find_Url' differ in signedness [-Wpointer-sign] Find_Url(ptr, &(po->DISSECTOR.info)); ^~~ dissectors/ec_http.c:97:13: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' static void Find_Url(u_char *to_parse, char **ret); ^~~~~~~~ dissectors/ec_http.c: In function 'Parse_Post_Payload': dissectors/ec_http.c:461:25: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if ((ptr = strstr(ptr, "\r\n\r\n"))) { ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:68:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strstr(const char *, const char *); ^~~~~~ dissectors/ec_http.c:461:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((ptr = strstr(ptr, "\r\n\r\n"))) { ^ dissectors/ec_http.c:472:38: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] po->DISSECTOR.info = strdup(conn_status->c_data); ^~~~~~~~~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ In file included from dissectors/ec_http.c:26:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_http.c:473:35: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(po, DISSECT_CODE(dissector_http)); ^~~~~~~~~~~~ dissectors/ec_http.c: In function 'Parse_Method_Post': ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_http.c:496:35: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&s, po, DISSECT_CODE(dissector_http)); ^~~~~~~~~~~~ dissectors/ec_http.c:500:12: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(conn_status->c_data, url, sizeof(conn_status->c_data)); ^~~~~~~~~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:104:9: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlcpy(char *, const char *, size_t); ^~~~~~~ dissectors/ec_http.c: In function 'Parse_Method_Get': dissectors/ec_http.c:520:28: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if (!(to_parse = strstr(ptr, "?"))) ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:68:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strstr(const char *, const char *); ^~~~~~ dissectors/ec_http.c:520:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(to_parse = strstr(ptr, "?"))) ^ dissectors/ec_http.c:523:28: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] if (!(to_parse = strdup(to_parse))) ^~~~~~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_http.c:523:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(to_parse = strdup(to_parse))) ^ dissectors/ec_http.c:526:29: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if (!(delimiter = strstr(to_parse, " HTTP"))) ^~~~~~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:68:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strstr(const char *, const char *); ^~~~~~ dissectors/ec_http.c:526:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(delimiter = strstr(to_parse, " HTTP"))) ^ dissectors/ec_http.c: In function 'Parse_Form': dissectors/ec_http.c:573:27: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if (!strncasecmp(q, d->name, strlen(d->name)) && *(q+strlen(d->name)) == '=' ) { ^ In file included from /usr/include/string.h:98:0, from ../include/ec.h:27, from dissectors/ec_http.c:23: /usr/include/strings.h:64:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncasecmp(const char *, const char *, size_t); ^~~~~~~~~~~ dissectors/ec_http.c:576:33: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] if (!(*ret = strdup(q + strlen(d->name) + 1))) ^ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_http.c:580:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((q = strchr(*ret, '&'))) ^ dissectors/ec_http.c:586:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] } while ( (q = strchr(q, '&')) ); ^ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:55:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strchr(const char *, int); ^~~~~~ dissectors/ec_http.c:586:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] } while ( (q = strchr(q, '&')) ); ^ dissectors/ec_http.c: In function 'Decode_Url': dissectors/ec_http.c:610:23: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] ch = strtoul(t, NULL, 16); ^ In file included from ../include/ec.h:15:0, from dissectors/ec_http.c:23: /usr/include/stdlib.h:125:3: note: expected 'const char * restrict' but argument is of type 'u_char * {aka unsigned char *}' strtoul(const char * __restrict, char ** __restrict, int); ^~~~~~~ dissectors/ec_http.c: In function 'Find_Url_Referer': dissectors/ec_http.c:627:27: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if ((fromhere = strstr(to_parse, "Referer: "))) { ^~~~~~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:68:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strstr(const char *, const char *); ^~~~~~ dissectors/ec_http.c:627:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((fromhere = strstr(to_parse, "Referer: "))) { ^ dissectors/ec_http.c:628:26: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] if ((*ret = strdup(fromhere + strlen("Referer: ")))) ^~~~~~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_http.c:632:21: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] page = strdup(to_parse); ^~~~~~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_http.c:632:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] page = strdup(to_parse); ^ dissectors/ec_http.c:633:17: warning: pointer targets in passing argument 1 of 'ec_strtok' differ in signedness [-Wpointer-sign] ec_strtok(page, " HTTP", &tok); ^~~~ In file included from ../include/ec.h:55:0, from dissectors/ec_http.c:23: ../include/ec_strings.h:37:22: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN char * ec_strtok(char *s, const char *delim, char **ptrptr); ^~~~~~~~~ dissectors/ec_http.c:636:46: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if ((*page=='/') && (fromhere = strstr(to_parse, "Host: "))) { ^~~~~~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:68:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strstr(const char *, const char *); ^~~~~~ dissectors/ec_http.c:636:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((*page=='/') && (fromhere = strstr(to_parse, "Host: "))) { ^ dissectors/ec_http.c:637:25: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] host = strdup( fromhere + strlen("Host: ") ); ^~~~~~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_http.c:637:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] host = strdup( fromhere + strlen("Host: ") ); ^ dissectors/ec_http.c:638:20: warning: pointer targets in passing argument 1 of 'ec_strtok' differ in signedness [-Wpointer-sign] ec_strtok(host, "\r", &tok); ^~~~ In file included from ../include/ec.h:55:0, from dissectors/ec_http.c:23: ../include/ec_strings.h:37:22: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN char * ec_strtok(char *s, const char *delim, char **ptrptr); ^~~~~~~~~ dissectors/ec_http.c:640:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] host = strdup(""); ^ dissectors/ec_http.c:642:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(page) + strlen(host) + 2; ^~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ dissectors/ec_http.c:642:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(page) + strlen(host) + 2; ^~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ dissectors/ec_http.c: In function 'Find_Url': dissectors/ec_http.c:661:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp(to_parse, "GET ", 4)) ^~~~~~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncmp(const char *, const char *, size_t); ^~~~~~~ dissectors/ec_http.c:663:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] else if (!strncmp(to_parse, "POST ", 5)) ^~~~~~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncmp(const char *, const char *, size_t); ^~~~~~~ dissectors/ec_http.c:669:18: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] page = strdup(to_parse); ^~~~~~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_http.c:669:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] page = strdup(to_parse); ^ dissectors/ec_http.c:670:14: warning: pointer targets in passing argument 1 of 'ec_strtok' differ in signedness [-Wpointer-sign] ec_strtok(page, " HTTP", &tok); ^~~~ In file included from ../include/ec.h:55:0, from dissectors/ec_http.c:23: ../include/ec_strings.h:37:22: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN char * ec_strtok(char *s, const char *delim, char **ptrptr); ^~~~~~~~~ dissectors/ec_http.c:673:43: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if ((*page=='/') && (fromhere = strstr(to_parse, "Host: "))) { ^~~~~~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:68:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strstr(const char *, const char *); ^~~~~~ dissectors/ec_http.c:673:34: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((*page=='/') && (fromhere = strstr(to_parse, "Host: "))) { ^ dissectors/ec_http.c:674:22: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] host = strdup( fromhere + strlen("Host: ") ); ^~~~~~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_http.c:674:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] host = strdup( fromhere + strlen("Host: ") ); ^ dissectors/ec_http.c:675:17: warning: pointer targets in passing argument 1 of 'ec_strtok' differ in signedness [-Wpointer-sign] ec_strtok(host, "\r", &tok); ^~~~ In file included from ../include/ec.h:55:0, from dissectors/ec_http.c:23: ../include/ec_strings.h:37:22: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN char * ec_strtok(char *s, const char *delim, char **ptrptr); ^~~~~~~~~ dissectors/ec_http.c:677:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] host = strdup(""); ^ dissectors/ec_http.c:679:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(page) + strlen(host) + 2; ^~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ dissectors/ec_http.c:679:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(page) + strlen(host) + 2; ^~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_http.c:23: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_http.c:23: dissectors/ec_http.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ dissectors/ec_http.c: In function 'Decode_Url': dissectors/ec_http.c:604:5: warning: array subscript is above array bounds [-Warray-bounds] t[3] = 0; ~^~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_imap.o -MD -MP -MF ".deps/ettercap-ec_imap.Tpo" -c -o ettercap-ec_imap.o `test -f 'dissectors/ec_imap.c' || echo './'`dissectors/ec_imap.c; then mv -f ".deps/ettercap-ec_imap.Tpo" ".deps/ettercap-ec_imap.Po"; else rm -f ".deps/ettercap-ec_imap.Tpo"; exit 1; fi In file included from dissectors/ec_imap.c:36:0: dissectors/ec_imap.c: In function 'dissector_imap': ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ ../include/ec_dissect.h:58:51: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&session, PACKET, DISSECT_CODE(func)); \ ^~~~~~~~~~~~ dissectors/ec_imap.c:67:4: note: in expansion of macro 'CREATE_SESSION_ON_SYN_ACK' CREATE_SESSION_ON_SYN_ACK("imap", s, dissector_imap); ^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ ../include/ec_dissect.h:58:51: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&session, PACKET, DISSECT_CODE(func)); \ ^~~~~~~~~~~~ dissectors/ec_imap.c:69:4: note: in expansion of macro 'CREATE_SESSION_ON_SYN_ACK' CREATE_SESSION_ON_SYN_ACK("imaps", s, dissector_imap); ^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ ../include/ec_dissect.h:88:44: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(func)); \ ^~~~~~~~~~~~ dissectors/ec_imap.c:72:4: note: in expansion of macro 'IF_FIRST_PACKET_FROM_SERVER_SSL' IF_FIRST_PACKET_FROM_SERVER_SSL("smtp", "ssmtp", s, ident, dissector_imap) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dissectors/ec_imap.c:86:20: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp(ptr, " OK ", 4)) { ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_imap.c:34: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncmp(const char *, const char *, size_t); ^~~~~~~ dissectors/ec_imap.c:87:44: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.banner = strdup(ptr + 3); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_imap.c:34: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_imap.c:90:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.banner, '\r')) != NULL ) ^ dissectors/ec_imap.c:117:22: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if ( !strncasecmp(ptr, " LOGIN ", 7) ) { ^~~ In file included from /usr/include/string.h:98:0, from ../include/ec.h:27, from dissectors/ec_imap.c:34: /usr/include/strings.h:64:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncasecmp(const char *, const char *, size_t); ^~~~~~~~~~~ dissectors/ec_imap.c:123:39: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.user = strdup(ptr); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_imap.c:34: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_imap.c:126:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.user, ' ')) != NULL ) ^ dissectors/ec_imap.c:130:39: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.pass = strdup(ptr + 1); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_imap.c:34: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_imap.c:132:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\r')) != NULL ) ^ dissectors/ec_imap.c:151:22: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if ( !strncasecmp(ptr, "AUTHENTICATE LOGIN", 19) ) { ^~~ In file included from /usr/include/string.h:98:0, from ../include/ec.h:27, from dissectors/ec_imap.c:34: /usr/include/strings.h:64:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncasecmp(const char *, const char *, size_t); ^~~~~~~~~~~ In file included from dissectors/ec_imap.c:36:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_imap.c:156:36: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(PACKET, DISSECT_CODE(dissector_imap)); ^~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_imap.c:159:42: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&s, PACKET, DISSECT_CODE(dissector_imap)); ^~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_imap.c:172:41: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(dissector_imap)); ^~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_imap.c:182:36: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(PACKET, DISSECT_CODE(dissector_imap)); ^~~~~~~~~~~~ In file included from dissectors/ec_imap.c:34:0: dissectors/ec_imap.c:192:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] SAFE_CALLOC(user, strlen(ptr), sizeof(char)); ^ ../include/ec.h:65:15: note: in definition of macro 'SAFE_CALLOC' x = calloc(n, s); \ ^ In file included from ../include/ec.h:27:0, from dissectors/ec_imap.c:34: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ dissectors/ec_imap.c:195:31: warning: pointer targets in passing argument 2 of 'base64_decode' differ in signedness [-Wpointer-sign] i = base64_decode(user, ptr); ^~~ In file included from ../include/ec.h:55:0, from dissectors/ec_imap.c:34: ../include/ec_strings.h:33:19: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN int base64_decode(char *bufplain, const char *bufcoded); ^~~~~~~~~~~~~ In file included from dissectors/ec_imap.c:34:0: dissectors/ec_imap.c:215:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] SAFE_CALLOC(pass, strlen(ptr), sizeof(char)); ^ ../include/ec.h:65:15: note: in definition of macro 'SAFE_CALLOC' x = calloc(n, s); \ ^ In file included from ../include/ec.h:27:0, from dissectors/ec_imap.c:34: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ dissectors/ec_imap.c:218:27: warning: pointer targets in passing argument 2 of 'base64_decode' differ in signedness [-Wpointer-sign] base64_decode(pass, ptr); ^~~ In file included from ../include/ec.h:55:0, from dissectors/ec_imap.c:34: ../include/ec_strings.h:33:19: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN int base64_decode(char *bufplain, const char *bufcoded); ^~~~~~~~~~~~~ In file included from dissectors/ec_imap.c:36:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_imap.c:226:36: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(PACKET, DISSECT_CODE(dissector_imap)); ^~~~~~~~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_imap.c:34: dissectors/ec_imap.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_icq.o -MD -MP -MF ".deps/ettercap-ec_icq.Tpo" -c -o ettercap-ec_icq.o `test -f 'dissectors/ec_icq.c' || echo './'`dissectors/ec_icq.c; then mv -f ".deps/ettercap-ec_icq.Tpo" ".deps/ettercap-ec_icq.Po"; else rm -f ".deps/ettercap-ec_icq.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_icq.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_irc.o -MD -MP -MF ".deps/ettercap-ec_irc.Tpo" -c -o ettercap-ec_irc.o `test -f 'dissectors/ec_irc.c' || echo './'`dissectors/ec_irc.c; then mv -f ".deps/ettercap-ec_irc.Tpo" ".deps/ettercap-ec_irc.Po"; else rm -f ".deps/ettercap-ec_irc.Tpo"; exit 1; fi dissectors/ec_irc.c: In function 'dissector_irc': dissectors/ec_irc.c:76:22: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if ( !strncasecmp(ptr, "PASS ", 5) ) { ^~~ In file included from /usr/include/string.h:98:0, from ../include/ec.h:27, from dissectors/ec_irc.c:23: /usr/include/strings.h:64:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncasecmp(const char *, const char *, size_t); ^~~~~~~~~~~ In file included from dissectors/ec_irc.c:25:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_irc.c:82:44: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(dissector_irc)); ^~~~~~~~~~~~ dissectors/ec_irc.c:92:39: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.pass = strdup(ptr); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_irc.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_irc.c:93:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\r')) != NULL ) ^ dissectors/ec_irc.c:95:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\n')) != NULL ) ^ dissectors/ec_irc.c:115:22: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if ( !strncasecmp(ptr, "MODE ", 5) && match_pattern(ptr + 5, "#* +k *") ) { ^~~ In file included from /usr/include/string.h:98:0, from ../include/ec.h:27, from dissectors/ec_irc.c:23: /usr/include/strings.h:64:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncasecmp(const char *, const char *, size_t); ^~~~~~~~~~~ dissectors/ec_irc.c:115:56: warning: pointer targets in passing argument 1 of 'match_pattern' differ in signedness [-Wpointer-sign] if ( !strncasecmp(ptr, "MODE ", 5) && match_pattern(ptr + 5, "#* +k *") ) { ^~~ In file included from ../include/ec.h:55:0, from dissectors/ec_irc.c:23: ../include/ec_strings.h:32:19: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN int match_pattern(const char *s, const char *pattern); ^~~~~~~~~~~~~ dissectors/ec_irc.c:122:39: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.user = strdup(ptr); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_irc.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_irc.c:123:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.user, ' ')) != NULL ) ^ dissectors/ec_irc.c:127:39: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.pass = strdup(ptr + 4); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_irc.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_irc.c:128:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\r')) != NULL ) ^ dissectors/ec_irc.c:130:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\n')) != NULL ) ^ dissectors/ec_irc.c:150:22: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if ( !strncasecmp(ptr, "JOIN ", 5) && match_pattern(ptr + 5, "#* *") ) { ^~~ In file included from /usr/include/string.h:98:0, from ../include/ec.h:27, from dissectors/ec_irc.c:23: /usr/include/strings.h:64:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncasecmp(const char *, const char *, size_t); ^~~~~~~~~~~ dissectors/ec_irc.c:150:56: warning: pointer targets in passing argument 1 of 'match_pattern' differ in signedness [-Wpointer-sign] if ( !strncasecmp(ptr, "JOIN ", 5) && match_pattern(ptr + 5, "#* *") ) { ^~~ In file included from ../include/ec.h:55:0, from dissectors/ec_irc.c:23: ../include/ec_strings.h:32:19: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN int match_pattern(const char *s, const char *pattern); ^~~~~~~~~~~~~ dissectors/ec_irc.c:157:39: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.user = strdup(ptr); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_irc.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_irc.c:158:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.user, ' ')) != NULL ) ^ dissectors/ec_irc.c:161:39: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.pass = strdup(ptr + 1); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_irc.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_irc.c:162:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\r')) != NULL ) ^ dissectors/ec_irc.c:164:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\n')) != NULL ) ^ dissectors/ec_irc.c:184:22: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if ( !strncasecmp(ptr, "PRIVMSG ", 8) && match_pattern(ptr + 8, "* :identify *\r\n") ) { ^~~ In file included from /usr/include/string.h:98:0, from ../include/ec.h:27, from dissectors/ec_irc.c:23: /usr/include/strings.h:64:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncasecmp(const char *, const char *, size_t); ^~~~~~~~~~~ dissectors/ec_irc.c:184:59: warning: pointer targets in passing argument 1 of 'match_pattern' differ in signedness [-Wpointer-sign] if ( !strncasecmp(ptr, "PRIVMSG ", 8) && match_pattern(ptr + 8, "* :identify *\r\n") ) { ^~~ In file included from ../include/ec.h:55:0, from dissectors/ec_irc.c:23: ../include/ec_strings.h:32:19: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN int match_pattern(const char *s, const char *pattern); ^~~~~~~~~~~~~ dissectors/ec_irc.c:189:31: warning: pointer targets in passing argument 1 of 'strcasestr' differ in signedness [-Wpointer-sign] if (!(pass = strcasestr(ptr, "identify"))) ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_irc.c:23: /usr/include/string.h:101:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strcasestr(const char *, const char *); ^~~~~~~~~~ In file included from dissectors/ec_irc.c:25:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_irc.c:194:44: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(dissector_irc)); ^~~~~~~~~~~~ dissectors/ec_irc.c:205:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\r')) != NULL ) ^ dissectors/ec_irc.c:207:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\n')) != NULL ) ^ dissectors/ec_irc.c:227:22: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if ( !strncasecmp(ptr, "NICKSERV ", 9) || !strncasecmp(ptr, "NS ", 3) ) { ^~~ In file included from /usr/include/string.h:98:0, from ../include/ec.h:27, from dissectors/ec_irc.c:23: /usr/include/strings.h:64:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncasecmp(const char *, const char *, size_t); ^~~~~~~~~~~ dissectors/ec_irc.c:227:59: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if ( !strncasecmp(ptr, "NICKSERV ", 9) || !strncasecmp(ptr, "NS ", 3) ) { ^~~ In file included from /usr/include/string.h:98:0, from ../include/ec.h:27, from dissectors/ec_irc.c:23: /usr/include/strings.h:64:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncasecmp(const char *, const char *, size_t); ^~~~~~~~~~~ dissectors/ec_irc.c:232:31: warning: pointer targets in passing argument 1 of 'strcasestr' differ in signedness [-Wpointer-sign] if (!(pass = strcasestr(ptr, "identify"))) ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_irc.c:23: /usr/include/string.h:101:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strcasestr(const char *, const char *); ^~~~~~~~~~ In file included from dissectors/ec_irc.c:25:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_irc.c:237:44: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(dissector_irc)); ^~~~~~~~~~~~ dissectors/ec_irc.c:248:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\r')) != NULL ) ^ dissectors/ec_irc.c:251:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\n')) != NULL ) ^ dissectors/ec_irc.c:271:22: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if ( !strncasecmp(ptr, "IDENTIFY ", 9) ) { ^~~ In file included from /usr/include/string.h:98:0, from ../include/ec.h:27, from dissectors/ec_irc.c:23: /usr/include/strings.h:64:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncasecmp(const char *, const char *, size_t); ^~~~~~~~~~~ dissectors/ec_irc.c:276:31: warning: pointer targets in passing argument 1 of 'strcasestr' differ in signedness [-Wpointer-sign] if (!(pass = strcasestr(ptr, " "))) ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_irc.c:23: /usr/include/string.h:101:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strcasestr(const char *, const char *); ^~~~~~~~~~ In file included from dissectors/ec_irc.c:25:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_irc.c:283:44: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(dissector_irc)); ^~~~~~~~~~~~ dissectors/ec_irc.c:294:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\r')) != NULL ) ^ dissectors/ec_irc.c:296:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\n')) != NULL ) ^ dissectors/ec_irc.c:317:21: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if (!strncasecmp(ptr, "NICK ", 5)) { ^~~ In file included from /usr/include/string.h:98:0, from ../include/ec.h:27, from dissectors/ec_irc.c:23: /usr/include/strings.h:64:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncasecmp(const char *, const char *, size_t); ^~~~~~~~~~~ In file included from dissectors/ec_irc.c:25:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_irc.c:327:36: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(PACKET, DISSECT_CODE(dissector_irc)); ^~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_irc.c:329:42: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&s, PACKET, DISSECT_CODE(dissector_irc)); ^~~~~~~~~~~~ dissectors/ec_irc.c:332:24: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] s->data = strdup(ptr); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_irc.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_irc.c:339:29: warning: pointer targets in passing argument 1 of 'strcasestr' differ in signedness [-Wpointer-sign] if ((ptr = strcasestr(ptr, "USER "))) { ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_irc.c:23: /usr/include/string.h:101:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strcasestr(const char *, const char *); ^~~~~~~~~~ dissectors/ec_irc.c:339:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((ptr = strcasestr(ptr, "USER "))) { ^ dissectors/ec_irc.c:340:24: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] user = strdup(ptr + 5); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_irc.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_irc.c:359:21: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if (!strncasecmp(ptr, "QUIT ", 5)) { ^~~ In file included from /usr/include/string.h:98:0, from ../include/ec.h:27, from dissectors/ec_irc.c:23: /usr/include/strings.h:64:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncasecmp(const char *, const char *, size_t); ^~~~~~~~~~~ In file included from dissectors/ec_irc.c:25:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_irc.c:360:36: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(PACKET, DISSECT_CODE(dissector_irc)); ^~~~~~~~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_irc.c:23: dissectors/ec_irc.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_ldap.o -MD -MP -MF ".deps/ettercap-ec_ldap.Tpo" -c -o ettercap-ec_ldap.o `test -f 'dissectors/ec_ldap.c' || echo './'`dissectors/ec_ldap.c; then mv -f ".deps/ettercap-ec_ldap.Tpo" ".deps/ettercap-ec_ldap.Po"; else rm -f ".deps/ettercap-ec_ldap.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_ldap.c:25: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_mountd.o -MD -MP -MF ".deps/ettercap-ec_mountd.Tpo" -c -o ettercap-ec_mountd.o `test -f 'dissectors/ec_mountd.c' || echo './'`dissectors/ec_mountd.c; then mv -f ".deps/ettercap-ec_mountd.Tpo" ".deps/ettercap-ec_mountd.Po"; else rm -f ".deps/ettercap-ec_mountd.Tpo"; exit 1; fi In file included from dissectors/ec_mountd.c:25:0: dissectors/ec_mountd.c: In function 'dissector_mountd': ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_mountd.c:95:42: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&s, PACKET, DISSECT_CODE(dissector_mountd)); ^~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_mountd.c:108:41: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(dissector_mountd)); ^~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_mountd.c:144:33: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(PACKET, DISSECT_CODE(dissector_mountd)); ^~~~~~~~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_mountd.c:23: dissectors/ec_mountd.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_msn.o -MD -MP -MF ".deps/ettercap-ec_msn.Tpo" -c -o ettercap-ec_msn.o `test -f 'dissectors/ec_msn.c' || echo './'`dissectors/ec_msn.c; then mv -f ".deps/ettercap-ec_msn.Tpo" ".deps/ettercap-ec_msn.Po"; else rm -f ".deps/ettercap-ec_msn.Tpo"; exit 1; fi In file included from dissectors/ec_msn.c:25:0: dissectors/ec_msn.c: In function 'dissector_msn': ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_msn.c:70:44: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(dissector_msn)); ^~~~~~~~~~~~ dissectors/ec_msn.c:75:23: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] ptr = strstr(ptr, "MD5 I "); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_msn.c:23: /usr/include/string.h:68:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strstr(const char *, const char *); ^~~~~~ dissectors/ec_msn.c:75:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr = strstr(ptr, "MD5 I "); ^ In file included from dissectors/ec_msn.c:25:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_msn.c:84:45: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&s, PACKET, DISSECT_CODE(dissector_msn)); ^~~~~~~~~~~~ dissectors/ec_msn.c:87:27: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] s->data = strdup(ptr + strlen("MD5 I ")); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_msn.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_msn.c:90:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(s->data,'\r')) != NULL ) ^ In file included from dissectors/ec_msn.c:25:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_msn.c:98:47: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(dissector_msn)); ^~~~~~~~~~~~ dissectors/ec_msn.c:103:26: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] ptr = strstr(ptr, "MD5 S "); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_msn.c:23: /usr/include/string.h:68:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strstr(const char *, const char *); ^~~~~~ dissectors/ec_msn.c:103:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr = strstr(ptr, "MD5 S "); ^ In file included from dissectors/ec_msn.c:23:0: dissectors/ec_msn.c:112:60: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] SAFE_REALLOC(s->data, strlen(s->data) + strlen(ptr) + 2); ^ ../include/ec.h:70:19: note: in definition of macro 'SAFE_REALLOC' x = realloc(x, s); \ ^ In file included from ../include/ec.h:27:0, from dissectors/ec_msn.c:23: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ dissectors/ec_msn.c:116:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(s->data,'\r')) != NULL ) ^ In file included from dissectors/ec_msn.c:25:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_msn.c:140:42: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(PACKET, DISSECT_CODE(dissector_msn)); ^~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_msn.c:149:44: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(dissector_msn)); ^~~~~~~~~~~~ dissectors/ec_msn.c:154:23: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] ptr = strstr(ptr, "MD5 S "); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_msn.c:23: /usr/include/string.h:68:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strstr(const char *, const char *); ^~~~~~ dissectors/ec_msn.c:154:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr = strstr(ptr, "MD5 S "); ^ In file included from dissectors/ec_msn.c:23:0: dissectors/ec_msn.c:163:57: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] SAFE_REALLOC(s->data, strlen(s->data) + strlen(ptr) + 2); ^ ../include/ec.h:70:19: note: in definition of macro 'SAFE_REALLOC' x = realloc(x, s); \ ^ In file included from ../include/ec.h:27:0, from dissectors/ec_msn.c:23: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ dissectors/ec_msn.c:167:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(s->data,'\r')) != NULL ) ^ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_msn.c:23: dissectors/ec_msn.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_mysql.o -MD -MP -MF ".deps/ettercap-ec_mysql.Tpo" -c -o ettercap-ec_mysql.o `test -f 'dissectors/ec_mysql.c' || echo './'`dissectors/ec_mysql.c; then mv -f ".deps/ettercap-ec_mysql.Tpo" ".deps/ettercap-ec_mysql.Po"; else rm -f ".deps/ettercap-ec_mysql.Tpo"; exit 1; fi In file included from dissectors/ec_mysql.c:25:0: dissectors/ec_mysql.c: In function 'dissector_mysql': ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_mysql.c:57:41: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(dissector_mysql)); ^~~~~~~~~~~~ dissectors/ec_mysql.c:79:52: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] while( (ptr + index) < end && (ptr[index] != ptr[index - 1] != ptr[index - 2] != 0) ) ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ dissectors/ec_mysql.c:79:70: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] while( (ptr + index) < end && (ptr[index] != ptr[index - 1] != ptr[index - 2] != 0) ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from dissectors/ec_mysql.c:25:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_mysql.c:83:45: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&s, PACKET, DISSECT_CODE(dissector_mysql)); ^~~~~~~~~~~~ dissectors/ec_mysql.c:86:27: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] s->data = strdup(ptr + index + 1); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_mysql.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_mysql.c:101:42: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.user = strdup(ptr); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_mysql.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_mysql.c:105:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (ptr < end && strlen(ptr) != 0) { ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_mysql.c:23: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ In file included from dissectors/ec_mysql.c:23:0: dissectors/ec_mysql.c:106:74: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] SAFE_CALLOC(PACKET->DISSECTOR.pass, strlen(s->data) + strlen(ptr) + 128, sizeof(char)); ^ ../include/ec.h:65:15: note: in definition of macro 'SAFE_CALLOC' x = calloc(n, s); \ ^ In file included from ../include/ec.h:27:0, from dissectors/ec_mysql.c:23: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ In file included from dissectors/ec_mysql.c:25:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_mysql.c:117:39: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(PACKET, DISSECT_CODE(dissector_mysql)); ^~~~~~~~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_mysql.c:23: dissectors/ec_mysql.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_napster.o -MD -MP -MF ".deps/ettercap-ec_napster.Tpo" -c -o ettercap-ec_napster.o `test -f 'dissectors/ec_napster.c' || echo './'`dissectors/ec_napster.c; then mv -f ".deps/ettercap-ec_napster.Tpo" ".deps/ettercap-ec_napster.Po"; else rm -f ".deps/ettercap-ec_napster.Tpo"; exit 1; fi dissectors/ec_napster.c: In function 'dissector_napster': dissectors/ec_napster.c:92:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr = (char *)(nap + 1); ^ dissectors/ec_napster.c:99:12: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(tbuf, ptr, tlen + 1); ^~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_napster.c:23: /usr/include/string.h:104:9: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlcpy(char *, const char *, size_t); ^~~~~~~ dissectors/ec_napster.c:99:18: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(tbuf, ptr, tlen + 1); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_napster.c:23: /usr/include/string.h:104:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlcpy(char *, const char *, size_t); ^~~~~~~ dissectors/ec_napster.c:102:26: warning: pointer targets in passing argument 1 of 'ec_strtok' differ in signedness [-Wpointer-sign] if ((user = ec_strtok(tbuf, " ", &tok)) == NULL) ^~~~ In file included from ../include/ec.h:55:0, from dissectors/ec_napster.c:23: ../include/ec_strings.h:37:22: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN char * ec_strtok(char *s, const char *delim, char **ptrptr); ^~~~~~~~~ dissectors/ec_napster.c:102:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((user = ec_strtok(tbuf, " ", &tok)) == NULL) ^ dissectors/ec_napster.c:106:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((pass = ec_strtok(NULL, " ", &tok)) == NULL) ^ dissectors/ec_napster.c:110:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((client = ec_strtok(NULL, " ", &tok)) == NULL) ^ dissectors/ec_napster.c:114:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((client = ec_strtok(NULL, "\"", &tok)) == NULL) ^ dissectors/ec_napster.c:117:36: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.user = strdup(user); ^~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_napster.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_napster.c:118:36: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.pass = strdup(pass); ^~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_napster.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_napster.c:119:36: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.info = strdup(client); ^~~~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_napster.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_napster.c:23: dissectors/ec_napster.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_nntp.o -MD -MP -MF ".deps/ettercap-ec_nntp.Tpo" -c -o ettercap-ec_nntp.o `test -f 'dissectors/ec_nntp.c' || echo './'`dissectors/ec_nntp.c; then mv -f ".deps/ettercap-ec_nntp.Tpo" ".deps/ettercap-ec_nntp.Po"; else rm -f ".deps/ettercap-ec_nntp.Tpo"; exit 1; fi In file included from dissectors/ec_nntp.c:32:0: dissectors/ec_nntp.c: In function 'dissector_nntp': ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ ../include/ec_dissect.h:58:51: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&session, PACKET, DISSECT_CODE(func)); \ ^~~~~~~~~~~~ dissectors/ec_nntp.c:62:4: note: in expansion of macro 'CREATE_SESSION_ON_SYN_ACK' CREATE_SESSION_ON_SYN_ACK("nntp", s, dissector_nntp); ^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ ../include/ec_dissect.h:58:51: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&session, PACKET, DISSECT_CODE(func)); \ ^~~~~~~~~~~~ dissectors/ec_nntp.c:63:4: note: in expansion of macro 'CREATE_SESSION_ON_SYN_ACK' CREATE_SESSION_ON_SYN_ACK("nntps", s, dissector_nntp); ^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ ../include/ec_dissect.h:88:44: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(func)); \ ^~~~~~~~~~~~ dissectors/ec_nntp.c:66:4: note: in expansion of macro 'IF_FIRST_PACKET_FROM_SERVER_SSL' IF_FIRST_PACKET_FROM_SERVER_SSL("nntp", "nntps", s, ident, dissector_nntp) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dissectors/ec_nntp.c:73:20: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp(ptr, "200", 3)) { ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_nntp.c:30: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncmp(const char *, const char *, size_t); ^~~~~~~ dissectors/ec_nntp.c:74:44: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.banner = strdup(ptr + 4); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_nntp.c:30: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_nntp.c:77:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.banner, '\r')) != NULL ) ^ dissectors/ec_nntp.c:100:22: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if ( !strncasecmp(ptr, "AUTHINFO USER ", 14) ) { ^~~ In file included from /usr/include/string.h:98:0, from ../include/ec.h:27, from dissectors/ec_nntp.c:30: /usr/include/strings.h:64:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncasecmp(const char *, const char *, size_t); ^~~~~~~~~~~ In file included from dissectors/ec_nntp.c:32:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_nntp.c:105:42: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&s, PACKET, DISSECT_CODE(dissector_nntp)); ^~~~~~~~~~~~ dissectors/ec_nntp.c:113:24: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] s->data = strdup(ptr); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_nntp.c:30: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_nntp.c:114:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] s->data_len = strlen(ptr); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_nntp.c:30: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ dissectors/ec_nntp.c:117:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(s->data,'\r')) != NULL ) ^ dissectors/ec_nntp.c:127:22: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if ( !strncasecmp(ptr, "AUTHINFO PASS ", 14) ) { ^~~ In file included from /usr/include/string.h:98:0, from ../include/ec.h:27, from dissectors/ec_nntp.c:30: /usr/include/strings.h:64:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncasecmp(const char *, const char *, size_t); ^~~~~~~~~~~ In file included from dissectors/ec_nntp.c:32:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_nntp.c:134:44: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(dissector_nntp)); ^~~~~~~~~~~~ dissectors/ec_nntp.c:151:39: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.pass = strdup(ptr); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_nntp.c:30: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_nntp.c:152:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\r')) != NULL ) ^ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_nntp.c:30: dissectors/ec_nntp.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_ospf.o -MD -MP -MF ".deps/ettercap-ec_ospf.Tpo" -c -o ettercap-ec_ospf.o `test -f 'dissectors/ec_ospf.c' || echo './'`dissectors/ec_ospf.c; then mv -f ".deps/ettercap-ec_ospf.Tpo" ".deps/ettercap-ec_ospf.Po"; else rm -f ".deps/ettercap-ec_ospf.Tpo"; exit 1; fi In file included from /usr/include/string.h:127:0, from ../include/ec.h:27, from dissectors/ec_ospf.c:44: dissectors/ec_ospf.c: In function 'dissector_ospf': dissectors/ec_ospf.c:114:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] strncpy(pass, (char *)ohdr->auth1, OSPF_AUTH_LEN); ^ dissectors/ec_ospf.c:114:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] strncpy(pass, (char *)ohdr->auth1, OSPF_AUTH_LEN); ^ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_ospf.c:44: dissectors/ec_ospf.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_pop.o -MD -MP -MF ".deps/ettercap-ec_pop.Tpo" -c -o ettercap-ec_pop.o `test -f 'dissectors/ec_pop.c' || echo './'`dissectors/ec_pop.c; then mv -f ".deps/ettercap-ec_pop.Tpo" ".deps/ettercap-ec_pop.Po"; else rm -f ".deps/ettercap-ec_pop.Tpo"; exit 1; fi In file included from dissectors/ec_pop.c:36:0: dissectors/ec_pop.c: In function 'dissector_pop': ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ ../include/ec_dissect.h:58:51: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&session, PACKET, DISSECT_CODE(func)); \ ^~~~~~~~~~~~ dissectors/ec_pop.c:66:4: note: in expansion of macro 'CREATE_SESSION_ON_SYN_ACK' CREATE_SESSION_ON_SYN_ACK("pop3", s, dissector_pop); ^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ ../include/ec_dissect.h:58:51: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&session, PACKET, DISSECT_CODE(func)); \ ^~~~~~~~~~~~ dissectors/ec_pop.c:68:4: note: in expansion of macro 'CREATE_SESSION_ON_SYN_ACK' CREATE_SESSION_ON_SYN_ACK("pop3s", s, dissector_pop); ^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_pop.c:72:44: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(dissector_pop)); ^~~~~~~~~~~~ dissectors/ec_pop.c:79:26: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp(ptr, "+OK", 3)) ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_pop.c:34: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncmp(const char *, const char *, size_t); ^~~~~~~ dissectors/ec_pop.c:80:50: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.banner = strdup(ptr + 4); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_pop.c:34: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_pop.c:89:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.banner, '\r')) != NULL ) ^ dissectors/ec_pop.c:93:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.banner, '<')) != NULL ) { ^ dissectors/ec_pop.c:95:33: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] s->data = strdup(ptr); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_pop.c:34: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_pop.c:108:24: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if (strstr(ptr, "-ERR")) ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_pop.c:34: /usr/include/string.h:68:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strstr(const char *, const char *); ^~~~~~ In file included from dissectors/ec_pop.c:36:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_pop.c:109:45: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(PACKET, DISSECT_CODE(dissector_pop)); ^~~~~~~~~~~~ dissectors/ec_pop.c:134:22: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if ( !strncasecmp(ptr, "USER ", 5) ) { ^~~ In file included from /usr/include/string.h:98:0, from ../include/ec.h:27, from dissectors/ec_pop.c:34: /usr/include/strings.h:64:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncasecmp(const char *, const char *, size_t); ^~~~~~~~~~~ In file included from dissectors/ec_pop.c:36:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_pop.c:139:36: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(PACKET, DISSECT_CODE(dissector_pop)); ^~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_pop.c:142:42: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&s, PACKET, DISSECT_CODE(dissector_pop)); ^~~~~~~~~~~~ dissectors/ec_pop.c:150:24: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] s->data = strdup(ptr); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_pop.c:34: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_pop.c:151:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] s->data_len = strlen(ptr); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_pop.c:34: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ dissectors/ec_pop.c:153:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(s->data,'\r')) != NULL ) ^ dissectors/ec_pop.c:163:22: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if ( !strncasecmp(ptr, "PASS ", 5) ) { ^~~ In file included from /usr/include/string.h:98:0, from ../include/ec.h:27, from dissectors/ec_pop.c:34: /usr/include/strings.h:64:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncasecmp(const char *, const char *, size_t); ^~~~~~~~~~~ In file included from dissectors/ec_pop.c:36:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_pop.c:170:44: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(dissector_pop)); ^~~~~~~~~~~~ dissectors/ec_pop.c:197:39: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.pass = strdup(ptr); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_pop.c:34: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_pop.c:198:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\r')) != NULL ) ^ dissectors/ec_pop.c:220:22: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if ( !strncasecmp(ptr, "APOP ", 5) ) { ^~~ In file included from /usr/include/string.h:98:0, from ../include/ec.h:27, from dissectors/ec_pop.c:34: /usr/include/strings.h:64:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncasecmp(const char *, const char *, size_t); ^~~~~~~~~~~ In file included from dissectors/ec_pop.c:36:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_pop.c:225:44: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(dissector_pop)); ^~~~~~~~~~~~ dissectors/ec_pop.c:241:39: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.user = strdup(ptr); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_pop.c:34: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_pop.c:244:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.user, ' ')) != NULL ) ^ dissectors/ec_pop.c:259:39: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.pass = strdup(ptr); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_pop.c:34: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_pop.c:260:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\r')) != NULL ) ^ dissectors/ec_pop.c:287:22: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if ( !strncasecmp(ptr, "AUTH LOGIN", 10) ) { ^~~ In file included from /usr/include/string.h:98:0, from ../include/ec.h:27, from dissectors/ec_pop.c:34: /usr/include/strings.h:64:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncasecmp(const char *, const char *, size_t); ^~~~~~~~~~~ In file included from dissectors/ec_pop.c:36:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_pop.c:292:36: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(PACKET, DISSECT_CODE(dissector_pop)); ^~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_pop.c:295:42: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&s, PACKET, DISSECT_CODE(dissector_pop)); ^~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_pop.c:308:41: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(dissector_pop)); ^~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_pop.c:318:36: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(PACKET, DISSECT_CODE(dissector_pop)); ^~~~~~~~~~~~ In file included from dissectors/ec_pop.c:34:0: dissectors/ec_pop.c:329:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] SAFE_CALLOC(user, strlen(ptr), sizeof(char)); ^ ../include/ec.h:65:15: note: in definition of macro 'SAFE_CALLOC' x = calloc(n, s); \ ^ In file included from ../include/ec.h:27:0, from dissectors/ec_pop.c:34: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ dissectors/ec_pop.c:332:31: warning: pointer targets in passing argument 2 of 'base64_decode' differ in signedness [-Wpointer-sign] i = base64_decode(user, ptr); ^~~ In file included from ../include/ec.h:55:0, from dissectors/ec_pop.c:34: ../include/ec_strings.h:33:19: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN int base64_decode(char *bufplain, const char *bufcoded); ^~~~~~~~~~~~~ In file included from dissectors/ec_pop.c:34:0: dissectors/ec_pop.c:354:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] SAFE_CALLOC(pass, strlen(ptr), sizeof(char)); ^ ../include/ec.h:65:15: note: in definition of macro 'SAFE_CALLOC' x = calloc(n, s); \ ^ In file included from ../include/ec.h:27:0, from dissectors/ec_pop.c:34: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ dissectors/ec_pop.c:357:31: warning: pointer targets in passing argument 2 of 'base64_decode' differ in signedness [-Wpointer-sign] i = base64_decode(pass, ptr); ^~~ In file included from ../include/ec.h:55:0, from dissectors/ec_pop.c:34: ../include/ec_strings.h:33:19: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN int base64_decode(char *bufplain, const char *bufcoded); ^~~~~~~~~~~~~ In file included from dissectors/ec_pop.c:36:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_pop.c:365:36: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(PACKET, DISSECT_CODE(dissector_pop)); ^~~~~~~~~~~~ dissectors/ec_pop.c:350:11: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i; ^ dissectors/ec_pop.c:382:22: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if ( !strncasecmp(ptr, "AUTH PLAIN", 10) ) { ^~~ In file included from /usr/include/string.h:98:0, from ../include/ec.h:27, from dissectors/ec_pop.c:34: /usr/include/strings.h:64:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncasecmp(const char *, const char *, size_t); ^~~~~~~~~~~ In file included from dissectors/ec_pop.c:36:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_pop.c:387:36: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(PACKET, DISSECT_CODE(dissector_pop)); ^~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_pop.c:390:42: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&s, PACKET, DISSECT_CODE(dissector_pop)); ^~~~~~~~~~~~ In file included from dissectors/ec_pop.c:34:0: dissectors/ec_pop.c:409:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] SAFE_CALLOC(decode, strlen(ptr) + 1, sizeof(char)); ^ ../include/ec.h:65:15: note: in definition of macro 'SAFE_CALLOC' x = calloc(n, s); \ ^ In file included from ../include/ec.h:27:0, from dissectors/ec_pop.c:34: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ dissectors/ec_pop.c:412:33: warning: pointer targets in passing argument 2 of 'base64_decode' differ in signedness [-Wpointer-sign] i = base64_decode(decode, ptr); ^~~ In file included from ../include/ec.h:55:0, from dissectors/ec_pop.c:34: ../include/ec_strings.h:33:19: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN int base64_decode(char *bufplain, const char *bufcoded); ^~~~~~~~~~~~~ In file included from dissectors/ec_pop.c:36:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_pop.c:424:36: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(PACKET, DISSECT_CODE(dissector_pop)); ^~~~~~~~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_pop.c:34: dissectors/ec_pop.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_portmap.o -MD -MP -MF ".deps/ettercap-ec_portmap.Tpo" -c -o ettercap-ec_portmap.o `test -f 'dissectors/ec_portmap.c' || echo './'`dissectors/ec_portmap.c; then mv -f ".deps/ettercap-ec_portmap.Tpo" ".deps/ettercap-ec_portmap.Po"; else rm -f ".deps/ettercap-ec_portmap.Tpo"; exit 1; fi In file included from dissectors/ec_portmap.c:25:0: dissectors/ec_portmap.c: In function 'dissector_portmap': ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_portmap.c:103:41: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(dissector_portmap)); ^~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_portmap.c:113:42: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&s, PACKET, DISSECT_CODE(dissector_portmap)); ^~~~~~~~~~~~ dissectors/ec_portmap.c:156:42: warning: pointer targets in passing argument 1 of 'dissect_on_port_level' differ in signedness [-Wpointer-sign] if (dissect_on_port_level(Available_RPC_Dissectors[i].name, port, APP_LAYER_TCP) == ESUCCESS) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from dissectors/ec_portmap.c:25:0: ../include/ec_dissect.h:39:19: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN int dissect_on_port_level(char *name, u_int16 port, u_int8 level); ^~~~~~~~~~~~~~~~~~~~~ dissectors/ec_portmap.c:158:28: warning: pointer targets in passing argument 1 of 'dissect_add' differ in signedness [-Wpointer-sign] dissect_add(Available_RPC_Dissectors[i].name, APP_LAYER_TCP, port, Available_RPC_Dissectors[i].dissector); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from dissectors/ec_portmap.c:25:0: ../include/ec_dissect.h:28:20: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN void dissect_add(char *name, u_int8 level, u_int32 port, FUNC_DECODER_PTR(decoder)); ^~~~~~~~~~~ dissectors/ec_portmap.c:163:42: warning: pointer targets in passing argument 1 of 'dissect_on_port_level' differ in signedness [-Wpointer-sign] if (dissect_on_port_level(Available_RPC_Dissectors[i].name, port, APP_LAYER_UDP) == ESUCCESS) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from dissectors/ec_portmap.c:25:0: ../include/ec_dissect.h:39:19: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN int dissect_on_port_level(char *name, u_int16 port, u_int8 level); ^~~~~~~~~~~~~~~~~~~~~ dissectors/ec_portmap.c:165:28: warning: pointer targets in passing argument 1 of 'dissect_add' differ in signedness [-Wpointer-sign] dissect_add(Available_RPC_Dissectors[i].name, APP_LAYER_UDP, port, Available_RPC_Dissectors[i].dissector); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from dissectors/ec_portmap.c:25:0: ../include/ec_dissect.h:28:20: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN void dissect_add(char *name, u_int8 level, u_int32 port, FUNC_DECODER_PTR(decoder)); ^~~~~~~~~~~ dissectors/ec_portmap.c:191:45: warning: pointer targets in passing argument 1 of 'dissect_on_port_level' differ in signedness [-Wpointer-sign] if (dissect_on_port_level(Available_RPC_Dissectors[i].name, port, APP_LAYER_TCP) == ESUCCESS) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from dissectors/ec_portmap.c:25:0: ../include/ec_dissect.h:39:19: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN int dissect_on_port_level(char *name, u_int16 port, u_int8 level); ^~~~~~~~~~~~~~~~~~~~~ dissectors/ec_portmap.c:194:31: warning: pointer targets in passing argument 1 of 'dissect_add' differ in signedness [-Wpointer-sign] dissect_add(Available_RPC_Dissectors[i].name, APP_LAYER_TCP, port, Available_RPC_Dissectors[i].dissector); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from dissectors/ec_portmap.c:25:0: ../include/ec_dissect.h:28:20: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN void dissect_add(char *name, u_int8 level, u_int32 port, FUNC_DECODER_PTR(decoder)); ^~~~~~~~~~~ dissectors/ec_portmap.c:200:45: warning: pointer targets in passing argument 1 of 'dissect_on_port_level' differ in signedness [-Wpointer-sign] if (dissect_on_port_level(Available_RPC_Dissectors[i].name, port, APP_LAYER_UDP) == ESUCCESS) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from dissectors/ec_portmap.c:25:0: ../include/ec_dissect.h:39:19: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN int dissect_on_port_level(char *name, u_int16 port, u_int8 level); ^~~~~~~~~~~~~~~~~~~~~ dissectors/ec_portmap.c:203:31: warning: pointer targets in passing argument 1 of 'dissect_add' differ in signedness [-Wpointer-sign] dissect_add(Available_RPC_Dissectors[i].name, APP_LAYER_UDP, port, Available_RPC_Dissectors[i].dissector); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from dissectors/ec_portmap.c:25:0: ../include/ec_dissect.h:28:20: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN void dissect_add(char *name, u_int8 level, u_int32 port, FUNC_DECODER_PTR(decoder)); ^~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_portmap.c:224:36: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(PACKET, DISSECT_CODE(dissector_portmap)); ^~~~~~~~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_portmap.c:23: dissectors/ec_portmap.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_rcon.o -MD -MP -MF ".deps/ettercap-ec_rcon.Tpo" -c -o ettercap-ec_rcon.o `test -f 'dissectors/ec_rcon.c' || echo './'`dissectors/ec_rcon.c; then mv -f ".deps/ettercap-ec_rcon.Tpo" ".deps/ettercap-ec_rcon.Po"; else rm -f ".deps/ettercap-ec_rcon.Tpo"; exit 1; fi dissectors/ec_rcon.c: In function 'dissector_rcon': dissectors/ec_rcon.c:72:22: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if ( !strncasecmp(ptr, "rcon", 4) ) { ^~~ In file included from /usr/include/string.h:98:0, from ../include/ec.h:27, from dissectors/ec_rcon.c:23: /usr/include/strings.h:64:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncasecmp(const char *, const char *, size_t); ^~~~~~~~~~~ dissectors/ec_rcon.c:97:39: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(PACKET->DISSECTOR.pass, ptr, q - ptr + 1); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_rcon.c:23: /usr/include/string.h:104:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlcpy(char *, const char *, size_t); ^~~~~~~ In file included from dissectors/ec_rcon.c:23:0: dissectors/ec_rcon.c:99:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] SAFE_CALLOC(PACKET->DISSECTOR.info, strlen(q) + 1, sizeof(char)); ^ ../include/ec.h:65:15: note: in definition of macro 'SAFE_CALLOC' x = calloc(n, s); \ ^ In file included from ../include/ec.h:27:0, from dissectors/ec_rcon.c:23: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_rcon.c:23: dissectors/ec_rcon.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_rip.o -MD -MP -MF ".deps/ettercap-ec_rip.Tpo" -c -o ettercap-ec_rip.o `test -f 'dissectors/ec_rip.c' || echo './'`dissectors/ec_rip.c; then mv -f ".deps/ettercap-ec_rip.Tpo" ".deps/ettercap-ec_rip.Po"; else rm -f ".deps/ettercap-ec_rip.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_rip.c:55: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_rlogin.o -MD -MP -MF ".deps/ettercap-ec_rlogin.Tpo" -c -o ettercap-ec_rlogin.o `test -f 'dissectors/ec_rlogin.c' || echo './'`dissectors/ec_rlogin.c; then mv -f ".deps/ettercap-ec_rlogin.Tpo" ".deps/ettercap-ec_rlogin.Po"; else rm -f ".deps/ettercap-ec_rlogin.Tpo"; exit 1; fi In file included from dissectors/ec_rlogin.c:25:0: dissectors/ec_rlogin.c: In function 'dissector_rlogin': ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_rlogin.c:71:41: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(dissector_rlogin)); ^~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_rlogin.c:77:45: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&s, PACKET, DISSECT_CODE(dissector_rlogin)); ^~~~~~~~~~~~ dissectors/ec_rlogin.c:98:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (localuser + strlen(localuser) + 2 < end) ^~~~~~~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_rlogin.c:23: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ dissectors/ec_rlogin.c:99:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] remoteuser = localuser + strlen(localuser) + 1; ^~~~~~~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_rlogin.c:23: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ In file included from dissectors/ec_rlogin.c:23:0: dissectors/ec_rlogin.c:110:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] SAFE_CALLOC(s->data, strlen(localuser) + strlen(remoteuser) + 5, sizeof(char)); ^ ../include/ec.h:65:15: note: in definition of macro 'SAFE_CALLOC' x = calloc(n, s); \ ^ In file included from ../include/ec.h:27:0, from dissectors/ec_rlogin.c:23: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ In file included from dissectors/ec_rlogin.c:23:0: dissectors/ec_rlogin.c:110:58: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] SAFE_CALLOC(s->data, strlen(localuser) + strlen(remoteuser) + 5, sizeof(char)); ^ ../include/ec.h:65:15: note: in definition of macro 'SAFE_CALLOC' x = calloc(n, s); \ ^ In file included from ../include/ec.h:27:0, from dissectors/ec_rlogin.c:23: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ In file included from /usr/include/stdio.h:597:0, from ../include/ec.h:14, from dissectors/ec_rlogin.c:23: dissectors/ec_rlogin.c:128:16: warning: pointer targets in passing argument 1 of '__builtin___snprintf_chk' differ in signedness [-Wpointer-sign] snprintf(str, strlen(s->data) + PACKET->DATA.disp_len + 2, "%s%s", (char *)s->data, ptr); ^ dissectors/ec_rlogin.c:128:16: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' dissectors/ec_rlogin.c:131:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for (p = str, i = 0; i < strlen(str); i++) { ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_rlogin.c:23: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ dissectors/ec_rlogin.c:143:24: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] s->data = strdup(str); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_rlogin.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_rlogin.c:151:18: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (strchr(ptr, '\r') || strchr(ptr, '\n')) { ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_rlogin.c:23: /usr/include/string.h:55:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strchr(const char *, int); ^~~~~~ dissectors/ec_rlogin.c:151:39: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (strchr(ptr, '\r') || strchr(ptr, '\n')) { ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_rlogin.c:23: /usr/include/string.h:55:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strchr(const char *, int); ^~~~~~ dissectors/ec_rlogin.c:153:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( ((ptr = strchr(s->data, '\r')) || (ptr = strchr(s->data, '\n'))) ^ dissectors/ec_rlogin.c:153:54: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( ((ptr = strchr(s->data, '\r')) || (ptr = strchr(s->data, '\n'))) ^ dissectors/ec_rlogin.c:158:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.user, '\r')) != NULL ) ^ dissectors/ec_rlogin.c:161:45: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.pass = strdup(ptr + 1); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_rlogin.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_rlogin.c:162:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\r')) != NULL ) ^ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_rlogin.c:23: dissectors/ec_rlogin.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_smb.o -MD -MP -MF ".deps/ettercap-ec_smb.Tpo" -c -o ettercap-ec_smb.o `test -f 'dissectors/ec_smb.c' || echo './'`dissectors/ec_smb.c; then mv -f ".deps/ettercap-ec_smb.Tpo" ".deps/ettercap-ec_smb.Po"; else rm -f ".deps/ettercap-ec_smb.Tpo"; exit 1; fi In file included from dissectors/ec_smb.c:25:0: dissectors/ec_smb.c: In function 'dissector_smb': ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_smb.c:108:41: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(dissector_smb)); ^~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_smb.c:122:45: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&s, PACKET, DISSECT_CODE(dissector_smb)); ^~~~~~~~~~~~ dissectors/ec_smb.c:156:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = (char *)memmem(ptr, 128, "NTLMSSP", 8)) == NULL) ^ In file included from dissectors/ec_smb.c:25:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_smb.c:161:45: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&s, PACKET, DISSECT_CODE(dissector_smb)); ^~~~~~~~~~~~ dissectors/ec_smb.c:178:45: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.user = strdup(session_data->user); ^~~~~~~~~~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_smb.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_smb.c:187:48: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.pass = strdup(session_data->response1); ^~~~~~~~~~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_smb.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_smb.c:196:52: warning: pointer targets in passing argument 2 of 'GetBinaryE' differ in signedness [-Wpointer-sign] GetBinaryE(session_data->response1, ascii_hash, 24); ^~~~~~~~~~ dissectors/ec_smb.c:73:6: note: expected 'unsigned char *' but argument is of type 'char *' void GetBinaryE(unsigned char *binary, unsigned char *dest, int len); ^~~~~~~~~~ dissectors/ec_smb.c:198:52: warning: pointer targets in passing argument 2 of 'GetBinaryE' differ in signedness [-Wpointer-sign] GetBinaryE(session_data->response2, ascii_hash, 24); ^~~~~~~~~~ dissectors/ec_smb.c:73:6: note: expected 'unsigned char *' but argument is of type 'char *' void GetBinaryE(unsigned char *binary, unsigned char *dest, int len); ^~~~~~~~~~ dissectors/ec_smb.c:200:52: warning: pointer targets in passing argument 2 of 'GetBinaryE' differ in signedness [-Wpointer-sign] GetBinaryE(session_data->challenge, ascii_hash, 8); ^~~~~~~~~~ dissectors/ec_smb.c:73:6: note: expected 'unsigned char *' but argument is of type 'char *' void GetBinaryE(unsigned char *binary, unsigned char *dest, int len); ^~~~~~~~~~ In file included from dissectors/ec_smb.c:25:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_smb.c:223:45: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(PACKET, DISSECT_CODE(dissector_smb)); ^~~~~~~~~~~~ dissectors/ec_smb.c:236:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] Blob = ptr; ^ In file included from /usr/include/stdio.h:597:0, from ../include/ec.h:14, from dissectors/ec_smb.c:23: dissectors/ec_smb.c:247:27: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-Wpointer-sign] sprintf(session_data->response1, "(empty)"); ^ dissectors/ec_smb.c:247:27: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' dissectors/ec_smb.c:249:50: warning: pointer targets in passing argument 2 of 'GetUser' differ in signedness [-Wpointer-sign] Blob = GetUser(Blob+pwlen+unilen, session_data->user, 200); ^~~~~~~~~~~~ dissectors/ec_smb.c:72:7: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' char *GetUser(char *user, char *dest, int len); ^~~~~~~ dissectors/ec_smb.c:250:30: warning: pointer targets in passing argument 2 of 'GetUser' differ in signedness [-Wpointer-sign] GetUser(Blob, session_data->domain, 200); ^~~~~~~~~~~~ dissectors/ec_smb.c:72:7: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' char *GetUser(char *user, char *dest, int len); ^~~~~~~ dissectors/ec_smb.c:263:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = (char *)memmem(ptr, 128, "NTLMSSP", 8)) == NULL) ^ dissectors/ec_smb.c:266:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] Blob = ptr; ^ dissectors/ec_smb.c:267:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] ptr = strchr(ptr, 0); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_smb.c:23: /usr/include/string.h:55:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strchr(const char *, int); ^~~~~~ dissectors/ec_smb.c:267:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr = strchr(ptr, 0); ^ dissectors/ec_smb.c:294:45: warning: pointer targets in passing argument 2 of 'GetUser' differ in signedness [-Wpointer-sign] GetUser(Blob+User_Offset, session_data->user, User_Len); ^~~~~~~~~~~~ dissectors/ec_smb.c:72:7: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' char *GetUser(char *user, char *dest, int len); ^~~~~~~ dissectors/ec_smb.c:295:47: warning: pointer targets in passing argument 2 of 'GetUser' differ in signedness [-Wpointer-sign] GetUser(Blob+Domain_Offset, session_data->domain, Domain_Len); ^~~~~~~~~~~~ dissectors/ec_smb.c:72:7: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' char *GetUser(char *user, char *dest, int len); ^~~~~~~ dissectors/ec_smb.c:306:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] Blob = ptr; ^ dissectors/ec_smb.c:311:42: warning: pointer targets in passing argument 2 of 'GetUser' differ in signedness [-Wpointer-sign] Blob = GetUser(Blob + 48, session_data->user, 200); ^~~~~~~~~~~~ dissectors/ec_smb.c:72:7: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' char *GetUser(char *user, char *dest, int len); ^~~~~~~ dissectors/ec_smb.c:313:30: warning: pointer targets in passing argument 2 of 'GetUser' differ in signedness [-Wpointer-sign] GetUser(Blob, session_data->domain, 200); ^~~~~~~~~~~~ dissectors/ec_smb.c:72:7: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' char *GetUser(char *user, char *dest, int len); ^~~~~~~ In file included from /usr/include/string.h:127:0, from ../include/ec.h:27, from dissectors/ec_smb.c:23: dissectors/ec_smb.c:320:28: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign] strcpy(session_data->user, "(empty)"); ^ dissectors/ec_smb.c:320:28: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' dissectors/ec_smb.c:320:28: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign] strcpy(session_data->user, "(empty)"); ^ /usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' __ssp_bos_icheck2_restrict(strcpy, char *, const char *) ^ dissectors/ec_smb.c:331:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = (char *)memmem(ptr, 128, "NTLMSSP", 8)) == NULL) ^ dissectors/ec_smb.c:333:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] ptr = strchr(ptr, 0); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_smb.c:23: /usr/include/string.h:55:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strchr(const char *, int); ^~~~~~ dissectors/ec_smb.c:333:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr = strchr(ptr, 0); ^ In file included from /usr/include/string.h:127:0, from ../include/ec.h:27, from dissectors/ec_smb.c:23: dissectors/ec_smb.c: In function 'GetBinaryE': dissectors/ec_smb.c:394:15: warning: pointer targets in passing argument 1 of '__builtin___strcat_chk' differ in signedness [-Wpointer-sign] strcat(dest, dummy); ^ dissectors/ec_smb.c:394:15: note: expected 'char *' but argument is of type 'unsigned char *' dissectors/ec_smb.c:394:15: warning: pointer targets in passing argument 1 of '__strcat_ichk' differ in signedness [-Wpointer-sign] strcat(dest, dummy); ^ /usr/include/ssp/string.h:90:1: note: expected 'char *' but argument is of type 'unsigned char *' __ssp_bos_icheck2_restrict(strcat, char *, const char *) ^ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_smb.c:23: dissectors/ec_smb.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_smtp.o -MD -MP -MF ".deps/ettercap-ec_smtp.Tpo" -c -o ettercap-ec_smtp.o `test -f 'dissectors/ec_smtp.c' || echo './'`dissectors/ec_smtp.c; then mv -f ".deps/ettercap-ec_smtp.Tpo" ".deps/ettercap-ec_smtp.Po"; else rm -f ".deps/ettercap-ec_smtp.Tpo"; exit 1; fi In file included from dissectors/ec_smtp.c:25:0: dissectors/ec_smtp.c: In function 'dissector_smtp': ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ ../include/ec_dissect.h:58:51: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&session, PACKET, DISSECT_CODE(func)); \ ^~~~~~~~~~~~ dissectors/ec_smtp.c:55:4: note: in expansion of macro 'CREATE_SESSION_ON_SYN_ACK' CREATE_SESSION_ON_SYN_ACK("smtp", s, dissector_smtp); ^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ ../include/ec_dissect.h:58:51: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&session, PACKET, DISSECT_CODE(func)); \ ^~~~~~~~~~~~ dissectors/ec_smtp.c:56:4: note: in expansion of macro 'CREATE_SESSION_ON_SYN_ACK' CREATE_SESSION_ON_SYN_ACK("ssmtp", s, dissector_smtp); ^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ ../include/ec_dissect.h:88:44: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(func)); \ ^~~~~~~~~~~~ dissectors/ec_smtp.c:59:4: note: in expansion of macro 'IF_FIRST_PACKET_FROM_SERVER_SSL' IF_FIRST_PACKET_FROM_SERVER_SSL("smtp", "ssmtp", s, ident, dissector_smtp) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dissectors/ec_smtp.c:67:20: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp(ptr, "220", 3)) { ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_smtp.c:23: /usr/include/string.h:63:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncmp(const char *, const char *, size_t); ^~~~~~~ dissectors/ec_smtp.c:68:44: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.banner = strdup(ptr + 4); ^~~ In file included from ../include/ec.h:27:0, from dissectors/ec_smtp.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_smtp.c:71:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.banner, '\r')) != NULL ) ^ dissectors/ec_smtp.c:103:22: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if ( !strncasecmp(ptr, "AUTH LOGIN", 10) ) { ^~~ In file included from /usr/include/string.h:98:0, from ../include/ec.h:27, from dissectors/ec_smtp.c:23: /usr/include/strings.h:64:6: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int strncasecmp(const char *, const char *, size_t); ^~~~~~~~~~~ In file included from dissectors/ec_smtp.c:25:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_smtp.c:108:36: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(PACKET, DISSECT_CODE(dissector_smtp)); ^~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_smtp.c:111:42: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&s, PACKET, DISSECT_CODE(dissector_smtp)); ^~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_smtp.c:124:41: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(dissector_smtp)); ^~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_smtp.c:134:36: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(PACKET, DISSECT_CODE(dissector_smtp)); ^~~~~~~~~~~~ In file included from dissectors/ec_smtp.c:23:0: dissectors/ec_smtp.c:144:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] SAFE_CALLOC(user, strlen(ptr), sizeof(char)); ^ ../include/ec.h:65:15: note: in definition of macro 'SAFE_CALLOC' x = calloc(n, s); \ ^ In file included from ../include/ec.h:27:0, from dissectors/ec_smtp.c:23: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ dissectors/ec_smtp.c:147:31: warning: pointer targets in passing argument 2 of 'base64_decode' differ in signedness [-Wpointer-sign] i = base64_decode(user, ptr); ^~~ In file included from ../include/ec.h:55:0, from dissectors/ec_smtp.c:23: ../include/ec_strings.h:33:19: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN int base64_decode(char *bufplain, const char *bufcoded); ^~~~~~~~~~~~~ In file included from dissectors/ec_smtp.c:23:0: dissectors/ec_smtp.c:167:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] SAFE_CALLOC(pass, strlen(ptr), sizeof(char)); ^ ../include/ec.h:65:15: note: in definition of macro 'SAFE_CALLOC' x = calloc(n, s); \ ^ In file included from ../include/ec.h:27:0, from dissectors/ec_smtp.c:23: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ dissectors/ec_smtp.c:170:27: warning: pointer targets in passing argument 2 of 'base64_decode' differ in signedness [-Wpointer-sign] base64_decode(pass, ptr); ^~~ In file included from ../include/ec.h:55:0, from dissectors/ec_smtp.c:23: ../include/ec_strings.h:33:19: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' EC_API_EXTERN int base64_decode(char *bufplain, const char *bufcoded); ^~~~~~~~~~~~~ In file included from dissectors/ec_smtp.c:25:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_smtp.c:178:36: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(PACKET, DISSECT_CODE(dissector_smtp)); ^~~~~~~~~~~~ In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_smtp.c:23: dissectors/ec_smtp.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_snmp.o -MD -MP -MF ".deps/ettercap-ec_snmp.Tpo" -c -o ettercap-ec_snmp.o `test -f 'dissectors/ec_snmp.c' || echo './'`dissectors/ec_snmp.c; then mv -f ".deps/ettercap-ec_snmp.Tpo" ".deps/ettercap-ec_snmp.Po"; else rm -f ".deps/ettercap-ec_snmp.Tpo"; exit 1; fi In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_snmp.c:23: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -L/usr/pkg/lib/libnet11 -L/usr/pkg/lib -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include -I/usr/pkg/include/libnet11 -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/libnet11 -I/usr/pkg/include/ncurses -MT ettercap-ec_ssh.o -MD -MP -MF ".deps/ettercap-ec_ssh.Tpo" -c -o ettercap-ec_ssh.o `test -f 'dissectors/ec_ssh.c' || echo './'`dissectors/ec_ssh.c; then mv -f ".deps/ettercap-ec_ssh.Tpo" ".deps/ettercap-ec_ssh.Po"; else rm -f ".deps/ettercap-ec_ssh.Tpo"; exit 1; fi dissectors/ec_ssh.c:90:4: error: unknown type name 'des_key_schedule' des_key_schedule k1, k2, k3; ^~~~~~~~~~~~~~~~ dissectors/ec_ssh.c:91:4: error: unknown type name 'des_cblock' des_cblock iv1, iv2, iv3; ^~~~~~~~~~ In file included from dissectors/ec_ssh.c:25:0: dissectors/ec_ssh.c: In function 'dissector_ssh': ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_ssh.c:146:41: note: in expansion of macro 'DISSECT_CODE' dissect_create_ident(&ident, PACKET, DISSECT_CODE(dissector_ssh)); ^~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_ssh.c:161:48: note: in expansion of macro 'DISSECT_CODE' dissect_create_session(&s, PACKET, DISSECT_CODE(dissector_ssh)); ^~~~~~~~~~~~ In file included from dissectors/ec_ssh.c:24:0: ../include/ec_decode.h:30:26: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] #define PACKET po ^ dissectors/ec_ssh.c:169:44: note: in expansion of macro 'PACKET' PACKET->DISSECTOR.banner = strdup(PACKET->DATA.data); ^~~~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_ssh.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_ssh.c:172:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ( (ptr = strchr(PACKET->DISSECTOR.banner, '\n')) != NULL ) ^ dissectors/ec_ssh.c:249:48: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.user = strdup(session_data->user); /* Surely NULL terminated */ ^~~~~~~~~~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_ssh.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_ssh.c:257:48: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.user = strdup(session_data->user); ^~~~~~~~~~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_ssh.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ dissectors/ec_ssh.c:266:48: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] PACKET->DISSECTOR.user = strdup(session_data->user); ^~~~~~~~~~~~ In file included from ../include/ec.h:27:0, from dissectors/ec_ssh.c:23: /usr/include/string.h:80:7: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' char *strdup(const char *); ^~~~~~ In file included from dissectors/ec_ssh.c:25:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_ssh.c:331:39: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(PACKET, DISSECT_CODE(dissector_ssh)); ^~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_ssh.c:367:45: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(PACKET, DISSECT_CODE(dissector_ssh)); ^~~~~~~~~~~~ dissectors/ec_ssh.c:381:39: error: dereferencing pointer to incomplete type 'RSA {aka struct rsa_st}' session_data->serverkey->n = BN_new(); ^~ dissectors/ec_ssh.c:422:19: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] (*index_ssl)->myserverkey = (RSA *)RSA_generate_key(server_mod, server_exp, NULL, NULL); ^ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/ssl.h:15, from dissectors/ec_ssh.c:33: /usr/include/openssl/rsa.h:234:1: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^ dissectors/ec_ssh.c:423:19: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] (*index_ssl)->myhostkey = (RSA *)RSA_generate_key(host_mod, host_exp, NULL, NULL); ^ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/ssl.h:15, from dissectors/ec_ssh.c:33: /usr/include/openssl/rsa.h:234:1: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^ In file included from dissectors/ec_ssh.c:25:0: ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_ssh.c:458:45: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(PACKET, DISSECT_CODE(dissector_ssh)); ^~~~~~~~~~~~ ../include/ec_dissect.h:24:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define DISSECT_CODE(x) (u_int32)(&x) ^ dissectors/ec_ssh.c:471:45: note: in expansion of macro 'DISSECT_CODE' dissect_wipe_session(PACKET, DISSECT_CODE(dissector_ssh)); ^~~~~~~~~~~~ dissectors/ec_ssh.c: In function 'des3_init': dissectors/ec_ssh.c:604:4: warning: implicit declaration of function 'des_set_key'; did you mean 'des_setkey'? [-Wimplicit-function-declaration] des_set_key((void *)sesskey, (state->k1)); ^~~~~~~~~~~ des_setkey In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from ../include/ec.h:14, from dissectors/ec_ssh.c:23: dissectors/ec_ssh.c:612:11: warning: passing argument 1 of '__builtin_object_size' makes pointer from integer without a cast [-Wint-conversion] memset(state->iv1, 0, 8); ^ dissectors/ec_ssh.c:612:11: note: expected 'const void *' but argument is of type 'int' dissectors/ec_ssh.c:612:11: warning: passing argument 1 of '__builtin_object_size' makes pointer from integer without a cast [-Wint-conversion] memset(state->iv1, 0, 8); ^ dissectors/ec_ssh.c:612:11: note: expected 'const void *' but argument is of type 'int' In file included from /usr/include/string.h:127:0, from ../include/ec.h:27, from dissectors/ec_ssh.c:23: dissectors/ec_ssh.c:612:11: warning: passing argument 1 of '__builtin___memset_chk' makes pointer from integer without a cast [-Wint-conversion] memset(state->iv1, 0, 8); ^ dissectors/ec_ssh.c:612:11: note: expected 'void *' but argument is of type 'int' dissectors/ec_ssh.c:612:11: warning: passing argument 1 of '__memset_ichk' makes pointer from integer without a cast [-Wint-conversion] memset(state->iv1, 0, 8); ^ /usr/include/ssp/string.h:84:1: note: expected 'void *' but argument is of type 'int' __ssp_bos_icheck3(memset, void *, int) ^ In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from ../include/ec.h:14, from dissectors/ec_ssh.c:23: dissectors/ec_ssh.c:613:11: warning: passing argument 1 of '__builtin_object_size' makes pointer from integer without a cast [-Wint-conversion] memset(state->iv2, 0, 8); ^ dissectors/ec_ssh.c:613:11: note: expected 'const void *' but argument is of type 'int' dissectors/ec_ssh.c:613:11: warning: passing argument 1 of '__builtin_object_size' makes pointer from integer without a cast [-Wint-conversion] memset(state->iv2, 0, 8); ^ dissectors/ec_ssh.c:613:11: note: expected 'const void *' but argument is of type 'int' In file included from /usr/include/string.h:127:0, from ../include/ec.h:27, from dissectors/ec_ssh.c:23: dissectors/ec_ssh.c:613:11: warning: passing argument 1 of '__builtin___memset_chk' makes pointer from integer without a cast [-Wint-conversion] memset(state->iv2, 0, 8); ^ dissectors/ec_ssh.c:613:11: note: expected 'void *' but argument is of type 'int' dissectors/ec_ssh.c:613:11: warning: passing argument 1 of '__memset_ichk' makes pointer from integer without a cast [-Wint-conversion] memset(state->iv2, 0, 8); ^ /usr/include/ssp/string.h:84:1: note: expected 'void *' but argument is of type 'int' __ssp_bos_icheck3(memset, void *, int) ^ In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from ../include/ec.h:14, from dissectors/ec_ssh.c:23: dissectors/ec_ssh.c:614:11: warning: passing argument 1 of '__builtin_object_size' makes pointer from integer without a cast [-Wint-conversion] memset(state->iv3, 0, 8); ^ dissectors/ec_ssh.c:614:11: note: expected 'const void *' but argument is of type 'int' dissectors/ec_ssh.c:614:11: warning: passing argument 1 of '__builtin_object_size' makes pointer from integer without a cast [-Wint-conversion] memset(state->iv3, 0, 8); ^ dissectors/ec_ssh.c:614:11: note: expected 'const void *' but argument is of type 'int' In file included from /usr/include/string.h:127:0, from ../include/ec.h:27, from dissectors/ec_ssh.c:23: dissectors/ec_ssh.c:614:11: warning: passing argument 1 of '__builtin___memset_chk' makes pointer from integer without a cast [-Wint-conversion] memset(state->iv3, 0, 8); ^ dissectors/ec_ssh.c:614:11: note: expected 'void *' but argument is of type 'int' dissectors/ec_ssh.c:614:11: warning: passing argument 1 of '__memset_ichk' makes pointer from integer without a cast [-Wint-conversion] memset(state->iv3, 0, 8); ^ /usr/include/ssp/string.h:84:1: note: expected 'void *' but argument is of type 'int' __ssp_bos_icheck3(memset, void *, int) ^ In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from ../include/ec.h:14, from dissectors/ec_ssh.c:23: dissectors/ec_ssh.c: In function 'des3_decrypt': dissectors/ec_ssh.c:624:11: warning: passing argument 1 of '__builtin_object_size' makes pointer from integer without a cast [-Wint-conversion] memcpy(dstate->iv1, dstate->iv2, 8); ^ dissectors/ec_ssh.c:624:11: note: expected 'const void *' but argument is of type 'int' dissectors/ec_ssh.c:624:11: warning: passing argument 1 of '__builtin_object_size' makes pointer from integer without a cast [-Wint-conversion] memcpy(dstate->iv1, dstate->iv2, 8); ^ dissectors/ec_ssh.c:624:11: note: expected 'const void *' but argument is of type 'int' In file included from /usr/include/string.h:127:0, from ../include/ec.h:27, from dissectors/ec_ssh.c:23: dissectors/ec_ssh.c:624:11: warning: passing argument 1 of '__builtin___memcpy_chk' makes pointer from integer without a cast [-Wint-conversion] memcpy(dstate->iv1, dstate->iv2, 8); ^ dissectors/ec_ssh.c:624:11: note: expected 'void *' but argument is of type 'int' dissectors/ec_ssh.c:624:24: warning: passing argument 2 of '__builtin___memcpy_chk' makes pointer from integer without a cast [-Wint-conversion] memcpy(dstate->iv1, dstate->iv2, 8); ^ dissectors/ec_ssh.c:624:24: note: expected 'const void *' but argument is of type 'int' dissectors/ec_ssh.c:624:11: warning: passing argument 1 of '__memcpy_ichk' makes pointer from integer without a cast [-Wint-conversion] memcpy(dstate->iv1, dstate->iv2, 8); ^ /usr/include/ssp/string.h:82:1: note: expected 'void * restrict' but argument is of type 'int' __ssp_bos_icheck3_restrict(memcpy, void *, const void *) ^ dissectors/ec_ssh.c:624:24: warning: passing argument 2 of '__memcpy_ichk' makes pointer from integer without a cast [-Wint-conversion] memcpy(dstate->iv1, dstate->iv2, 8); ^ /usr/include/ssp/string.h:82:1: note: expected 'const void * restrict' but argument is of type 'int' __ssp_bos_icheck3_restrict(memcpy, void *, const void *) ^ dissectors/ec_ssh.c:626:4: warning: implicit declaration of function 'des_ncbc_encrypt'; did you mean 'DES_ncbc_encrypt'? [-Wimplicit-function-declaration] des_ncbc_encrypt(src, dst, len, (dstate->k3), &dstate->iv3, DES_DECRYPT); ^~~~~~~~~~~~~~~~ DES_ncbc_encrypt In file included from ../include/ec_sniff.h:7:0, from ../include/ec_globals.h:7, from ../include/ec.h:54, from dissectors/ec_ssh.c:23: dissectors/ec_ssh.c: At top level: ../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' declared but never defined EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po); ^~~~~~~~~~~~~~~~~~~~~ ../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' declared but never defined EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len); ^~~~~~~~~~~~~~~~~~~~ *** Error code 1 Stop. make[2]: stopped in /tmp/net/ettercap-NG/work/ettercap-NG-0.7.3/src *** Error code 1 Stop. make[1]: stopped in /tmp/net/ettercap-NG/work/ettercap-NG-0.7.3/src *** Error code 1 Stop. make: stopped in /tmp/net/ettercap-NG/work/ettercap-NG-0.7.3 *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/ettercap-NG *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/ettercap-NG