=> Bootstrap dependency digest>=20010302: found digest-20160304
===> 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]: "/data/scratch/net/ettercap-NG/work/ettercap-NG-0.7.3/man/Makefile" line 527: warning: duplicate script for target "%.ps" ignored
make[1]: "/data/scratch/net/ettercap-NG/work/ettercap-NG-0.7.3/man/Makefile" line 524: warning: using previous script for "%.ps" defined here
make[1]: "/data/scratch/net/ettercap-NG/work/ettercap-NG-0.7.3/man/Makefile" line 528: warning: duplicate script for target "%.ps" ignored
make[1]: "/data/scratch/net/ettercap-NG/work/ettercap-NG-0.7.3/man/Makefile" line 524: warning: using previous script for "%.ps" defined here
make[1]: "/data/scratch/net/ettercap-NG/work/ettercap-NG-0.7.3/man/Makefile" line 529: warning: duplicate script for target "%.ps" ignored
make[1]: "/data/scratch/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 clang -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 -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 clang -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 -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
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 clang -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 -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
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 clang -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 -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:482:56: warning: format specifies type 'long long' but the argument has type 'u_int64' (aka 'unsigned long') [-Wformat]
   fprintf(stdout, "\n Received packets    : %8lld\n", GBL_STATS->ps_recv);
                                             ~~~~~     ^~~~~~~~~~~~~~~~~~
                                             %8lu
../../../include/ec_globals.h:175:28: note: expanded from macro 'GBL_STATS'
#define GBL_STATS          (GBLS->stats)
                           ^
ec_text.c:483:65: warning: format specifies type 'long long' but the argument has type 'u_int64' (aka 'unsigned long') [-Wformat]
   fprintf(stdout,   " Dropped packets     : %8lld  %.2f %%\n", GBL_STATS->ps_drop,
                                             ~~~~~              ^~~~~~~~~~~~~~~~~~
                                             %8lu
../../../include/ec_globals.h:175:28: note: expanded from macro 'GBL_STATS'
#define GBL_STATS          (GBLS->stats)
                           ^
ec_text.c:485:72: warning: format specifies type 'long long' but the argument has type 'u_int64' (aka 'unsigned long') [-Wformat]
   fprintf(stdout,   " Forwarded           : %8lld  bytes: %8lld\n\n", GBL_STATS->ps_sent, GBL_STATS->bs_sent);
                                             ~~~~~                     ^~~~~~~~~~~~~~~~~~
                                             %8lu
../../../include/ec_globals.h:175:28: note: expanded from macro 'GBL_STATS'
#define GBL_STATS          (GBLS->stats)
                           ^
ec_text.c:485:92: warning: format specifies type 'long long' but the argument has type 'u_int64' (aka 'unsigned long') [-Wformat]
   fprintf(stdout,   " Forwarded           : %8lld  bytes: %8lld\n\n", GBL_STATS->ps_sent, GBL_STATS->bs_sent);
                                                           ~~~~~                           ^~~~~~~~~~~~~~~~~~
                                                           %8lu
../../../include/ec_globals.h:175:28: note: expanded from macro 'GBL_STATS'
#define GBL_STATS          (GBLS->stats)
                           ^
ec_text.c:491:10: warning: format specifies type 'long long' but the argument has type 'u_int64' (aka 'unsigned long') [-Wformat]
         GBL_STATS->bh.pck_recv, GBL_STATS->bh.pck_size);
         ^~~~~~~~~~~~~~~~~~~~~~
../../../include/ec_globals.h:175:28: note: expanded from macro 'GBL_STATS'
#define GBL_STATS          (GBLS->stats)
                           ^
ec_text.c:491:34: warning: format specifies type 'long long' but the argument has type 'u_int64' (aka 'unsigned long') [-Wformat]
         GBL_STATS->bh.pck_recv, GBL_STATS->bh.pck_size);
                                 ^~~~~~~~~~~~~~~~~~~~~~
../../../include/ec_globals.h:175:28: note: expanded from macro 'GBL_STATS'
#define GBL_STATS          (GBLS->stats)
                           ^
ec_text.c:493:10: warning: format specifies type 'long long' but the argument has type 'u_int64' (aka 'unsigned long') [-Wformat]
         GBL_STATS->th.pck_recv, GBL_STATS->th.pck_size);
         ^~~~~~~~~~~~~~~~~~~~~~
../../../include/ec_globals.h:175:28: note: expanded from macro 'GBL_STATS'
#define GBL_STATS          (GBLS->stats)
                           ^
ec_text.c:493:34: warning: format specifies type 'long long' but the argument has type 'u_int64' (aka 'unsigned long') [-Wformat]
         GBL_STATS->th.pck_recv, GBL_STATS->th.pck_size);
                                 ^~~~~~~~~~~~~~~~~~~~~~
../../../include/ec_globals.h:175:28: note: expanded from macro 'GBL_STATS'
#define GBL_STATS          (GBLS->stats)
                           ^
8 warnings generated.
if clang -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 -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
if clang -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 -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:57:36: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
       regexec(GBL_OPTIONS->regex, po->DATA.disp_data, 0, NULL, 0) != 0) {
                                   ^~~~~~~~~~~~~~~~~~
/usr/include/regex.h:138:29: note: passing argument to parameter here
            const char * __restrict, size_t, regmatch_t [], int);
                                   ^
1 warning generated.
if clang -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 -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
if clang -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 -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
ec_text_profile.c:169:84: warning: address of array 'h->hostname' will always evaluate to 'true' [-Wpointer-bool-conversion]
      fprintf(stdout, "%2d) %15s   %s\n", ++i, ip_addr_ntoa(&h->L3_addr, tmp), (h->hostname) ? h->hostname : "");
                                                                                ~~~^~~~~~~~  ~
1 warning generated.
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 clang -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 -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 clang -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 -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 clang -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 -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 clang -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 -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 clang -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 -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 clang -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 -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 clang -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 -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 clang -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 -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 clang -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 -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 clang -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 -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 clang -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 -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 clang -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 -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 clang -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 -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 clang -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 -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 clang -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 -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
if clang -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 -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
if clang -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 -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
if clang -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 -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
if clang -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 -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
if clang -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 -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
if clang -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 -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
if clang -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 -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
if clang -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 -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
if clang -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 -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
if clang -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 -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:384:33: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
   ip_addr_init(&host, AF_INET, (char *)&ip);
                                ^~~~~~~~~~~
../../../include/ec_inet.h:56:74: note: passing argument to parameter 'addr' here
EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr);
                                                                         ^
ec_curses_targets.c:402:33: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
   ip_addr_init(&host, AF_INET, (char *)&ip);
                                ^~~~~~~~~~~
../../../include/ec_inet.h:56:74: note: passing argument to parameter 'addr' here
EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr);
                                                                         ^
2 warnings generated.
if clang -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 -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:205:16: warning: passing 'char [70]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
   set_wep_key(wkey);
               ^~~~
ec_curses_view.c:45:32: note: passing argument to parameter 'string' here
extern int set_wep_key(u_char *string);
                               ^
1 warning generated.
if clang -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 -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:338:36: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
       regexec(GBL_OPTIONS->regex, text, 0, NULL, 0) != 0) {
                                   ^~~~
/usr/include/regex.h:138:29: note: passing argument to parameter here
            const char * __restrict, size_t, regmatch_t [], int);
                                   ^
ec_curses_view_connections.c:370:36: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
       regexec(GBL_OPTIONS->regex, po->DATA.disp_data, 0, NULL, 0) != 0) {
                                   ^~~~~~~~~~~~~~~~~~
/usr/include/regex.h:138:29: note: passing argument to parameter here
            const char * __restrict, size_t, regmatch_t [], int);
                                   ^
ec_curses_view_connections.c:458:36: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
       regexec(GBL_OPTIONS->regex, text, 0, NULL, 0) != 0) {
                                   ^~~~
/usr/include/regex.h:138:29: note: passing argument to parameter here
            const char * __restrict, size_t, regmatch_t [], int);
                                   ^
ec_curses_view_connections.c:489:36: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
       regexec(GBL_OPTIONS->regex, po->DATA.disp_data, 0, NULL, 0) != 0) {
                                   ^~~~~~~~~~~~~~~~~~
/usr/include/regex.h:138:29: note: passing argument to parameter here
            const char * __restrict, size_t, regmatch_t [], int);
                                   ^
ec_curses_view_connections.c:575:55: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   wdg_input_add(in, 1, 1, "Chars to be injected  :", injectbuf, 50, 10);
                                                      ^~~~~~~~~
widgets/wdg.h:258:85: note: passing argument to parameter 'buf' here
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:588:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   len = strescape(injectbuf, injectbuf);
                   ^~~~~~~~~
../../../include/ec_strings.h:34:35: note: passing argument to parameter 'dst' here
EC_API_EXTERN int strescape(char *dst, char *src);
                                  ^
ec_curses_view_connections.c:588:31: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   len = strescape(injectbuf, injectbuf);
                              ^~~~~~~~~
../../../include/ec_strings.h:34:46: note: passing argument to parameter 'src' here
EC_API_EXTERN int strescape(char *dst, char *src);
                                             ^
7 warnings generated.
if clang -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 -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:172:90: warning: passing 'u_int8 [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      wdg_scroll_print(wdg_pro_detail, EC_COLOR, " MANUFACTURER : %s \n\n", manuf_search(h->L2_addr));
                                                                                         ^~~~~~~~~~
../../../include/ec_manuf.h:8:41: note: passing argument to parameter 'm' here
EC_API_EXTERN char * manuf_search(char *m);
                                        ^
ec_curses_view_profiles.c:189:27: warning: passing 'u_char [29]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if (fingerprint_search(h->fingerprint, os) == ESUCCESS)
                          ^~~~~~~~~~~~~~
../../../include/ec_fingerprint.h:8:50: note: passing argument to parameter 'f' here
EC_API_EXTERN int fingerprint_search(const char *f, char *dst);
                                                 ^
2 warnings generated.
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 clang -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 -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:402:45: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      ip_addr_init(&GBL_IFACE->ip, AF_INET, (char *)&ip);
                                            ^~~~~~~~~~~
../include/ec_inet.h:56:74: note: passing argument to parameter 'addr' here
EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr);
                                                                         ^
ec_capture.c:407:50: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      ip_addr_init(&GBL_IFACE->network, AF_INET, (char *)&network);
                                                 ^~~~~~~~~~~~~~~~
../include/ec_inet.h:56:74: note: passing argument to parameter 'addr' here
EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr);
                                                                         ^
ec_capture.c:416:53: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
         ip_addr_init(&GBL_IFACE->netmask, AF_INET, (char *)&net);
                                                    ^~~~~~~~~~~~
../include/ec_inet.h:56:74: note: passing argument to parameter 'addr' here
EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr);
                                                                         ^
ec_capture.c:418:53: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
         ip_addr_init(&GBL_IFACE->netmask, AF_INET, (char *)&netmask);
                                                    ^~~~~~~~~~~~~~~~
../include/ec_inet.h:56:74: note: passing argument to parameter 'addr' here
EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr);
                                                                         ^
ec_capture.c:451:46: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      ip_addr_init(&GBL_BRIDGE->ip, AF_INET, (char *)&ip);
                                             ^~~~~~~~~~~
../include/ec_inet.h:56:74: note: passing argument to parameter 'addr' here
EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr);
                                                                         ^
ec_capture.c:456:51: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      ip_addr_init(&GBL_BRIDGE->network, AF_INET, (char *)&network);
                                                  ^~~~~~~~~~~~~~~~
../include/ec_inet.h:56:74: note: passing argument to parameter 'addr' here
EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr);
                                                                         ^
ec_capture.c:457:51: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      ip_addr_init(&GBL_BRIDGE->netmask, AF_INET, (char *)&netmask);
                                                  ^~~~~~~~~~~~~~~~
../include/ec_inet.h:56:74: note: passing argument to parameter 'addr' here
EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr);
                                                                         ^
7 warnings generated.
if clang -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 -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
if clang -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 -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
if clang -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 -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
if clang -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 -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
if clang -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 -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
if clang -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 -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:156:38: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if (GBL_OPTIONS->iface && !strcmp(param, GBL_OPTIONS->iface))
                                     ^~~~~
/usr/include/string.h:56:25: note: passing argument to parameter here
int      strcmp(const char *, const char *);
                            ^
ec_decode.c:158:50: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   else if (GBL_OPTIONS->iface_bridge && !strcmp(param, GBL_OPTIONS->iface_bridge))
                                                 ^~~~~
