=> Building net/nast Started : Thursday, 12 APR 2018 at 02:19:54 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.81.g32506c-DEVELOPMENT #29: Tue Apr 10 08:49:52 PDT 2018 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.2-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.2-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/net/nast XDG_CONFIG_HOME=/construction/net/nast HOME=/construction/net/nast TMPDIR="/tmp" PATH=/construction/net/nast/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/net/nast XDG_CONFIG_HOME=/construction/net/nast HOME=/construction/net/nast TMPDIR="/tmp" PATH=/construction/net/nast/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin 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 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/net/nast/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/nast" EXAMPLESDIR="share/examples/nast" DATADIR="share/nast" WWWDIR="www/nast" ETCDIR="etc/nast" -------------------------------------------------- -- 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 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.2 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500200 OSVERSION=9999999 OSREL=5.2 _OSRELEASE=5.2-SYNTH -------------------------------------------------------------------------------- -- 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 ===> License GPLv2+ accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> nast-0.2.0_5 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz Installing pkg-1.10.5... Extracting pkg-1.10.5: .......... done ===> nast-0.2.0_5 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of nast-0.2.0_5 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- 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 ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by nast-0.2.0_5 for building -------------------------------------------------------------------------------- -- 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 ===> 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. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- 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 ===> 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. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for nast-0.2.0_5 ===> Applying ports patches for nast-0.2.0_5 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> nast-0.2.0_5 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_2.txz Installing gmake-4.2.1_2... `-- Installing gettext-runtime-0.19.8.1_1... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.19.8.1_1: .......... done Extracting gmake-4.2.1_2: .......... done ===> nast-0.2.0_5 depends on executable: gmake - found ===> Returning to build of nast-0.2.0_5 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> nast-0.2.0_5 depends on shared library: libnet.so - not found ===> Installing existing package /packages/All/libnet-1.1.6_5,1.txz Installing libnet-1.1.6_5,1... Extracting libnet-1.1.6_5,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 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> 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.2 checking host system type... x86_64-portbld-dragonfly5.2 checking target system type... x86_64-portbld-dragonfly5.2 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.2-SYNTH (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. -------------------------------------------------------------------------------- -- 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 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); ^ 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); ^ 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); ^ 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 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:226: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:126:12: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' in_addr_t inet_addr(const char *); ^ 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:226: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: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 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:43:0, from include/nast.h:24, from fgw.c:32: /usr/include/pcap/pcap.h:279: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:0, from include/nast.h:24, from fgw.c:32: /usr/include/pcap/pcap.h:279: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:0, from include/nast.h:24, from fgw.c:32: /usr/include/pcap/pcap.h:353: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:0, from include/nast.h:24, from fgw.c:32: /usr/include/pcap/pcap.h:353: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: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:226: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: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:0, from include/nast.h:24, from flink.c:22: /usr/include/pcap/pcap.h:353: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:0, from include/nast.h:24, from flink.c:22: /usr/include/pcap/pcap.h:353: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: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: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:0, from include/nast.h:23, from flink.c:22: /usr/include/stdio.h:226: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:226: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: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: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:43:0, from include/nast.h:24, from flink.c:22: /usr/include/pcap/pcap.h:353: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/include/pcap.h:43:0, from include/nast.h:24, from flink.c:22: /usr/include/pcap/pcap.h:353: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: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 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:226: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:0, from include/nast.h:24, from port.c:20: /usr/include/pcap/pcap.h:279: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:0, from include/nast.h:24, from port.c:20: /usr/include/pcap/pcap.h:353: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: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: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: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; ^ 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 cc -pipe -O2 -fno-strict-aliasing -Wall -lpthread -I/usr/local/include -c error.c -o error.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 ncurses/n_menu.c -o ncurses/n_menu.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_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 '/construction/net/nast/nast-0.2.0' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- 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) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for nast-0.2.0_5 file sizes/checksums [5]: . done packing files [5]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 12 APR 2018 at 02:20:00 UTC Duration: 00:00:06