=> Building net/packter-agent Started : Friday, 14 FEB 2020 at 17:46:57 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.1432.g9cd86-DEVELOPMENT #23: Thu Feb 13 14:43:04 PST 2020 root@sting.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.7-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.7-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 -------------------------------------------------- ===> The following configuration options are available for packter-agent-2.5_2: DOCS=on: Build and/or install documentation IPV6=on: IPv6 protocol support PACKTERTC=off: Install Packter TC ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- PKG_CONFIG=pkgconf XDG_DATA_HOME=/construction/net/packter-agent XDG_CONFIG_HOME=/construction/net/packter-agent HOME=/construction/net/packter-agent TMPDIR="/tmp" PATH=/construction/net/packter-agent/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --enable-ipv6 --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/net/packter-agent XDG_CONFIG_HOME=/construction/net/packter-agent HOME=/construction/net/packter-agent TMPDIR="/tmp" PATH=/construction/net/packter-agent/.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=gcc80 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -Wno-return-type -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -Wno-return-type -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/packter-agent/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PACKTERTC="@comment " GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" OSREL=5.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/packter-agent" EXAMPLESDIR="share/examples/packter-agent" DATADIR="share/packter-agent" WWWDIR="www/packter-agent" ETCDIR="etc/packter-agent" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/packter-agent DOCSDIR=/usr/local/share/doc/packter-agent EXAMPLESDIR=/usr/local/share/examples/packter-agent WWWDIR=/usr/local/www/packter-agent ETCDIR=/usr/local/etc/packter-agent -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem 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=15 DPORTS_BUILDER= yes DISABLE_LICENSES= yes DEFAULT_VERSIONS= ssl=openssl FORCE_PACKAGE= yes DEVELOPER= yes HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.30.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500709 OSVERSION=9999999 OSREL=5.7 _OSRELEASE=5.7-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> packter-agent-2.5_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.12.0_1.txz Installing pkg-1.12.0_1... Extracting pkg-1.12.0_1: .......... done ===> packter-agent-2.5_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of packter-agent-2.5_2 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- => PackterAgent-2.5.tar.gz doesn't seem to exist in /distfiles/. => Attempting to fetch http://www.packter.jp/PackterAgent-2.5.tar.gz PackterAgent-2.5.tar.gz 251 kB 364 kBps 01s ===> Fetching all distfiles required by packter-agent-2.5_2 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by packter-agent-2.5_2 for building => SHA256 Checksum OK for PackterAgent-2.5.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by packter-agent-2.5_2 for building ===> Extracting for packter-agent-2.5_2 => SHA256 Checksum OK for PackterAgent-2.5.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for packter-agent-2.5_2 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> packter-agent-2.5_2 depends on package: pkgconf>=1.3.0_1 - not found ===> Installing existing package /packages/All/pkgconf-1.6.3,1.txz Installing pkgconf-1.6.3,1... Extracting pkgconf-1.6.3,1: .......... done ===> packter-agent-2.5_2 depends on package: pkgconf>=1.3.0_1 - found ===> Returning to build of packter-agent-2.5_2 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> packter-agent-2.5_2 depends on shared library: libglib-2.0.so - not found ===> Installing existing package /packages/All/glib-2.56.3_7,1.txz Installing glib-2.56.3_7,1... `-- Installing gettext-runtime-0.20.1... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: . done `-- Extracting gettext-runtime-0.20.1: .......... done `-- Installing libffi-3.2.1_3... `-- Extracting libffi-3.2.1_3: .......... done `-- Installing libiconv-1.14_11... `-- Extracting libiconv-1.14_11: .......... done `-- Installing libxml2-2.9.10... `-- Extracting libxml2-2.9.10: .......... done `-- Installing pcre-8.43_2... `-- Extracting pcre-8.43_2: .......... done `-- Installing python37-3.7.6... | `-- Installing expat-2.2.8... | `-- Extracting expat-2.2.8: .......... done | `-- Installing ncurses-6.1.20190525... | `-- Extracting ncurses-6.1.20190525: .......... done | `-- Installing openssl-1.1.1d,1... | `-- Extracting openssl-1.1.1d,1: .......... done | `-- Installing readline-8.0.1... | `-- Extracting readline-8.0.1: .......... done `-- Extracting python37-3.7.6: .......... done Extracting glib-2.56.3_7,1: .......... done No schema files found: doing nothing. ===== Message from python37-3.7.6: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py37-gdbm databases/py-gdbm@py37 py37-sqlite3 databases/py-sqlite3@py37 py37-tkinter x11-toolkits/py-tkinter@py37 ===> packter-agent-2.5_2 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) ===> Returning to build of packter-agent-2.5_2 ===> packter-agent-2.5_2 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for packter-agent-2.5_2 configure: loading site script /xports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 ISO C89... none needed checking dependency style of cc... gcc3 checking whether cc understands -c and -o together... yes checking pkg-config is at least version 0.9.0... yes checking for GLIB... yes checking for main in -lpcap... yes checking for main in -lcrypto... yes checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep 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 arpa/inet.h... (cached) yes checking for fcntl.h... (cached) yes checking for netdb.h... (cached) yes checking for netinet/in.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/un.h... (cached) yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for uint32_t... (cached) yes checking for memset... (cached) yes checking for socket... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for packter-agent-2.5_2 --- config.h --- --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in src --- pt_sflow-pt_sock.o --- --- pt_sflow-pt_pcap.o --- --- pt_sflow-pt_snort.o --- --- pt_sflow-pt_datalink.o --- --- pt_sflow-pt_ip.o --- --- pt_sflow-pt_ip6.o --- --- pt_sflow-pt_tcp.o --- --- pt_sflow-pt_udp.o --- --- pt_sflow-pt_icmp.o --- --- pt_sflow-pt_icmp6.o --- --- pt_sflow-pt_iptbhash.o --- --- pt_sflow-pt_mesg.o --- --- pt_sflow-pt_send.o --- --- pt_sflow-pt_util.o --- --- pt_sflow-pt_init.o --- --- pt_sflow-pt_sock.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_sock.o -MD -MP -MF .deps/pt_sflow-pt_sock.Tpo -c -o pt_sflow-pt_sock.o `test -f 'pt_sock.c' || echo './'`pt_sock.c --- pt_sflow-pt_pcap.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_pcap.o -MD -MP -MF .deps/pt_sflow-pt_pcap.Tpo -c -o pt_sflow-pt_pcap.o `test -f 'pt_pcap.c' || echo './'`pt_pcap.c --- pt_sflow-pt_snort.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_snort.o -MD -MP -MF .deps/pt_sflow-pt_snort.Tpo -c -o pt_sflow-pt_snort.o `test -f 'pt_snort.c' || echo './'`pt_snort.c --- pt_sflow-pt_datalink.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_datalink.o -MD -MP -MF .deps/pt_sflow-pt_datalink.Tpo -c -o pt_sflow-pt_datalink.o `test -f 'pt_datalink.c' || echo './'`pt_datalink.c --- pt_sflow-pt_ip.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_ip.o -MD -MP -MF .deps/pt_sflow-pt_ip.Tpo -c -o pt_sflow-pt_ip.o `test -f 'pt_ip.c' || echo './'`pt_ip.c --- pt_sflow-pt_ip6.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_ip6.o -MD -MP -MF .deps/pt_sflow-pt_ip6.Tpo -c -o pt_sflow-pt_ip6.o `test -f 'pt_ip6.c' || echo './'`pt_ip6.c --- pt_sflow-pt_tcp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_tcp.o -MD -MP -MF .deps/pt_sflow-pt_tcp.Tpo -c -o pt_sflow-pt_tcp.o `test -f 'pt_tcp.c' || echo './'`pt_tcp.c --- pt_sflow-pt_udp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_udp.o -MD -MP -MF .deps/pt_sflow-pt_udp.Tpo -c -o pt_sflow-pt_udp.o `test -f 'pt_udp.c' || echo './'`pt_udp.c --- pt_sflow-pt_icmp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_icmp.o -MD -MP -MF .deps/pt_sflow-pt_icmp.Tpo -c -o pt_sflow-pt_icmp.o `test -f 'pt_icmp.c' || echo './'`pt_icmp.c --- pt_sflow-pt_icmp6.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_icmp6.o -MD -MP -MF .deps/pt_sflow-pt_icmp6.Tpo -c -o pt_sflow-pt_icmp6.o `test -f 'pt_icmp6.c' || echo './'`pt_icmp6.c --- pt_sflow-pt_iptbhash.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_iptbhash.o -MD -MP -MF .deps/pt_sflow-pt_iptbhash.Tpo -c -o pt_sflow-pt_iptbhash.o `test -f 'pt_iptbhash.c' || echo './'`pt_iptbhash.c --- pt_sflow-pt_mesg.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_mesg.o -MD -MP -MF .deps/pt_sflow-pt_mesg.Tpo -c -o pt_sflow-pt_mesg.o `test -f 'pt_mesg.c' || echo './'`pt_mesg.c --- pt_sflow-pt_util.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_util.o -MD -MP -MF .deps/pt_sflow-pt_util.Tpo -c -o pt_sflow-pt_util.o `test -f 'pt_util.c' || echo './'`pt_util.c --- pt_sflow-pt_init.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_init.o -MD -MP -MF .deps/pt_sflow-pt_init.Tpo -c -o pt_sflow-pt_init.o `test -f 'pt_init.c' || echo './'`pt_init.c --- pt_sflow-pt_tcp.o --- pt_tcp.c: In function 'packter_tcp': pt_tcp.c:79:2: warning: implicit declaration of function 'packter_mesg'; did you mean 'packter_tcp'? [-Wimplicit-function-declaration] packter_mesg(mesg, srcip, dstip, ntohs(th->th_sport),ntohs(th->th_dport), flag, mesgbuf); ^~~~~~~~~~~~ packter_tcp pt_tcp.c:80:2: warning: implicit declaration of function 'packter_send'; did you mean 'packter_tcp'? [-Wimplicit-function-declaration] packter_send(mesg); ^~~~~~~~~~~~ packter_tcp --- pt_sflow-pt_snort.o --- pt_snort.c: In function 'packter_snort': pt_snort.c:90:4: warning: implicit declaration of function 'packter_ether'; did you mean 'packter_snort'? [-Wimplicit-function-declaration] packter_ether(NULL, &(alert.pkth), (u_char *)alert.pkt); ^~~~~~~~~~~~~ packter_snort --- pt_sflow-pt_datalink.o --- pt_datalink.c: In function 'packter_lback': pt_datalink.c:64:3: warning: implicit declaration of function 'packter_ip'; did you mean 'packter_ether'? [-Wimplicit-function-declaration] packter_ip((u_char *)(p + NULL_HDRLEN), (u_int)(h->len - NULL_HDRLEN)); ^~~~~~~~~~ packter_ether --- pt_sflow-pt_ip6.o --- pt_ip6.c: In function 'packter_ip6': pt_ip6.c:75:3: warning: implicit declaration of function 'generate_hash6' [-Wimplicit-function-declaration] generate_hash6(packet, len, mesgbuf); ^~~~~~~~~~~~~~ --- pt_sflow-pt_datalink.o --- pt_datalink.c: In function 'packter_ether': pt_datalink.c:97:4: warning: implicit declaration of function 'packter_ip6'; did you mean 'packter_ether'? [-Wimplicit-function-declaration] packter_ip6((u_char *)(p + skiplen), (u_int)(h->len - skiplen)); ^~~~~~~~~~~ packter_ether --- pt_sflow-pt_ip6.o --- pt_ip6.c:86:4: warning: implicit declaration of function 'packter_tcp'; did you mean 'packter_ip6'? [-Wimplicit-function-declaration] packter_tcp((u_char *)(p + ntohs(ip6->ip6_plen)), ^~~~~~~~~~~ packter_ip6 pt_ip6.c:92:4: warning: implicit declaration of function 'packter_udp'; did you mean 'packter_ip6'? [-Wimplicit-function-declaration] packter_udp((u_char *)(p + ntohs(ip6->ip6_plen)), ^~~~~~~~~~~ packter_ip6 pt_ip6.c:98:4: warning: implicit declaration of function 'packter_icmp6'; did you mean 'packter_ip6'? [-Wimplicit-function-declaration] packter_icmp6((u_char *)(p + ntohs(ip6->ip6_plen)), ^~~~~~~~~~~~~ packter_ip6 --- pt_sflow-pt_send.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_send.o -MD -MP -MF .deps/pt_sflow-pt_send.Tpo -c -o pt_sflow-pt_send.o `test -f 'pt_send.c' || echo './'`pt_send.c --- pt_sflow-pt_snort.o --- pt_snort.c:73:2: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(un.sun_path , sockname, strlen(sockname)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- pt_sflow-pt_icmp6.o --- pt_icmp6.c: In function 'packter_icmp6': pt_icmp6.c:70:2: warning: implicit declaration of function 'packter_mesg'; did you mean 'packter_icmp6'? [-Wimplicit-function-declaration] packter_mesg(mesg, srcip, dstip, ^~~~~~~~~~~~ packter_icmp6 pt_icmp6.c:74:2: warning: implicit declaration of function 'packter_send'; did you mean 'packter_icmp6'? [-Wimplicit-function-declaration] packter_send(mesg); ^~~~~~~~~~~~ packter_icmp6 --- pt_sflow-pt_ip.o --- pt_ip.c: In function 'packter_ip': pt_ip.c:85:3: warning: implicit declaration of function 'generate_hash' [-Wimplicit-function-declaration] generate_hash(packet, len, mesgbuf); ^~~~~~~~~~~~~ pt_ip.c:91:4: warning: implicit declaration of function 'packter_tcp'; did you mean 'packter_ip'? [-Wimplicit-function-declaration] packter_tcp((u_char *)(p + ip->ip_hl * 4), (u_int)(len - ip->ip_hl*4), ^~~~~~~~~~~ packter_ip pt_ip.c:96:4: warning: implicit declaration of function 'packter_udp'; did you mean 'packter_ip'? [-Wimplicit-function-declaration] packter_udp((u_char *)(p + ip->ip_hl * 4), (u_int)(len - ip->ip_hl*4), ^~~~~~~~~~~ packter_ip pt_ip.c:101:4: warning: implicit declaration of function 'packter_icmp'; did you mean 'packter_ip'? [-Wimplicit-function-declaration] packter_icmp((u_char *)(p + ip->ip_hl * 4), (u_int)(len - ip->ip_hl*4), ^~~~~~~~~~~~ packter_ip --- pt_sflow-pt_sock.o --- mv -f .deps/pt_sflow-pt_sock.Tpo .deps/pt_sflow-pt_sock.Po --- pt_netflow-pt_sock.o --- --- pt_sflow-pt_init.o --- mv -f .deps/pt_sflow-pt_init.Tpo .deps/pt_sflow-pt_init.Po --- pt_sflow-pt_util.o --- mv -f .deps/pt_sflow-pt_util.Tpo .deps/pt_sflow-pt_util.Po --- pt_sflow-pt_send.o --- pt_send.c: In function 'packter_send': pt_send.c:68:9: warning: implicit declaration of function 'packter_rate'; did you mean 'packter_send'? [-Wimplicit-function-declaration] rate = packter_rate(rate_limit); ^~~~~~~~~~~~ packter_send mv -f .deps/pt_sflow-pt_send.Tpo .deps/pt_sflow-pt_send.Po --- pt_sflow-pt_mesg.o --- mv -f .deps/pt_sflow-pt_mesg.Tpo .deps/pt_sflow-pt_mesg.Po --- pt_sflow-pt_iptbhash.o --- mv -f .deps/pt_sflow-pt_iptbhash.Tpo .deps/pt_sflow-pt_iptbhash.Po --- pt_sflow-pt_icmp6.o --- mv -f .deps/pt_sflow-pt_icmp6.Tpo .deps/pt_sflow-pt_icmp6.Po --- pt_sflow-pt_icmp.o --- pt_icmp.c: In function 'packter_icmp': pt_icmp.c:72:2: warning: implicit declaration of function 'packter_mesg'; did you mean 'packter_icmp'? [-Wimplicit-function-declaration] packter_mesg(mesg, srcip, dstip, (ih->icmp_type) * 256, (ih->icmp_code) * 256, flag, mesgbuf); ^~~~~~~~~~~~ packter_icmp pt_icmp.c:73:2: warning: implicit declaration of function 'packter_send'; did you mean 'packter_icmp'? [-Wimplicit-function-declaration] packter_send(mesg); ^~~~~~~~~~~~ packter_icmp mv -f .deps/pt_sflow-pt_icmp.Tpo .deps/pt_sflow-pt_icmp.Po --- pt_sflow-pt_udp.o --- pt_udp.c: In function 'packter_udp': pt_udp.c:71:2: warning: implicit declaration of function 'packter_mesg'; did you mean 'packter_udp'? [-Wimplicit-function-declaration] packter_mesg(mesg, srcip, dstip, ntohs(uh->uh_sport), ntohs(uh->uh_dport), flag, mesgbuf); ^~~~~~~~~~~~ packter_udp pt_udp.c:72:2: warning: implicit declaration of function 'packter_send'; did you mean 'packter_udp'? [-Wimplicit-function-declaration] packter_send(mesg); ^~~~~~~~~~~~ packter_udp mv -f .deps/pt_sflow-pt_udp.Tpo .deps/pt_sflow-pt_udp.Po --- pt_sflow-pt_tcp.o --- mv -f .deps/pt_sflow-pt_tcp.Tpo .deps/pt_sflow-pt_tcp.Po --- pt_sflow-pt_ip6.o --- mv -f .deps/pt_sflow-pt_ip6.Tpo .deps/pt_sflow-pt_ip6.Po --- pt_sflow-pt_datalink.o --- mv -f .deps/pt_sflow-pt_datalink.Tpo .deps/pt_sflow-pt_datalink.Po --- pt_sflow-pt_snort.o --- mv -f .deps/pt_sflow-pt_snort.Tpo .deps/pt_sflow-pt_snort.Po --- pt_sflow-pt_pcap.o --- mv -f .deps/pt_sflow-pt_pcap.Tpo .deps/pt_sflow-pt_pcap.Po --- pt_netflow-pt_pcap.o --- --- pt_netflow-pt_snort.o --- --- pt_netflow-pt_datalink.o --- --- pt_netflow-pt_ip.o --- --- pt_netflow-pt_ip6.o --- --- pt_netflow-pt_tcp.o --- --- pt_netflow-pt_udp.o --- --- pt_netflow-pt_icmp.o --- --- pt_netflow-pt_icmp6.o --- --- pt_netflow-pt_iptbhash.o --- --- pt_netflow-pt_mesg.o --- --- pt_netflow-pt_send.o --- --- pt_netflow-pt_util.o --- --- pt_netflow-pt_sock.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_sock.o -MD -MP -MF .deps/pt_netflow-pt_sock.Tpo -c -o pt_netflow-pt_sock.o `test -f 'pt_sock.c' || echo './'`pt_sock.c --- pt_netflow-pt_pcap.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_pcap.o -MD -MP -MF .deps/pt_netflow-pt_pcap.Tpo -c -o pt_netflow-pt_pcap.o `test -f 'pt_pcap.c' || echo './'`pt_pcap.c --- pt_netflow-pt_snort.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_snort.o -MD -MP -MF .deps/pt_netflow-pt_snort.Tpo -c -o pt_netflow-pt_snort.o `test -f 'pt_snort.c' || echo './'`pt_snort.c --- pt_netflow-pt_datalink.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_datalink.o -MD -MP -MF .deps/pt_netflow-pt_datalink.Tpo -c -o pt_netflow-pt_datalink.o `test -f 'pt_datalink.c' || echo './'`pt_datalink.c --- pt_netflow-pt_ip.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_ip.o -MD -MP -MF .deps/pt_netflow-pt_ip.Tpo -c -o pt_netflow-pt_ip.o `test -f 'pt_ip.c' || echo './'`pt_ip.c --- pt_netflow-pt_ip6.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_ip6.o -MD -MP -MF .deps/pt_netflow-pt_ip6.Tpo -c -o pt_netflow-pt_ip6.o `test -f 'pt_ip6.c' || echo './'`pt_ip6.c --- pt_netflow-pt_tcp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_tcp.o -MD -MP -MF .deps/pt_netflow-pt_tcp.Tpo -c -o pt_netflow-pt_tcp.o `test -f 'pt_tcp.c' || echo './'`pt_tcp.c --- pt_netflow-pt_udp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_udp.o -MD -MP -MF .deps/pt_netflow-pt_udp.Tpo -c -o pt_netflow-pt_udp.o `test -f 'pt_udp.c' || echo './'`pt_udp.c --- pt_netflow-pt_icmp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_icmp.o -MD -MP -MF .deps/pt_netflow-pt_icmp.Tpo -c -o pt_netflow-pt_icmp.o `test -f 'pt_icmp.c' || echo './'`pt_icmp.c --- pt_netflow-pt_icmp6.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_icmp6.o -MD -MP -MF .deps/pt_netflow-pt_icmp6.Tpo -c -o pt_netflow-pt_icmp6.o `test -f 'pt_icmp6.c' || echo './'`pt_icmp6.c --- pt_netflow-pt_iptbhash.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_iptbhash.o -MD -MP -MF .deps/pt_netflow-pt_iptbhash.Tpo -c -o pt_netflow-pt_iptbhash.o `test -f 'pt_iptbhash.c' || echo './'`pt_iptbhash.c --- pt_netflow-pt_mesg.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_mesg.o -MD -MP -MF .deps/pt_netflow-pt_mesg.Tpo -c -o pt_netflow-pt_mesg.o `test -f 'pt_mesg.c' || echo './'`pt_mesg.c --- pt_netflow-pt_send.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_send.o -MD -MP -MF .deps/pt_netflow-pt_send.Tpo -c -o pt_netflow-pt_send.o `test -f 'pt_send.c' || echo './'`pt_send.c --- pt_netflow-pt_util.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_util.o -MD -MP -MF .deps/pt_netflow-pt_util.Tpo -c -o pt_netflow-pt_util.o `test -f 'pt_util.c' || echo './'`pt_util.c --- pt_netflow-pt_tcp.o --- pt_tcp.c: In function 'packter_tcp': --- pt_netflow-pt_icmp.o --- pt_icmp.c: In function 'packter_icmp': --- pt_netflow-pt_tcp.o --- pt_tcp.c:79:2: warning: implicit declaration of function 'packter_mesg'; did you mean 'packter_tcp'? [-Wimplicit-function-declaration] packter_mesg(mesg, srcip, dstip, ntohs(th->th_sport),ntohs(th->th_dport), flag, mesgbuf); ^~~~~~~~~~~~ packter_tcp --- pt_netflow-pt_icmp.o --- pt_icmp.c:72:2: warning: implicit declaration of function 'packter_mesg'; did you mean 'packter_icmp'? [-Wimplicit-function-declaration] packter_mesg(mesg, srcip, dstip, (ih->icmp_type) * 256, (ih->icmp_code) * 256, flag, mesgbuf); ^~~~~~~~~~~~ packter_icmp --- pt_netflow-pt_tcp.o --- pt_tcp.c:80:2: warning: implicit declaration of function 'packter_send'; did you mean 'packter_tcp'? [-Wimplicit-function-declaration] packter_send(mesg); ^~~~~~~~~~~~ packter_tcp --- pt_netflow-pt_icmp.o --- pt_icmp.c:73:2: warning: implicit declaration of function 'packter_send'; did you mean 'packter_icmp'? [-Wimplicit-function-declaration] packter_send(mesg); ^~~~~~~~~~~~ packter_icmp --- pt_netflow-pt_ip6.o --- pt_ip6.c: In function 'packter_ip6': pt_ip6.c:75:3: warning: implicit declaration of function 'generate_hash6' [-Wimplicit-function-declaration] generate_hash6(packet, len, mesgbuf); ^~~~~~~~~~~~~~ pt_ip6.c:86:4: warning: implicit declaration of function 'packter_tcp'; did you mean 'packter_ip6'? [-Wimplicit-function-declaration] packter_tcp((u_char *)(p + ntohs(ip6->ip6_plen)), ^~~~~~~~~~~ packter_ip6 --- pt_netflow-pt_icmp6.o --- pt_icmp6.c: In function 'packter_icmp6': pt_icmp6.c:70:2: warning: implicit declaration of function 'packter_mesg'; did you mean 'packter_icmp6'? [-Wimplicit-function-declaration] packter_mesg(mesg, srcip, dstip, ^~~~~~~~~~~~ packter_icmp6 --- pt_netflow-pt_ip6.o --- pt_ip6.c:92:4: warning: implicit declaration of function 'packter_udp'; did you mean 'packter_ip6'? [-Wimplicit-function-declaration] packter_udp((u_char *)(p + ntohs(ip6->ip6_plen)), ^~~~~~~~~~~ packter_ip6 pt_ip6.c:98:4: warning: implicit declaration of function 'packter_icmp6'; did you mean 'packter_ip6'? [-Wimplicit-function-declaration] packter_icmp6((u_char *)(p + ntohs(ip6->ip6_plen)), ^~~~~~~~~~~~~ packter_ip6 --- pt_netflow-pt_icmp6.o --- pt_icmp6.c:74:2: warning: implicit declaration of function 'packter_send'; did you mean 'packter_icmp6'? [-Wimplicit-function-declaration] packter_send(mesg); ^~~~~~~~~~~~ packter_icmp6 --- pt_netflow-pt_ip.o --- pt_ip.c: In function 'packter_ip': pt_ip.c:85:3: warning: implicit declaration of function 'generate_hash' [-Wimplicit-function-declaration] generate_hash(packet, len, mesgbuf); ^~~~~~~~~~~~~ pt_ip.c:91:4: warning: implicit declaration of function 'packter_tcp'; did you mean 'packter_ip'? [-Wimplicit-function-declaration] packter_tcp((u_char *)(p + ip->ip_hl * 4), (u_int)(len - ip->ip_hl*4), ^~~~~~~~~~~ packter_ip --- pt_netflow-pt_datalink.o --- pt_datalink.c: In function 'packter_lback': pt_datalink.c:64:3: warning: implicit declaration of function 'packter_ip'; did you mean 'packter_ether'? [-Wimplicit-function-declaration] packter_ip((u_char *)(p + NULL_HDRLEN), (u_int)(h->len - NULL_HDRLEN)); ^~~~~~~~~~ packter_ether --- pt_netflow-pt_ip.o --- pt_ip.c:96:4: warning: implicit declaration of function 'packter_udp'; did you mean 'packter_ip'? [-Wimplicit-function-declaration] packter_udp((u_char *)(p + ip->ip_hl * 4), (u_int)(len - ip->ip_hl*4), ^~~~~~~~~~~ packter_ip pt_ip.c:101:4: warning: implicit declaration of function 'packter_icmp'; did you mean 'packter_ip'? [-Wimplicit-function-declaration] packter_icmp((u_char *)(p + ip->ip_hl * 4), (u_int)(len - ip->ip_hl*4), ^~~~~~~~~~~~ packter_ip --- pt_netflow-pt_send.o --- pt_send.c: In function 'packter_send': pt_send.c:68:9: warning: implicit declaration of function 'packter_rate'; did you mean 'packter_send'? [-Wimplicit-function-declaration] rate = packter_rate(rate_limit); ^~~~~~~~~~~~ packter_send --- pt_netflow-pt_datalink.o --- pt_datalink.c: In function 'packter_ether': pt_datalink.c:97:4: warning: implicit declaration of function 'packter_ip6'; did you mean 'packter_ether'? [-Wimplicit-function-declaration] packter_ip6((u_char *)(p + skiplen), (u_int)(h->len - skiplen)); ^~~~~~~~~~~ packter_ether --- pt_netflow-pt_udp.o --- pt_udp.c: In function 'packter_udp': pt_udp.c:71:2: warning: implicit declaration of function 'packter_mesg'; did you mean 'packter_udp'? [-Wimplicit-function-declaration] packter_mesg(mesg, srcip, dstip, ntohs(uh->uh_sport), ntohs(uh->uh_dport), flag, mesgbuf); ^~~~~~~~~~~~ packter_udp --- pt_netflow-pt_icmp.o --- mv -f .deps/pt_netflow-pt_icmp.Tpo .deps/pt_netflow-pt_icmp.Po --- pt_netflow-pt_udp.o --- pt_udp.c:72:2: warning: implicit declaration of function 'packter_send'; did you mean 'packter_udp'? [-Wimplicit-function-declaration] packter_send(mesg); ^~~~~~~~~~~~ packter_udp --- pt_netflow-pt_init.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_init.o -MD -MP -MF .deps/pt_netflow-pt_init.Tpo -c -o pt_netflow-pt_init.o `test -f 'pt_init.c' || echo './'`pt_init.c --- pt_netflow-pt_mesg.o --- mv -f .deps/pt_netflow-pt_mesg.Tpo .deps/pt_netflow-pt_mesg.Po --- pt_netflow-pt_icmp6.o --- mv -f .deps/pt_netflow-pt_icmp6.Tpo .deps/pt_netflow-pt_icmp6.Po --- pt_thmon-pt_iptbhash.o --- --- pt_thmon-pt_hash.o --- --- pt_netflow-pt_tcp.o --- mv -f .deps/pt_netflow-pt_tcp.Tpo .deps/pt_netflow-pt_tcp.Po --- pt_thmon-pt_iptbhash.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_thmon-pt_iptbhash.o -MD -MP -MF .deps/pt_thmon-pt_iptbhash.Tpo -c -o pt_thmon-pt_iptbhash.o `test -f 'pt_iptbhash.c' || echo './'`pt_iptbhash.c --- pt_thmon-pt_hash.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_thmon-pt_hash.o -MD -MP -MF .deps/pt_thmon-pt_hash.Tpo -c -o pt_thmon-pt_hash.o `test -f 'pt_hash.c' || echo './'`pt_hash.c --- pt_thmon-pt_util.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_thmon-pt_util.o -MD -MP -MF .deps/pt_thmon-pt_util.Tpo -c -o pt_thmon-pt_util.o `test -f 'pt_util.c' || echo './'`pt_util.c --- pt_netflow-pt_pcap.o --- mv -f .deps/pt_netflow-pt_pcap.Tpo .deps/pt_netflow-pt_pcap.Po --- pt_agent-pt_agent.o --- --- pt_sflow-pt_ip.o --- mv -f .deps/pt_sflow-pt_ip.Tpo .deps/pt_sflow-pt_ip.Po --- pt_agent-pt_agent.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_agent.o -MD -MP -MF .deps/pt_agent-pt_agent.Tpo -c -o pt_agent-pt_agent.o `test -f 'pt_agent.c' || echo './'`pt_agent.c --- pt_netflow-pt_ip6.o --- mv -f .deps/pt_netflow-pt_ip6.Tpo .deps/pt_netflow-pt_ip6.Po --- pt_agent-pt_sock.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_sock.o -MD -MP -MF .deps/pt_agent-pt_sock.Tpo -c -o pt_agent-pt_sock.o `test -f 'pt_sock.c' || echo './'`pt_sock.c --- pt_netflow-pt_ip.o --- mv -f .deps/pt_netflow-pt_ip.Tpo .deps/pt_netflow-pt_ip.Po --- pt_agent-pt_pcap.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_pcap.o -MD -MP -MF .deps/pt_agent-pt_pcap.Tpo -c -o pt_agent-pt_pcap.o `test -f 'pt_pcap.c' || echo './'`pt_pcap.c --- pt_netflow-pt_udp.o --- mv -f .deps/pt_netflow-pt_udp.Tpo .deps/pt_netflow-pt_udp.Po --- pt_agent-pt_snort.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_snort.o -MD -MP -MF .deps/pt_agent-pt_snort.Tpo -c -o pt_agent-pt_snort.o `test -f 'pt_snort.c' || echo './'`pt_snort.c --- pt_netflow-pt_util.o --- mv -f .deps/pt_netflow-pt_util.Tpo .deps/pt_netflow-pt_util.Po --- pt_netflow-pt_init.o --- mv -f .deps/pt_netflow-pt_init.Tpo .deps/pt_netflow-pt_init.Po --- pt_agent-pt_datalink.o --- --- pt_netflow-pt_send.o --- mv -f .deps/pt_netflow-pt_send.Tpo .deps/pt_netflow-pt_send.Po --- pt_netflow-pt_snort.o --- pt_snort.c: In function 'packter_snort': pt_snort.c:90:4: warning: implicit declaration of function 'packter_ether'; did you mean 'packter_snort'? [-Wimplicit-function-declaration] packter_ether(NULL, &(alert.pkth), (u_char *)alert.pkt); ^~~~~~~~~~~~~ packter_snort --- pt_agent-pt_agent.o --- pt_agent.c: In function 'main': pt_agent.c:198:14: warning: implicit declaration of function 'pt_sock' [-Wimplicit-function-declaration] if ((sock = pt_sock(ip, port, use6)) < 0){ ^~~~~~~ --- pt_agent-pt_ip.o --- --- pt_agent-pt_ip6.o --- --- pt_agent-pt_datalink.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_datalink.o -MD -MP -MF .deps/pt_agent-pt_datalink.Tpo -c -o pt_agent-pt_datalink.o `test -f 'pt_datalink.c' || echo './'`pt_datalink.c --- pt_agent-pt_ip.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_ip.o -MD -MP -MF .deps/pt_agent-pt_ip.Tpo -c -o pt_agent-pt_ip.o `test -f 'pt_ip.c' || echo './'`pt_ip.c --- pt_agent-pt_ip6.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_ip6.o -MD -MP -MF .deps/pt_agent-pt_ip6.Tpo -c -o pt_agent-pt_ip6.o `test -f 'pt_ip6.c' || echo './'`pt_ip6.c --- pt_netflow-pt_snort.o --- pt_snort.c:73:2: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(un.sun_path , sockname, strlen(sockname)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- pt_netflow-pt_sock.o --- mv -f .deps/pt_netflow-pt_sock.Tpo .deps/pt_netflow-pt_sock.Po --- pt_agent-pt_tcp.o --- --- pt_thmon-pt_iptbhash.o --- mv -f .deps/pt_thmon-pt_iptbhash.Tpo .deps/pt_thmon-pt_iptbhash.Po --- pt_agent-pt_tcp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_tcp.o -MD -MP -MF .deps/pt_agent-pt_tcp.Tpo -c -o pt_agent-pt_tcp.o `test -f 'pt_tcp.c' || echo './'`pt_tcp.c --- pt_agent-pt_udp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_udp.o -MD -MP -MF .deps/pt_agent-pt_udp.Tpo -c -o pt_agent-pt_udp.o `test -f 'pt_udp.c' || echo './'`pt_udp.c --- pt_agent-pt_icmp.o --- --- pt_netflow-pt_iptbhash.o --- mv -f .deps/pt_netflow-pt_iptbhash.Tpo .deps/pt_netflow-pt_iptbhash.Po --- pt_agent-pt_icmp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_icmp.o -MD -MP -MF .deps/pt_agent-pt_icmp.Tpo -c -o pt_agent-pt_icmp.o `test -f 'pt_icmp.c' || echo './'`pt_icmp.c --- pt_agent-pt_icmp6.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_icmp6.o -MD -MP -MF .deps/pt_agent-pt_icmp6.Tpo -c -o pt_agent-pt_icmp6.o `test -f 'pt_icmp6.c' || echo './'`pt_icmp6.c --- pt_agent-pt_snort.o --- pt_snort.c: In function 'packter_snort': pt_snort.c:90:4: warning: implicit declaration of function 'packter_ether'; did you mean 'packter_snort'? [-Wimplicit-function-declaration] packter_ether(NULL, &(alert.pkth), (u_char *)alert.pkt); ^~~~~~~~~~~~~ packter_snort --- pt_thmon-pt_util.o --- mv -f .deps/pt_thmon-pt_util.Tpo .deps/pt_thmon-pt_util.Po --- pt_agent-pt_iptbhash.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_iptbhash.o -MD -MP -MF .deps/pt_agent-pt_iptbhash.Tpo -c -o pt_agent-pt_iptbhash.o `test -f 'pt_iptbhash.c' || echo './'`pt_iptbhash.c --- pt_netflow-pt_snort.o --- mv -f .deps/pt_netflow-pt_snort.Tpo .deps/pt_netflow-pt_snort.Po --- pt_agent-pt_mesg.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_mesg.o -MD -MP -MF .deps/pt_agent-pt_mesg.Tpo -c -o pt_agent-pt_mesg.o `test -f 'pt_mesg.c' || echo './'`pt_mesg.c --- pt_agent-pt_sock.o --- mv -f .deps/pt_agent-pt_sock.Tpo .deps/pt_agent-pt_sock.Po --- pt_agent-pt_send.o --- --- pt_agent-pt_ip.o --- pt_ip.c: In function 'packter_ip': pt_ip.c:85:3: warning: implicit declaration of function 'generate_hash' [-Wimplicit-function-declaration] generate_hash(packet, len, mesgbuf); ^~~~~~~~~~~~~ --- pt_agent-pt_send.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_send.o -MD -MP -MF .deps/pt_agent-pt_send.Tpo -c -o pt_agent-pt_send.o `test -f 'pt_send.c' || echo './'`pt_send.c --- pt_agent-pt_ip.o --- pt_ip.c:91:4: warning: implicit declaration of function 'packter_tcp'; did you mean 'packter_ip'? [-Wimplicit-function-declaration] packter_tcp((u_char *)(p + ip->ip_hl * 4), (u_int)(len - ip->ip_hl*4), ^~~~~~~~~~~ packter_ip pt_ip.c:96:4: warning: implicit declaration of function 'packter_udp'; did you mean 'packter_ip'? [-Wimplicit-function-declaration] packter_udp((u_char *)(p + ip->ip_hl * 4), (u_int)(len - ip->ip_hl*4), ^~~~~~~~~~~ packter_ip pt_ip.c:101:4: warning: implicit declaration of function 'packter_icmp'; did you mean 'packter_ip'? [-Wimplicit-function-declaration] packter_icmp((u_char *)(p + ip->ip_hl * 4), (u_int)(len - ip->ip_hl*4), ^~~~~~~~~~~~ packter_ip --- pt_agent-pt_udp.o --- pt_udp.c: In function 'packter_udp': pt_udp.c:71:2: warning: implicit declaration of function 'packter_mesg'; did you mean 'packter_udp'? [-Wimplicit-function-declaration] packter_mesg(mesg, srcip, dstip, ntohs(uh->uh_sport), ntohs(uh->uh_dport), flag, mesgbuf); ^~~~~~~~~~~~ packter_udp pt_udp.c:72:2: warning: implicit declaration of function 'packter_send'; did you mean 'packter_udp'? [-Wimplicit-function-declaration] packter_send(mesg); ^~~~~~~~~~~~ packter_udp --- pt_agent-pt_tcp.o --- pt_tcp.c: In function 'packter_tcp': pt_tcp.c:79:2: warning: implicit declaration of function 'packter_mesg'; did you mean 'packter_tcp'? [-Wimplicit-function-declaration] packter_mesg(mesg, srcip, dstip, ntohs(th->th_sport),ntohs(th->th_dport), flag, mesgbuf); ^~~~~~~~~~~~ packter_tcp pt_tcp.c:80:2: warning: implicit declaration of function 'packter_send'; did you mean 'packter_tcp'? [-Wimplicit-function-declaration] packter_send(mesg); ^~~~~~~~~~~~ packter_tcp --- pt_agent-pt_ip6.o --- pt_ip6.c: In function 'packter_ip6': pt_ip6.c:75:3: warning: implicit declaration of function 'generate_hash6' [-Wimplicit-function-declaration] generate_hash6(packet, len, mesgbuf); ^~~~~~~~~~~~~~ --- pt_agent-pt_icmp.o --- pt_icmp.c: In function 'packter_icmp': --- pt_agent-pt_ip6.o --- pt_ip6.c:86:4: warning: implicit declaration of function 'packter_tcp'; did you mean 'packter_ip6'? [-Wimplicit-function-declaration] packter_tcp((u_char *)(p + ntohs(ip6->ip6_plen)), ^~~~~~~~~~~ packter_ip6 --- pt_agent-pt_icmp.o --- pt_icmp.c:72:2: warning: implicit declaration of function 'packter_mesg'; did you mean 'packter_icmp'? [-Wimplicit-function-declaration] packter_mesg(mesg, srcip, dstip, (ih->icmp_type) * 256, (ih->icmp_code) * 256, flag, mesgbuf); ^~~~~~~~~~~~ packter_icmp --- pt_agent-pt_ip6.o --- pt_ip6.c:92:4: warning: implicit declaration of function 'packter_udp'; did you mean 'packter_ip6'? [-Wimplicit-function-declaration] packter_udp((u_char *)(p + ntohs(ip6->ip6_plen)), ^~~~~~~~~~~ packter_ip6 --- pt_agent-pt_datalink.o --- pt_datalink.c: In function 'packter_lback': --- pt_agent-pt_icmp.o --- pt_icmp.c:73:2: warning: implicit declaration of function 'packter_send'; did you mean 'packter_icmp'? [-Wimplicit-function-declaration] packter_send(mesg); ^~~~~~~~~~~~ packter_icmp --- pt_agent-pt_datalink.o --- pt_datalink.c:64:3: warning: implicit declaration of function 'packter_ip'; did you mean 'packter_ether'? [-Wimplicit-function-declaration] packter_ip((u_char *)(p + NULL_HDRLEN), (u_int)(h->len - NULL_HDRLEN)); ^~~~~~~~~~ packter_ether --- pt_agent-pt_ip6.o --- pt_ip6.c:98:4: warning: implicit declaration of function 'packter_icmp6'; did you mean 'packter_ip6'? [-Wimplicit-function-declaration] packter_icmp6((u_char *)(p + ntohs(ip6->ip6_plen)), ^~~~~~~~~~~~~ packter_ip6 --- pt_agent-pt_datalink.o --- pt_datalink.c: In function 'packter_ether': pt_datalink.c:97:4: warning: implicit declaration of function 'packter_ip6'; did you mean 'packter_ether'? [-Wimplicit-function-declaration] packter_ip6((u_char *)(p + skiplen), (u_int)(h->len - skiplen)); ^~~~~~~~~~~ packter_ether --- pt_agent-pt_icmp6.o --- pt_icmp6.c: In function 'packter_icmp6': pt_icmp6.c:70:2: warning: implicit declaration of function 'packter_mesg'; did you mean 'packter_icmp6'? [-Wimplicit-function-declaration] packter_mesg(mesg, srcip, dstip, ^~~~~~~~~~~~ packter_icmp6 pt_icmp6.c:74:2: warning: implicit declaration of function 'packter_send'; did you mean 'packter_icmp6'? [-Wimplicit-function-declaration] packter_send(mesg); ^~~~~~~~~~~~ packter_icmp6 --- pt_agent-pt_agent.o --- mv -f .deps/pt_agent-pt_agent.Tpo .deps/pt_agent-pt_agent.Po --- pt_agent-pt_util.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_util.o -MD -MP -MF .deps/pt_agent-pt_util.Tpo -c -o pt_agent-pt_util.o `test -f 'pt_util.c' || echo './'`pt_util.c --- pt_agent-pt_ip.o --- mv -f .deps/pt_agent-pt_ip.Tpo .deps/pt_agent-pt_ip.Po --- pt_agent-pt_init.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_init.o -MD -MP -MF .deps/pt_agent-pt_init.Tpo -c -o pt_agent-pt_init.o `test -f 'pt_init.c' || echo './'`pt_init.c --- pt_agent-pt_send.o --- pt_send.c: In function 'packter_send': pt_send.c:68:9: warning: implicit declaration of function 'packter_rate'; did you mean 'packter_send'? [-Wimplicit-function-declaration] rate = packter_rate(rate_limit); ^~~~~~~~~~~~ packter_send --- pt_agent-pt_icmp.o --- mv -f .deps/pt_agent-pt_icmp.Tpo .deps/pt_agent-pt_icmp.Po --- pt_sflow-pt_sflow_agent.o --- --- pt_agent-pt_tcp.o --- mv -f .deps/pt_agent-pt_tcp.Tpo .deps/pt_agent-pt_tcp.Po --- pt_sflow-pt_sflow_agent.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_sflow_agent.o -MD -MP -MF .deps/pt_sflow-pt_sflow_agent.Tpo -c -o pt_sflow-pt_sflow_agent.o `test -f 'pt_sflow_agent.c' || echo './'`pt_sflow_agent.c --- pt_sflow-pt_sflow.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_sflow.o -MD -MP -MF .deps/pt_sflow-pt_sflow.Tpo -c -o pt_sflow-pt_sflow.o `test -f 'pt_sflow.c' || echo './'`pt_sflow.c --- pt_agent-pt_datalink.o --- mv -f .deps/pt_agent-pt_datalink.Tpo .deps/pt_agent-pt_datalink.Po --- pt_agent-pt_snort.o --- pt_snort.c:73:2: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(un.sun_path , sockname, strlen(sockname)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- pt_agent-pt_icmp6.o --- mv -f .deps/pt_agent-pt_icmp6.Tpo .deps/pt_agent-pt_icmp6.Po --- pt_sflow-pt_sflowd.o --- --- pt_thmon-pt_hash.o --- pt_hash.c: In function 'packter_destroy_func': pt_hash.c:58:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_hash.c:55:7: note: declared here void *packter_destroy_func(void *data) { ^~~~~~~~~~~~~~~~~~~~ pt_hash.c:65:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_hash.c:55:7: note: declared here void *packter_destroy_func(void *data) { ^~~~~~~~~~~~~~~~~~~~ --- pt_sflow-pt_sflowd.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_sflowd.o -MD -MP -MF .deps/pt_sflow-pt_sflowd.Tpo -c -o pt_sflow-pt_sflowd.o `test -f 'pt_sflowd.c' || echo './'`pt_sflowd.c --- pt_netflow-pt_datalink.o --- mv -f .deps/pt_netflow-pt_datalink.Tpo .deps/pt_netflow-pt_datalink.Po --- pt_netflow-pt_netflow_agent.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_netflow_agent.o -MD -MP -MF .deps/pt_netflow-pt_netflow_agent.Tpo -c -o pt_netflow-pt_netflow_agent.o `test -f 'pt_netflow_agent.c' || echo './'`pt_netflow_agent.c --- pt_agent-pt_iptbhash.o --- mv -f .deps/pt_agent-pt_iptbhash.Tpo .deps/pt_agent-pt_iptbhash.Po --- pt_netflow-pt_netflow.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_netflow.o -MD -MP -MF .deps/pt_netflow-pt_netflow.Tpo -c -o pt_netflow-pt_netflow.o `test -f 'pt_netflow.c' || echo './'`pt_netflow.c --- pt_agent-pt_mesg.o --- mv -f .deps/pt_agent-pt_mesg.Tpo .deps/pt_agent-pt_mesg.Po --- pt_netflow-pt_netflowd.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_netflowd.o -MD -MP -MF .deps/pt_netflow-pt_netflowd.Tpo -c -o pt_netflow-pt_netflowd.o `test -f 'pt_netflowd.c' || echo './'`pt_netflowd.c --- pt_sflow-pt_sflow.o --- pt_sflow.c: In function 'packter_sflow_read': pt_sflow.c:153:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_sflow.c:53:5: note: declared here int packter_sflow_read(char *buf, int len) ^~~~~~~~~~~~~~~~~~ --- pt_agent-pt_util.o --- mv -f .deps/pt_agent-pt_util.Tpo .deps/pt_agent-pt_util.Po --- pt_sflow-pt_sflow_agent.o --- pt_sflow_agent.c: In function 'main': pt_sflow_agent.c:107:2: warning: implicit declaration of function 'packter_init'; did you mean 'packter_pcap'? [-Wimplicit-function-declaration] packter_init(); ^~~~~~~~~~~~ packter_pcap --- pt_netflow-pt_hash.o --- --- pt_agent-pt_snort.o --- mv -f .deps/pt_agent-pt_snort.Tpo .deps/pt_agent-pt_snort.Po --- pt_sflow-pt_sflow_agent.o --- pt_sflow_agent.c:200:10: warning: implicit declaration of function 'packter_rate'; did you mean 'packter_pcap'? [-Wimplicit-function-declaration] rate = packter_rate(rate_limit); ^~~~~~~~~~~~ packter_pcap --- pt_thmon-pt_thmon.o --- --- pt_netflow-pt_hash.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_hash.o -MD -MP -MF .deps/pt_netflow-pt_hash.Tpo -c -o pt_netflow-pt_hash.o `test -f 'pt_hash.c' || echo './'`pt_hash.c --- pt_sflow-pt_sflow_agent.o --- pt_sflow_agent.c:202:14: warning: implicit declaration of function 'pt_sock'; did you mean 'pt_sflowd'? [-Wimplicit-function-declaration] if ((sock = pt_sock(ip, port, use6)) < 0){ ^~~~~~~ pt_sflowd --- pt_agent-pt_init.o --- mv -f .deps/pt_agent-pt_init.Tpo .deps/pt_agent-pt_init.Po --- pt_thmon-pt_thmon.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_thmon-pt_thmon.o -MD -MP -MF .deps/pt_thmon-pt_thmon.Tpo -c -o pt_thmon-pt_thmon.o `test -f 'pt_thmon.c' || echo './'`pt_thmon.c --- pt_thmon-pt_hash.o --- mv -f .deps/pt_thmon-pt_hash.Tpo .deps/pt_thmon-pt_hash.Po --- pt_netflow-pt_netflowd.o --- pt_netflowd.c: In function 'pt_netflowd': pt_netflowd.c:92:4: warning: implicit declaration of function 'packter_netflow_read'; did you mean 'packter_netflow'? [-Wimplicit-function-declaration] packter_netflow_read(buf, len); ^~~~~~~~~~~~~~~~~~~~ packter_netflow --- pt_sflow-pt_sflowd.o --- pt_sflowd.c: In function 'pt_sflowd': pt_sflowd.c:80:11: warning: 'return' with a value, in function returning void return(PACKTER_TRUE); ^ pt_sflowd.c:51:6: note: declared here void pt_sflowd(char *sflow_bind_addr, int sflow_bind_port, int bind_set) ^~~~~~~~~ pt_sflowd.c:94:4: warning: implicit declaration of function 'packter_sflow_read'; did you mean 'packter_sflow'? [-Wimplicit-function-declaration] packter_sflow_read(buf, len); ^~~~~~~~~~~~~~~~~~ packter_sflow --- pt_agent-pt_send.o --- mv -f .deps/pt_agent-pt_send.Tpo .deps/pt_agent-pt_send.Po --- pt_agent-pt_ip6.o --- mv -f .deps/pt_agent-pt_ip6.Tpo .deps/pt_agent-pt_ip6.Po --- pt_agent-pt_udp.o --- mv -f .deps/pt_agent-pt_udp.Tpo .deps/pt_agent-pt_udp.Po --- pt_sflow-pt_sflow_agent.o --- mv -f .deps/pt_sflow-pt_sflow_agent.Tpo .deps/pt_sflow-pt_sflow_agent.Po --- pt_netflow-pt_netflowd.o --- mv -f .deps/pt_netflow-pt_netflowd.Tpo .deps/pt_netflow-pt_netflowd.Po --- pt_sflow-pt_sflowd.o --- mv -f .deps/pt_sflow-pt_sflowd.Tpo .deps/pt_sflow-pt_sflowd.Po --- pt_netflow-pt_netflow_agent.o --- pt_netflow_agent.c: In function 'main': pt_netflow_agent.c:114:2: warning: implicit declaration of function 'packter_init'; did you mean 'g_mutex_init'? [-Wimplicit-function-declaration] packter_init(); ^~~~~~~~~~~~ g_mutex_init pt_netflow_agent.c:116:2: warning: implicit declaration of function 'packter_hash_new'; did you mean 'packter_netflow'? [-Wimplicit-function-declaration] packter_hash_new(); ^~~~~~~~~~~~~~~~ packter_netflow pt_netflow_agent.c:201:10: warning: implicit declaration of function 'packter_rate'; did you mean 'packter_netflow'? [-Wimplicit-function-declaration] rate = packter_rate(rate_limit); ^~~~~~~~~~~~ packter_netflow --- pt_sflow-pt_sflow.o --- mv -f .deps/pt_sflow-pt_sflow.Tpo .deps/pt_sflow-pt_sflow.Po --- pt_netflow-pt_netflow_agent.o --- pt_netflow_agent.c:203:14: warning: implicit declaration of function 'pt_sock' [-Wimplicit-function-declaration] if ((sock = pt_sock(ip, port, use6)) < 0){ ^~~~~~~ --- pt_sflow --- cc -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -o pt_sflow pt_sflow-pt_sflow_agent.o pt_sflow-pt_sflow.o pt_sflow-pt_sflowd.o pt_sflow-pt_sock.o pt_sflow-pt_pcap.o pt_sflow-pt_snort.o pt_sflow-pt_datalink.o pt_sflow-pt_ip.o pt_sflow-pt_ip6.o pt_sflow-pt_tcp.o pt_sflow-pt_udp.o pt_sflow-pt_icmp.o pt_sflow-pt_icmp6.o pt_sflow-pt_iptbhash.o pt_sflow-pt_mesg.o pt_sflow-pt_send.o pt_sflow-pt_util.o pt_sflow-pt_init.o -lcrypto -lpcap -L/usr/local/lib -lglib-2.0 -lintl --- pt_netflow-pt_netflow.o --- pt_netflow.c: In function 'packter_netflow_read': pt_netflow.c:66:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_netflow.c:57:5: note: declared here int packter_netflow_read(char *buf, int len) ^~~~~~~~~~~~~~~~~~~~ pt_netflow.c:83:4: warning: implicit declaration of function 'packter_netflow_template_set'; did you mean 'packter_netflow_read'? [-Wimplicit-function-declaration] packter_netflow_template_set(buf, len, srcid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ packter_netflow_read pt_netflow.c:86:4: warning: implicit declaration of function 'packter_netflow_template'; did you mean 'packter_netflow_read'? [-Wimplicit-function-declaration] packter_netflow_template(buf, len, srcid); ^~~~~~~~~~~~~~~~~~~~~~~~ packter_netflow_read pt_netflow.c:92:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_netflow.c:57:5: note: declared here int packter_netflow_read(char *buf, int len) ^~~~~~~~~~~~~~~~~~~~ --- pt_netflow-pt_hash.o --- pt_hash.c: In function 'packter_destroy_func': pt_hash.c:58:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_hash.c:55:7: note: declared here void *packter_destroy_func(void *data) { ^~~~~~~~~~~~~~~~~~~~ pt_hash.c:65:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_hash.c:55:7: note: declared here void *packter_destroy_func(void *data) { ^~~~~~~~~~~~~~~~~~~~ --- pt_netflow-pt_netflow.o --- pt_netflow.c: In function 'packter_netflow_template_set': pt_netflow.c:128:6: warning: implicit declaration of function 'packter_is_exist_key'; did you mean 'packter_netflow'? [-Wimplicit-function-declaration] if (packter_is_exist_key(key) == PACKTER_TRUE){ ^~~~~~~~~~~~~~~~~~~~ packter_netflow pt_netflow.c:138:3: warning: implicit declaration of function 'packter_netflow_pointer_init'; did you mean 'packter_netflow_template_set'? [-Wimplicit-function-declaration] packter_netflow_pointer_init(np); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ packter_netflow_template_set pt_netflow.c: In function 'packter_netflow_template': pt_netflow.c:258:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_netflow.c:212:5: note: declared here int packter_netflow_template(const char *buf, const int len, int srcid) ^~~~~~~~~~~~~~~~~~~~~~~~ pt_netflow.c:269:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_netflow.c:212:5: note: declared here int packter_netflow_template(const char *buf, const int len, int srcid) ^~~~~~~~~~~~~~~~~~~~~~~~ pt_netflow.c:277:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_netflow.c:212:5: note: declared here int packter_netflow_template(const char *buf, const int len, int srcid) ^~~~~~~~~~~~~~~~~~~~~~~~ pt_netflow.c:286:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_netflow.c:212:5: note: declared here int packter_netflow_template(const char *buf, const int len, int srcid) ^~~~~~~~~~~~~~~~~~~~~~~~ pt_netflow.c:293:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_netflow.c:212:5: note: declared here int packter_netflow_template(const char *buf, const int len, int srcid) ^~~~~~~~~~~~~~~~~~~~~~~~ pt_netflow.c:309:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_netflow.c:212:5: note: declared here int packter_netflow_template(const char *buf, const int len, int srcid) ^~~~~~~~~~~~~~~~~~~~~~~~ pt_netflow.c:348:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_netflow.c:212:5: note: declared here int packter_netflow_template(const char *buf, const int len, int srcid) ^~~~~~~~~~~~~~~~~~~~~~~~ pt_netflow.c:370:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_netflow.c:212:5: note: declared here int packter_netflow_template(const char *buf, const int len, int srcid) ^~~~~~~~~~~~~~~~~~~~~~~~ pt_netflow.c:383:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_netflow.c:212:5: note: declared here int packter_netflow_template(const char *buf, const int len, int srcid) ^~~~~~~~~~~~~~~~~~~~~~~~ pt_netflow.c:398:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_netflow.c:212:5: note: declared here int packter_netflow_template(const char *buf, const int len, int srcid) ^~~~~~~~~~~~~~~~~~~~~~~~ pt_netflow.c:401:2: warning: implicit declaration of function 'packter_mesg'; did you mean 'packter_netflow'? [-Wimplicit-function-declaration] packter_mesg(mesg, srcip, dstip, ntohs(srcport),ntohs(dstport), flag, mesgbuf); ^~~~~~~~~~~~ packter_netflow pt_netflow.c:402:2: warning: implicit declaration of function 'packter_send'; did you mean 'packter_netflow'? [-Wimplicit-function-declaration] packter_send(mesg); ^~~~~~~~~~~~ packter_netflow --- pt_agent-pt_pcap.o --- mv -f .deps/pt_agent-pt_pcap.Tpo .deps/pt_agent-pt_pcap.Po --- pt_agent --- cc -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -o pt_agent pt_agent-pt_agent.o pt_agent-pt_sock.o pt_agent-pt_pcap.o pt_agent-pt_snort.o pt_agent-pt_datalink.o pt_agent-pt_ip.o pt_agent-pt_ip6.o pt_agent-pt_tcp.o pt_agent-pt_udp.o pt_agent-pt_icmp.o pt_agent-pt_icmp6.o pt_agent-pt_iptbhash.o pt_agent-pt_mesg.o pt_agent-pt_send.o pt_agent-pt_util.o pt_agent-pt_init.o -lcrypto -lpcap -L/usr/local/lib -lglib-2.0 -lintl --- pt_netflow-pt_netflow_agent.o --- mv -f .deps/pt_netflow-pt_netflow_agent.Tpo .deps/pt_netflow-pt_netflow_agent.Po --- pt_thmon-pt_thmon.o --- pt_thmon.c: In function 'packter_analy': pt_thmon.c:571:7: warning: implicit declaration of function 'packter_is_exist_key_str'; did you mean 'packter_ether'? [-Wimplicit-function-declaration] if (packter_is_exist_key_str("MON_OPT_MSG_FOOT") == PACKTER_TRUE){ ^~~~~~~~~~~~~~~~~~~~~~~~ packter_ether pt_thmon.c:572:6: warning: implicit declaration of function 'packter_addstring_hash'; did you mean 'packter_addstring'? [-Wimplicit-function-declaration] packter_addstring_hash(mesg, "MON_OPT_MSG_FOOT"); ^~~~~~~~~~~~~~~~~~~~~~ packter_addstring --- pt_netflow-pt_netflow.o --- mv -f .deps/pt_netflow-pt_netflow.Tpo .deps/pt_netflow-pt_netflow.Po --- pt_netflow-pt_hash.o --- mv -f .deps/pt_netflow-pt_hash.Tpo .deps/pt_netflow-pt_hash.Po --- pt_netflow --- cc -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -o pt_netflow pt_netflow-pt_netflow_agent.o pt_netflow-pt_netflow.o pt_netflow-pt_netflowd.o pt_netflow-pt_sock.o pt_netflow-pt_pcap.o pt_netflow-pt_snort.o pt_netflow-pt_datalink.o pt_netflow-pt_ip.o pt_netflow-pt_ip6.o pt_netflow-pt_tcp.o pt_netflow-pt_udp.o pt_netflow-pt_icmp.o pt_netflow-pt_icmp6.o pt_netflow-pt_iptbhash.o pt_netflow-pt_mesg.o pt_netflow-pt_send.o pt_netflow-pt_util.o pt_netflow-pt_init.o pt_netflow-pt_hash.o -lcrypto -lpcap -L/usr/local/lib -lglib-2.0 -lintl --- pt_thmon-pt_thmon.o --- mv -f .deps/pt_thmon-pt_thmon.Tpo .deps/pt_thmon-pt_thmon.Po --- pt_thmon --- cc -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -o pt_thmon pt_thmon-pt_thmon.o pt_thmon-pt_iptbhash.o pt_thmon-pt_hash.o pt_thmon-pt_util.o -lcrypto -lpcap -L/usr/local/lib -lglib-2.0 -lintl --- config.h --- -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for packter-agent-2.5_2 ===> Generating temporary packing list Making install in src test -z "/usr/local/bin" || /bin/mkdir -p "/construction/net/packter-agent/stage/usr/local/bin" install -s -m 555 pt_agent pt_sflow pt_netflow pt_thmon '/construction/net/packter-agent/stage/usr/local/bin' test -z "/usr/local/etc" || /bin/mkdir -p "/construction/net/packter-agent/stage/usr/local/etc" install -m 0644 packter.conf.sample '/construction/net/packter-agent/stage/usr/local/etc' install -m 0644 /construction/net/packter-agent/PackterAgent-2.5/AUTHORS /construction/net/packter-agent/stage/usr/local/share/doc/packter-agent install -m 0644 /construction/net/packter-agent/PackterAgent-2.5/COPYING /construction/net/packter-agent/stage/usr/local/share/doc/packter-agent install -m 0644 /construction/net/packter-agent/PackterAgent-2.5/ChangeLog /construction/net/packter-agent/stage/usr/local/share/doc/packter-agent install -m 0644 /construction/net/packter-agent/PackterAgent-2.5/INSTALL /construction/net/packter-agent/stage/usr/local/share/doc/packter-agent install -m 0644 /construction/net/packter-agent/PackterAgent-2.5/LICENSE /construction/net/packter-agent/stage/usr/local/share/doc/packter-agent install -m 0644 /construction/net/packter-agent/PackterAgent-2.5/NEWS /construction/net/packter-agent/stage/usr/local/share/doc/packter-agent install -m 0644 /construction/net/packter-agent/PackterAgent-2.5/README /construction/net/packter-agent/stage/usr/local/share/doc/packter-agent ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: you need USES=ssl Error: /usr/local/bin/pt_agent is linked to /usr/local/lib/libcrypto.so.11 from security/openssl but it is not declared as a dependency Warning: you need USES=ssl Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for packter-agent-2.5_2 file sizes/checksums [12]: . done packing files [12]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 14 FEB 2020 at 17:47:25 UTC Duration: 00:00:28