/usr/include/string.h:56:25: note: passing argument to parameter here
int      strcmp(const char *, const char *);
                            ^
In file included from ec_decode.c:23:
In file included from ../include/ec.h:54:
In file included from ../include/ec_globals.h:7:
In file included from ../include/ec_sniff.h:7:
../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' is not defined [-Wundefined-inline]
EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len);
                         ^
ec_decode.c:147:4: note: used here
   packet_create_object(&po, data, datalen);
   ^
In file included from ec_decode.c:23:
In file included from ../include/ec.h:54:
In file included from ../include/ec_globals.h:7:
In file included from ../include/ec_sniff.h:7:
../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' is not defined [-Wundefined-inline]
EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po);
                         ^
ec_decode.c:229:4: note: used here
   packet_destroy_object(&po);
   ^
4 warnings generated.
if clang -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 -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 ec_dispatcher.c:23:
In file included from ../include/ec.h:54:
In file included from ../include/ec_globals.h:7:
In file included from ../include/ec_sniff.h:7:
../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' is not defined [-Wundefined-inline]
EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po);
                         ^
ec_dispatcher.c:138:7: note: used here
      packet_destroy_object(e->po);
      ^
1 warning generated.
if clang -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 -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
if clang -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 -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
if clang -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 -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
if clang -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 -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:501:48: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if (regexec(fop->op.func.ropt->regex, po->DATA.data, 0, NULL, 0) == 0)
                                               ^~~~~~~~~~~~~
/usr/include/regex.h:138:29: note: passing argument to parameter here
            const char * __restrict, size_t, regmatch_t [], int);
                                   ^
ec_filter.c:506:48: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if (regexec(fop->op.func.ropt->regex, po->DATA.disp_data, 0, NULL, 0) == 0)
                                               ^~~~~~~~~~~~~~~~~~
/usr/include/regex.h:138:29: note: passing argument to parameter here
            const char * __restrict, size_t, regmatch_t [], int);
                                   ^
ec_filter.c:538:90: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-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)
                                                                                         ^~~~~~~~~~~~~
/data/scratch/net/ettercap-NG/work/.buildlink/include/pcre.h:573:73: note: passing argument to parameter here
PCRE_EXP_DECL int  pcre_exec(const pcre *, const pcre_extra *, PCRE_SPTR,
                                                                        ^
ec_filter.c:555:52: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            SAFE_CALLOC(replaced, ovec[1] + strlen(q) + 1, sizeof(char));
                                                   ^
../include/ec.h:65:15: note: expanded from macro 'SAFE_CALLOC'
   x = calloc(n, s); \
              ^
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
ec_filter.c:565:37: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  int marker = atoi(q + i + 1);
                                    ^~~~~~~~~
/usr/include/stdlib.h:101:23: note: passing argument to parameter here
int      atoi(const char *);
                          ^
ec_filter.c:570:63: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  while (q[++i + 1] != ' ' && q[i] < q[strlen(q)] );
                                                              ^
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
ec_filter.c:606:83: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-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)
                                                                                  ^~~~~~~~~~~~~~~~~~
/data/scratch/net/ettercap-NG/work/.buildlink/include/pcre.h:573:73: note: passing argument to parameter here
PCRE_EXP_DECL int  pcre_exec(const pcre *, const pcre_extra *, PCRE_SPTR,
                                                                        ^
ec_filter.c:707:19: warning: passing 'u_int8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ((fd = open(fop->op.func.string, O_RDONLY | O_BINARY)) == -1) {
                  ^~~~~~~~~~~~~~~~~~~
/usr/include/fcntl.h:308:22: note: passing argument to parameter here
int     open(const char *, int, ...);
                         ^
ec_filter.c:763:14: warning: passing 'u_int8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   fd = open(fop->op.func.string, O_CREAT | O_APPEND | O_RDWR | O_BINARY, 0600);
             ^~~~~~~~~~~~~~~~~~~
/usr/include/fcntl.h:308:22: note: passing argument to parameter here
int     open(const char *, int, ...);
                         ^
ec_filter.c:854:13: warning: initializing 'char *' with an expression of type 'u_int8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      char *q = fop->op.func.string;
            ^   ~~~~~~~~~~~~~~~~~~~
ec_filter.c:1063:38: warning: assigning to 'u_int8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               fop[i].op.func.string = (char *)(fenv->map + fh->data + (int)fop[i].op.func.string);
                                     ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ec_filter.c:1065:39: warning: assigning to 'u_int8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               fop[i].op.func.replace = (char *)(fenv->map + fh->data + (int)fop[i].op.func.replace);
                                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ec_filter.c:1070:38: warning: assigning to 'u_int8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               fop[i].op.test.string = (char *)(fenv->map + fh->data + (int)fop[i].op.test.string);
                                     ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ec_filter.c:1075:40: warning: assigning to 'u_int8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               fop[i].op.assign.string = (char *)(fenv->map + fh->data + (int)fop[i].op.assign.string);
                                       ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ec_filter.c:1110:58: warning: passing 'u_int8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               err = regcomp(fop[i].op.func.ropt->regex, fop[i].op.func.string, REG_EXTENDED | REG_NOSUB | REG_ICASE );
                                                         ^~~~~~~~~~~~~~~~~~~~~
/usr/include/regex.h:135:58: note: passing argument to parameter here
int     regcomp(regex_t * __restrict, const char * __restrict, int);
                                                             ^
ec_filter.c:1124:59: warning: passing 'u_int8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               fop[i].op.func.ropt->pregex = pcre_compile(fop[i].op.func.string, 0, &perrbuf, &err, NULL );
                                                          ^~~~~~~~~~~~~~~~~~~~~
/data/scratch/net/ettercap-NG/work/.buildlink/include/pcre.h:540:46: note: passing argument to parameter here
PCRE_EXP_DECL pcre *pcre_compile(const char *, int, const char **, int *,
                                             ^
16 warnings generated.
if clang -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 -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:354:22: warning: passing 'char [1024]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
   socket_send(sock, getmsg, strlen(getmsg));
                     ^~~~~~
../include/ec_socket.h:17:52: note: passing argument to parameter 'payload' here
EC_API_EXTERN int socket_send(int s, const u_char *payload, size_t size);
                                                   ^
1 warning generated.
if clang -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 -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
ec_format.c:170:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      strcpy(dst, "");
             ^~~
/usr/include/string.h:58:31: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                 ^
ec_format.c:178:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
           sprintf(dst, "%s %04x: ", dst, i );
                   ^~~
/usr/include/stdio.h:268:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
ec_format.c:184:31: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                      sprintf(dst, "%s%02x ", dst, (u_char) buf[i+j]);
                              ^~~
/usr/include/stdio.h:268:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
ec_format.c:186:31: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                      sprintf(dst, "%s%02x", dst, (u_char) buf[i+j]);
                              ^~~
/usr/include/stdio.h:268:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
ec_format.c:191:30: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                      strcat(dst, "   ");
                             ^~~
/usr/include/string.h:54:31: note: passing argument to parameter here
char    *strcat(char * __restrict, const char * __restrict);
                                 ^
ec_format.c:193:30: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                      strcat(dst, "  ");
                             ^~~
/usr/include/string.h:54:31: note: passing argument to parameter here
char    *strcat(char * __restrict, const char * __restrict);
                                 ^
ec_format.c:196:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
           strcat(dst, " ");
                  ^~~
/usr/include/string.h:54:31: note: passing argument to parameter here
char    *strcat(char * __restrict, const char * __restrict);
                                 ^
ec_format.c:201:34: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                   dim = sprintf(dst, "%s%c", dst, c);
                                 ^~~
/usr/include/stdio.h:268:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
ec_format.c:203:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
           strcat(dst, "\n");
                  ^~~
/usr/include/string.h:54:31: note: passing argument to parameter here
char    *strcat(char * __restrict, const char * __restrict);
                                 ^
ec_format.c:220:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      strcpy(dst, "");
             ^~~
/usr/include/string.h:58:31: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                 ^
ec_format.c:245:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      strcpy(dst, "");
             ^~~
/usr/include/string.h:58:31: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                 ^
ec_format.c:280:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      strcpy(dst, "");
             ^~~
/usr/include/string.h:58:31: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                 ^
ec_format.c:301:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      strcpy(dst, "");
             ^~~
/usr/include/string.h:58:31: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                 ^
ec_format.c:327:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      strcpy(dst, "");
             ^~~
/usr/include/string.h:58:31: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                 ^
ec_format.c:343:11: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   strcpy(dst, "");
          ^~~
/usr/include/string.h:58:31: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                 ^
ec_format.c:377:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      strcpy(dst, "");
             ^~~
/usr/include/string.h:58:31: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                 ^
ec_format.c:413:35: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if (fromcode == NULL || strlen(fromcode) < 1)
                                  ^~~~~~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
ec_format.c:419:29: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   cd = iconv_open("UTF-8", fromcode);
                            ^~~~~~~~
/usr/include/iconv.h:45:46: note: passing argument to parameter here
iconv_t iconv_open(const char *, const char *);
                                             ^
ec_format.c:426:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   utf8_encoding = strdup(fromcode);
                          ^~~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
19 warnings generated.
if clang -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 -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
if clang -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 -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
if clang -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 -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
if clang -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 -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
if clang -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 -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
if clang -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 -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
if clang -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 -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:248:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (regexec(GBL_OPTIONS->regex, po->DATA.disp_data, 0, NULL, 0) == 0)
                                      ^~~~~~~~~~~~~~~~~~
/usr/include/regex.h:138:29: note: passing argument to parameter here
            const char * __restrict, size_t, regmatch_t [], int);
                                   ^
ec_log.c:491:16: warning: passing 'u_char [29]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
       !strcmp(hi.fingerprint, "") &&     // no fingerprint
               ^~~~~~~~~~~~~~
/usr/include/string.h:56:25: note: passing argument to parameter here
int      strcmp(const char *, const char *);
                            ^
2 warnings generated.
if clang -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 -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
ec_main.c:151:22: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
   set_utf8_encoding(GBL_CONF->utf8_encoding);
                     ^~~~~~~~~~~~~~~~~~~~~~~
../include/ec_globals.h:173:28: note: expanded from macro 'GBL_CONF'
#define GBL_CONF           (GBLS->conf)
                           ^
../include/ec_format.h:16:45: note: passing argument to parameter 'fromcode' here
EC_API_EXTERN int set_utf8_encoding(u_char *fromcode);
                                            ^
1 warning generated.
if clang -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 -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
if clang -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 -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
if clang -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 -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 clang -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 -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:350:31: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                  set_wep_key(optarg);
                              ^~~~~~
ec_parser.c:53:32: note: passing argument to parameter 'string' here
extern int set_wep_key(u_char *string);
                               ^
1 warning generated.
if clang -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 -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:106:63: warning: passing 'u_int8 [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      fprintf(stdout, " MANUFACTURER : %s \n\n", manuf_search(h->L2_addr));
                                                              ^~~~~~~~~~
../include/ec_manuf.h:8:41: note: passing argument to parameter 'm' here
EC_API_EXTERN char * manuf_search(char *m);
                                        ^
ec_passive.c:123:27: warning: passing 'u_char [29]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if (fingerprint_search(h->fingerprint, os) == ESUCCESS)
                          ^~~~~~~~~~~~~~
../include/ec_fingerprint.h:8:50: note: passing argument to parameter 'f' here
EC_API_EXTERN int fingerprint_search(const char *f, char *dst);
                                                 ^
ec_passive.c:176:63: warning: passing 'u_int8 [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      fprintf(stdout, "\t\t<manuf>%s</manuf>\n", manuf_search(h->L2_addr));
                                                              ^~~~~~~~~~
../include/ec_manuf.h:8:41: note: passing argument to parameter 'm' here
EC_API_EXTERN char * manuf_search(char *m);
                                        ^
ec_passive.c:192:15: warning: passing 'u_char [29]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if (strcmp(h->fingerprint, "")) {
              ^~~~~~~~~~~~~~
/usr/include/string.h:56:25: note: passing argument to parameter here
int      strcmp(const char *, const char *);
                            ^
ec_passive.c:193:30: warning: passing 'u_char [29]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (fingerprint_search(h->fingerprint, os) == ESUCCESS) {
                             ^~~~~~~~~~~~~~
../include/ec_fingerprint.h:8:50: note: passing argument to parameter 'f' here
EC_API_EXTERN int fingerprint_search(const char *f, char *dst);
                                                 ^
5 warnings generated.
if clang -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 -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:170:34: warning: incompatible pointer types passing 'int (struct dirent *)' to parameter of type 'int (*)(const struct dirent *)' [-Wincompatible-pointer-types]
   n = scandir(where, &namelist, plugin_filter, alphasort);
                                 ^~~~~~~~~~~~~
/usr/include/dirent.h:112:11: note: passing argument to parameter here
    int (*)(const struct dirent *), int (*)(const struct dirent **,
          ^
ec_plugins.c:176:37: warning: incompatible pointer types passing 'int (struct dirent *)' to parameter of type 'int (*)(const struct dirent *)' [-Wincompatible-pointer-types]
      n = scandir(where, &namelist, plugin_filter, alphasort);
                                    ^~~~~~~~~~~~~
/usr/include/dirent.h:112:11: note: passing argument to parameter here
    int (*)(const struct dirent *), int (*)(const struct dirent **,
          ^
2 warnings generated.
if clang -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 -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
if clang -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 -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
ec_profiles.c:596:48: warning: address of array 'h->hostname' will always evaluate to 'true' [-Wpointer-bool-conversion]
                                           (h->hostname) ? h->hostname : "" );
                                            ~~~^~~~~~~~  ~
1 warning generated.
if clang -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 -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
if clang -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 -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:373:38: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      ip_addr_init(&scanip, AF_INET, (char *)&current);
                                     ^~~~~~~~~~~~~~~~
../include/ec_inet.h:56:74: note: passing argument to parameter 'addr' here
EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr);
                                                                         ^
ec_scan.c:560:35: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      ip_addr_init(&hip, AF_INET, (char *)&tip);
                                  ^~~~~~~~~~~~
../include/ec_inet.h:56:74: note: passing argument to parameter 'addr' here
EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr);
                                                                         ^
