=>> Building net/packter-agent build started at Mon Dec 15 15:10:35 EST 2025 port directory: /usr/ports/net/packter-agent package name: packter-agent-2.5_2 building for: FreeBSD pkg.DaveG.ca 14.3-RELEASE-p1 FreeBSD 14.3-RELEASE-p1 1403000 amd64 maintained by: masaki@club.kyutech.ac.jp Makefile datestamp: -rw-r--r-- 1 root wheel 1238 Aug 27 2024 /usr/ports/net/packter-agent/Makefile Ports top last git commit: 10f7dee57a4c Ports top unclean checkout: no Port dir last git commit: fb16dfecae4a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1403000 Job Id: 06 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1403000 UNAME_v=FreeBSD 14.3-RELEASE-p1 1403000 UNAME_r=14.3-RELEASE-p1 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/06/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_3_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> 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 ---End OPTIONS List--- --MAINTAINER-- masaki@club.kyutech.ac.jp --End MAINTAINER-- --CONFIGURE_ARGS-- --enable-ipv6 --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/net/packter-agent/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/packter-agent/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/packter-agent/work/.cache HOME=/wrkdirs/usr/ports/net/packter-agent/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/packter-agent/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/packter-agent/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net/packter-agent/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/packter-agent/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/packter-agent/work/.cache HOME=/wrkdirs/usr/ports/net/packter-agent/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/packter-agent/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/packter-agent/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing " 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" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" PACKTERTC="@comment " GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" GTK4_VERSION="4.0.0" OSREL=14.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/packter-agent" EXAMPLESDIR="share/examples/packter-agent" DATADIR="share/packter-agent" WWWDIR="www/packter-agent" ETCDIR="etc/packter-agent" --End PLIST_SUB-- --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 --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> packter-agent-2.5_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.4.2_1.pkg [pkg.DaveG.ca] Installing pkg-2.4.2_1... [pkg.DaveG.ca] Extracting pkg-2.4.2_1: .......... done ===> packter-agent-2.5_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of packter-agent-2.5_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by packter-agent-2.5_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by packter-agent-2.5_2 for building => SHA256 Checksum OK for PackterAgent-2.5.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> 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. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for packter-agent-2.5_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> packter-agent-2.5_2 depends on package: pkgconf>=1.3.0_1 - not found ===> Installing existing package /packages/All/pkgconf-2.4.3,1.pkg [pkg.DaveG.ca] Installing pkgconf-2.4.3,1... [pkg.DaveG.ca] Extracting pkgconf-2.4.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 ===> packter-agent-2.5_2 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> packter-agent-2.5_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of packter-agent-2.5_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> packter-agent-2.5_2 depends on shared library: libglib-2.0.so - not found ===> Installing existing package /packages/All/glib-2.84.4,2.pkg [pkg.DaveG.ca] Installing glib-2.84.4,2... [pkg.DaveG.ca] `-- Installing gettext-runtime-0.23.1... [pkg.DaveG.ca] | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Extracting gettext-runtime-0.23.1: .......... done [pkg.DaveG.ca] `-- Installing libffi-3.5.1... [pkg.DaveG.ca] `-- Extracting libffi-3.5.1: .......... done [pkg.DaveG.ca] `-- Installing libiconv-1.18_1... [pkg.DaveG.ca] `-- Extracting libiconv-1.18_1: .......... done [pkg.DaveG.ca] `-- Installing libinotify-20240724_3... [pkg.DaveG.ca] `-- Extracting libinotify-20240724_3: .......... done [pkg.DaveG.ca] `-- Installing pcre2-10.47_1... [pkg.DaveG.ca] `-- Extracting pcre2-10.47_1: .......... done [pkg.DaveG.ca] `-- Installing py311-packaging-25.0... [pkg.DaveG.ca] | `-- Installing python311-3.11.14... [pkg.DaveG.ca] | | `-- Installing mpdecimal-4.0.1... [pkg.DaveG.ca] | | `-- Extracting mpdecimal-4.0.1: .......... done [pkg.DaveG.ca] | | `-- Installing readline-8.3.1... [pkg.DaveG.ca] | | `-- Extracting readline-8.3.1: .......... done [pkg.DaveG.ca] | `-- Extracting python311-3.11.14: .......... done [pkg.DaveG.ca] `-- Extracting py311-packaging-25.0: .......... done [pkg.DaveG.ca] Extracting glib-2.84.4,2: .......... done ==> Running trigger: gio-modules.ucl Generating GIO modules cache ==> Running trigger: glib-schemas.ucl Compiling glib schemas No schema files found: doing nothing. ===== Message from libinotify-20240724_3: -- You might want to consider increasing the kern.maxfiles tunable if you plan to use this library for applications that need to monitor activity of a lot of files. ===== Message from python311-3.11.14: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py311-gdbm databases/py-gdbm@py311 py311-sqlite3 databases/py-sqlite3@py311 py311-tkinter x11-toolkits/py-tkinter@py311 ===> 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) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for packter-agent-2.5_2 configure: loading site script /usr/ports/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 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> 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_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_thmon-pt_iptbhash.o --- --- pt_thmon-pt_hash.o --- --- pt_thmon-pt_util.o --- --- 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 --- --- pt_sflow-pt_sflow_agent.o --- --- pt_sflow-pt_sflow.o --- --- pt_sflow-pt_sflowd.o --- --- pt_netflow-pt_netflow_agent.o --- --- pt_netflow-pt_netflow.o --- --- pt_netflow-pt_netflowd.o --- --- pt_netflow-pt_hash.o --- --- pt_thmon-pt_thmon.o --- --- pt_sflow-pt_sflow_agent.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_agent.c:107:2: warning: call to undeclared function 'packter_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | packter_init(); | ^ pt_sflow_agent.c:200:10: warning: call to undeclared function 'packter_rate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 200 | rate = packter_rate(rate_limit); | ^ pt_sflow_agent.c:202:14: warning: call to undeclared function 'pt_sock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 202 | if ((sock = pt_sock(ip, port, use6)) < 0){ | ^ 3 warnings generated. mv -f .deps/pt_sflow-pt_sflow_agent.Tpo .deps/pt_sflow-pt_sflow_agent.Po --- pt_agent-pt_util.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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 mv -f .deps/pt_agent-pt_util.Tpo .deps/pt_agent-pt_util.Po --- pt_agent-pt_mesg.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_mesg.c:54:7: warning: format specifies type 'char *' but the argument has type 'char **' [-Wformat] 46 | snprintf(mesg, PACKTER_BUFSIZ, "%s%s,%s,%d,%d,%d,%s-%s\n", | ~~ 47 | PACKTER_HEADER, 48 | srcip, 49 | dstip, 50 | data1, 51 | data2, 52 | (flag + packter_flagbase), 53 | mesgbuf, 54 | trace_server | ^~~~~~~~~~~~ 1 warning generated. mv -f .deps/pt_agent-pt_mesg.Tpo .deps/pt_agent-pt_mesg.Po --- pt_agent-pt_icmp6.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_icmp6.c:70:2: warning: call to undeclared function 'packter_mesg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 70 | packter_mesg(mesg, srcip, dstip, | ^ pt_icmp6.c:74:2: warning: call to undeclared function 'packter_send'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 74 | packter_send(mesg); | ^ 2 warnings generated. mv -f .deps/pt_agent-pt_icmp6.Tpo .deps/pt_agent-pt_icmp6.Po --- pt_agent-pt_icmp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_icmp.c:72:2: warning: call to undeclared function 'packter_mesg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | packter_mesg(mesg, srcip, dstip, (ih->icmp_type) * 256, (ih->icmp_code) * 256, flag, mesgbuf); | ^ pt_icmp.c:73:2: warning: call to undeclared function 'packter_send'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | packter_send(mesg); | ^ 2 warnings generated. mv -f .deps/pt_agent-pt_icmp.Tpo .deps/pt_agent-pt_icmp.Po --- pt_agent-pt_tcp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_tcp.c:79:2: warning: call to undeclared function 'packter_mesg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | packter_mesg(mesg, srcip, dstip, ntohs(th->th_sport),ntohs(th->th_dport), flag, mesgbuf); | ^ pt_tcp.c:80:2: warning: call to undeclared function 'packter_send'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | packter_send(mesg); | ^ 2 warnings generated. mv -f .deps/pt_agent-pt_tcp.Tpo .deps/pt_agent-pt_tcp.Po --- pt_agent-pt_ip.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_ip.c:85:3: warning: call to undeclared function 'generate_hash'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | generate_hash(packet, len, mesgbuf); | ^ pt_ip.c:91:4: warning: call to undeclared function 'packter_tcp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | packter_tcp((u_char *)(p + ip->ip_hl * 4), (u_int)(len - ip->ip_hl*4), | ^ pt_ip.c:96:4: warning: call to undeclared function 'packter_udp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | packter_udp((u_char *)(p + ip->ip_hl * 4), (u_int)(len - ip->ip_hl*4), | ^ pt_ip.c:101:4: warning: call to undeclared function 'packter_icmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | packter_icmp((u_char *)(p + ip->ip_hl * 4), (u_int)(len - ip->ip_hl*4), | ^ 4 warnings generated. mv -f .deps/pt_agent-pt_ip.Tpo .deps/pt_agent-pt_ip.Po --- pt_agent-pt_datalink.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_datalink.c:64:3: warning: call to undeclared function 'packter_ip'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | packter_ip((u_char *)(p + NULL_HDRLEN), (u_int)(h->len - NULL_HDRLEN)); | ^ pt_datalink.c:93:4: warning: call to undeclared function 'packter_ip'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | packter_ip((u_char *)(p + skiplen), (u_int)(h->len - skiplen)); | ^ pt_datalink.c:97:4: warning: call to undeclared function 'packter_ip6'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | packter_ip6((u_char *)(p + skiplen), (u_int)(h->len - skiplen)); | ^ 3 warnings generated. mv -f .deps/pt_agent-pt_datalink.Tpo .deps/pt_agent-pt_datalink.Po --- pt_agent-pt_snort.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_snort.c:90:4: warning: call to undeclared function 'packter_ether'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | packter_ether(NULL, &(alert.pkth), (u_char *)alert.pkt); | ^ 1 warning generated. mv -f .deps/pt_agent-pt_snort.Tpo .deps/pt_agent-pt_snort.Po --- pt_agent-pt_pcap.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_pcap.c:74:18: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 74 | if ((device = pcap_lookupdev(errbuf)) == NULL) { | ^ /usr/include/pcap/pcap.h:443:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here 443 | PCAP_DEPRECATED("use 'pcap_findalldevs' and use the first device") | ^ /usr/include/pcap/funcattrs.h:327:47: note: expanded from macro 'PCAP_DEPRECATED' 327 | #define PCAP_DEPRECATED(msg) __attribute__((deprecated(msg))) | ^ 1 warning generated. mv -f .deps/pt_agent-pt_pcap.Tpo .deps/pt_agent-pt_pcap.Po --- pt_agent-pt_sock.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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 mv -f .deps/pt_agent-pt_sock.Tpo .deps/pt_agent-pt_sock.Po --- pt_agent-pt_agent.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_agent.c:198:14: warning: call to undeclared function 'pt_sock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 198 | if ((sock = pt_sock(ip, port, use6)) < 0){ | ^ 1 warning generated. mv -f .deps/pt_agent-pt_agent.Tpo .deps/pt_agent-pt_agent.Po --- pt_thmon-pt_util.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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 mv -f .deps/pt_thmon-pt_util.Tpo .deps/pt_thmon-pt_util.Po --- pt_thmon-pt_hash.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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 In file included from pt_hash.c:45: ./pt_hash.h:1:9: warning: '__PACKTER_HASH_H__' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 1 | #ifndef __PACKTER_HASH_H__ | ^~~~~~~~~~~~~~~~~~ ./pt_hash.h:2:9: note: '__PACKTER_HAHS_H__' is defined here; did you mean '__PACKTER_HASH_H__'? 2 | #define __PACKTER_HAHS_H__ | ^~~~~~~~~~~~~~~~~~ | __PACKTER_HASH_H__ 1 warning generated. mv -f .deps/pt_thmon-pt_hash.Tpo .deps/pt_thmon-pt_hash.Po --- pt_thmon-pt_iptbhash.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_iptbhash.c:64:2: warning: 'MD5_Init' is deprecated [-Wdeprecated-declarations] 64 | MD5_Init(&context); | ^ /usr/include/openssl/md5.h:49:1: note: 'MD5_Init' has been explicitly marked deprecated here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pt_iptbhash.c:65:2: warning: 'MD5_Update' is deprecated [-Wdeprecated-declarations] 65 | MD5_Update(&context, (unsigned char *)packet, (unsigned long)(hdrlen + 8)); | ^ /usr/include/openssl/md5.h:50:1: note: 'MD5_Update' has been explicitly marked deprecated here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pt_iptbhash.c:66:2: warning: 'MD5_Final' is deprecated [-Wdeprecated-declarations] 66 | MD5_Final(digest, &context); | ^ /usr/include/openssl/md5.h:51:1: note: 'MD5_Final' has been explicitly marked deprecated here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pt_iptbhash.c:84:2: warning: 'MD5_Init' is deprecated [-Wdeprecated-declarations] 84 | MD5_Init(&context); | ^ /usr/include/openssl/md5.h:49:1: note: 'MD5_Init' has been explicitly marked deprecated here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pt_iptbhash.c:85:2: warning: 'MD5_Update' is deprecated [-Wdeprecated-declarations] 85 | MD5_Update(&context, (unsigned char *)ip6, (unsigned int)(IP6_HDRLEN + 8)); | ^ /usr/include/openssl/md5.h:50:1: note: 'MD5_Update' has been explicitly marked deprecated here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pt_iptbhash.c:86:2: warning: 'MD5_Final' is deprecated [-Wdeprecated-declarations] 86 | MD5_Final(digest, &context); | ^ /usr/include/openssl/md5.h:51:1: note: 'MD5_Final' has been explicitly marked deprecated here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ 6 warnings generated. mv -f .deps/pt_thmon-pt_iptbhash.Tpo .deps/pt_thmon-pt_iptbhash.Po --- pt_netflow-pt_init.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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 mv -f .deps/pt_netflow-pt_init.Tpo .deps/pt_netflow-pt_init.Po --- pt_netflow-pt_util.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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 mv -f .deps/pt_netflow-pt_util.Tpo .deps/pt_netflow-pt_util.Po --- pt_netflow-pt_send.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_send.c:68:9: warning: call to undeclared function 'packter_rate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | rate = packter_rate(rate_limit); | ^ 1 warning generated. mv -f .deps/pt_netflow-pt_send.Tpo .deps/pt_netflow-pt_send.Po --- pt_netflow-pt_mesg.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_mesg.c:54:7: warning: format specifies type 'char *' but the argument has type 'char **' [-Wformat] 46 | snprintf(mesg, PACKTER_BUFSIZ, "%s%s,%s,%d,%d,%d,%s-%s\n", | ~~ 47 | PACKTER_HEADER, 48 | srcip, 49 | dstip, 50 | data1, 51 | data2, 52 | (flag + packter_flagbase), 53 | mesgbuf, 54 | trace_server | ^~~~~~~~~~~~ 1 warning generated. mv -f .deps/pt_netflow-pt_mesg.Tpo .deps/pt_netflow-pt_mesg.Po --- pt_netflow-pt_iptbhash.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_iptbhash.c:64:2: warning: 'MD5_Init' is deprecated [-Wdeprecated-declarations] 64 | MD5_Init(&context); | ^ /usr/include/openssl/md5.h:49:1: note: 'MD5_Init' has been explicitly marked deprecated here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pt_iptbhash.c:65:2: warning: 'MD5_Update' is deprecated [-Wdeprecated-declarations] 65 | MD5_Update(&context, (unsigned char *)packet, (unsigned long)(hdrlen + 8)); | ^ /usr/include/openssl/md5.h:50:1: note: 'MD5_Update' has been explicitly marked deprecated here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pt_iptbhash.c:66:2: warning: 'MD5_Final' is deprecated [-Wdeprecated-declarations] 66 | MD5_Final(digest, &context); | ^ /usr/include/openssl/md5.h:51:1: note: 'MD5_Final' has been explicitly marked deprecated here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pt_iptbhash.c:84:2: warning: 'MD5_Init' is deprecated [-Wdeprecated-declarations] 84 | MD5_Init(&context); | ^ /usr/include/openssl/md5.h:49:1: note: 'MD5_Init' has been explicitly marked deprecated here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pt_iptbhash.c:85:2: warning: 'MD5_Update' is deprecated [-Wdeprecated-declarations] 85 | MD5_Update(&context, (unsigned char *)ip6, (unsigned int)(IP6_HDRLEN + 8)); | ^ /usr/include/openssl/md5.h:50:1: note: 'MD5_Update' has been explicitly marked deprecated here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pt_iptbhash.c:86:2: warning: 'MD5_Final' is deprecated [-Wdeprecated-declarations] 86 | MD5_Final(digest, &context); | ^ /usr/include/openssl/md5.h:51:1: note: 'MD5_Final' has been explicitly marked deprecated here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ 6 warnings generated. mv -f .deps/pt_netflow-pt_iptbhash.Tpo .deps/pt_netflow-pt_iptbhash.Po --- pt_netflow-pt_icmp6.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_icmp6.c:70:2: warning: call to undeclared function 'packter_mesg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 70 | packter_mesg(mesg, srcip, dstip, | ^ pt_icmp6.c:74:2: warning: call to undeclared function 'packter_send'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 74 | packter_send(mesg); | ^ 2 warnings generated. mv -f .deps/pt_netflow-pt_icmp6.Tpo .deps/pt_netflow-pt_icmp6.Po --- pt_netflow-pt_icmp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_icmp.c:72:2: warning: call to undeclared function 'packter_mesg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | packter_mesg(mesg, srcip, dstip, (ih->icmp_type) * 256, (ih->icmp_code) * 256, flag, mesgbuf); | ^ pt_icmp.c:73:2: warning: call to undeclared function 'packter_send'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | packter_send(mesg); | ^ 2 warnings generated. mv -f .deps/pt_netflow-pt_icmp.Tpo .deps/pt_netflow-pt_icmp.Po --- pt_netflow-pt_udp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_udp.c:71:2: warning: call to undeclared function 'packter_mesg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | packter_mesg(mesg, srcip, dstip, ntohs(uh->uh_sport), ntohs(uh->uh_dport), flag, mesgbuf); | ^ pt_udp.c:72:2: warning: call to undeclared function 'packter_send'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | packter_send(mesg); | ^ 2 warnings generated. mv -f .deps/pt_netflow-pt_udp.Tpo .deps/pt_netflow-pt_udp.Po --- pt_netflow-pt_tcp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_tcp.c:79:2: warning: call to undeclared function 'packter_mesg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | packter_mesg(mesg, srcip, dstip, ntohs(th->th_sport),ntohs(th->th_dport), flag, mesgbuf); | ^ pt_tcp.c:80:2: warning: call to undeclared function 'packter_send'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | packter_send(mesg); | ^ 2 warnings generated. mv -f .deps/pt_netflow-pt_tcp.Tpo .deps/pt_netflow-pt_tcp.Po --- pt_netflow-pt_ip6.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_ip6.c:75:3: warning: call to undeclared function 'generate_hash6'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | generate_hash6(packet, len, mesgbuf); | ^ pt_ip6.c:86:4: warning: call to undeclared function 'packter_tcp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | packter_tcp((u_char *)(p + ntohs(ip6->ip6_plen)), | ^ pt_ip6.c:92:4: warning: call to undeclared function 'packter_udp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | packter_udp((u_char *)(p + ntohs(ip6->ip6_plen)), | ^ pt_ip6.c:98:4: warning: call to undeclared function 'packter_icmp6'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | packter_icmp6((u_char *)(p + ntohs(ip6->ip6_plen)), | ^ 4 warnings generated. mv -f .deps/pt_netflow-pt_ip6.Tpo .deps/pt_netflow-pt_ip6.Po --- pt_netflow-pt_ip.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_ip.c:85:3: warning: call to undeclared function 'generate_hash'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | generate_hash(packet, len, mesgbuf); | ^ pt_ip.c:91:4: warning: call to undeclared function 'packter_tcp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | packter_tcp((u_char *)(p + ip->ip_hl * 4), (u_int)(len - ip->ip_hl*4), | ^ pt_ip.c:96:4: warning: call to undeclared function 'packter_udp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | packter_udp((u_char *)(p + ip->ip_hl * 4), (u_int)(len - ip->ip_hl*4), | ^ pt_ip.c:101:4: warning: call to undeclared function 'packter_icmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | packter_icmp((u_char *)(p + ip->ip_hl * 4), (u_int)(len - ip->ip_hl*4), | ^ 4 warnings generated. mv -f .deps/pt_netflow-pt_ip.Tpo .deps/pt_netflow-pt_ip.Po --- pt_netflow-pt_datalink.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_datalink.c:64:3: warning: call to undeclared function 'packter_ip'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | packter_ip((u_char *)(p + NULL_HDRLEN), (u_int)(h->len - NULL_HDRLEN)); | ^ pt_datalink.c:93:4: warning: call to undeclared function 'packter_ip'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | packter_ip((u_char *)(p + skiplen), (u_int)(h->len - skiplen)); | ^ pt_datalink.c:97:4: warning: call to undeclared function 'packter_ip6'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | packter_ip6((u_char *)(p + skiplen), (u_int)(h->len - skiplen)); | ^ 3 warnings generated. mv -f .deps/pt_netflow-pt_datalink.Tpo .deps/pt_netflow-pt_datalink.Po --- pt_netflow-pt_snort.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_snort.c:90:4: warning: call to undeclared function 'packter_ether'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | packter_ether(NULL, &(alert.pkth), (u_char *)alert.pkt); | ^ 1 warning generated. mv -f .deps/pt_netflow-pt_snort.Tpo .deps/pt_netflow-pt_snort.Po --- pt_netflow-pt_pcap.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_pcap.c:74:18: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 74 | if ((device = pcap_lookupdev(errbuf)) == NULL) { | ^ /usr/include/pcap/pcap.h:443:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here 443 | PCAP_DEPRECATED("use 'pcap_findalldevs' and use the first device") | ^ /usr/include/pcap/funcattrs.h:327:47: note: expanded from macro 'PCAP_DEPRECATED' 327 | #define PCAP_DEPRECATED(msg) __attribute__((deprecated(msg))) | ^ 1 warning generated. mv -f .deps/pt_netflow-pt_pcap.Tpo .deps/pt_netflow-pt_pcap.Po --- pt_netflow-pt_sock.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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 mv -f .deps/pt_netflow-pt_sock.Tpo .deps/pt_netflow-pt_sock.Po --- pt_sflow-pt_init.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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 mv -f .deps/pt_sflow-pt_init.Tpo .deps/pt_sflow-pt_init.Po --- pt_sflow-pt_util.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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 mv -f .deps/pt_sflow-pt_util.Tpo .deps/pt_sflow-pt_util.Po --- pt_sflow-pt_send.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_send.c:68:9: warning: call to undeclared function 'packter_rate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | rate = packter_rate(rate_limit); | ^ 1 warning generated. mv -f .deps/pt_sflow-pt_send.Tpo .deps/pt_sflow-pt_send.Po --- pt_sflow-pt_mesg.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_mesg.c:54:7: warning: format specifies type 'char *' but the argument has type 'char **' [-Wformat] 46 | snprintf(mesg, PACKTER_BUFSIZ, "%s%s,%s,%d,%d,%d,%s-%s\n", | ~~ 47 | PACKTER_HEADER, 48 | srcip, 49 | dstip, 50 | data1, 51 | data2, 52 | (flag + packter_flagbase), 53 | mesgbuf, 54 | trace_server | ^~~~~~~~~~~~ 1 warning generated. mv -f .deps/pt_sflow-pt_mesg.Tpo .deps/pt_sflow-pt_mesg.Po --- pt_sflow-pt_iptbhash.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_iptbhash.c:64:2: warning: 'MD5_Init' is deprecated [-Wdeprecated-declarations] 64 | MD5_Init(&context); | ^ /usr/include/openssl/md5.h:49:1: note: 'MD5_Init' has been explicitly marked deprecated here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pt_iptbhash.c:65:2: warning: 'MD5_Update' is deprecated [-Wdeprecated-declarations] 65 | MD5_Update(&context, (unsigned char *)packet, (unsigned long)(hdrlen + 8)); | ^ /usr/include/openssl/md5.h:50:1: note: 'MD5_Update' has been explicitly marked deprecated here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pt_iptbhash.c:66:2: warning: 'MD5_Final' is deprecated [-Wdeprecated-declarations] 66 | MD5_Final(digest, &context); | ^ /usr/include/openssl/md5.h:51:1: note: 'MD5_Final' has been explicitly marked deprecated here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pt_iptbhash.c:84:2: warning: 'MD5_Init' is deprecated [-Wdeprecated-declarations] 84 | MD5_Init(&context); | ^ /usr/include/openssl/md5.h:49:1: note: 'MD5_Init' has been explicitly marked deprecated here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pt_iptbhash.c:85:2: warning: 'MD5_Update' is deprecated [-Wdeprecated-declarations] 85 | MD5_Update(&context, (unsigned char *)ip6, (unsigned int)(IP6_HDRLEN + 8)); | ^ /usr/include/openssl/md5.h:50:1: note: 'MD5_Update' has been explicitly marked deprecated here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pt_iptbhash.c:86:2: warning: 'MD5_Final' is deprecated [-Wdeprecated-declarations] 86 | MD5_Final(digest, &context); | ^ /usr/include/openssl/md5.h:51:1: note: 'MD5_Final' has been explicitly marked deprecated here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ 6 warnings generated. mv -f .deps/pt_sflow-pt_iptbhash.Tpo .deps/pt_sflow-pt_iptbhash.Po --- pt_sflow-pt_icmp6.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_icmp6.c:70:2: warning: call to undeclared function 'packter_mesg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 70 | packter_mesg(mesg, srcip, dstip, | ^ pt_icmp6.c:74:2: warning: call to undeclared function 'packter_send'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 74 | packter_send(mesg); | ^ 2 warnings generated. mv -f .deps/pt_sflow-pt_icmp6.Tpo .deps/pt_sflow-pt_icmp6.Po --- pt_sflow-pt_icmp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_icmp.c:72:2: warning: call to undeclared function 'packter_mesg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | packter_mesg(mesg, srcip, dstip, (ih->icmp_type) * 256, (ih->icmp_code) * 256, flag, mesgbuf); | ^ pt_icmp.c:73:2: warning: call to undeclared function 'packter_send'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | packter_send(mesg); | ^ 2 warnings generated. mv -f .deps/pt_sflow-pt_icmp.Tpo .deps/pt_sflow-pt_icmp.Po --- pt_sflow-pt_udp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_udp.c:71:2: warning: call to undeclared function 'packter_mesg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | packter_mesg(mesg, srcip, dstip, ntohs(uh->uh_sport), ntohs(uh->uh_dport), flag, mesgbuf); | ^ pt_udp.c:72:2: warning: call to undeclared function 'packter_send'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | packter_send(mesg); | ^ 2 warnings generated. mv -f .deps/pt_sflow-pt_udp.Tpo .deps/pt_sflow-pt_udp.Po --- pt_sflow-pt_tcp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_tcp.c:79:2: warning: call to undeclared function 'packter_mesg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | packter_mesg(mesg, srcip, dstip, ntohs(th->th_sport),ntohs(th->th_dport), flag, mesgbuf); | ^ pt_tcp.c:80:2: warning: call to undeclared function 'packter_send'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | packter_send(mesg); | ^ 2 warnings generated. mv -f .deps/pt_sflow-pt_tcp.Tpo .deps/pt_sflow-pt_tcp.Po --- pt_sflow-pt_ip6.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_ip6.c:75:3: warning: call to undeclared function 'generate_hash6'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | generate_hash6(packet, len, mesgbuf); | ^ pt_ip6.c:86:4: warning: call to undeclared function 'packter_tcp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | packter_tcp((u_char *)(p + ntohs(ip6->ip6_plen)), | ^ pt_ip6.c:92:4: warning: call to undeclared function 'packter_udp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | packter_udp((u_char *)(p + ntohs(ip6->ip6_plen)), | ^ pt_ip6.c:98:4: warning: call to undeclared function 'packter_icmp6'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | packter_icmp6((u_char *)(p + ntohs(ip6->ip6_plen)), | ^ 4 warnings generated. mv -f .deps/pt_sflow-pt_ip6.Tpo .deps/pt_sflow-pt_ip6.Po --- pt_sflow-pt_ip.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_ip.c:85:3: warning: call to undeclared function 'generate_hash'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | generate_hash(packet, len, mesgbuf); | ^ pt_ip.c:91:4: warning: call to undeclared function 'packter_tcp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | packter_tcp((u_char *)(p + ip->ip_hl * 4), (u_int)(len - ip->ip_hl*4), | ^ pt_ip.c:96:4: warning: call to undeclared function 'packter_udp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | packter_udp((u_char *)(p + ip->ip_hl * 4), (u_int)(len - ip->ip_hl*4), | ^ pt_ip.c:101:4: warning: call to undeclared function 'packter_icmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | packter_icmp((u_char *)(p + ip->ip_hl * 4), (u_int)(len - ip->ip_hl*4), | ^ 4 warnings generated. mv -f .deps/pt_sflow-pt_ip.Tpo .deps/pt_sflow-pt_ip.Po --- pt_sflow-pt_datalink.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_datalink.c:64:3: warning: call to undeclared function 'packter_ip'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | packter_ip((u_char *)(p + NULL_HDRLEN), (u_int)(h->len - NULL_HDRLEN)); | ^ pt_datalink.c:93:4: warning: call to undeclared function 'packter_ip'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | packter_ip((u_char *)(p + skiplen), (u_int)(h->len - skiplen)); | ^ pt_datalink.c:97:4: warning: call to undeclared function 'packter_ip6'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | packter_ip6((u_char *)(p + skiplen), (u_int)(h->len - skiplen)); | ^ 3 warnings generated. mv -f .deps/pt_sflow-pt_datalink.Tpo .deps/pt_sflow-pt_datalink.Po --- pt_sflow-pt_snort.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_snort.c:90:4: warning: call to undeclared function 'packter_ether'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | packter_ether(NULL, &(alert.pkth), (u_char *)alert.pkt); | ^ 1 warning generated. mv -f .deps/pt_sflow-pt_snort.Tpo .deps/pt_sflow-pt_snort.Po --- pt_sflow-pt_pcap.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_pcap.c:74:18: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 74 | if ((device = pcap_lookupdev(errbuf)) == NULL) { | ^ /usr/include/pcap/pcap.h:443:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here 443 | PCAP_DEPRECATED("use 'pcap_findalldevs' and use the first device") | ^ /usr/include/pcap/funcattrs.h:327:47: note: expanded from macro 'PCAP_DEPRECATED' 327 | #define PCAP_DEPRECATED(msg) __attribute__((deprecated(msg))) | ^ 1 warning generated. mv -f .deps/pt_sflow-pt_pcap.Tpo .deps/pt_sflow-pt_pcap.Po --- pt_sflow-pt_sock.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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 mv -f .deps/pt_sflow-pt_sock.Tpo .deps/pt_sflow-pt_sock.Po --- pt_agent-pt_init.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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 mv -f .deps/pt_agent-pt_init.Tpo .deps/pt_agent-pt_init.Po --- pt_sflow-pt_sflow.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_ip6.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_sflow-pt_sflowd.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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 --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_netflow-pt_netflow_agent.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_netflow-pt_netflow.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_iptbhash.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_send.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_netflow-pt_hash.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_thmon-pt_thmon.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_netflow-pt_netflowd.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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_agent-pt_iptbhash.o --- pt_iptbhash.c:64:2: warning: 'MD5_Init' is deprecated [-Wdeprecated-declarations] 64 | MD5_Init(&context); | ^ /usr/include/openssl/md5.h:49:1: note: 'MD5_Init' has been explicitly marked deprecated here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pt_iptbhash.c:65:2: warning: 'MD5_Update' is deprecated [-Wdeprecated-declarations] 65 | MD5_Update(&context, (unsigned char *)packet, (unsigned long)(hdrlen + 8)); | ^ /usr/include/openssl/md5.h:50:1: note: 'MD5_Update' has been explicitly marked deprecated here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pt_iptbhash.c:66:2: warning: 'MD5_Final' is deprecated [-Wdeprecated-declarations] 66 | MD5_Final(digest, &context); | ^ /usr/include/openssl/md5.h:51:1: note: 'MD5_Final' has been explicitly marked deprecated here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pt_iptbhash.c:84:2: warning: 'MD5_Init' is deprecated [-Wdeprecated-declarations] 84 | MD5_Init(&context); | ^ /usr/include/openssl/md5.h:49:1: note: 'MD5_Init' has been explicitly marked deprecated here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pt_iptbhash.c:85:2: warning: 'MD5_Update' is deprecated [-Wdeprecated-declarations] 85 | MD5_Update(&context, (unsigned char *)ip6, (unsigned int)(IP6_HDRLEN + 8)); | ^ /usr/include/openssl/md5.h:50:1: note: 'MD5_Update' has been explicitly marked deprecated here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pt_iptbhash.c:86:2: warning: 'MD5_Final' is deprecated [-Wdeprecated-declarations] 86 | MD5_Final(digest, &context); | ^ /usr/include/openssl/md5.h:51:1: note: 'MD5_Final' has been explicitly marked deprecated here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ 6 warnings generated. mv -f .deps/pt_agent-pt_iptbhash.Tpo .deps/pt_agent-pt_iptbhash.Po --- pt_agent-pt_udp.o --- pt_udp.c:71:2: warning: call to undeclared function 'packter_mesg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | packter_mesg(mesg, srcip, dstip, ntohs(uh->uh_sport), ntohs(uh->uh_dport), flag, mesgbuf); | ^ pt_udp.c:72:2: warning: call to undeclared function 'packter_send'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | packter_send(mesg); | ^ 2 warnings generated. mv -f .deps/pt_agent-pt_udp.Tpo .deps/pt_agent-pt_udp.Po --- pt_sflow-pt_sflow.o --- pt_sflow.c:111:27: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 111 | packter_ether(NULL, pt, (buf + mesglen)); | ^~~~~~~~~~~~~~~ ./pt_datalink.h:31:72: note: passing argument to parameter here 31 | void packter_ether(u_char *, const struct pcap_pkthdr *, const u_char *); | ^ 1 warning generated. mv -f .deps/pt_sflow-pt_sflow.Tpo .deps/pt_sflow-pt_sflow.Po --- pt_agent-pt_ip6.o --- pt_ip6.c:75:3: warning: call to undeclared function 'generate_hash6'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | generate_hash6(packet, len, mesgbuf); | ^ pt_ip6.c:86:4: warning: call to undeclared function 'packter_tcp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | packter_tcp((u_char *)(p + ntohs(ip6->ip6_plen)), | ^ pt_ip6.c:92:4: warning: call to undeclared function 'packter_udp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | packter_udp((u_char *)(p + ntohs(ip6->ip6_plen)), | ^ pt_ip6.c:98:4: warning: call to undeclared function 'packter_icmp6'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | packter_icmp6((u_char *)(p + ntohs(ip6->ip6_plen)), | ^ 4 warnings generated. mv -f .deps/pt_agent-pt_ip6.Tpo .deps/pt_agent-pt_ip6.Po --- pt_sflow-pt_sflowd.o --- pt_sflowd.c:94:4: warning: call to undeclared function 'packter_sflow_read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | packter_sflow_read(buf, len); | ^ 1 warning generated. mv -f .deps/pt_sflow-pt_sflowd.Tpo .deps/pt_sflow-pt_sflowd.Po --- pt_agent-pt_send.o --- pt_send.c:68:9: warning: call to undeclared function 'packter_rate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | rate = packter_rate(rate_limit); | ^ 1 warning generated. mv -f .deps/pt_agent-pt_send.Tpo .deps/pt_agent-pt_send.Po --- pt_sflow --- --- pt_netflow-pt_hash.o --- In file included from pt_hash.c:45: ./pt_hash.h:1:9: warning: '__PACKTER_HASH_H__' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] 1 | #ifndef __PACKTER_HASH_H__ | ^~~~~~~~~~~~~~~~~~ ./pt_hash.h:2:9: note: '__PACKTER_HAHS_H__' is defined here; did you mean '__PACKTER_HASH_H__'? 2 | #define __PACKTER_HAHS_H__ | ^~~~~~~~~~~~~~~~~~ | __PACKTER_HASH_H__ 1 warning generated. mv -f .deps/pt_netflow-pt_hash.Tpo .deps/pt_netflow-pt_hash.Po --- pt_netflow-pt_netflow.o --- pt_netflow.c:83:4: warning: call to undeclared function 'packter_netflow_template_set'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | packter_netflow_template_set(buf, len, srcid); | ^ pt_netflow.c:86:4: warning: call to undeclared function 'packter_netflow_template'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | packter_netflow_template(buf, len, srcid); | ^ pt_netflow.c:128:6: warning: call to undeclared function 'packter_is_exist_key'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | if (packter_is_exist_key(key) == PACKTER_TRUE){ | ^ pt_netflow.c:138:3: warning: call to undeclared function 'packter_netflow_pointer_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | packter_netflow_pointer_init(np); | ^ pt_netflow.c:248:6: warning: call to undeclared function 'packter_is_exist_key'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 248 | if (packter_is_exist_key(key) == PACKTER_FALSE){ | ^ pt_netflow.c:401:2: warning: call to undeclared function 'packter_mesg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 401 | packter_mesg(mesg, srcip, dstip, ntohs(srcport),ntohs(dstport), flag, mesgbuf); | ^ pt_netflow.c:402:2: warning: call to undeclared function 'packter_send'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 402 | packter_send(mesg); | ^ 7 warnings generated. --- pt_agent --- --- pt_netflow-pt_netflowd.o --- pt_netflowd.c:92:4: warning: call to undeclared function 'packter_netflow_read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | packter_netflow_read(buf, len); | ^ 1 warning generated. mv -f .deps/pt_netflow-pt_netflowd.Tpo .deps/pt_netflow-pt_netflowd.Po --- pt_netflow-pt_netflow_agent.o --- pt_netflow_agent.c:114:2: warning: call to undeclared function 'packter_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | packter_init(); | ^ pt_netflow_agent.c:116:2: warning: call to undeclared function 'packter_hash_new'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | packter_hash_new(); | ^ pt_netflow_agent.c:201:10: warning: call to undeclared function 'packter_rate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 201 | rate = packter_rate(rate_limit); | ^ pt_netflow_agent.c:203:14: warning: call to undeclared function 'pt_sock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 203 | if ((sock = pt_sock(ip, port, use6)) < 0){ | ^ 4 warnings generated. --- pt_sflow --- cc -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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 --- mv -f .deps/pt_netflow-pt_netflow.Tpo .deps/pt_netflow-pt_netflow.Po --- pt_netflow-pt_netflow_agent.o --- mv -f .deps/pt_netflow-pt_netflow_agent.Tpo .deps/pt_netflow-pt_netflow_agent.Po --- pt_netflow --- --- pt_agent --- cc -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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 --- cc -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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 --- pt_thmon.c:328:18: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 328 | if ((device = pcap_lookupdev(errbuf)) == NULL) { | ^ /usr/include/pcap/pcap.h:443:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here 443 | PCAP_DEPRECATED("use 'pcap_findalldevs' and use the first device") | ^ /usr/include/pcap/funcattrs.h:327:47: note: expanded from macro 'PCAP_DEPRECATED' 327 | #define PCAP_DEPRECATED(msg) __attribute__((deprecated(msg))) | ^ pt_thmon.c:406:61: warning: data argument not used by format string [-Wformat-extra-args] 406 | printf(" -s ( Enable Sound: optional: default no)\n", PACKTER_THCONFIG); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./pt_thmon.h:34:26: note: expanded from macro 'PACKTER_THCONFIG' 34 | #define PACKTER_THCONFIG "/usr/local/etc/packter.conf" | ^ pt_thmon.c:529:39: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] 529 | printf ("Observed: %d.%d - %d.%d\n", th.start.tv_sec, th.start.tv_usec, th.stop.tv_sec, th.stop.tv_usec); | ~~ ^~~~~~~~~~~~~~~ | %ld pt_thmon.c:529:56: warning: format specifies type 'int' but the argument has type 'suseconds_t' (aka 'long') [-Wformat] 529 | printf ("Observed: %d.%d - %d.%d\n", th.start.tv_sec, th.start.tv_usec, th.stop.tv_sec, th.stop.tv_usec); | ~~ ^~~~~~~~~~~~~~~~ | %ld pt_thmon.c:529:74: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] 529 | printf ("Observed: %d.%d - %d.%d\n", th.start.tv_sec, th.start.tv_usec, th.stop.tv_sec, th.stop.tv_usec); | ~~ ^~~~~~~~~~~~~~ | %ld pt_thmon.c:529:90: warning: format specifies type 'int' but the argument has type 'suseconds_t' (aka 'long') [-Wformat] 529 | printf ("Observed: %d.%d - %d.%d\n", th.start.tv_sec, th.start.tv_usec, th.stop.tv_sec, th.stop.tv_usec); | ~~ ^~~~~~~~~~~~~~~ | %ld pt_thmon.c:571:7: warning: call to undeclared function 'packter_is_exist_key_str'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 571 | if (packter_is_exist_key_str("MON_OPT_MSG_FOOT") == PACKTER_TRUE){ | ^ pt_thmon.c:572:6: warning: call to undeclared function 'packter_addstring_hash'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 572 | packter_addstring_hash(mesg, "MON_OPT_MSG_FOOT"); | ^ pt_thmon.c:579:5: warning: call to undeclared function 'packter_addstring_hash'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 579 | packter_addstring_hash(voice, "MON_OPT_SOUND"); | ^ pt_thmon.c:585:5: warning: call to undeclared function 'packter_addstring_hash'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 585 | packter_addstring_hash(voice, "MON_OPT_VOICE_FOOT"); | ^ pt_thmon.c:591:5: warning: call to undeclared function 'packter_addstring_hash'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 591 | packter_addstring_hash(skydome, "MON_SKYDOME_START"); | ^ pt_thmon.c:811:9: warning: comparison of array 'buf' equal to a null pointer is always false [-Wtautological-pointer-compare] 811 | if (buf == NULL || strlen(buf) < 1 ){ | ^~~ ~~~~ pt_thmon.c:848:7: warning: call to undeclared function 'packter_is_exist_key_str'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 848 | if (packter_is_exist_key_str(mon_pic) == PACKTER_TRUE){ | ^ pt_thmon.c:849:4: warning: call to undeclared function 'packter_addstring_hash'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 849 | packter_addstring_hash(mesg, mon_pic); | ^ pt_thmon.c:854:6: warning: call to undeclared function 'packter_addstring_hash'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 854 | packter_addstring_hash(mesg, "MON_OPT_MSG_HEAD"); | ^ pt_thmon.c:864:4: warning: call to undeclared function 'packter_addstring_hash'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 864 | packter_addstring_hash(voice, "MON_OPT_SOUND_HEAD"); | ^ pt_thmon.c:868:4: warning: call to undeclared function 'packter_addstring_hash'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 868 | packter_addstring_hash(sound, mon_sound); | ^ pt_thmon.c:877:4: warning: call to undeclared function 'packter_addstring_hash'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 877 | packter_addstring_hash(voice, "MON_OPT_VOICE_HEAD"); | ^ pt_thmon.c:884:6: warning: call to undeclared function 'packter_is_exist_key_str'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 884 | if (packter_is_exist_key_str(mon_mesg) == PACKTER_TRUE){ | ^ pt_thmon.c:885:3: warning: call to undeclared function 'packter_addstring_hash'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 885 | packter_addstring_hash(mesg, mon_mesg); | ^ pt_thmon.c:890:3: warning: call to undeclared function 'packter_addstring_hash'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 890 | packter_addstring_hash(mesg, "MONITOR"); | ^ pt_thmon.c:899:3: warning: call to undeclared function 'packter_addstring_hash'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 899 | packter_addstring_hash(mesg, "THRESHOLD"); | ^ pt_thmon.c:908:3: warning: call to undeclared function 'packter_addstring_hash'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 908 | packter_addstring_hash(voice, mon_voice); | ^ 23 warnings generated. mv -f .deps/pt_thmon-pt_thmon.Tpo .deps/pt_thmon-pt_thmon.Po --- pt_thmon --- cc -DUSE_INET6 -O2 -pipe -Wno-return-type -fstack-protector-strong -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 --- =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for packter-agent-2.5_2 ===> Generating temporary packing list Making install in src test -z "/usr/local/bin" || /bin/mkdir -p "/wrkdirs/usr/ports/net/packter-agent/work/stage/usr/local/bin" install -s -m 555 pt_agent pt_sflow pt_netflow pt_thmon '/wrkdirs/usr/ports/net/packter-agent/work/stage/usr/local/bin' test -z "/usr/local/etc" || /bin/mkdir -p "/wrkdirs/usr/ports/net/packter-agent/work/stage/usr/local/etc" install -m 0644 packter.conf.sample '/wrkdirs/usr/ports/net/packter-agent/work/stage/usr/local/etc' install -m 0644 /wrkdirs/usr/ports/net/packter-agent/work/PackterAgent-2.5/AUTHORS /wrkdirs/usr/ports/net/packter-agent/work/stage/usr/local/share/doc/packter-agent install -m 0644 /wrkdirs/usr/ports/net/packter-agent/work/PackterAgent-2.5/COPYING /wrkdirs/usr/ports/net/packter-agent/work/stage/usr/local/share/doc/packter-agent install -m 0644 /wrkdirs/usr/ports/net/packter-agent/work/PackterAgent-2.5/ChangeLog /wrkdirs/usr/ports/net/packter-agent/work/stage/usr/local/share/doc/packter-agent install -m 0644 /wrkdirs/usr/ports/net/packter-agent/work/PackterAgent-2.5/INSTALL /wrkdirs/usr/ports/net/packter-agent/work/stage/usr/local/share/doc/packter-agent install -m 0644 /wrkdirs/usr/ports/net/packter-agent/work/PackterAgent-2.5/LICENSE /wrkdirs/usr/ports/net/packter-agent/work/stage/usr/local/share/doc/packter-agent install -m 0644 /wrkdirs/usr/ports/net/packter-agent/work/PackterAgent-2.5/NEWS /wrkdirs/usr/ports/net/packter-agent/work/stage/usr/local/share/doc/packter-agent install -m 0644 /wrkdirs/usr/ports/net/packter-agent/work/PackterAgent-2.5/README /wrkdirs/usr/ports/net/packter-agent/work/stage/usr/local/share/doc/packter-agent ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-12-15T20:10:36+0000' 'PKG_NOTE_ports_top_git_hash=10f7dee57a4c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=fb16dfecae4a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for packter-agent-2.5_2 ===> Building packter-agent-2.5_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for packter-agent-2.5_2 build of net/packter-agent | packter-agent-2.5_2 ended at Mon Dec 15 15:12:20 EST 2025 build time: 00:01:48