=> Building net/nast build started at Wed Oct 5 16:08:09 PDT 2016 port directory: /usr/ports/net/nast building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: ports@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../05//usr/ports/net/nast/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=nast-0.2.0_5 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/net/nast XDG_CONFIG_HOME=/wrkdirs/net/nast HOME=/wrkdirs/net/nast TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/net/nast XDG_CONFIG_HOME=/wrkdirs/net/nast HOME=/wrkdirs/net/nast TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/nast" EXAMPLESDIR="share/examples/nast" DATADIR="share/nast" WWWDIR="www/nast" ETCDIR="etc/nast" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/nast DOCSDIR=/usr/local/share/doc/nast EXAMPLESDIR=/usr/local/share/examples/nast WWWDIR=/usr/local/www/nast ETCDIR=/usr/local/etc/nast --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== ===> 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 ===> License GPLv2+ accepted by the user =========================================================================== =================================================== ===> nast-0.2.0_5 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> nast-0.2.0_5 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of nast-0.2.0_5 =========================================================================== =================================================== =========================================================================== =================================================== ===> 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 ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by nast-0.2.0_5 for building =========================================================================== =================================================== ===> 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 ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by nast-0.2.0_5 for building => SHA256 Checksum OK for nast-0.2.0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> 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 ===> License GPLv2+ accepted by the user ===> 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. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for nast-0.2.0_5 ===> Applying ports patches for nast-0.2.0_5 =========================================================================== =================================================== ===> nast-0.2.0_5 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_1.txz Installing gmake-4.2.1_1... `-- Installing indexinfo-0.2.5... `-- Extracting indexinfo-0.2.5: .... done `-- Installing gettext-runtime-0.19.8.1... `-- Extracting gettext-runtime-0.19.8.1: .......... done Extracting gmake-4.2.1_1: .......... done ===> nast-0.2.0_5 depends on executable: gmake - found ===> Returning to build of nast-0.2.0_5 =========================================================================== =================================================== ===> nast-0.2.0_5 depends on shared library: libnet.so - not found ===> Installing existing package /packages/All/libnet-1.1.6_4,1.txz Installing libnet-1.1.6_4,1... Extracting libnet-1.1.6_4,1: .......... done ===> nast-0.2.0_5 depends on shared library: libnet.so - found (/usr/local/lib/libnet.so) ===> Returning to build of nast-0.2.0_5 =========================================================================== =================================================== ===> Configuring for nast-0.2.0_5 configure: loading site script /usr/ports/Templates/config.site Please wait, I'm going to configure Nast 0.2.0 checking build system type... x86_64-portbld-dragonfly4.7 checking host system type... x86_64-portbld-dragonfly4.7 checking target system type... x86_64-portbld-dragonfly4.7 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 4.7-DEVELOPMENT (pkgbox64.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. =========================================================================== =================================================== ===> Building for nast-0.2.0_5 gmake[1]: Entering directory '/wrkdirs/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 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:0: 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:0: 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); ^ In file included from main.c:20:0: include/nast.h:67:5: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' int flink (u_char *dev); ^ icmp.c: In function 'handle_ICMP': icmp.c:206:6: warning: pointer targets in assignment 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:0: 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:0: 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:0: 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 udp.c -o udp.o tcp.c: In function 'handle_TCP': tcp.c:101:6: warning: pointer targets in assignment 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:0: 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:0: 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:0: 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 prom.c -o prom.o udp.c: In function 'handle_UDP': udp.c:59:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] buf = (char *) (packet + size_ip + size_udp + offset); ^ 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:0: 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:0: 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); ^ 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:0: 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); ^ prom.c: In function 'psearch': 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]); ^ In file included from /usr/local/include/libnet.h:62:0, from include/nast.h:23, from prom.c:20: /usr/include/stdio.h:223:6: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' int sprintf(char * __restrict, const char * __restrict, ...); ^ 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)); ^ In file included from /usr/local/include/libnet.h:105:0, from include/nast.h:23, from prom.c:20: /usr/include/arpa/inet.h:120: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 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 map.c: In function 'map_lan': 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; ^ 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: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); ^ 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); ^ map.c: In function 'arpreply': 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]); ^ In file included from /usr/local/include/libnet.h:62:0, from include/nast.h:23, from map.c:36: /usr/include/stdio.h:223: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:0, from include/nast.h:23, from map.c:36: /usr/include/arpa/inet.h:120: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 data.c -o data.o 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 cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c flink.c -o flink.o fgw.c: In function 'fgw': fgw.c:39:2: warning: pointer targets in initialization 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: 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:45:0, from include/nast.h:24, from fgw.c:32: /usr/include/pcap/pcap.h:274:5: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' 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:45:0, from include/nast.h:24, from fgw.c:32: /usr/include/pcap/pcap.h:274:5: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' 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:45:0, from include/nast.h:24, from fgw.c:32: /usr/include/pcap/pcap.h:336:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' 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:45:0, from include/nast.h:24, from fgw.c:32: /usr/include/pcap/pcap.h:336:9: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' 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:0, from include/nast.h:23, from fgw.c:32: /usr/include/string.h:83: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:0: 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:0, 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:0, from include/nast.h:23, from flink.c:22: /usr/include/stdio.h:223: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:0, from include/nast.h:23, from flink.c:22: /usr/include/arpa/inet.h:120: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:45:0, from include/nast.h:24, from flink.c:22: /usr/include/pcap/pcap.h:336:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' 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:45:0, from include/nast.h:24, from flink.c:22: /usr/include/pcap/pcap.h:336:9: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' 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:0: 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:0, from include/nast.h:23, from flink.c:22: /usr/include/arpa/inet.h:120: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:0, from include/nast.h:23, from flink.c:22: /usr/include/stdio.h:223: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:0, from include/nast.h:23, from flink.c:22: /usr/include/stdio.h:223: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:0, from include/nast.h:23, from flink.c:22: /usr/include/arpa/inet.h:120: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:0, 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:122:0, 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: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:45:0, from include/nast.h:24, from flink.c:22: /usr/include/pcap/pcap.h:336:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' 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/include/pcap.h:45:0, from include/nast.h:24, from flink.c:22: /usr/include/pcap/pcap.h:336:9: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' 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:0: 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 port.c -o port.o 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 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:0: 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; ^ 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:0: 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:0, from include/nast.h:23, from port.c:20: /usr/include/string.h:105: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:0: 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:0, 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]); ^ In file included from /usr/local/include/libnet.h:62:0, from include/nast.h:23, from port.c:20: /usr/include/stdio.h:223: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:45:0, from include/nast.h:24, from port.c:20: /usr/include/pcap/pcap.h:274:5: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' 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:45:0, from include/nast.h:24, from port.c:20: /usr/include/pcap/pcap.h:336:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' 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:0: 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:0, from include/nast.h:23, from port.c:20: /usr/include/arpa/inet.h:120: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; ^ cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c igmp.c -o igmp.o cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c bcount.c -o bcount.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; ^ cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c error.c -o error.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_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 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 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 '/wrkdirs/net/nast/nast-0.2.0' =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for nast-0.2.0_5 ===> Generating temporary packing list install -s -m 555 /wrkdirs/net/nast/nast-0.2.0/nast /wrkdirs/net/nast/stage/usr/local/bin install -m 444 /wrkdirs/net/nast/nast-0.2.0/nast.8 /wrkdirs/net/nast/stage/usr/local/man/man8 ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for nast-0.2.0_5 file sizes/checksums [5]: . done packing files [5]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for nast-0.2.0_5 build of net/nast ended at Wed Oct 5 16:08:18 PDT 2016 build time: 00:00:09