In file included from ec_scan.c:23:
In file included from ../include/ec.h:54:
In file included from ../include/ec_globals.h:7:
In file included from ../include/ec_sniff.h:7:
../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' is not defined [-Wundefined-inline]
EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len);
                         ^
ec_scan.c:289:4: note: used here
   packet_create_object(&po, data, datalen);
   ^
In file included from ec_scan.c:23:
In file included from ../include/ec.h:54:
In file included from ../include/ec_globals.h:7:
In file included from ../include/ec_sniff.h:7:
../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' is not defined [-Wundefined-inline]
EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po);
                         ^
ec_scan.c:309:4: note: used here
   packet_destroy_object(&po);
   ^
4 warnings generated.
if clang -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 -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
if clang -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 -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
if clang -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 -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
if clang -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 -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
if clang -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 -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
if clang -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 -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:422:34: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      ip_addr_init(&tmp, AF_INET,(char *)&ipaddr );
                                 ^~~~~~~~~~~~~~~
../include/ec_inet.h:56:74: note: passing argument to parameter 'addr' here
EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr);
                                                                         ^
1 warning generated.
if clang -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 -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
if clang -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 -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
if clang -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 -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:314:58: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
            ip_addr_init(&(ae->ip[SSL_CLIENT]), AF_INET, (char *)&(client_sin.sin_addr.s_addr));
                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/ec_inet.h:56:74: note: passing argument to parameter 'addr' here
EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr);
                                                                         ^
ec_sslwrap.c:851:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
         PACKET->PASSIVE.flags &= ~FP_HOST_NONLOCAL;
                                  ~^~~~~~~~~~~~~~~~
../include/ec_fingerprint.h:64:35: note: expanded from macro 'FP_HOST_NONLOCAL'
      #define FP_HOST_NONLOCAL   1<<1
                                  ^
ec_sslwrap.c:942:82: warning: passing 'char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   X509_NAME_add_entry_by_txt(X509_get_issuer_name(out_cert), "L", MBSTRING_ASC, " ", -1, -1, 0);
                                                                                 ^~~
/usr/include/openssl/x509.h:812:53: note: passing argument to parameter 'bytes' here
                               const unsigned char *bytes, int len, int loc,
                                                    ^
In file included from ec_sslwrap.c:23:
In file included from ../include/ec.h:54:
In file included from ../include/ec_globals.h:7:
In file included from ../include/ec_sniff.h:7:
../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' is not defined [-Wundefined-inline]
EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po);
                         ^
ec_sslwrap.c:755:4: note: used here
   packet_destroy_object(po);
   ^
4 warnings generated.
if clang -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 -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
if clang -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 -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
if clang -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 -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
if clang -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 -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:263:14: warning: unused variable 'id' [-Wunused-variable]
   pthread_t id = pthread_self(); 
             ^
1 warning generated.
if clang -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 -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
if clang -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 -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:73:22: warning: passing 'char [512]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
   socket_send(sock, getmsg, strlen(getmsg));
                     ^~~~~~
../include/ec_socket.h:17:52: note: passing argument to parameter 'payload' here
EC_API_EXTERN int socket_send(int s, const u_char *payload, size_t size);
                                                   ^
ec_update.c:78:28: warning: passing 'char [8192]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
   len = socket_recv(sock, buffer, sizeof(buffer) - 1);
                           ^~~~~~
../include/ec_socket.h:18:46: note: passing argument to parameter 'payload' here
EC_API_EXTERN int socket_recv(int s, u_char *payload, size_t size);
                                             ^
ec_update.c:285:22: warning: passing 'char [512]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
   socket_send(sock, getmsg, strlen(getmsg));
                     ^~~~~~
../include/ec_socket.h:17:52: note: passing argument to parameter 'payload' here
EC_API_EXTERN int socket_send(int s, const u_char *payload, size_t size);
                                                   ^
ec_update.c:290:37: warning: passing 'char [4096]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
   while ( (len = socket_recv(sock, buffer, sizeof(buffer) - 1)) ) {
                                    ^~~~~~
../include/ec_socket.h:18:46: note: passing argument to parameter 'payload' here
EC_API_EXTERN int socket_recv(int s, u_char *payload, size_t size);
                                             ^
4 warnings generated.
if clang -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 -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
if clang -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 -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:110:47: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
         ip_addr_init(&dhcp_netmask, AF_INET, (char *)&ipaddr);
                                              ^~~~~~~~~~~~~~~
../include/ec_inet.h:56:74: note: passing argument to parameter 'addr' here
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: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
         ip_addr_init(&dhcp_dns, AF_INET, (char *)&ipaddr);
                                          ^~~~~~~~~~~~~~~
../include/ec_inet.h:56:74: note: passing argument to parameter 'addr' here
EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr);
                                                                         ^
mitm/ec_dhcp_spoofing.c:218:41: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
         ip_addr_init(&client, AF_INET, (char *)&dhcp->dhcp_cip);
                                        ^~~~~~~~~~~~~~~~~~~~~~~
../include/ec_inet.h:56:74: note: passing argument to parameter 'addr' here
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: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      ip_addr_cpy(dhcp_options + 5, &server);
                  ^~~~~~~~~~~~~~~~
../include/ec_inet.h:57:39: note: passing argument to parameter 'addr' here
EC_API_EXTERN int ip_addr_cpy(u_char *addr, struct ip_addr *sa);
                                      ^
mitm/ec_dhcp_spoofing.c:243:74: warning: passing 'char [240]' to parameter of type 'u_int8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      send_dhcp_reply(&server, dhcp_addr_reply(&po->L3.src), po->L2.src, dhcp_hdr, dhcp_options, dhcp_optlen);
                                                                         ^~~~~~~~
../include/ec_send.h:20:99: note: passing argument to parameter 'dhcp_hdr' here
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: passing 'char [1500]' to parameter of type 'u_int8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      send_dhcp_reply(&server, dhcp_addr_reply(&po->L3.src), po->L2.src, dhcp_hdr, dhcp_options, dhcp_optlen);
                                                                                   ^~~~~~~~~~~~
../include/ec_send.h:20:117: note: passing argument to parameter 'options' here
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: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      ip_addr_cpy(dhcp_options + 5, &GBL_IFACE->ip);
                  ^~~~~~~~~~~~~~~~
../include/ec_inet.h:57:39: note: passing argument to parameter 'addr' here
EC_API_EXTERN int ip_addr_cpy(u_char *addr, struct ip_addr *sa);
                                      ^
mitm/ec_dhcp_spoofing.c:255:81: warning: passing 'char [240]' to parameter of type 'u_int8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      send_dhcp_reply(&GBL_IFACE->ip, dhcp_addr_reply(&po->L3.src), po->L2.src, dhcp_hdr, dhcp_options, dhcp_optlen);
                                                                                ^~~~~~~~
../include/ec_send.h:20:99: note: passing argument to parameter 'dhcp_hdr' here
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: passing 'char [1500]' to parameter of type 'u_int8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      send_dhcp_reply(&GBL_IFACE->ip, dhcp_addr_reply(&po->L3.src), po->L2.src, dhcp_hdr, dhcp_options, dhcp_optlen);
                                                                                          ^~~~~~~~~~~~
../include/ec_send.h:20:117: note: passing argument to parameter 'options' here
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:295:16: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
   ip_addr_cpy(dhcp_options + 5, &GBL_IFACE->ip);
               ^~~~~~~~~~~~~~~~
../include/ec_inet.h:57:39: note: passing argument to parameter 'addr' here
EC_API_EXTERN int ip_addr_cpy(u_char *addr, struct ip_addr *sa);
                                      ^
mitm/ec_dhcp_spoofing.c:298:78: warning: passing 'char [240]' to parameter of type 'u_int8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
   send_dhcp_reply(&GBL_IFACE->ip, dhcp_addr_reply(&po->L3.src), po->L2.src, dhcp_hdr, dhcp_options, dhcp_optlen);
                                                                             ^~~~~~~~
../include/ec_send.h:20:99: note: passing argument to parameter 'dhcp_hdr' here
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: passing 'char [1500]' to parameter of type 'u_int8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
   send_dhcp_reply(&GBL_IFACE->ip, dhcp_addr_reply(&po->L3.src), po->L2.src, dhcp_hdr, dhcp_options, dhcp_optlen);
                                                                                       ^~~~~~~~~~~~
../include/ec_send.h:20:117: note: passing argument to parameter 'options' here
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:314:12: warning: initializing 'u_int8 *' (aka 'unsigned char *') with an expression of type 'char [1500]' converts between pointers to integer types with different sign [-Wpointer-sign]
   u_int8 *p = dhcp_options;
           ^   ~~~~~~~~~~~~
13 warnings generated.
if clang -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 -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
if clang -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 -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:183:35: warning: passing 'char [42]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
   packet_create_object(&fake_po, fake_pck, FAKE_PCK_LEN);
                                  ^~~~~~~~
../include/ec_packet.h:112:82: note: passing argument to parameter 'buf' here
EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len);
                                                                                 ^
../include/ec_packet.h:112:26: warning: inline function 'packet_create_object' is not defined [-Wundefined-inline]
EC_API_EXTERN inline int packet_create_object(struct packet_object *po, u_char * buf, size_t len);
                         ^
mitm/ec_port_stealing.c:183:4: note: used here
   packet_create_object(&fake_po, fake_pck, FAKE_PCK_LEN);
   ^
In file included from mitm/ec_port_stealing.c:23:
In file included from ../include/ec.h:54:
In file included from ../include/ec_globals.h:7:
In file included from ../include/ec_sniff.h:7:
../include/ec_packet.h:113:26: warning: inline function 'packet_destroy_object' is not defined [-Wundefined-inline]
EC_API_EXTERN inline int packet_destroy_object(struct packet_object *po);
                         ^
mitm/ec_port_stealing.c:248:10: note: used here
         packet_destroy_object(p->po);
         ^
3 warnings generated.
if clang -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 -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:94:46: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      ip_addr_init(&PACKET->L3.src, AF_INET, (char *)&earp->arp_spa);
                                             ^~~~~~~~~~~~~~~~~~~~~~
../include/ec_inet.h:56:74: note: passing argument to parameter 'addr' here
EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr);
                                                                         ^
protocols/ec_arp.c:95:46: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      ip_addr_init(&PACKET->L3.dst, AF_INET, (char *)&earp->arp_tpa);
                                             ^~~~~~~~~~~~~~~~~~~~~~
../include/ec_inet.h:56:74: note: passing argument to parameter 'addr' here
EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr);
                                                                         ^
2 warnings generated.
if clang -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 -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
if clang -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 -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
if clang -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 -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
if clang -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 -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
if clang -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 -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
if clang -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 -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:114:43: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
   ip_addr_init(&PACKET->L3.src, AF_INET, (char *)&ip->saddr);
                                          ^~~~~~~~~~~~~~~~~~
