------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/pkgconf-1.6.3,1.txz Installing /packages/All/pcre-8.43_2.txz Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/libffi-3.2.1_3.txz Installing /packages/All/gettext-runtime-0.20.2.txz Installing /packages/All/libxml2-2.9.10.txz Installing /packages/All/libiconv-1.14_11.txz Installing /packages/All/expat-2.2.8.txz Installing /packages/All/ncurses-6.1.20190525.txz Installing /packages/All/readline-8.0.4.txz Installing /packages/All/openssl-1.1.1g,1.txz Installing /packages/All/python37-3.7.7.txz ===== Message from python37-3.7.7: -- 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 Installing /packages/All/glib-2.56.3_7,1.txz No schema files found: doing nothing. SUCCEEDED 00:00:14 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> packter-agent-2.5_2 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> packter-agent-2.5_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by packter-agent-2.5_2 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> packter-agent-2.5_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by packter-agent-2.5_2 for building => SHA256 Checksum OK for PackterAgent-2.5.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> packter-agent-2.5_2 depends on file: /usr/local/sbin/pkg - found ===> 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. Extracted Memory Use: 3.69M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for packter-agent-2.5_2 SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> packter-agent-2.5_2 depends on package: pkgconf>=1.3.0_1 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> packter-agent-2.5_2 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) ===> packter-agent-2.5_2 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> packter-agent-2.5_2 depends on package: pkgconf>=1.3.0_1 - found ===> packter-agent-2.5_2 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) ===> packter-agent-2.5_2 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> 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 SUCCEEDED 00:00:05 ------------------------------------------------------------------------------- -- 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_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_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_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_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_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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/pt_sflow-pt_snort.Tpo .deps/pt_sflow-pt_snort.Po --- 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_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_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_sflow-pt_mesg.o --- --- pt_sflow-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_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_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_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_ip.o --- mv -f .deps/pt_sflow-pt_ip.Tpo .deps/pt_sflow-pt_ip.Po --- 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_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_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_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_udp.o --- mv -f .deps/pt_sflow-pt_udp.Tpo .deps/pt_sflow-pt_udp.Po --- pt_sflow-pt_datalink.o --- mv -f .deps/pt_sflow-pt_datalink.Tpo .deps/pt_sflow-pt_datalink.Po --- pt_sflow-pt_util.o --- --- pt_sflow-pt_init.o --- --- 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_icmp6.o --- mv -f .deps/pt_sflow-pt_icmp6.Tpo .deps/pt_sflow-pt_icmp6.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 --- pt_netflow-pt_sock.o --- --- pt_sflow-pt_ip6.o --- mv -f .deps/pt_sflow-pt_ip6.Tpo .deps/pt_sflow-pt_ip6.Po --- pt_netflow-pt_pcap.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_sflow-pt_mesg.o --- mv -f .deps/pt_sflow-pt_mesg.Tpo .deps/pt_sflow-pt_mesg.Po --- 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_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_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 --- --- pt_sflow-pt_iptbhash.o --- mv -f .deps/pt_sflow-pt_iptbhash.Tpo .deps/pt_sflow-pt_iptbhash.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_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_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_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_pcap.o --- mv -f .deps/pt_netflow-pt_pcap.Tpo .deps/pt_netflow-pt_pcap.Po --- pt_sflow-pt_pcap.o --- mv -f .deps/pt_sflow-pt_pcap.Tpo .deps/pt_sflow-pt_pcap.Po --- pt_netflow-pt_udp.o --- --- 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_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_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 --- 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_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_send.o --- mv -f .deps/pt_sflow-pt_send.Tpo .deps/pt_sflow-pt_send.Po --- 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_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_netflow-pt_snort.o --- mv -f .deps/pt_netflow-pt_snort.Tpo .deps/pt_netflow-pt_snort.Po --- pt_netflow-pt_iptbhash.o --- --- pt_netflow-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_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_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_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: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_netflow-pt_tcp.o --- mv -f .deps/pt_netflow-pt_tcp.Tpo .deps/pt_netflow-pt_tcp.Po --- pt_netflow-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_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_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_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_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_icmp.o --- mv -f .deps/pt_netflow-pt_icmp.Tpo .deps/pt_netflow-pt_icmp.Po --- pt_netflow-pt_datalink.o --- mv -f .deps/pt_netflow-pt_datalink.Tpo .deps/pt_netflow-pt_datalink.Po --- 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_icmp6.o --- mv -f .deps/pt_netflow-pt_icmp6.Tpo .deps/pt_netflow-pt_icmp6.Po --- 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_ip.o --- mv -f .deps/pt_netflow-pt_ip.Tpo .deps/pt_netflow-pt_ip.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_netflow-pt_udp.o --- mv -f .deps/pt_netflow-pt_udp.Tpo .deps/pt_netflow-pt_udp.Po --- 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_netflow-pt_mesg.o --- mv -f .deps/pt_netflow-pt_mesg.Tpo .deps/pt_netflow-pt_mesg.Po --- 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_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_util.o --- mv -f .deps/pt_netflow-pt_util.Tpo .deps/pt_netflow-pt_util.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_send.o --- mv -f .deps/pt_netflow-pt_send.Tpo .deps/pt_netflow-pt_send.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_init.o --- mv -f .deps/pt_netflow-pt_init.Tpo .deps/pt_netflow-pt_init.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_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_netflow-pt_ip6.o --- mv -f .deps/pt_netflow-pt_ip6.Tpo .deps/pt_netflow-pt_ip6.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_iptbhash.o --- mv -f .deps/pt_netflow-pt_iptbhash.Tpo .deps/pt_netflow-pt_iptbhash.Po --- 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_agent.o --- mv -f .deps/pt_agent-pt_agent.Tpo .deps/pt_agent-pt_agent.Po --- 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_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 --- pt_agent-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_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_icmp.o --- mv -f .deps/pt_sflow-pt_icmp.Tpo .deps/pt_sflow-pt_icmp.Po --- 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_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_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_sock.o --- mv -f .deps/pt_agent-pt_sock.Tpo .deps/pt_agent-pt_sock.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_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_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_agent-pt_pcap.o --- mv -f .deps/pt_agent-pt_pcap.Tpo .deps/pt_agent-pt_pcap.Po --- 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_tcp.o --- pt_tcp.c: In function 'packter_tcp': --- pt_agent-pt_ip.o --- mv -f .deps/pt_agent-pt_ip.Tpo .deps/pt_agent-pt_ip.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_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_thmon-pt_iptbhash.o --- mv -f .deps/pt_thmon-pt_iptbhash.Tpo .deps/pt_thmon-pt_iptbhash.Po --- pt_agent-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_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_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_agent-pt_ip6.o --- mv -f .deps/pt_agent-pt_ip6.Tpo .deps/pt_agent-pt_ip6.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_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_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_agent-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_agent-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_agent-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 --- pt_agent-pt_tcp.o --- mv -f .deps/pt_agent-pt_tcp.Tpo .deps/pt_agent-pt_tcp.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_datalink.o --- mv -f .deps/pt_agent-pt_datalink.Tpo .deps/pt_agent-pt_datalink.Po --- 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_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_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_iptbhash.o --- mv -f .deps/pt_agent-pt_iptbhash.Tpo .deps/pt_agent-pt_iptbhash.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_icmp.o --- mv -f .deps/pt_agent-pt_icmp.Tpo .deps/pt_agent-pt_icmp.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_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_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_mesg.o --- mv -f .deps/pt_agent-pt_mesg.Tpo .deps/pt_agent-pt_mesg.Po --- pt_agent-pt_snort.o --- mv -f .deps/pt_agent-pt_snort.Tpo .deps/pt_agent-pt_snort.Po --- pt_sflow-pt_sflow.o --- --- pt_sflow-pt_sflowd.o --- --- 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_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_agent-pt_udp.o --- mv -f .deps/pt_agent-pt_udp.Tpo .deps/pt_agent-pt_udp.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_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_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_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_send.o --- mv -f .deps/pt_agent-pt_send.Tpo .deps/pt_agent-pt_send.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_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_init.o --- mv -f .deps/pt_agent-pt_init.Tpo .deps/pt_agent-pt_init.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_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 --- mv -f .deps/pt_sflow-pt_sflow_agent.Tpo .deps/pt_sflow-pt_sflow_agent.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_sflow-pt_sflowd.o --- mv -f .deps/pt_sflow-pt_sflowd.Tpo .deps/pt_sflow-pt_sflowd.Po --- pt_agent-pt_icmp6.o --- mv -f .deps/pt_agent-pt_icmp6.Tpo .deps/pt_agent-pt_icmp6.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.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.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-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_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_netflow-pt_netflow.o --- 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_sflow-pt_sflow.o --- mv -f .deps/pt_sflow-pt_sflow.Tpo .deps/pt_sflow-pt_sflow.Po --- pt_netflow-pt_hash.o --- mv -f .deps/pt_netflow-pt_hash.Tpo .deps/pt_netflow-pt_hash.Po --- pt_thmon-pt_hash.o --- mv -f .deps/pt_thmon-pt_hash.Tpo .deps/pt_thmon-pt_hash.Po --- pt_netflow-pt_netflowd.o --- mv -f .deps/pt_netflow-pt_netflowd.Tpo .deps/pt_netflow-pt_netflowd.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_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_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_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-pt_tcp.o --- mv -f .deps/pt_sflow-pt_tcp.Tpo .deps/pt_sflow-pt_tcp.Po --- pt_netflow-pt_netflow_agent.o --- mv -f .deps/pt_netflow-pt_netflow_agent.Tpo .deps/pt_netflow-pt_netflow_agent.Po --- pt_sflow --- --- pt_netflow --- --- 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 --- 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 --- SUCCEEDED 00:00:02 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- 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 SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for packter-agent-2.5_2 file sizes/checksums [12]: 0% file sizes/checksums [12]: 100% packing files [12]: 0% packing files [12]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:01 TOTAL TIME 00:00:24