------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/gettext-runtime-0.20.2.txz Installing /packages/All/gmake-4.3.txz Installing /packages/All/libnet-1.1.6_5,1.txz SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- ===> NOTICE: The nast port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> nast-0.2.0_5 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> NOTICE: The nast port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> nast-0.2.0_5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by nast-0.2.0_5 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> NOTICE: The nast port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> nast-0.2.0_5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by nast-0.2.0_5 for building => SHA256 Checksum OK for nast-0.2.0.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> NOTICE: The nast port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> nast-0.2.0_5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by nast-0.2.0_5 for building ===> Extracting for nast-0.2.0_5 => SHA256 Checksum OK for nast-0.2.0.tar.gz. Extracted Memory Use: 0.68M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for nast-0.2.0_5 ===> Applying ports patches for nast-0.2.0_5 ===> Cleanly applied ports patch(es) patch-configure SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> nast-0.2.0_5 depends on package: gmake>=4.3 - found SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> nast-0.2.0_5 depends on shared library: libnet.so - found (/usr/local/lib/libnet.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> nast-0.2.0_5 depends on package: gmake>=4.3 - found ===> nast-0.2.0_5 depends on shared library: libnet.so - found (/usr/local/lib/libnet.so) ===> Configuring for nast-0.2.0_5 configure: loading site script /xports/Templates/config.site Please wait, I'm going to configure Nast 0.2.0 checking build system type... x86_64-portbld-dragonfly5.9 checking host system type... x86_64-portbld-dragonfly5.9 checking target system type... x86_64-portbld-dragonfly5.9 configure: WARNING: Your OS seems to be officially unsupported yet, please send an email authors checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for /usr/lib/libnet.a... no checking for /usr/local/lib/libnet.a... yes checking for libnet_name2addr4 in -lnet... yes checking for /usr/lib/libpcap.a... yes checking for pcap_dispatch in -lpcap... yes checking for /usr/lib/libncurses.a... no checking for /usr/local/lib/libncurses.a... no configure: WARNING: Libncurses archive file (libncurses.a) not found in /usr or /usr/local! Ncurses library (*) not found in your system. You can download it from official web site: http://www.gnu.org/software/ncurses/ncurses.html (*): CRT screen handling and optimization package Building without ncurses menu support (-G flag will doesn't work) checking for initscr in -lncurses... no Ncurses library (*) not found in your system. You can download it from official web site: http://www.gnu.org/software/ncurses/ncurses.html (*): CRT screen handling and optimization package Building without ncurses menu support (-G flag will doesn't work) checking for /usr/lib/libmenu.a... no checking for /usr/local/lib/libmenu.a... no configure: WARNING: Menu archive file (libncurses.a) not found in /usr or /usr/local! Menu library (*) not found in your system. You can download it from official web site: http://www.gnu.org/software/ncurses/ncurses.html (*): CRT screen handling and optimization package Building without ncurses menu support (-G flag will doesn't work) checking for menu_opts_off in -lmenu... no Menu library (*) not found in your system. You can download it from official web site: http://www.gnu.org/software/ncurses/ncurses.html (*): CRT screen handling and optimization package Building without ncurses menu support (-G flag will doesn't work) checking how to run the C preprocessor... cpp checking for egrep... grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for errno.h... (cached) yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking for getopt_long... yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking return type of signal handlers... void checking for vprintf... (cached) yes checking for _doprnt... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h Ok. I have done with all. Results are: PLATFORM ...... : x86_64 x86_64 O.S. .......... : DragonFly 5.9 (sting.dragonflybsd.org) COMPILER ...... : cc CFLAGS ........ : -pipe -O2 -fno-strict-aliasing -Wall -lpthread CPPFLAGS ...... : -I/usr/local/include LDFLAGS ....... : LIBS .......... : -lpcap -lnet -L/usr/local/lib PREFIX ........ : /usr/local NCURSES SUPPORT : no Type 'make' to compile or 'make help' to show accepted options. SUCCEEDED 00:00:03 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for nast-0.2.0_5 gmake[1]: Entering directory '/construction/net/nast/nast-0.2.0' cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c main.c -o main.o cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c dev.c -o dev.o cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c tcp.c -o tcp.o cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c icmp.c -o icmp.o cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c arp.c -o arp.o cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c udp.c -o udp.o cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c prom.c -o prom.o cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c eth.c -o eth.o cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c map.c -o map.o cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c sniff.c -o sniff.o tcp.c: In function 'handle_TCP': tcp.c:101:6: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] buf = (char *) (packet + offset + size_ip + size_tcp); ^ tcp.c:106:20: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] data_sniffo (buf, size_buf, output); ^~~ In file included from tcp.c:20: include/nast.h:59:6: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} void data_sniffo (char *data, u_int l, FILE *log); ^~~~~~~~~~~ tcp.c:112:24: warning: pointer targets in passing argument 1 of 'print_ascii_hex' differ in signedness [-Wpointer-sign] print_ascii_hex (buf, size_buf, output); ^~~ In file included from tcp.c:20: include/nast.h:60:6: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} void print_ascii_hex (char *data_info, u_int len, FILE *log); ^~~~~~~~~~~~~~~ tcp.c:124:20: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] data_sniffo (buf, size_buf, ldd); ^~~ In file included from tcp.c:20: include/nast.h:59:6: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} void data_sniffo (char *data, u_int l, FILE *log); ^~~~~~~~~~~ map.c: In function 'map_lan': map.c:117:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (*net != '.') return NULL; ++net; ^~ map.c:117:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (*net != '.') return NULL; ++net; ^~ map.c:119:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (*net != '.') return NULL; ++net; ^~ map.c:119:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (*net != '.') return NULL; ++net; ^~ map.c:121:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (*net != '.') return NULL; ++net; ^~ map.c:121:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (*net != '.') return NULL; ++net; ^~ map.c:134:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (*mask != '.') return NULL; ++mask; ^~ map.c:134:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (*mask != '.') return NULL; ++mask; ^~ map.c:136:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (*mask != '.') return NULL; ++mask; ^~ map.c:136:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (*mask != '.') return NULL; ++mask; ^~ map.c:138:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (*mask != '.') return NULL; ++mask; ^~ prom.c: In function 'psearch': map.c:138:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (*mask != '.') return NULL; ++mask; ^~ prom.c:171:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (ip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]); ^~ udp.c: In function 'handle_UDP': udp.c:59:6: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *map.c:199:20: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; ^~~ '} differ in signedness [-Wpointer-sign] buf = (char *) (packet + size_ip + size_udp + offset); ^ map.c:39:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); ^~~~~~~~ udp.c:64:20: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] data_sniffo (buf, size_buf, output); ^~~ In file included from udp.c:22: include/nast.h:59:6: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} void data_sniffo (char *data, u_int l, FILE *log); ^~~~~~~~~~~ udp.c:70:24: warning: pointer targets in passing argument 1 of 'print_ascii_hex' differ in signedness [-Wpointer-sign] print_ascii_hex (buf, size_buf, output); ^~~ In file included from udp.c:22: include/nast.h:60:6: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} void print_ascii_hex (char *data_info, u_int len, FILE *log); ^~~~~~~~~~~~~~~ map.c:209:25: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; ^~~ map.c:39:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); ^~~~~~~~ udp.c:81:20: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] data_sniffo (buf, size_buf, ldd); ^~~ In file included from udp.c:22: include/nast.h:59:6: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} void data_sniffo (char *data, u_int l, FILE *log); ^~~~~~~~~~~ map.c:225:26: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; ^~~ map.c:39:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); ^~~~~~~~ map.c:247:24: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; ^~~ map.c:39:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); ^~~~~~~~ main.c: In function 'main': main.c:309:36: warning: pointer targets in passing argument 1 of 'mport' differ in signedness [-Wpointer-sign] if (flags.banner) return mport (dev, ports, flags.l); ^~~ In file included from main.c:20: include/nast.h:69:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' int mport (u_char *dev, u_short ports[], int lg); ^~~~~ main.c:316:30: warning: pointer targets in passing argument 1 of 'fgw' differ in signedness [-Wpointer-sign] if (flags.gw) return fgw (dev); ^~~ In file included from main.c:20: include/nast.h:65:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' int fgw (u_char *dev); ^~~ main.c:317:32: warning: pointer targets in passing argument 1 of 'flink' differ in signedness [-Wpointer-sign] if (flags.lk) return flink (dev); ^~~ map.c: In function 'arpreply': In file included from main.c:20: include/nast.h:67:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' int flink (u_char *dev); ^~~~~ map.c:346:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (ip, "%d.%d.%d.%d", arp->__ar_sip[0],arp->__ar_sip[1],arp->__ar_sip[2],arp->__ar_sip[3]); ^~ cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c data.c -o data.o In file included from /usr/local/include/libnet.h:62, from include/nast.h:23, from map.c:36: /usr/include/stdio.h:236:6: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} int sprintf(char * __restrict, const char * __restrict, ...) ^~~~~~~ map.c:355:121: warning: pointer targets in passing argument 1 of '__inet_addr' differ in signedness [-Wpointer-sign] n_print("princ",line,1,lg,"%s \t%s (%s)\n", nast_hex_ntoa (eptr->ether_shost), ip, libnet_addr2name4(inet_addr(ip), LIBNET_RESOLVE)); ^~ In file included from /usr/local/include/libnet.h:105, from include/nast.h:23, from map.c:36: /usr/include/arpa/inet.h:126:12: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} in_addr_t inet_addr(const char *); ^~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c rst.c -o rst.o cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c fgw.c -o fgw.o icmp.c: In function 'handle_ICMP': icmp.c:206:6: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] buf = (char *) (packet + size_ip + size_icmp + offset); ^ icmp.c:211:20: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] data_sniffo (buf, size_buf, output); ^~~ In file included from icmp.c:20: include/nast.h:59:6: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} void data_sniffo (char *data, u_int l, FILE *log); ^~~~~~~~~~~ icmp.c:218:24: warning: pointer targets in passing argument 1 of 'print_ascii_hex' differ in signedness [-Wpointer-sign] print_ascii_hex (buf, size_buf, output); ^~~ In file included from icmp.c:20: include/nast.h:60:6: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} void print_ascii_hex (char *data_info, u_int len, FILE *log); ^~~~~~~~~~~~~~~ icmp.c:226:20: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] data_sniffo (buf, size_buf, ldd); ^~~ In file included from icmp.c:20: include/nast.h:59:6: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} void data_sniffo (char *data, u_int l, FILE *log); ^~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c flink.c -o flink.o cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c port.c -o port.o fgw.c: In function 'fgw': fgw.c:39:2: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] "66.102.11.99" ^~~~~~~~~~~~~~ fgw.c:39:2: note: (near initialization for 'extip') fgw.c:86:34: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign] l = libnet_init (LIBNET_LINK, dev, ebuf); ^~~ In file included from /usr/local/include/libnet.h:122, from include/nast.h:23, from fgw.c:32: /usr/local/include/./libnet/libnet-functions.h:64:1: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} libnet_init(int injection_type, const char *device, char *err_buf); ^~~~~~~~~~~ fgw.c:86:39: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign] l = libnet_init (LIBNET_LINK, dev, ebuf); ^~~~ In file included from /usr/local/include/libnet.h:122, from include/nast.h:23, from fgw.c:32: /usr/local/include/./libnet/libnet-functions.h:64:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} libnet_init(int injection_type, const char *device, char *err_buf); ^~~~~~~~~~~ fgw.c:92:34: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign] l = libnet_init (LIBNET_LINK, dev, ebuf); ^~~ In file included from /usr/local/include/libnet.h:122, from include/nast.h:23, from fgw.c:32: /usr/local/include/./libnet/libnet-functions.h:64:1: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} libnet_init(int injection_type, const char *device, char *err_buf); ^~~~~~~~~~~ fgw.c:92:39: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign] l = libnet_init (LIBNET_LINK, dev, ebuf); ^~~~ In file included from /usr/local/include/libnet.h:122, from include/nast.h:23, from fgw.c:32: /usr/local/include/./libnet/libnet-functions.h:64:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} libnet_init(int injection_type, const char *device, char *err_buf); ^~~~~~~~~~~ fgw.c:101:120: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign] if (libnet_build_ipv4 (LIBNET_TCP_H + LIBNET_IPV4_H, 0x08, 35320, 0, 64, IPPROTO_TCP, 0, myip, libnet_name2addr4(l, extip, LIBNET_DONT_RESOLVE), NULL, 0, l, 0)==-1) ^~~~~ In file included from /usr/local/include/libnet.h:122, from include/nast.h:23, from fgw.c:32: /usr/local/include/./libnet/libnet-functions.h:227:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name); ^~~~~~~~~~~~~~~~~ fgw.c:111:26: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign] if ((uphost = map_lan(dev, 0, &n))==NULL) ^~~ In file included from fgw.c:32: include/nast.h:63:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} struct host * map_lan (char *dev, u_short mode, u_short *n); ^~~~~~~ fgw.c:143:17: warning: pointer targets in passing argument 1 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign] pcap_lookupnet(dev,&netp,&maskp,ebuf); ^~~ In file included from /usr/include/pcap.h:43, from include/nast.h:24, from fgw.c:32: /usr/include/pcap/pcap.h:277:14: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); ^~~~~~~~~~~~~~ fgw.c:143:34: warning: pointer targets in passing argument 4 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign] pcap_lookupnet(dev,&netp,&maskp,ebuf); ^~~~ In file included from /usr/include/pcap.h:43, from include/nast.h:24, from fgw.c:32: /usr/include/pcap/pcap.h:277:14: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); ^~~~~~~~~~~~~~ fgw.c:145:27: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, ebuf))==NULL) ^~~ In file included from /usr/include/pcap.h:43, from include/nast.h:24, from fgw.c:32: /usr/include/pcap/pcap.h:351:18: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); ^~~~~~~~~~~~~~ fgw.c:145:57: warning: pointer targets in passing argument 5 of 'pcap_open_live' differ in signedness [-Wpointer-sign] if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, ebuf))==NULL) ^~~~ In file included from /usr/include/pcap.h:43, from include/nast.h:24, from fgw.c:32: /usr/include/pcap/pcap.h:351:18: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); ^~~~~~~~~~~~~~ fgw.c:198:103: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if ((ntohs(tcp->th_sport)==80) && (ntohs(tcp->th_dport)==2500) && (!strcmp(inet_ntoa(ip->ip_src), extip))) ^~~~~ In file included from /usr/local/include/libnet.h:63, from include/nast.h:23, from fgw.c:32: /usr/include/string.h:88:6: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} int strcmp(const char *, const char *) __pure; ^~~~~~ flink.c: In function 'flink': flink.c:73:26: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign] if ((uphost = map_lan(dev, 0, &n))==NULL) ^~~ In file included from flink.c:22: include/nast.h:63:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} struct host * map_lan (char *dev, u_short mode, u_short *n); ^~~~~~~ flink.c:88:45: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign] if ((l = libnet_init (LIBNET_RAW4, NULL, errbuf))==NULL) ^~~~~~ In file included from /usr/local/include/libnet.h:122, from include/nast.h:23, from flink.c:22: /usr/local/include/./libnet/libnet-functions.h:64:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} libnet_init(int injection_type, const char *device, char *err_buf); ^~~~~~~~~~~ flink.c:116:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(testip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]); ^~~~~~ In file included from /usr/local/include/libnet.h:62, from include/nast.h:23, from flink.c:22: /usr/include/stdio.h:236:6: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} int sprintf(char * __restrict, const char * __restrict, ...) ^~~~~~~ flink.c:117:123: warning: pointer targets in passing argument 1 of '__inet_addr' differ in signedness [-Wpointer-sign] if ( (ptag = libnet_build_ipv4(LIBNET_ICMPV4_ECHO_H + LIBNET_IPV4_H, 0x00, 1000, 0, 64, IPPROTO_ICMP, 0, myip, inet_addr(testip), NULL, 0, l, ptag)) ==-1) ^~~~~~ In file included from /usr/local/include/libnet.h:105, from include/nast.h:23, from flink.c:22: /usr/include/arpa/inet.h:126:12: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} in_addr_t inet_addr(const char *); ^~~~~~~~~ flink.c:131:27: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, errbuf))==NULL) ^~~ In file included from /usr/include/pcap.h:43, from include/nast.h:24, from flink.c:22: /usr/include/pcap/pcap.h:351:18: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); ^~~~~~~~~~~~~~ flink.c:131:57: warning: pointer targets in passing argument 5 of 'pcap_open_live' differ in signedness [-Wpointer-sign] if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, errbuf))==NULL) ^~~~~~ In file included from /usr/include/pcap.h:43, from include/nast.h:24, from flink.c:22: /usr/include/pcap/pcap.h:351:18: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); ^~~~~~~~~~~~~~ flink.c:163:29: warning: pointer targets in passing argument 1 of 'device' differ in signedness [-Wpointer-sign] if ((offset = (device(dev,p)))==-1) return -1; ^~~ In file included from flink.c:22: include/nast.h:58:5: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} int device (char *dev, pcap_t* descr); ^~~~~~ flink.c:168:43: warning: pointer targets in passing argument 1 of '__inet_addr' differ in signedness [-Wpointer-sign] if ((ip->ip_src.s_addr == inet_addr(testip)) && icmp->icmp_type==ICMP_ECHOREPLY && icmp->icmp_id == 1000) ^~~~~~ In file included from /usr/local/include/libnet.h:105, from include/nast.h:23, from flink.c:22: /usr/include/arpa/inet.h:126:12: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} in_addr_t inet_addr(const char *); ^~~~~~~~~ flink.c:178:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(testip, "%d.%d.%d.%d", uphost[1].ip[0], uphost[1].ip[1], uphost[1].ip[2], uphost[1].ip[3]); ^~~~~~ In file included from /usr/local/include/libnet.h:62, from include/nast.h:23, from flink.c:22: /usr/include/stdio.h:236:6: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} int sprintf(char * __restrict, const char * __restrict, ...) ^~~~~~~ flink.c:180:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(testip, "%d.%d.%d.%d", uphost[0].ip[0], uphost[0].ip[1], uphost[0].ip[2], uphost[0].ip[3]); ^~~~~~ In file included from /usr/local/include/libnet.h:62, from include/nast.h:23, from flink.c:22: /usr/include/stdio.h:236:6: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} int sprintf(char * __restrict, const char * __restrict, ...) ^~~~~~~ flink.c:182:28: warning: pointer targets in passing argument 1 of '__inet_addr' differ in signedness [-Wpointer-sign] if ( (ip_src=inet_addr(testip)) == -1) ^~~~~~ In file included from /usr/local/include/libnet.h:105, from include/nast.h:23, from flink.c:22: /usr/include/arpa/inet.h:126:12: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} in_addr_t inet_addr(const char *); ^~~~~~~~~ flink.c:215:39: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign] if ((l = libnet_init (LIBNET_LINK, dev, errbuf))==NULL) ^~~ In file included from /usr/local/include/libnet.h:122, from include/nast.h:23, from flink.c:22: /usr/local/include/./libnet/libnet-functions.h:64:1: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} libnet_init(int injection_type, const char *device, char *err_buf); ^~~~~~~~~~~ flink.c:215:44: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign] if ((l = libnet_init (LIBNET_LINK, dev, errbuf))==NULL) ^~~~~~ In file included from /usr/local/include/libnet.h:62, from include/nast.h:23, from prom.c:20: /usr/include/stdio.h:236:6: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} int sprintf(char * __restrict, const char * __restrict, ...) ^~~~~~~ In file included from /usr/local/include/libnet.h:122, from include/nast.h:23, from flink.c:22: /usr/local/include/./libnet/libnet-functions.h:64:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} libnet_init(int injection_type, const char *device, char *err_buf); ^~~~~~~~~~~ prom.c:172:88: warning: pointer targets in passing argument 1 of '__inet_addr' differ in signedness [-Wpointer-sign] n_print ("princ",ln,1,lg,"%s (%s) --------->", ip, libnet_addr2name4(inet_addr(ip), LIBNET_RESOLVE)); ^~ flink.c:247:29: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] if ((p = pcap_open_live (dev, BUFSIZ, PROMISC, 10, errbuf))==NULL) ^~~ In file included from /usr/include/pcap.h:43, from include/nast.h:24, from flink.c:22: /usr/include/pcap/pcap.h:351:18: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); ^~~~~~~~~~~~~~ flink.c:247:55: warning: pointer targets in passing argument 5 of 'pcap_open_live' differ in signedness [-Wpointer-sign] if ((p = pcap_open_live (dev, BUFSIZ, PROMISC, 10, errbuf))==NULL) ^~~~~~ In file included from /usr/local/include/libnet.h:105, from include/nast.h:23, from prom.c:20: /usr/include/arpa/inet.h:126:12: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} in_addr_t inet_addr(const char *); ^~~~~~~~~ In file included from /usr/include/pcap.h:43, from include/nast.h:24, from flink.c:22: /usr/include/pcap/pcap.h:351:18: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); ^~~~~~~~~~~~~~ flink.c:291:19: warning: pointer targets in passing argument 1 of 'device' differ in signedness [-Wpointer-sign] offset = (device(dev,p)); ^~~ In file included from flink.c:22: include/nast.h:58:5: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} int device (char *dev, pcap_t* descr); ^~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c common.c -o common.o cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c stream.c -o stream.o port.c: In function 'mport': port.c:347:25: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign] if ((uphost = map_lan(dev, 0, &n))==NULL) ^~~ In file included from port.c:20: include/nast.h:63:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} struct host * map_lan (char *dev, u_short mode, u_short *n); ^~~~~~~ port.c:466:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] x = strlen(tmpbuf); ^~~~~~ In file included from /usr/local/include/libnet.h:63, from include/nast.h:23, from port.c:20: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} size_t strlen(const char *) __pure; ^~~~~~ port.c:309:21: warning: variable 'bsent' set but not used [-Wunused-but-set-variable] int sd, r, size, bsent,z,k,x,y; ^~~~~ port.c: In function 'mhport': port.c:615:26: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign] if ((uphost = map_lan(dev, 0, &n))==NULL) ^~~ In file included from port.c:20: include/nast.h:63:15: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} struct host * map_lan (char *dev, u_short mode, u_short *n); ^~~~~~~ port.c:635:4: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign] dev, /* network interface */ ^~~ In file included from /usr/local/include/libnet.h:122, from include/nast.h:23, from port.c:20: /usr/local/include/./libnet/libnet-functions.h:64:1: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} libnet_init(int injection_type, const char *device, char *err_buf); ^~~~~~~~~~~ port.c:647:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(testip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]); ^~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c igmp.c -o igmp.o In file included from /usr/local/include/libnet.h:62, from include/nast.h:23, from port.c:20: /usr/include/stdio.h:236:6: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} int sprintf(char * __restrict, const char * __restrict, ...) ^~~~~~~ port.c:654:17: warning: pointer targets in passing argument 1 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign] pcap_lookupnet(dev,&netp,&maskp,errbuf); ^~~ In file included from /usr/include/pcap.h:43, from include/nast.h:24, from port.c:20: /usr/include/pcap/pcap.h:277:14: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); ^~~~~~~~~~~~~~ port.c:658:31: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] if ((descr = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10,errbuf)) == NULL) ^~~ In file included from /usr/include/pcap.h:43, from include/nast.h:24, from port.c:20: /usr/include/pcap/pcap.h:351:18: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); ^~~~~~~~~~~~~~ port.c:665:22: warning: pointer targets in passing argument 1 of 'device' differ in signedness [-Wpointer-sign] if ((offset=(device(dev,descr)))==-1) return -1; ^~~ In file included from port.c:20: include/nast.h:58:5: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} int device (char *dev, pcap_t* descr); ^~~~~~ port.c:707:21: warning: pointer targets in passing argument 1 of '__inet_addr' differ in signedness [-Wpointer-sign] inet_addr(testip), /* destination IP */ ^~~~~~ In file included from /usr/local/include/libnet.h:105, from include/nast.h:23, from port.c:20: /usr/include/arpa/inet.h:126:12: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} in_addr_t inet_addr(const char *); ^~~~~~~~~ port.c:584:8: warning: variable 'linep' set but not used [-Wunused-but-set-variable] int linep; ^~~~~ common.c: In function 'runcplx': common.c:202:10: warning: pointer targets in passing argument 1 of 'mhport' differ in signedness [-Wpointer-sign] mhport (dev,plist_p,l); ^~~ In file included from common.c:24: include/nast.h:70:5: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' int mhport (u_char *dev, libnet_plist_t *plist_p, int lg); ^~~~~~ common.c: In function 'n_print': common.c:295:8: warning: variable 'n' set but not used [-Wunused-but-set-variable] int n; ^ cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c bcount.c -o bcount.o cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c error.c -o error.o cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c ncurses/n_menu.c -o ncurses/n_menu.o cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c ncurses/n_scroll_win.c -o ncurses/n_scroll_win.o error.c: In function 'w_error': error.c:32:10: warning: variable 'ris' set but not used [-Wunused-but-set-variable] int n,ris; ^~~ error.c:32:8: warning: variable 'n' set but not used [-Wunused-but-set-variable] int n,ris; ^ cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c ncurses/n_comm.c -o ncurses/n_comm.o cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c ncurses/n_stream.c -o ncurses/n_stream.o cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c ncurses/n_conn.c -o ncurses/n_conn.o cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c ncurses/n_rst.c -o ncurses/n_rst.o bcount.c: In function 'bytecounting': bcount.c:123:8: warning: variable 'line' set but not used [-Wunused-but-set-variable] int line; ^~~~ bcount.c: In function 'n_bytecounting': bcount.c:224:14: warning: variable 'l' set but not used [-Wunused-but-set-variable] int line, l; ^ bcount.c:224:8: warning: variable 'line' set but not used [-Wunused-but-set-variable] int line, l; ^~~~ port.c: In function 'mport': port.c:412:10: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(banner, banner_p, 1024); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -o nast main.o dev.o tcp.o icmp.o arp.o udp.o prom.o eth.o map.o sniff.o data.o rst.o fgw.o flink.o port.o common.o stream.o igmp.o bcount.o error.o ncurses/n_menu.o ncurses/n_scroll_win.o ncurses/n_comm.o ncurses/n_stream.o ncurses/n_conn.o ncurses/n_rst.o -lpcap -lnet -L/usr/local/lib Done! Type make install from root gmake[1]: Leaving directory '/construction/net/nast/nast-0.2.0' SUCCEEDED 00:00:02 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for nast-0.2.0_5 ===> Generating temporary packing list install -s -m 555 /construction/net/nast/nast-0.2.0/nast /construction/net/nast/stage/usr/local/bin install -m 444 /construction/net/nast/nast-0.2.0/nast.8 /construction/net/nast/stage/usr/local/man/man8 ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks Warning: Possible REINPLACE_CMD issues sed failed: file content unchanged from backup: configure SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for nast-0.2.0_5 file sizes/checksums [2]: 0% file sizes/checksums [2]: 100% packing files [2]: 0% packing files [2]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:01 TOTAL TIME 00:00:08