../include/ec_inet.h:56:74: note: passing argument to parameter 'addr' here
EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr);
                                                                         ^
protocols/ec_ip.c:115:43: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
   ip_addr_init(&PACKET->L3.dst, AF_INET, (char *)&ip->daddr);
                                          ^~~~~~~~~~~~~~~~~~
../include/ec_inet.h:56:74: note: passing argument to parameter 'addr' here
EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr);
                                                                         ^
protocols/ec_ip.c:187:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
         PACKET->PASSIVE.flags &= ~FP_HOST_NONLOCAL;
                                  ~^~~~~~~~~~~~~~~~
../include/ec_fingerprint.h:64:35: note: expanded from macro 'FP_HOST_NONLOCAL'
      #define FP_HOST_NONLOCAL   1<<1
                                  ^
3 warnings generated.
if clang -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 -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
if clang -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 -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
protocols/ec_ppp.c:164:27: warning: passing 'u_char [3]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  sprintf(dummy, "%02X", chapch->value.challenge_v1[i]);
                          ^~~~~
/usr/include/stdio.h:268:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
protocols/ec_ppp.c:165:26: warning: passing 'u_char [512]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  strcat(schallenge, dummy);
                         ^~~~~~~~~~
/usr/include/string.h:54:31: note: passing argument to parameter here
char    *strcat(char * __restrict, const char * __restrict);
                                 ^
protocols/ec_ppp.c:165:38: warning: passing 'u_char [3]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  strcat(schallenge, dummy);
                                     ^~~~~
/usr/include/string.h:54:56: note: passing argument to parameter here
char    *strcat(char * __restrict, const char * __restrict);
                                                          ^
protocols/ec_ppp.c:188:85: warning: passing 'u_char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               DISSECT_MSG("\n\nTunnel PPTP: %s -> ", ip_addr_ntoa(&PACKET->L3.src, temp)); 
                                                                                    ^~~~
../include/ec_dissect.h:106:22: note: expanded from macro 'DISSECT_MSG'
      USER_MSG(x, ## __VA_ARGS__ ); \
                     ^~~~~~~~~~~
../include/ec_ui.h:43:39: note: expanded from macro 'USER_MSG'
#define USER_MSG(x, ...) ui_msg(x, ## __VA_ARGS__ )
                                      ^~~~~~~~~~~
../include/ec_inet.h:62:60: note: passing argument to parameter 'dst' here
EC_API_EXTERN char *ip_addr_ntoa(struct ip_addr *sa, char *dst);
                                                           ^
protocols/ec_ppp.c:189:66: warning: passing 'u_char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               DISSECT_MSG("%s\n", ip_addr_ntoa(&PACKET->L3.dst, temp));
                                                                 ^~~~
../include/ec_dissect.h:106:22: note: expanded from macro 'DISSECT_MSG'
      USER_MSG(x, ## __VA_ARGS__ ); \
                     ^~~~~~~~~~~
../include/ec_ui.h:43:39: note: expanded from macro 'USER_MSG'
#define USER_MSG(x, ...) ui_msg(x, ## __VA_ARGS__ )
                                      ^~~~~~~~~~~
../include/ec_inet.h:62:60: note: passing argument to parameter 'dst' here
EC_API_EXTERN char *ip_addr_ntoa(struct ip_addr *sa, char *dst);
                                                           ^
protocols/ec_ppp.c:207:32: warning: passing 'u_char [128]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               if ((p = strchr(user, '\\')) == NULL)
                               ^~~~
/usr/include/string.h:55:26: note: passing argument to parameter here
char    *strchr(const char *, int);
                            ^
protocols/ec_ppp.c:207:23: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               if ((p = strchr(user, '\\')) == NULL)
                      ^ ~~~~~~~~~~~~~~~~~~
protocols/ec_ppp.c:215:44: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               SHA1_Update(&ctx, p, strlen(p));
                                           ^
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
protocols/ec_ppp.c:236:16: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      pap_auth = (char *)(lcph + 1);
               ^ ~~~~~~~~~~~~~~~~~~
protocols/ec_ppp.c:242:82: warning: passing 'u_char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            DISSECT_MSG("\n\nTunnel PPTP: %s -> ", ip_addr_ntoa(&PACKET->L3.src, temp)); 
                                                                                 ^~~~
../include/ec_dissect.h:106:22: note: expanded from macro 'DISSECT_MSG'
      USER_MSG(x, ## __VA_ARGS__ ); \
                     ^~~~~~~~~~~
../include/ec_ui.h:43:39: note: expanded from macro 'USER_MSG'
#define USER_MSG(x, ...) ui_msg(x, ## __VA_ARGS__ )
                                      ^~~~~~~~~~~
../include/ec_inet.h:62:60: note: passing argument to parameter 'dst' here
EC_API_EXTERN char *ip_addr_ntoa(struct ip_addr *sa, char *dst);
                                                           ^
protocols/ec_ppp.c:243:63: warning: passing 'u_char [128]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            DISSECT_MSG("%s\n", ip_addr_ntoa(&PACKET->L3.dst, temp));
                                                              ^~~~
../include/ec_dissect.h:106:22: note: expanded from macro 'DISSECT_MSG'
      USER_MSG(x, ## __VA_ARGS__ ); \
                     ^~~~~~~~~~~
../include/ec_ui.h:43:39: note: expanded from macro 'USER_MSG'
#define USER_MSG(x, ...) ui_msg(x, ## __VA_ARGS__ )
                                      ^~~~~~~~~~~
../include/ec_inet.h:62:60: note: passing argument to parameter 'dst' here
EC_API_EXTERN char *ip_addr_ntoa(struct ip_addr *sa, char *dst);
                                                           ^
11 warnings generated.
if clang -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 -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
if clang -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 -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
if clang -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 -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:119:14: warning: cast to 'u_char *' (aka 'unsigned char *') from smaller integer type 'int' [-Wint-to-pointer-cast]
   opt_end = (u_char *)((int)tcp + tcp->off * 4);
             ^
1 warning generated.
if clang -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 -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
if clang -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 -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
if clang -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 -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
if clang -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 -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:370:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   char s[strlen(string) + 1];
                 ^~~~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
protocols/ec_wifi.c:375:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   strcpy(s, string);
             ^~~~~~
/usr/include/string.h:58:56: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                                          ^
protocols/ec_wifi.c:377:6: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   p = ec_strtok(s, ":", &tok);
     ^ ~~~~~~~~~~~~~~~~~~~~~~~
protocols/ec_wifi.c:381:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   bit = atoi(p);
              ^
/usr/include/stdlib.h:101:23: note: passing argument to parameter here
int      atoi(const char *);
                          ^
protocols/ec_wifi.c:398:6: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   p = ec_strtok(NULL, ":", &tok);
     ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
protocols/ec_wifi.c:405:6: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   p = ec_strtok(NULL, ":", &tok);
     ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
protocols/ec_wifi.c:411:21: warning: passing 'u_int8 [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (strescape(wkey, p) != (int)wlen)
                    ^~~~
../include/ec_strings.h:34:35: note: passing argument to parameter 'dst' here
EC_API_EXTERN int strescape(char *dst, char *src);
                                  ^
protocols/ec_wifi.c:411:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (strescape(wkey, p) != (int)wlen)
                          ^
../include/ec_strings.h:34:46: note: passing argument to parameter 'src' here
EC_API_EXTERN int strescape(char *dst, char *src);
                                             ^
8 warnings generated.
if clang -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 -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:177:21: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            str_ptr = PACKET->DISSECTOR.pass + strlen(PACKET->DISSECTOR.pass);
                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_bgp.c:180:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               sprintf(str_ptr + (j * 3), " %.2x", parameters[i + 3 + j]);
                       ^~~~~~~~~~~~~~~~~
/usr/include/stdio.h:268:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
dissectors/ec_bgp.c:182:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            strcat(str_ptr, " )");
                   ^~~~~~~
/usr/include/string.h:54:31: note: passing argument to parameter here
char    *strcat(char * __restrict, const char * __restrict);
                                 ^
3 warnings generated.
if clang -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 -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:88:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( strncmp(ptr, CVS_LOGIN, strlen(CVS_LOGIN)) )
                ^~~
/usr/include/string.h:63:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                             ^
dissectors/ec_cvs.c:100:36: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   PACKET->DISSECTOR.user = strdup(++ptr);
                                   ^~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_cvs.c:114:36: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   PACKET->DISSECTOR.pass = strdup(ptr);
                                   ^~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
3 warnings generated.
if clang -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 -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:161:50: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                  ip_addr_init(&client, AF_INET, (char *)&dhcp->ciaddr);
                                                 ^~~~~~~~~~~~~~~~~~~~~
../include/ec_inet.h:56:74: note: passing argument to parameter 'addr' here
EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr);
                                                                         ^
dissectors/ec_dhcp.c:206:44: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
            ip_addr_init(&client, AF_INET, (char *)&dhcp->yiaddr );
                                           ^~~~~~~~~~~~~~~~~~~~~
../include/ec_inet.h:56:74: note: passing argument to parameter 'addr' here
EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr);
                                                                         ^
dissectors/ec_dhcp.c:230:35: warning: passing 'u_int8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  strncpy(domain, opt + 1, MIN(*opt, sizeof(domain)) );
                                  ^~~~~~~
/usr/include/string.h:64:57: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                                           ^
3 warnings generated.
if clang -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 -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:185:40: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
            ip_addr_init(&ip, AF_INET, (char *)&addr);
                                       ^~~~~~~~~~~~~
../include/ec_inet.h:56:74: note: passing argument to parameter 'addr' here
EC_API_EXTERN int ip_addr_init(struct ip_addr *sa, u_int16 type, u_char *addr);
                                                                         ^
1 warning generated.
if clang -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 -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
dissectors/ec_ftp.c:64:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!strncmp(ptr, "220", 3)) {
                   ^~~
/usr/include/string.h:63:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                             ^
dissectors/ec_ftp.c:65:44: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         PACKET->DISSECTOR.banner = strdup(ptr + 4);
                                           ^~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_ftp.c:68:20: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if ( (ptr = strchr(PACKET->DISSECTOR.banner, '\r')) != NULL )
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_ftp.c:92:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( !strncasecmp(ptr, "USER ", 5) ) {
                     ^~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
dissectors/ec_ftp.c:105:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      s->data = strdup(ptr);
                       ^~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_ftp.c:106:28: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      s->data_len = strlen(ptr);
                           ^~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
dissectors/ec_ftp.c:108:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( (ptr = strchr(s->data,'\r')) != NULL )
                ^ ~~~~~~~~~~~~~~~~~~~~
dissectors/ec_ftp.c:118:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( !strncasecmp(ptr, "PASS ", 5) ) {
                     ^~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
dissectors/ec_ftp.c:142:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      PACKET->DISSECTOR.pass = strdup(ptr);
                                      ^~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_ftp.c:143:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\r')) != NULL )
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10 warnings generated.
if clang -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 -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:161:31: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ((from_here = strstr(ptr, "Authorization: Passport")) && 
                              ^~~
/usr/include/string.h:68:26: note: passing argument to parameter here
char    *strstr(const char *, const char *);
                            ^
dissectors/ec_http.c:162:30: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         Parse_Passport_Auth(ptr, from_here + strlen("Authorization: Passport"), PACKET));       
                             ^~~
dissectors/ec_http.c:103:38: note: passing argument to parameter 'ptr' here
static int Parse_Passport_Auth(char *ptr, char *from_here, struct packet_object *po);
                                     ^
dissectors/ec_http.c:163:36: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if ((from_here = strstr(ptr, ": NTLM ")) && 
                                   ^~~
/usr/include/string.h:68:26: note: passing argument to parameter here
char    *strstr(const char *, const char *);
                            ^
dissectors/ec_http.c:164:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         Parse_NTLM_Auth(ptr, from_here + strlen(": NTLM "), PACKET));
                         ^~~
dissectors/ec_http.c:104:34: note: passing argument to parameter 'ptr' here
static int Parse_NTLM_Auth(char *ptr, char *from_here, struct packet_object *po);
                                 ^
dissectors/ec_http.c:165:36: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if ((from_here = strstr(ptr, ": Basic ")) &&
                                   ^~~
/usr/include/string.h:68:26: note: passing argument to parameter here
char    *strstr(const char *, const char *);
                            ^
dissectors/ec_http.c:166:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         Parse_Basic_Auth(ptr, from_here  + strlen(": Basic "), PACKET));
                          ^~~
dissectors/ec_http.c:105:35: note: passing argument to parameter 'ptr' here
static int Parse_Basic_Auth(char *ptr, char *from_here, struct packet_object *po);
                                  ^
dissectors/ec_http.c:167:25: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strncmp(ptr, "GET ", 4))
                        ^~~
/usr/include/string.h:63:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                             ^
dissectors/ec_http.c:169:25: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strncmp(ptr, "POST ", 5))
                        ^~~
/usr/include/string.h:63:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                             ^
dissectors/ec_http.c:184:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!strncmp(ptr, "HTTP", 4)) {
                   ^~~
/usr/include/string.h:63:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                             ^
dissectors/ec_http.c:197:34: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if ((from_here = strstr(ptr, ": NTLM "))) 
                                 ^~~
/usr/include/string.h:68:26: note: passing argument to parameter here
char    *strstr(const char *, const char *);
                            ^
dissectors/ec_http.c:198:29: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            Parse_NTLM_Auth(ptr, from_here + strlen(": NTLM "), PACKET);
                            ^~~
dissectors/ec_http.c:104:34: note: passing argument to parameter 'ptr' here
static int Parse_NTLM_Auth(char *ptr, char *from_here, struct packet_object *po);
                                 ^
dissectors/ec_http.c:221:65: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if (conn_status->c_status == PROXY_WAIT_OK && !strncmp(ptr + 8, " 200 ", 5)) 
                                                                ^~~~~~~
/usr/include/string.h:63:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                             ^
dissectors/ec_http.c:225:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            (strstr(ptr, "\r\n\r\n") || (ptr[0]=='\r' && ptr[1]=='\n'))) {
                    ^~~
/usr/include/string.h:68:26: note: passing argument to parameter here
char    *strstr(const char *, const char *);
                            ^
dissectors/ec_http.c:232:52: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   } else if (FROM_CLIENT("proxy", po) && !strncmp(ptr, "CONNECT ", 8)) {
                                                   ^~~
/usr/include/string.h:63:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                             ^
dissectors/ec_http.c:262:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ((start = strstr(ptr, "Server: ")) && (end = strstr(start, "\r"))) {
                          ^~~
/usr/include/string.h:68:26: note: passing argument to parameter here
char    *strstr(const char *, const char *);
                            ^
dissectors/ec_http.c:293:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
   Decode_Url(po->DISSECTOR.info);
              ^~~~~~~~~~~~~~~~~~
dissectors/ec_http.c:95:32: note: passing argument to parameter 'src' here
static void Decode_Url(u_char *src);
                               ^
dissectors/ec_http.c:299:21: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
         Decode_Url(po->DISSECTOR.user);
                    ^~~~~~~~~~~~~~~~~~
dissectors/ec_http.c:95:32: note: passing argument to parameter 'src' here
static void Decode_Url(u_char *src);
                               ^
dissectors/ec_http.c:302:21: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
         Decode_Url(po->DISSECTOR.pass);
                    ^~~~~~~~~~~~~~~~~~
dissectors/ec_http.c:95:32: note: passing argument to parameter 'src' here
static void Decode_Url(u_char *src);
                               ^
dissectors/ec_http.c:349:22: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
            Find_Url(ptr, &(po->DISSECTOR.info));
                     ^~~
dissectors/ec_http.c:97:30: note: passing argument to parameter 'to_parse' here
static void Find_Url(u_char *to_parse, char **ret);
                             ^
dissectors/ec_http.c:404:15: warning: passing 'u_char [150]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      dumpRaw(conn_status->c_data, challenge_struct->challengeData, 8);
              ^~~~~~~~~~~~~~~~~~~
dissectors/ec_http.c:107:27: note: passing argument to parameter 'str' here
static void dumpRaw(char *str, unsigned char *buf, size_t len);
                          ^
dissectors/ec_http.c:434:40: warning: passing 'u_char [150]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            strcat(po->DISSECTOR.pass, conn_status->c_data);
                                       ^~~~~~~~~~~~~~~~~~~
/usr/include/string.h:54:56: note: passing argument to parameter here
char    *strcat(char * __restrict, const char * __restrict);
                                                          ^
dissectors/ec_http.c:440:25: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
               Find_Url(ptr, &(po->DISSECTOR.info));
                        ^~~
dissectors/ec_http.c:97:30: note: passing argument to parameter 'to_parse' here
static void Find_Url(u_char *to_parse, char **ret);
                             ^
dissectors/ec_http.c:461:25: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ((ptr = strstr(ptr, "\r\n\r\n"))) { 
                        ^~~
/usr/include/string.h:68:26: note: passing argument to parameter here
char    *strstr(const char *, const char *);
                            ^
dissectors/ec_http.c:461:16: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ((ptr = strstr(ptr, "\r\n\r\n"))) { 
               ^ ~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_http.c:472:38: warning: passing 'u_char [150]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         po->DISSECTOR.info = strdup(conn_status->c_data);
                                     ^~~~~~~~~~~~~~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_http.c:500:12: warning: passing 'u_char [150]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   strlcpy(conn_status->c_data, url, sizeof(conn_status->c_data));
           ^~~~~~~~~~~~~~~~~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcpy(char *, const char *, size_t);
                       ^
dissectors/ec_http.c:520:28: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if (!(to_parse = strstr(ptr, "?")))
                           ^~~
/usr/include/string.h:68:26: note: passing argument to parameter here
char    *strstr(const char *, const char *);
                            ^
dissectors/ec_http.c:520:19: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if (!(to_parse = strstr(ptr, "?")))
                  ^ ~~~~~~~~~~~~~~~~
dissectors/ec_http.c:523:28: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if (!(to_parse = strdup(to_parse)))
                           ^~~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_http.c:523:19: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if (!(to_parse = strdup(to_parse)))
                  ^ ~~~~~~~~~~~~~~~~
dissectors/ec_http.c:526:29: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if (!(delimiter = strstr(to_parse, " HTTP"))) 
                            ^~~~~~~~
/usr/include/string.h:68:26: note: passing argument to parameter here
char    *strstr(const char *, const char *);
                            ^
dissectors/ec_http.c:526:20: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if (!(delimiter = strstr(to_parse, " HTTP"))) 
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_http.c:573:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if (!strncasecmp(q, d->name, strlen(d->name)) && *(q+strlen(d->name)) == '=' ) {
                          ^
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
dissectors/ec_http.c:576:33: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!(*ret = strdup(q + strlen(d->name) + 1)))
                                ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_http.c:580:20: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if ((q = strchr(*ret, '&')))
                   ^ ~~~~~~~~~~~~~~~~~
dissectors/ec_http.c:586:29: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      } while ( (q = strchr(q, '&')) );
                            ^
/usr/include/string.h:55:26: note: passing argument to parameter here
char    *strchr(const char *, int);
                            ^
dissectors/ec_http.c:586:20: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      } while ( (q = strchr(q, '&')) );
                   ^ ~~~~~~~~~~~~~~
dissectors/ec_http.c:610:23: warning: passing 'u_char [3]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         ch = strtoul(t, NULL, 16);
                      ^
/usr/include/stdlib.h:125:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
dissectors/ec_http.c:604:4: warning: array index 3 is past the end of the array (which contains 3 elements) [-Warray-bounds]
   t[3] = 0;
   ^ ~
dissectors/ec_http.c:596:4: note: array 't' declared here
   u_char t[3];
   ^
dissectors/ec_http.c:627:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ((fromhere = strstr(to_parse, "Referer: "))) {
                          ^~~~~~~~
/usr/include/string.h:68:26: note: passing argument to parameter here
char    *strstr(const char *, const char *);
                            ^
dissectors/ec_http.c:627:18: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ((fromhere = strstr(to_parse, "Referer: "))) {
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_http.c:628:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ((*ret = strdup(fromhere + strlen("Referer: "))))
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_http.c:632:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      page = strdup(to_parse);
                    ^~~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_http.c:632:12: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      page = strdup(to_parse);
           ^ ~~~~~~~~~~~~~~~~
dissectors/ec_http.c:633:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      ec_strtok(page, " HTTP", &tok);
                ^~~~
../include/ec_strings.h:37:38: note: passing argument to parameter 's' here
EC_API_EXTERN char * ec_strtok(char *s, const char *delim, char **ptrptr);
                                     ^
dissectors/ec_http.c:636:46: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ((*page=='/') && (fromhere = strstr(to_parse, "Host: "))) {
                                             ^~~~~~~~
/usr/include/string.h:68:26: note: passing argument to parameter here
char    *strstr(const char *, const char *);
                            ^
dissectors/ec_http.c:636:37: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ((*page=='/') && (fromhere = strstr(to_parse, "Host: "))) {
                                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_http.c:637:25: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         host = strdup( fromhere + strlen("Host: ") );
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_http.c:637:15: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         host = strdup( fromhere + strlen("Host: ") );
              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_http.c:638:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         ec_strtok(host, "\r", &tok);
                   ^~~~
../include/ec_strings.h:37:38: note: passing argument to parameter 's' here
EC_API_EXTERN char * ec_strtok(char *s, const char *delim, char **ptrptr);
                                     ^
dissectors/ec_http.c:640:15: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         host = strdup("");
              ^ ~~~~~~~~~~
dissectors/ec_http.c:642:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      len = strlen(page) + strlen(host) + 2;
                   ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
dissectors/ec_http.c:642:35: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      len = strlen(page) + strlen(host) + 2;
                                  ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
dissectors/ec_http.c:661:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if (!strncmp(to_parse, "GET ", 4))
                ^~~~~~~~
/usr/include/string.h:63:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                             ^
dissectors/ec_http.c:663:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   else if (!strncmp(to_parse, "POST ", 5))
                     ^~~~~~~~
/usr/include/string.h:63:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                             ^
dissectors/ec_http.c:669:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   page = strdup(to_parse);
                 ^~~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_http.c:669:9: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   page = strdup(to_parse);
        ^ ~~~~~~~~~~~~~~~~
dissectors/ec_http.c:670:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   ec_strtok(page, " HTTP", &tok);
             ^~~~
../include/ec_strings.h:37:38: note: passing argument to parameter 's' here
EC_API_EXTERN char * ec_strtok(char *s, const char *delim, char **ptrptr);
                                     ^
dissectors/ec_http.c:673:43: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ((*page=='/') && (fromhere = strstr(to_parse, "Host: "))) {
                                          ^~~~~~~~
/usr/include/string.h:68:26: note: passing argument to parameter here
char    *strstr(const char *, const char *);
                            ^
dissectors/ec_http.c:673:34: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ((*page=='/') && (fromhere = strstr(to_parse, "Host: "))) {
                                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_http.c:674:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      host = strdup( fromhere + strlen("Host: ") );
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_http.c:674:12: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      host = strdup( fromhere + strlen("Host: ") );
           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_http.c:675:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      ec_strtok(host, "\r", &tok);
                ^~~~
../include/ec_strings.h:37:38: note: passing argument to parameter 's' here
EC_API_EXTERN char * ec_strtok(char *s, const char *delim, char **ptrptr);
                                     ^
dissectors/ec_http.c:677:12: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      host = strdup("");
           ^ ~~~~~~~~~~
dissectors/ec_http.c:679:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   len = strlen(page) + strlen(host) + 2;
                ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
dissectors/ec_http.c:679:32: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   len = strlen(page) + strlen(host) + 2;
                               ^~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
66 warnings generated.
if clang -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 -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
dissectors/ec_imap.c:86:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!strncmp(ptr, " OK ", 4)) {
                   ^~~
/usr/include/string.h:63:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                             ^
dissectors/ec_imap.c:87:44: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         PACKET->DISSECTOR.banner = strdup(ptr + 3);
                                           ^~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_imap.c:90:20: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if ( (ptr = strchr(PACKET->DISSECTOR.banner, '\r')) != NULL )
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_imap.c:117:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( !strncasecmp(ptr, " LOGIN ", 7) ) {
                     ^~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
dissectors/ec_imap.c:123:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      PACKET->DISSECTOR.user = strdup(ptr);
                                      ^~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_imap.c:126:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( (ptr = strchr(PACKET->DISSECTOR.user, ' ')) != NULL )
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_imap.c:130:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      PACKET->DISSECTOR.pass = strdup(ptr + 1);
                                      ^~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_imap.c:132:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\r')) != NULL )
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_imap.c:151:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( !strncasecmp(ptr, "AUTHENTICATE LOGIN", 19) ) {
                     ^~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
dissectors/ec_imap.c:192:32: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      SAFE_CALLOC(user, strlen(ptr), sizeof(char));
                               ^~~
../include/ec.h:65:15: note: expanded from macro 'SAFE_CALLOC'
   x = calloc(n, s); \
              ^
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
dissectors/ec_imap.c:195:31: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      i = base64_decode(user, ptr);
                              ^~~
../include/ec_strings.h:33:61: note: passing argument to parameter 'bufcoded' here
EC_API_EXTERN int base64_decode(char *bufplain, const char *bufcoded);
                                                            ^
dissectors/ec_imap.c:215:32: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      SAFE_CALLOC(pass, strlen(ptr), sizeof(char));
                               ^~~
../include/ec.h:65:15: note: expanded from macro 'SAFE_CALLOC'
   x = calloc(n, s); \
              ^
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
dissectors/ec_imap.c:218:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      base64_decode(pass, ptr);
                          ^~~
../include/ec_strings.h:33:61: note: passing argument to parameter 'bufcoded' here
EC_API_EXTERN int base64_decode(char *bufplain, const char *bufcoded);
                                                            ^
13 warnings generated.
if clang -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 -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
if clang -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 -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:76:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( !strncasecmp(ptr, "PASS ", 5) ) {
                     ^~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
dissectors/ec_irc.c:92:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      PACKET->DISSECTOR.pass = strdup(ptr);
                                      ^~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_irc.c:93:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\r')) != NULL )
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_irc.c:95:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\n')) != NULL )
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_irc.c:115:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( !strncasecmp(ptr, "MODE ", 5) && match_pattern(ptr + 5, "#* +k *") ) {
                     ^~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
dissectors/ec_irc.c:115:56: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( !strncasecmp(ptr, "MODE ", 5) && match_pattern(ptr + 5, "#* +k *") ) {
                                                       ^~~~~~~
../include/ec_strings.h:32:45: note: passing argument to parameter 's' here
EC_API_EXTERN int match_pattern(const char *s, const char *pattern);
                                            ^
dissectors/ec_irc.c:122:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      PACKET->DISSECTOR.user = strdup(ptr);
                                      ^~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_irc.c:123:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( (ptr = strchr(PACKET->DISSECTOR.user, ' ')) != NULL )
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_irc.c:127:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      PACKET->DISSECTOR.pass = strdup(ptr + 4);
                                      ^~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_irc.c:128:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\r')) != NULL )
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_irc.c:130:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\n')) != NULL )
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_irc.c:150:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( !strncasecmp(ptr, "JOIN ", 5) && match_pattern(ptr + 5, "#* *") ) {
                     ^~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
dissectors/ec_irc.c:150:56: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( !strncasecmp(ptr, "JOIN ", 5) && match_pattern(ptr + 5, "#* *") ) {
                                                       ^~~~~~~
../include/ec_strings.h:32:45: note: passing argument to parameter 's' here
EC_API_EXTERN int match_pattern(const char *s, const char *pattern);
                                            ^
dissectors/ec_irc.c:157:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      PACKET->DISSECTOR.user = strdup(ptr);
                                      ^~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_irc.c:158:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( (ptr = strchr(PACKET->DISSECTOR.user, ' ')) != NULL )
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_irc.c:161:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      PACKET->DISSECTOR.pass = strdup(ptr + 1);
                                      ^~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_irc.c:162:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\r')) != NULL )
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_irc.c:164:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\n')) != NULL )
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_irc.c:184:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( !strncasecmp(ptr, "PRIVMSG ", 8) && match_pattern(ptr + 8, "* :identify *\r\n") ) {
                     ^~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
dissectors/ec_irc.c:184:59: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( !strncasecmp(ptr, "PRIVMSG ", 8) && match_pattern(ptr + 8, "* :identify *\r\n") ) {
                                                          ^~~~~~~
../include/ec_strings.h:32:45: note: passing argument to parameter 's' here
EC_API_EXTERN int match_pattern(const char *s, const char *pattern);
                                            ^
dissectors/ec_irc.c:189:31: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!(pass = strcasestr(ptr, "identify")))
                              ^~~
/usr/include/string.h:101:30: note: passing argument to parameter here
char    *strcasestr(const char *, const char *);
                                ^
dissectors/ec_irc.c:205:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\r')) != NULL )
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_irc.c:207:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\n')) != NULL )
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_irc.c:227:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( !strncasecmp(ptr, "NICKSERV ", 9) || !strncasecmp(ptr, "NS ", 3) ) {
                     ^~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
dissectors/ec_irc.c:227:59: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( !strncasecmp(ptr, "NICKSERV ", 9) || !strncasecmp(ptr, "NS ", 3) ) {
                                                          ^~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
dissectors/ec_irc.c:232:31: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!(pass = strcasestr(ptr, "identify")))
                              ^~~
/usr/include/string.h:101:30: note: passing argument to parameter here
char    *strcasestr(const char *, const char *);
                                ^
dissectors/ec_irc.c:248:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\r')) != NULL )
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_irc.c:251:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\n')) != NULL )
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_irc.c:271:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( !strncasecmp(ptr, "IDENTIFY ", 9) ) {
                     ^~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
dissectors/ec_irc.c:276:31: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!(pass = strcasestr(ptr, " ")))
                              ^~~
/usr/include/string.h:101:30: note: passing argument to parameter here
char    *strcasestr(const char *, const char *);
                                ^
dissectors/ec_irc.c:294:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\r')) != NULL )
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_irc.c:296:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\n')) != NULL )
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_irc.c:317:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if (!strncasecmp(ptr, "NICK ", 5)) {
                    ^~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
dissectors/ec_irc.c:332:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      s->data = strdup(ptr);
                       ^~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_irc.c:339:29: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ((ptr = strcasestr(ptr, "USER "))) {
                            ^~~
/usr/include/string.h:101:30: note: passing argument to parameter here
char    *strcasestr(const char *, const char *);
                                ^
dissectors/ec_irc.c:339:16: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ((ptr = strcasestr(ptr, "USER "))) {
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_irc.c:340:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         user = strdup(ptr + 5);
                       ^~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_irc.c:359:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if (!strncasecmp(ptr, "QUIT ", 5)) {
                    ^~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
38 warnings generated.
if clang -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 -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
if clang -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 -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
if clang -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 -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
dissectors/ec_msn.c:75:23: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         ptr = strstr(ptr, "MD5 I ");
                      ^~~
/usr/include/string.h:68:26: note: passing argument to parameter here
char    *strstr(const char *, const char *);
                            ^
dissectors/ec_msn.c:75:14: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         ptr = strstr(ptr, "MD5 I ");
             ^ ~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_msn.c:87:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         s->data = strdup(ptr + strlen("MD5 I "));
                          ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_msn.c:90:20: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if ( (ptr = strchr(s->data,'\r')) != NULL )
                   ^ ~~~~~~~~~~~~~~~~~~~~
dissectors/ec_msn.c:103:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            ptr = strstr(ptr, "MD5 S ");
                         ^~~
/usr/include/string.h:68:26: note: passing argument to parameter here
char    *strstr(const char *, const char *);
                            ^
dissectors/ec_msn.c:103:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            ptr = strstr(ptr, "MD5 S ");
                ^ ~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_msn.c:112:60: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            SAFE_REALLOC(s->data, strlen(s->data) + strlen(ptr) + 2);
                                                           ^~~
../include/ec.h:70:19: note: expanded from macro 'SAFE_REALLOC'
   x = realloc(x, s); \
                  ^
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
dissectors/ec_msn.c:116:23: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if ( (ptr = strchr(s->data,'\r')) != NULL )
                      ^ ~~~~~~~~~~~~~~~~~~~~
dissectors/ec_msn.c:154:23: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         ptr = strstr(ptr, "MD5 S ");
                      ^~~
/usr/include/string.h:68:26: note: passing argument to parameter here
char    *strstr(const char *, const char *);
                            ^
dissectors/ec_msn.c:154:14: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         ptr = strstr(ptr, "MD5 S ");
             ^ ~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_msn.c:163:57: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         SAFE_REALLOC(s->data, strlen(s->data) + strlen(ptr) + 2);
                                                        ^~~
../include/ec.h:70:19: note: expanded from macro 'SAFE_REALLOC'
   x = realloc(x, s); \
                  ^
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
dissectors/ec_msn.c:167:20: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if ( (ptr = strchr(s->data,'\r')) != NULL )
                   ^ ~~~~~~~~~~~~~~~~~~~~
12 warnings generated.
if clang -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 -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
dissectors/ec_mysql.c:86:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         s->data = strdup(ptr + index + 1);
                          ^~~~~~~~~~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_mysql.c:101:42: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         PACKET->DISSECTOR.user = strdup(ptr);
                                         ^~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_mysql.c:105:34: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if (ptr < end && strlen(ptr) != 0) {
                                 ^~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
dissectors/ec_mysql.c:106:74: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            SAFE_CALLOC(PACKET->DISSECTOR.pass, strlen(s->data) + strlen(ptr) + 128, sizeof(char));
                                                                         ^~~
../include/ec.h:65:15: note: expanded from macro 'SAFE_CALLOC'
   x = calloc(n, s); \
              ^
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
4 warnings generated.
if clang -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 -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:92:8: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   ptr = (char *)(nap + 1);
       ^ ~~~~~~~~~~~~~~~~~
dissectors/ec_napster.c:99:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   strlcpy(tbuf, ptr, tlen + 1);   
           ^~~~
/usr/include/string.h:104:23: note: passing argument to parameter here
size_t   strlcpy(char *, const char *, size_t);
                       ^
dissectors/ec_napster.c:99:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   strlcpy(tbuf, ptr, tlen + 1);   
                 ^~~
/usr/include/string.h:104:37: note: passing argument to parameter here
size_t   strlcpy(char *, const char *, size_t);
                                     ^
dissectors/ec_napster.c:102:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ((user = ec_strtok(tbuf, " ", &tok)) == NULL)
                         ^~~~
../include/ec_strings.h:37:38: note: passing argument to parameter 's' here
EC_API_EXTERN char * ec_strtok(char *s, const char *delim, char **ptrptr);
                                     ^
dissectors/ec_napster.c:102:14: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ((user = ec_strtok(tbuf, " ", &tok)) == NULL)
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_napster.c:106:14: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ((pass = ec_strtok(NULL, " ", &tok)) == NULL)
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_napster.c:110:16: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ((client = ec_strtok(NULL, " ", &tok)) == NULL)
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_napster.c:114:16: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ((client = ec_strtok(NULL, "\"", &tok)) == NULL)
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_napster.c:117:36: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   PACKET->DISSECTOR.user = strdup(user);
                                   ^~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_napster.c:118:36: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   PACKET->DISSECTOR.pass = strdup(pass);
                                   ^~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_napster.c:119:36: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   PACKET->DISSECTOR.info = strdup(client);
                                   ^~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
11 warnings generated.
if clang -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 -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
dissectors/ec_nntp.c:73:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!strncmp(ptr, "200", 3)) {
                   ^~~
/usr/include/string.h:63:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                             ^
dissectors/ec_nntp.c:74:44: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         PACKET->DISSECTOR.banner = strdup(ptr + 4);
                                           ^~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_nntp.c:77:20: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if ( (ptr = strchr(PACKET->DISSECTOR.banner, '\r')) != NULL )
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_nntp.c:100:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( !strncasecmp(ptr, "AUTHINFO USER ", 14) ) {
                     ^~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
dissectors/ec_nntp.c:113:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      s->data = strdup(ptr);
                       ^~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_nntp.c:114:28: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      s->data_len = strlen(ptr);
                           ^~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
dissectors/ec_nntp.c:117:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( (ptr = strchr(s->data,'\r')) != NULL )
                ^ ~~~~~~~~~~~~~~~~~~~~
dissectors/ec_nntp.c:127:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( !strncasecmp(ptr, "AUTHINFO PASS ", 14) ) {
                     ^~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
dissectors/ec_nntp.c:151:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      PACKET->DISSECTOR.pass = strdup(ptr);
                                      ^~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_nntp.c:152:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\r')) != NULL )
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10 warnings generated.
if clang -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 -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
dissectors/ec_ospf.c:114:21: warning: cast to 'char *' from smaller integer type 'u_int32' (aka 'unsigned int') [-Wint-to-pointer-cast]
      strncpy(pass, (char *)ohdr->auth1, OSPF_AUTH_LEN);
                    ^
1 warning generated.
if clang -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 -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
dissectors/ec_pop.c:79:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!strncmp(ptr, "+OK", 3))
                         ^~~
/usr/include/string.h:63:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                             ^
dissectors/ec_pop.c:80:50: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               PACKET->DISSECTOR.banner = strdup(ptr + 4);
                                                 ^~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_pop.c:89:23: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if ( (ptr = strchr(PACKET->DISSECTOR.banner, '\r')) != NULL )
                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_pop.c:93:23: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if ( (ptr = strchr(PACKET->DISSECTOR.banner, '<')) != NULL ) {
                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_pop.c:95:33: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               s->data = strdup(ptr);
                                ^~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_pop.c:108:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (strstr(ptr, "-ERR"))
                       ^~~
/usr/include/string.h:68:26: note: passing argument to parameter here
char    *strstr(const char *, const char *);
                            ^
dissectors/ec_pop.c:134:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( !strncasecmp(ptr, "USER ", 5) ) {
                     ^~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
dissectors/ec_pop.c:150:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      s->data = strdup(ptr);
                       ^~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_pop.c:151:28: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      s->data_len = strlen(ptr);
                           ^~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
dissectors/ec_pop.c:153:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( (ptr = strchr(s->data,'\r')) != NULL )
                ^ ~~~~~~~~~~~~~~~~~~~~
dissectors/ec_pop.c:163:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( !strncasecmp(ptr, "PASS ", 5) ) {
                     ^~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
dissectors/ec_pop.c:197:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      PACKET->DISSECTOR.pass = strdup(ptr);
                                      ^~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_pop.c:198:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\r')) != NULL )
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_pop.c:220:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( !strncasecmp(ptr, "APOP ", 5) ) {
                     ^~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
dissectors/ec_pop.c:241:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      PACKET->DISSECTOR.user = strdup(ptr);
                                      ^~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_pop.c:244:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( (ptr = strchr(PACKET->DISSECTOR.user, ' ')) != NULL )
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_pop.c:259:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      PACKET->DISSECTOR.pass = strdup(ptr);
                                      ^~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_pop.c:260:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\r')) != NULL )
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_pop.c:287:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( !strncasecmp(ptr, "AUTH LOGIN", 10) ) {
                     ^~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
dissectors/ec_pop.c:329:32: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      SAFE_CALLOC(user, strlen(ptr), sizeof(char));
                               ^~~
../include/ec.h:65:15: note: expanded from macro 'SAFE_CALLOC'
   x = calloc(n, s); \
              ^
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
dissectors/ec_pop.c:332:31: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      i = base64_decode(user, ptr);
                              ^~~
../include/ec_strings.h:33:61: note: passing argument to parameter 'bufcoded' here
EC_API_EXTERN int base64_decode(char *bufplain, const char *bufcoded);
                                                            ^
dissectors/ec_pop.c:354:32: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      SAFE_CALLOC(pass, strlen(ptr), sizeof(char));
                               ^~~
../include/ec.h:65:15: note: expanded from macro 'SAFE_CALLOC'
   x = calloc(n, s); \
              ^
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
dissectors/ec_pop.c:357:31: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      i = base64_decode(pass, ptr);
                              ^~~
../include/ec_strings.h:33:61: note: passing argument to parameter 'bufcoded' here
EC_API_EXTERN int base64_decode(char *bufplain, const char *bufcoded);
                                                            ^
dissectors/ec_pop.c:382:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( !strncasecmp(ptr, "AUTH PLAIN", 10) ) {
                     ^~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
dissectors/ec_pop.c:409:34: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      SAFE_CALLOC(decode, strlen(ptr) + 1, sizeof(char));
                                 ^~~
../include/ec.h:65:15: note: expanded from macro 'SAFE_CALLOC'
   x = calloc(n, s); \
              ^
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
dissectors/ec_pop.c:412:33: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      i = base64_decode(decode, ptr);
                                ^~~
../include/ec_strings.h:33:61: note: passing argument to parameter 'bufcoded' here
EC_API_EXTERN int base64_decode(char *bufplain, const char *bufcoded);
                                                            ^
26 warnings generated.
if clang -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 -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
dissectors/ec_portmap.c:156:42: warning: passing 'u_char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               if (dissect_on_port_level(Available_RPC_Dissectors[i].name, port, APP_LAYER_TCP) == ESUCCESS)
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/ec_dissect.h:39:47: note: passing argument to parameter 'name' here
EC_API_EXTERN int dissect_on_port_level(char *name, u_int16 port, u_int8 level);
                                              ^
dissectors/ec_portmap.c:158:28: warning: passing 'u_char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               dissect_add(Available_RPC_Dissectors[i].name, APP_LAYER_TCP, port, Available_RPC_Dissectors[i].dissector);
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/ec_dissect.h:28:38: note: passing argument to parameter 'name' here
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: passing 'u_char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               if (dissect_on_port_level(Available_RPC_Dissectors[i].name, port, APP_LAYER_UDP) == ESUCCESS)
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/ec_dissect.h:39:47: note: passing argument to parameter 'name' here
EC_API_EXTERN int dissect_on_port_level(char *name, u_int16 port, u_int8 level);
                                              ^
dissectors/ec_portmap.c:165:28: warning: passing 'u_char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               dissect_add(Available_RPC_Dissectors[i].name, APP_LAYER_UDP, port, Available_RPC_Dissectors[i].dissector);
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/ec_dissect.h:28:38: note: passing argument to parameter 'name' here
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: passing 'u_char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  if (dissect_on_port_level(Available_RPC_Dissectors[i].name, port, APP_LAYER_TCP) == ESUCCESS)
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/ec_dissect.h:39:47: note: passing argument to parameter 'name' here
EC_API_EXTERN int dissect_on_port_level(char *name, u_int16 port, u_int8 level);
                                              ^
dissectors/ec_portmap.c:194:31: warning: passing 'u_char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  dissect_add(Available_RPC_Dissectors[i].name, APP_LAYER_TCP, port, Available_RPC_Dissectors[i].dissector);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/ec_dissect.h:28:38: note: passing argument to parameter 'name' here
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: passing 'u_char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  if (dissect_on_port_level(Available_RPC_Dissectors[i].name, port, APP_LAYER_UDP) == ESUCCESS)
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/ec_dissect.h:39:47: note: passing argument to parameter 'name' here
EC_API_EXTERN int dissect_on_port_level(char *name, u_int16 port, u_int8 level);
                                              ^
dissectors/ec_portmap.c:203:31: warning: passing 'u_char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  dissect_add(Available_RPC_Dissectors[i].name, APP_LAYER_UDP, port, Available_RPC_Dissectors[i].dissector);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/ec_dissect.h:28:38: note: passing argument to parameter 'name' here
EC_API_EXTERN void dissect_add(char *name, u_int8 level, u_int32 port, FUNC_DECODER_PTR(decoder));
                                     ^
8 warnings generated.
if clang -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 -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:72:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( !strncasecmp(ptr, "rcon", 4)  ) {
                     ^~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
dissectors/ec_rcon.c:97:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      strlcpy(PACKET->DISSECTOR.pass, ptr, q - ptr + 1);
                                      ^~~
/usr/include/string.h:104:37: note: passing argument to parameter here
size_t   strlcpy(char *, const char *, size_t);
                                     ^
dissectors/ec_rcon.c:99:50: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      SAFE_CALLOC(PACKET->DISSECTOR.info, strlen(q) + 1, sizeof(char));
                                                 ^
../include/ec.h:65:15: note: expanded from macro 'SAFE_CALLOC'
   x = calloc(n, s); \
              ^
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
3 warnings generated.
if clang -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 -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
if clang -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 -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
dissectors/ec_rlogin.c:98:33: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if (localuser + strlen(localuser) + 2 < end)
                                ^~~~~~~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
dissectors/ec_rlogin.c:99:45: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            remoteuser = localuser + strlen(localuser) + 1;
                                            ^~~~~~~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
dissectors/ec_rlogin.c:110:38: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         SAFE_CALLOC(s->data, strlen(localuser) + strlen(remoteuser) + 5, sizeof(char));
                                     ^~~~~~~~~
../include/ec.h:65:15: note: expanded from macro 'SAFE_CALLOC'
   x = calloc(n, s); \
              ^
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
dissectors/ec_rlogin.c:110:58: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         SAFE_CALLOC(s->data, strlen(localuser) + strlen(remoteuser) + 5, sizeof(char));
                                                         ^~~~~~~~~~
../include/ec.h:65:15: note: expanded from macro 'SAFE_CALLOC'
   x = calloc(n, s); \
              ^
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
dissectors/ec_rlogin.c:128:16: warning: passing 'u_char [strlen(s->data) + po->DATA.disp_len + 2]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      snprintf(str, strlen(s->data) + PACKET->DATA.disp_len + 2, "%s%s", (char *)s->data, ptr);
               ^~~
/usr/include/stdio.h:348:32: note: passing argument to parameter here
int      snprintf(char * __restrict, size_t, const char * __restrict, ...)
                                   ^
dissectors/ec_rlogin.c:131:39: warning: passing 'u_char [strlen(s->data) + po->DATA.disp_len + 2]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      for (p = str, i = 0; i < strlen(str); i++) {
                                      ^~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
dissectors/ec_rlogin.c:143:24: warning: passing 'u_char [strlen(s->data) + po->DATA.disp_len + 2]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      s->data = strdup(str);
                       ^~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_rlogin.c:151:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (strchr(ptr, '\r') || strchr(ptr, '\n')) {
                 ^~~
/usr/include/string.h:55:26: note: passing argument to parameter here
char    *strchr(const char *, int);
                            ^
dissectors/ec_rlogin.c:151:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (strchr(ptr, '\r') || strchr(ptr, '\n')) {
                                      ^~~
/usr/include/string.h:55:26: note: passing argument to parameter here
char    *strchr(const char *, int);
                            ^
dissectors/ec_rlogin.c:153:21: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if ( ((ptr = strchr(s->data, '\r')) || (ptr = strchr(s->data, '\n')))
                    ^ ~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_rlogin.c:153:54: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if ( ((ptr = strchr(s->data, '\r')) || (ptr = strchr(s->data, '\n')))
                                                     ^ ~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_rlogin.c:158:23: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if ( (ptr = strchr(PACKET->DISSECTOR.user, '\r')) != NULL )
                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_rlogin.c:161:45: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            PACKET->DISSECTOR.pass = strdup(ptr + 1);
                                            ^~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_rlogin.c:162:23: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if ( (ptr = strchr(PACKET->DISSECTOR.pass, '\r')) != NULL )
                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14 warnings generated.
if clang -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 -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
dissectors/ec_smb.c:156:20: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if ( (ptr = (char *)memmem(ptr, 128, "NTLMSSP", 8)) == NULL) 
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_smb.c:178:45: warning: passing 'u_char [28]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            PACKET->DISSECTOR.user = strdup(session_data->user);
                                            ^~~~~~~~~~~~~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_smb.c:187:48: warning: passing 'u_char [24]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               PACKET->DISSECTOR.pass = strdup(session_data->response1);
                                               ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_smb.c:196:52: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               GetBinaryE(session_data->response1, ascii_hash, 24);
                                                   ^~~~~~~~~~
dissectors/ec_smb.c:73:55: note: passing argument to parameter 'dest' here
void GetBinaryE(unsigned char *binary, unsigned char *dest, int len);
                                                      ^
dissectors/ec_smb.c:198:52: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               GetBinaryE(session_data->response2, ascii_hash, 24);
                                                   ^~~~~~~~~~
dissectors/ec_smb.c:73:55: note: passing argument to parameter 'dest' here
void GetBinaryE(unsigned char *binary, unsigned char *dest, int len);
                                                      ^
dissectors/ec_smb.c:200:52: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               GetBinaryE(session_data->challenge, ascii_hash, 8);
                                                   ^~~~~~~~~~
dissectors/ec_smb.c:73:55: note: passing argument to parameter 'dest' here
void GetBinaryE(unsigned char *binary, unsigned char *dest, int len);
                                                      ^
dissectors/ec_smb.c:236:21: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
               Blob = ptr;
                    ^ ~~~
dissectors/ec_smb.c:247:27: warning: passing 'u_char [24]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  sprintf(session_data->response1, "(empty)");
                          ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/stdio.h:268:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...)
                                  ^
dissectors/ec_smb.c:249:50: warning: passing 'u_char [28]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               Blob = GetUser(Blob+pwlen+unilen, session_data->user, 200);
                                                 ^~~~~~~~~~~~~~~~~~
dissectors/ec_smb.c:72:33: note: passing argument to parameter 'dest' here
char *GetUser(char *user, char *dest, int len);
                                ^
dissectors/ec_smb.c:250:30: warning: passing 'u_char [28]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               GetUser(Blob, session_data->domain, 200);
                             ^~~~~~~~~~~~~~~~~~~~
dissectors/ec_smb.c:72:33: note: passing argument to parameter 'dest' here
char *GetUser(char *user, char *dest, int len);
                                ^
dissectors/ec_smb.c:263:26: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               if ( (ptr = (char *)memmem(ptr, 128, "NTLMSSP", 8)) == NULL)  
                         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_smb.c:266:21: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
               Blob = ptr;
                    ^ ~~~
dissectors/ec_smb.c:267:29: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               ptr = strchr(ptr, 0);
                            ^~~
/usr/include/string.h:55:26: note: passing argument to parameter here
char    *strchr(const char *, int);
                            ^
dissectors/ec_smb.c:267:20: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               ptr = strchr(ptr, 0);
                   ^ ~~~~~~~~~~~~~~
dissectors/ec_smb.c:294:45: warning: passing 'u_char [28]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  GetUser(Blob+User_Offset, session_data->user, User_Len);
                                            ^~~~~~~~~~~~~~~~~~
dissectors/ec_smb.c:72:33: note: passing argument to parameter 'dest' here
char *GetUser(char *user, char *dest, int len);
                                ^
dissectors/ec_smb.c:295:47: warning: passing 'u_char [28]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  GetUser(Blob+Domain_Offset, session_data->domain, Domain_Len);
                                              ^~~~~~~~~~~~~~~~~~~~
dissectors/ec_smb.c:72:33: note: passing argument to parameter 'dest' here
char *GetUser(char *user, char *dest, int len);
                                ^
dissectors/ec_smb.c:306:21: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
               Blob = ptr;
                    ^ ~~~
dissectors/ec_smb.c:311:42: warning: passing 'u_char [28]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               Blob = GetUser(Blob + 48, session_data->user, 200);
                                         ^~~~~~~~~~~~~~~~~~
dissectors/ec_smb.c:72:33: note: passing argument to parameter 'dest' here
char *GetUser(char *user, char *dest, int len);
                                ^
dissectors/ec_smb.c:313:30: warning: passing 'u_char [28]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               GetUser(Blob, session_data->domain, 200);
                             ^~~~~~~~~~~~~~~~~~~~
dissectors/ec_smb.c:72:33: note: passing argument to parameter 'dest' here
char *GetUser(char *user, char *dest, int len);
                                ^
dissectors/ec_smb.c:320:28: warning: passing 'u_char [28]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                    strcpy(session_data->user, "(empty)");
                           ^~~~~~~~~~~~~~~~~~
/usr/include/string.h:58:31: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                 ^
dissectors/ec_smb.c:331:26: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               if ( (ptr = (char *)memmem(ptr, 128, "NTLMSSP", 8)) == NULL) 
                         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_smb.c:333:29: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               ptr = strchr(ptr, 0);
                            ^~~
/usr/include/string.h:55:26: note: passing argument to parameter here
char    *strchr(const char *, int);
                            ^
dissectors/ec_smb.c:333:20: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               ptr = strchr(ptr, 0);
                   ^ ~~~~~~~~~~~~~~
dissectors/ec_smb.c:394:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
       strcat(dest, dummy);
              ^~~~
/usr/include/string.h:54:31: note: passing argument to parameter here
char    *strcat(char * __restrict, const char * __restrict);
                                 ^
24 warnings generated.
if clang -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 -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
dissectors/ec_smtp.c:67:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!strncmp(ptr, "220", 3)) {
                   ^~~
/usr/include/string.h:63:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t);
                             ^
dissectors/ec_smtp.c:68:44: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         PACKET->DISSECTOR.banner = strdup(ptr + 4);
                                           ^~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_smtp.c:71:20: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if ( (ptr = strchr(PACKET->DISSECTOR.banner, '\r')) != NULL )
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_smtp.c:103:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
   if ( !strncasecmp(ptr, "AUTH LOGIN", 10) ) {
                     ^~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t);
                                 ^
dissectors/ec_smtp.c:144:32: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      SAFE_CALLOC(user, strlen(ptr), sizeof(char));
                               ^~~
../include/ec.h:65:15: note: expanded from macro 'SAFE_CALLOC'
   x = calloc(n, s); \
              ^
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
dissectors/ec_smtp.c:147:31: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      i = base64_decode(user, ptr);
                              ^~~
../include/ec_strings.h:33:61: note: passing argument to parameter 'bufcoded' here
EC_API_EXTERN int base64_decode(char *bufplain, const char *bufcoded);
                                                            ^
dissectors/ec_smtp.c:167:32: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      SAFE_CALLOC(pass, strlen(ptr), sizeof(char));
                               ^~~
../include/ec.h:65:15: note: expanded from macro 'SAFE_CALLOC'
   x = calloc(n, s); \
              ^
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
dissectors/ec_smtp.c:170:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      base64_decode(pass, ptr);
                          ^~~
../include/ec_strings.h:33:61: note: passing argument to parameter 'bufcoded' here
EC_API_EXTERN int base64_decode(char *bufplain, const char *bufcoded);
                                                            ^
8 warnings generated.
if clang -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 -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
if clang -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 -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'; did you mean 'DES_key_schedule'?
   des_key_schedule k1, k2, k3;
   ^~~~~~~~~~~~~~~~
   DES_key_schedule
/usr/include/openssl/des.h:43:3: note: 'DES_key_schedule' declared here
} DES_key_schedule;
  ^
dissectors/ec_ssh.c:91:4: error: unknown type name 'des_cblock'; did you mean 'DES_cblock'?
   des_cblock iv1, iv2, iv3;
   ^~~~~~~~~~
   DES_cblock
/usr/include/openssl/des.h:28:23: note: 'DES_cblock' declared here
typedef unsigned char DES_cblock[8];
                      ^
dissectors/ec_ssh.c:169:44: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         PACKET->DISSECTOR.banner = strdup(PACKET->DATA.data);
                                           ^~~~~~~~~~~~~~~~~
../include/ec_decode.h:30:26: note: expanded from macro 'PACKET'
#define PACKET           po
                         ^
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_ssh.c:172:20: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         if ( (ptr = strchr(PACKET->DISSECTOR.banner, '\n')) != NULL )
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dissectors/ec_ssh.c:249:48: warning: passing 'u_char [65]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               PACKET->DISSECTOR.user = strdup(session_data->user); /* Surely NULL terminated */
                                               ^~~~~~~~~~~~~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_ssh.c:257:48: warning: passing 'u_char [65]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               PACKET->DISSECTOR.user = strdup(session_data->user);
                                               ^~~~~~~~~~~~~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_ssh.c:266:48: warning: passing 'u_char [65]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               PACKET->DISSECTOR.user = strdup(session_data->user);
                                               ^~~~~~~~~~~~~~~~~~
/usr/include/string.h:80:26: note: passing argument to parameter here
char    *strdup(const char *);
                            ^
dissectors/ec_ssh.c:381:39: error: incomplete definition of type 'struct rsa_st'
               session_data->serverkey->n = BN_new();
               ~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
typedef struct rsa_st RSA;
               ^
dissectors/ec_ssh.c:382:39: error: incomplete definition of type 'struct rsa_st'
               session_data->serverkey->e = BN_new();
               ~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
typedef struct rsa_st RSA;
               ^
dissectors/ec_ssh.c:385:37: error: incomplete definition of type 'struct rsa_st'
               session_data->hostkey->n = BN_new();
               ~~~~~~~~~~~~~~~~~~~~~^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
typedef struct rsa_st RSA;
               ^
dissectors/ec_ssh.c:386:37: error: incomplete definition of type 'struct rsa_st'
               session_data->hostkey->e = BN_new();
               ~~~~~~~~~~~~~~~~~~~~~^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
typedef struct rsa_st RSA;
               ^
dissectors/ec_ssh.c:394:46: error: incomplete definition of type 'struct rsa_st'
               get_bn(session_data->serverkey->e, &ptr);
                      ~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
typedef struct rsa_st RSA;
               ^
dissectors/ec_ssh.c:395:46: error: incomplete definition of type 'struct rsa_st'
               get_bn(session_data->serverkey->n, &ptr);
                      ~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
typedef struct rsa_st RSA;
               ^
dissectors/ec_ssh.c:402:44: error: incomplete definition of type 'struct rsa_st'
               get_bn(session_data->hostkey->e, &ptr);
                      ~~~~~~~~~~~~~~~~~~~~~^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
typedef struct rsa_st RSA;
               ^
dissectors/ec_ssh.c:403:44: error: incomplete definition of type 'struct rsa_st'
               get_bn(session_data->hostkey->n, &ptr);
                      ~~~~~~~~~~~~~~~~~~~~~^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
typedef struct rsa_st RSA;
               ^
dissectors/ec_ssh.c:405:54: error: incomplete definition of type 'struct rsa_st'
               server_exp = *(session_data->serverkey->e->d);
                              ~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
typedef struct rsa_st RSA;
               ^
dissectors/ec_ssh.c:406:52: error: incomplete definition of type 'struct rsa_st'
               host_exp   = *(session_data->hostkey->e->d);
                              ~~~~~~~~~~~~~~~~~~~~~^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
typedef struct rsa_st RSA;
               ^
dissectors/ec_ssh.c:422:54: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations]
                  (*index_ssl)->myserverkey = (RSA *)RSA_generate_key(server_mod, server_exp, NULL, NULL);
                                                     ^
/usr/include/openssl/rsa.h:193:1: note: 'RSA_generate_key' has been explicitly marked deprecated here
DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
^
/usr/include/openssl/opensslconf.h:139:34: note: expanded from macro 'DEPRECATEDIN_0_9_8'
# define DEPRECATEDIN_0_9_8(f)   DECLARE_DEPRECATED(f)
                                 ^
/usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED'
# define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
                                                    ^
dissectors/ec_ssh.c:423:52: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations]
                  (*index_ssl)->myhostkey = (RSA *)RSA_generate_key(host_mod, host_exp, NULL, NULL);
                                                   ^
/usr/include/openssl/rsa.h:193:1: note: 'RSA_generate_key' has been explicitly marked deprecated here
DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
^
/usr/include/openssl/opensslconf.h:139:34: note: expanded from macro 'DEPRECATEDIN_0_9_8'
# define DEPRECATEDIN_0_9_8(f)   DECLARE_DEPRECATED(f)
                                 ^
/usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED'
# define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
                                                    ^
dissectors/ec_ssh.c:441:53: error: incomplete definition of type 'struct rsa_st'
            put_bn(session_data->ptrkey->myserverkey->e, &key_to_put);
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
typedef struct rsa_st RSA;
               ^
dissectors/ec_ssh.c:442:53: error: incomplete definition of type 'struct rsa_st'
            put_bn(session_data->ptrkey->myserverkey->n, &key_to_put);
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
typedef struct rsa_st RSA;
               ^
dissectors/ec_ssh.c:444:51: error: incomplete definition of type 'struct rsa_st'
            put_bn(session_data->ptrkey->myhostkey->e, &key_to_put);
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
typedef struct rsa_st RSA;
               ^
dissectors/ec_ssh.c:445:51: error: incomplete definition of type 'struct rsa_st'
            put_bn(session_data->ptrkey->myhostkey->n, &key_to_put);
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
typedef struct rsa_st RSA;
               ^
dissectors/ec_ssh.c:480:75: error: incomplete definition of type 'struct rsa_st'
            temp_session_id = ssh_session_id(cookie, session_data->hostkey->n, session_data->serverkey->n);
                                                     ~~~~~~~~~~~~~~~~~~~~~^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
typedef struct rsa_st RSA;
               ^
dissectors/ec_ssh.c:480:103: error: incomplete definition of type 'struct rsa_st'
            temp_session_id = ssh_session_id(cookie, session_data->hostkey->n, session_data->serverkey->n);
                                                                               ~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
typedef struct rsa_st RSA;
               ^
dissectors/ec_ssh.c:483:83: error: incomplete definition of type 'struct rsa_st'
            temp_session_id=ssh_session_id(cookie, session_data->ptrkey->myhostkey->n, session_data->ptrkey->myserverkey->n);
                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st'
typedef struct rsa_st RSA;
               ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
7 warnings and 20 errors generated.
*** Error code 1

Stop.
make[2]: stopped in /data/scratch/net/ettercap-NG/work/ettercap-NG-0.7.3/src
*** Error code 1

Stop.
make[1]: stopped in /data/scratch/net/ettercap-NG/work/ettercap-NG-0.7.3/src
*** Error code 1

Stop.
make: stopped in /data/scratch/net/ettercap-NG/work/ettercap-NG-0.7.3
*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/net/ettercap-NG
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/net/ettercap-NG