=>> Building net/xprobe build started at Sun Mar 31 11:19:05 BST 2024 port directory: /usr/ports/net/xprobe package name: xprobe2-0.3_1 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: sunpoet@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 543 Feb 25 10:26 /usr/ports/net/xprobe/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 4b6ec8d261 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 16 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 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.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/16/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 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--- ---End OPTIONS List--- --MAINTAINER-- sunpoet@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- INSTALL=install XDG_DATA_HOME=/wrkdirs/usr/ports/net/xprobe/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/xprobe/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/xprobe/work/.cache HOME=/wrkdirs/usr/ports/net/xprobe/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/net/xprobe/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/xprobe/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" 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/xprobe/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/xprobe/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/xprobe/work/.cache HOME=/wrkdirs/usr/ports/net/xprobe/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/net/xprobe/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/xprobe/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 -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" 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-- OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xprobe2" EXAMPLESDIR="share/examples/xprobe2" DATADIR="share/xprobe2" WWWDIR="www/xprobe2" ETCDIR="etc/xprobe2" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xprobe2 DOCSDIR=/usr/local/share/doc/xprobe2 EXAMPLESDIR=/usr/local/share/examples/xprobe2 WWWDIR=/usr/local/www/xprobe2 ETCDIR=/usr/local/etc/xprobe2 --End SUB_LIST-- ---Begin make.conf--- 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 #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---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 --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 ===> xprobe2-0.3_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> xprobe2-0.3_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xprobe2-0.3_1 =========================================================================== =================================================== ===== 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 xprobe2-0.3_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by xprobe2-0.3_1 for building => SHA256 Checksum OK for xprobe2-0.3.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 xprobe2-0.3_1 for building ===> Extracting for xprobe2-0.3_1 => SHA256 Checksum OK for xprobe2-0.3.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 xprobe2-0.3_1 ===> Applying FreeBSD patches for xprobe2-0.3_1 from /usr/ports/net/xprobe/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for xprobe2-0.3_1 configure: loading site script /usr/ports/Templates/config.site checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking for ranlib... ranlib checking build system type... amd64-portbld-freebsd13.2 checking host system type... amd64-portbld-freebsd13.2 checking how to run the C++ preprocessor... c++ -E checking for egrep... grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking glib.h usability... no checking glib.h presence... no checking for glib.h... no checking for dlfcn.h... (cached) yes checking if sa_len is in struct sockaddr... yes checking for pcap_datalink in -lpcap... yes checking for dlfcn.h... (cached) yes checking for a BSD-compatible install... install checking whether make sets $(MAKE)... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/defines.h config.status: creating src/Makefile config.status: creating src/xplib/Makefile config.status: creating src/xpmodules/Makefile config.status: creating src/xpmodules/alive_probe/Makefile config.status: creating src/xpmodules/alive_probe/ttl_calc/Makefile config.status: creating src/xpmodules/alive_probe/portscanner/Makefile config.status: creating src/xpmodules/os_probe/Makefile config.status: creating src/xpmodules/os_probe/icmp_echo_id/Makefile config.status: creating src/xpmodules/os_probe/icmp_timestamp/Makefile config.status: creating src/xpmodules/os_probe/icmp_addrmask/Makefile config.status: creating src/xpmodules/os_probe/icmp_inforeq/Makefile config.status: creating src/xpmodules/os_probe/icmp_port_unreach/Makefile config.status: creating src/xpmodules/os_probe/tcp_handshake/Makefile config.status: creating src/xpmodules/os_probe/tcp_rst/Makefile config.status: creating src/xpmodules/os_probe/smb/Makefile config.status: creating src/xpmodules/os_probe/snmp/Makefile config.status: creating src/config.h configure: configuring in libs-external/USI++/src configure: running /bin/sh './configure' --prefix=/usr/local '--prefix=/usr/local' '--localstatedir=/var' '--mandir=/usr/local/share/man' '--infodir=/usr/local/share/info/' '--build=amd64-portbld-freebsd13.2' 'CC=cc' 'CFLAGS=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing ' 'CPPFLAGS=' 'CXXFLAGS=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing ' 'CXX=c++' 'LDFLAGS= -fstack-protector-strong ' 'build_alias=amd64-portbld-freebsd13.2' --cache-file=/dev/null --srcdir=. configure: loading site script /usr/ports/Templates/config.site checking build system type... amd64-portbld-freebsd13.2 checking host system type... amd64-portbld-freebsd13.2 checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking for ranlib... ranlib checking for a BSD-compatible install... install checking for gcc... cc checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for main in -lpcap... yes checking for pcap_setnonblock in -lpcap... yes checking for socket in -lsocket... no checking for inet_ntoa in -lnsl... no checking how to run the C preprocessor... cpp checking for egrep... grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for fcntl.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking linux/filter.h usability... no checking linux/filter.h presence... no checking for linux/filter.h... no checking for an ANSI C-conforming const... yes checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking whether byte ordering is bigendian... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for xprobe2-0.3_1 (cd libs-external/USI++/src; /usr/bin/make) c++ -DIMMEDIATE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/include/pcap -I. -Wall -c -O2 icmp.cc In file included from icmp.cc:14: In file included from ./usi++/icmp.h:16: ./usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ./usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from icmp.cc:14: In file included from ./usi++/icmp.h:16: ./usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ./usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ icmp.cc:296:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] r = Layer2::setfilter("icmp"); ^ 3 warnings generated. c++ -DIMMEDIATE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/include/pcap -I. -Wall -c -O2 datalink.cc datalink.cc:274:12: warning: explicitly assigning value of variable of type 'size_t' (aka 'unsigned long') to itself [-Wself-assign] d_snaplen = d_snaplen; ~~~~~~~~~ ^ ~~~~~~~~~ 1 warning generated. c++ -DIMMEDIATE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/include/pcap -I. -Wall -c -O2 ip.cc In file included from ip.cc:13: ./usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ./usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from ip.cc:13: ./usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ./usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ ip.cc:559:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] r = Layer2::setfilter("ip"); ^ 3 warnings generated. c++ -DIMMEDIATE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/include/pcap -I. -Wall -c -O2 misc.cc c++ -DIMMEDIATE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/include/pcap -I. -Wall -c -O2 udp.cc In file included from udp.cc:13: In file included from ./usi++/udp.h:17: ./usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ./usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from udp.cc:13: In file included from ./usi++/udp.h:17: ./usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ./usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ udp.cc:217:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] r = Layer2::setfilter("udp"); ^ 3 warnings generated. c++ -DIMMEDIATE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/include/pcap -I. -Wall -c -O2 tcp.cc In file included from tcp.cc:14: In file included from ./usi++/tcp.h:19: ./usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ./usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from tcp.cc:14: In file included from ./usi++/tcp.h:19: ./usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ./usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ tcp.cc:321:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] r = Layer2::setfilter("tcp"); ^ 3 warnings generated. c++ -DIMMEDIATE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/include/pcap -I. -Wall -c -O2 TX_IP.cc TX_IP.cc:37:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] int r; ^ TX_IP.cc:33:5: note: previous statement is here if (tx_timeout != false) ^ 1 warning generated. c++ -DIMMEDIATE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/include/pcap -I. -Wall -c -O2 Layer2.cc c++ -DIMMEDIATE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/include/pcap -I. -Wall -c -O2 arp.cc In file included from arp.cc:13: ./usi++/arp.h:66:21: warning: 'usipp::ARP::sniffpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sniffpack(); ^ ./usi++/Layer2.h:41:14: note: hidden overloaded virtual function 'usipp::Layer2::sniffpack' declared here: different number of parameters (2 vs 0) virtual int sniffpack(void *, size_t); ^ 1 warning generated. ar cr libusi++.a *.o ranlib libusi++.a rm -f *.o (cd src; /usr/bin/make) cd xplib; /usr/bin/make c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ../ xp_get_interface.cc In file included from xp_get_interface.cc:26: ./xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ./xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H xp_get_interface.cc:88:15: warning: cast from 'char *' to 'struct ifreq *' increases required alignment from 1 to 8 [-Wcast-align] ifr = (struct ifreq *)((char *)ifr + ifr->ifr_addr.sa_len + \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ../ xp_get_iface_addr.cc In file included from xp_get_iface_addr.cc:26: In file included from ./xp_get_iface_addr.h:28: In file included from ./xplib.h:31: ./xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ./xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H 1 warning generated. c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ../ xp_get_random_data.cc In file included from xp_get_random_data.cc:23: In file included from ./xp_get_random_data.h:25: In file included from ./xplib.h:31: ./xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ./xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H 1 warning generated. c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ../ xp_get_ping_payload.cc In file included from xp_get_ping_payload.cc:23: In file included from ./xplib.h:31: ./xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ./xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H 1 warning generated. c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ../ xp_get_src_addr.cc In file included from xp_get_src_addr.cc:23: In file included from ./xplib.h:31: ./xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ./xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H 1 warning generated. c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ../ xp_sha1.cc In file included from xp_sha1.cc:40: In file included from ./xp_sha1.h:34: In file included from ./xplib.h:31: ./xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ./xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H 1 warning generated. c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ../ xp_lib.cc In file included from xp_lib.cc:22: In file included from ./xp_lib.h:26: In file included from ./xplib.h:31: ./xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ./xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H 1 warning generated. ar cr libxplib.a *.o ranlib libxplib.a c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ cmd_opts.cc In file included from cmd_opts.cc:26: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:27: ./os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from cmd_opts.cc:26: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from cmd_opts.cc:26: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from cmd_opts.cc:27: In file included from ./xplib/xplib.h:31: ./xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ./xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H cmd_opts.cc:209:2: warning: misleading indentation; statement is not part of the previous 'while' [-Wmisleading-indentation] if (xml && !logfile) { ^ cmd_opts.cc:83:5: note: previous statement is here while((c = getopt(argc, argv, "vi:p:ho:t:d:c:rD:m:M:PT:U:s:fLFXBA")) !=EOF) ^ cmd_opts.cc:132:86: warning: result of comparison of constant -9223372036854775808 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] if (errno == ERANGE && (mod_to_disable == LONG_MAX || mod_to_disable == LONG_MIN)) { ~~~~~~~~~~~~~~ ^ ~~~~~~~~ cmd_opts.cc:132:56: warning: result of comparison of constant 9223372036854775807 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] if (errno == ERANGE && (mod_to_disable == LONG_MAX || mod_to_disable == LONG_MIN)) { ~~~~~~~~~~~~~~ ^ ~~~~~~~~ cmd_opts.cc:154:84: warning: result of comparison of constant -9223372036854775808 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] if (errno == ERANGE && (mod_to_enable == LONG_MAX || mod_to_enable == LONG_MIN)) { ~~~~~~~~~~~~~ ^ ~~~~~~~~ cmd_opts.cc:154:55: warning: result of comparison of constant 9223372036854775807 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] if (errno == ERANGE && (mod_to_enable == LONG_MAX || mod_to_enable == LONG_MIN)) { ~~~~~~~~~~~~~ ^ ~~~~~~~~ cmd_opts.cc:167:82: warning: result of comparison of constant -9223372036854775808 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] if (errno == ERANGE && (numofmatches == LONG_MAX || numofmatches == LONG_MIN)) { ~~~~~~~~~~~~ ^ ~~~~~~~~ cmd_opts.cc:167:54: warning: result of comparison of constant 9223372036854775807 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] if (errno == ERANGE && (numofmatches == LONG_MAX || numofmatches == LONG_MIN)) { ~~~~~~~~~~~~ ^ ~~~~~~~~ cmd_opts.cc:326:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] default_config_file = DEFAULT_CONFIG; ^ ./defines.h:35:24: note: expanded from macro 'DEFAULT_CONFIG' #define DEFAULT_CONFIG "/usr/local/etc/xprobe2/xprobe2.conf" ^ 12 warnings generated. c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ config_set.cc In file included from config_set.cc:26: ./os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from config_set.cc:27: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from config_set.cc:27: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ config_set.cc:63:11: warning: result of comparison of constant 18446744073709551615 with expression of type 'unsigned int' is always true [-Wtautological-constant-out-of-range-compare] if (p != string::npos) ~ ^ ~~~~~~~~~~~~ config_set.cc:67:11: warning: result of comparison of constant 18446744073709551615 with expression of type 'unsigned int' is always true [-Wtautological-constant-out-of-range-compare] if (p != string::npos) ~ ^ ~~~~~~~~~~~~ config_set.cc:92:11: warning: result of comparison of constant 18446744073709551615 with expression of type 'unsigned int' is always true [-Wtautological-constant-out-of-range-compare] if (p != string::npos) ~ ^ ~~~~~~~~~~~~ config_set.cc:101:11: warning: result of comparison of constant 18446744073709551615 with expression of type 'unsigned int' is always true [-Wtautological-constant-out-of-range-compare] if (p != string::npos) ~ ^ ~~~~~~~~~~~~ config_set.cc:112:11: warning: result of comparison of constant 18446744073709551615 with expression of type 'unsigned int' is always true [-Wtautological-constant-out-of-range-compare] if (p != string::npos) { ~ ^ ~~~~~~~~~~~~ 8 warnings generated. c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ interface.cc c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ interface_con.cc c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ log.cc In file included from log.cc:5: In file included from ./xprobe_module.h:27: ./os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from log.cc:5: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from log.cc:5: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ log.cc:245:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] state="closed"; ^ log.cc:248:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] state="open"; ^ log.cc:251:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] state="filtered"; ^ log.cc:254:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] state="unknown"; ^ 7 warnings generated. c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ os_matrix.cc In file included from os_matrix.cc:23: ./os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from os_matrix.cc:25: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from os_matrix.cc:25: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ 3 warnings generated. c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ scan_engine.cc In file included from scan_engine.cc:27: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:27: ./os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from scan_engine.cc:27: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from scan_engine.cc:27: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ 3 warnings generated. c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ target.cc In file included from target.cc:26: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:27: ./os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from target.cc:26: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from target.cc:26: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from target.cc:29: In file included from ./xplib/xplib.h:31: ./xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ./xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H target.cc:120:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] if (counter == htonl(addr)) { // network number ^ target.cc:118:5: note: previous statement is here if (counter > ntohl(addr|mask^0xffffffff)) ^ 5 warnings generated. c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ targets_list.cc c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ xprobe.cc In file included from xprobe.cc:26: In file included from ./xprobe_module.h:27: ./os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from xprobe.cc:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from xprobe.cc:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ 3 warnings generated. c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ xprobe_module_hdlr.cc In file included from xprobe_module_hdlr.cc:23: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:27: ./os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from xprobe_module_hdlr.cc:23: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from xprobe_module_hdlr.cc:23: In file included from ./xprobe_module_hdlr.h:26: In file included from ./xprobe_module.h:28: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from xprobe_module_hdlr.cc:26: ./xpmodules/static_modules.h:50:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"ping:icmp_ping", icmp_ping_mod_init}, ^ ./xpmodules/static_modules.h:51:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"ping:tcp_ping", tcp_ping_mod_init}, ^ ./xpmodules/static_modules.h:52:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"ping:udp_ping", udp_ping_mod_init }, ^ ./xpmodules/static_modules.h:53:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"infogather:ttl_calc",ttl_mod_init }, ^ ./xpmodules/static_modules.h:54:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"infogather:portscan", portscan_mod_init}, ^ ./xpmodules/static_modules.h:55:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"fingerprint:icmp_echo", icmp_echo_id_mod_init}, ^ ./xpmodules/static_modules.h:56:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"fingerprint:icmp_tstamp", icmp_timestamp_mod_init}, ^ ./xpmodules/static_modules.h:57:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"fingerprint:icmp_amask", icmp_addrmask_mod_init}, ^ ./xpmodules/static_modules.h:58:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"fingerprint:icmp_info", icmp_inforeq_mod_init }, ^ ./xpmodules/static_modules.h:59:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"fingerprint:icmp_port_unreach", icmp_port_unreach_init}, ^ ./xpmodules/static_modules.h:60:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"fingerprint:tcp_hshake", tcp_handshake_mod_init}, ^ ./xpmodules/static_modules.h:61:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"fingerprint:tcp_rst", tcp_rst_mod_init}, ^ ./xpmodules/static_modules.h:62:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"fingerprint:smb", smb_mod_init}, ^ ./xpmodules/static_modules.h:63:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"fingerprint:snmp", snmp_mod_init}, ^ 17 warnings generated. c++ -c -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ xprobe_module_param.cc In file included from xprobe_module_param.cc:23: In file included from ./xprobe_module_param.h:32: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from xprobe_module_param.cc:23: In file included from ./xprobe_module_param.h:32: In file included from ../libs-external/USI++/src/usi++/usi++.h:23: ../libs-external/USI++/src/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../libs-external/USI++/src/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from xprobe_module_param.cc:23: In file included from ./xprobe_module_param.h:34: ./os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from xprobe_module_param.cc:25: In file included from ./xplib/xplib.h:31: ./xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ./xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H xprobe_module_param.cc:50:37: warning: '&&' within '||' [-Wlogical-op-parentheses] param != 0 && (*sig_i).second.low == 1) { ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ xprobe_module_param.cc:50:37: note: place parentheses around the '&&' expression to silence this warning param != 0 && (*sig_i).second.low == 1) { ^ ( ) 5 warnings generated. cd xpmodules; /usr/bin/make cd alive_probe; /usr/bin/make c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../xplib -I ../../../libs-external/USI++ -c icmp_ping.cc In file included from icmp_ping.cc:25: In file included from ../../../libs-external/USI++/usi++/usi++.h:23: ../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from icmp_ping.cc:25: In file included from ../../../libs-external/USI++/usi++/usi++.h:23: ../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from icmp_ping.cc:29: In file included from ../../xplib/xplib.h:31: ../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H In file included from icmp_ping.cc:30: In file included from ../../xprobe_module.h:27: ../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ icmp_ping.cc:91:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^ 5 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../xplib -I ../../../libs-external/USI++ -c tcp_ping.cc In file included from tcp_ping.cc:25: In file included from ../../../libs-external/USI++/usi++/usi++.h:23: ../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from tcp_ping.cc:25: In file included from ../../../libs-external/USI++/usi++/usi++.h:23: ../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from tcp_ping.cc:27: In file included from ../../xplib/xplib.h:31: ../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H In file included from tcp_ping.cc:28: In file included from ../../xprobe_module.h:27: ../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ tcp_ping.cc:72:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] sn.init_device(tg->get_interface(), 0, 1500); ^ tcp_ping.cc:69:5: note: previous statement is here if ((port = tg->get_port(IPPROTO_TCP, XPROBE_TARGETP_OPEN)) == -1 ) ^ tcp_ping.cc:89:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tcpp->sendpack(""); ^ 6 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../xplib -I ../../../libs-external/USI++ -c udp_ping.cc In file included from udp_ping.cc:25: In file included from ../../../libs-external/USI++/usi++/usi++.h:23: ../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from udp_ping.cc:25: In file included from ../../../libs-external/USI++/usi++/usi++.h:23: ../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from udp_ping.cc:27: In file included from ../../xplib/xplib.h:31: ../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H In file included from udp_ping.cc:28: In file included from ../../xprobe_module.h:27: ../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ udp_ping.cc:90:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] udpp.sendpack(""); ^ 5 warnings generated. cd ttl_calc; /usr/bin/make c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ ttl_calc.cc In file included from ttl_calc.cc:2: In file included from ./ttl_calc.h:27: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from ttl_calc.cc:2: In file included from ./ttl_calc.h:27: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from ttl_calc.cc:2: In file included from ./ttl_calc.h:29: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from ttl_calc.cc:2: In file included from ./ttl_calc.h:33: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H ttl_calc.cc:146:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tcp.sendpack(""); ^ ttl_calc.cc:158:15: warning: cast from 'u_char *' (aka 'unsigned char *') to 'struct icmp_hdr *' increases required alignment from 1 to 4 [-Wcast-align] icmph = (struct icmp_hdr *) buf; ^~~~~~~~~~~~~~~~~~~~~~~ ttl_calc.cc:160:13: warning: cast from 'u_char *' (aka 'unsigned char *') to 'struct ip *' increases required alignment from 1 to 2 [-Wcast-align] iph = (struct ip *) (buf + sizeof (struct icmp_hdr)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ttl_calc.cc:199:14: warning: cast from 'u_char *' (aka 'unsigned char *') to 'struct tcphdr *' increases required alignment from 1 to 4 [-Wcast-align] tcph = (struct tcphdr *) buf; ^~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ build_DNS_reply.cc In file included from build_DNS_reply.cc:1: In file included from ./ttl_calc.h:27: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from build_DNS_reply.cc:1: In file included from ./ttl_calc.h:27: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from build_DNS_reply.cc:1: In file included from ./ttl_calc.h:29: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from build_DNS_reply.cc:1: In file included from ./ttl_calc.h:33: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H build_DNS_reply.cc:27:16: warning: cast from 'u_char *' (aka 'unsigned char *') to 'struct DNSHEADER *' increases required alignment from 1 to 8 [-Wcast-align] dnsh = (struct DNSHEADER *) localpacket; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ getrandom.cc In file included from getrandom.cc:1: In file included from ./ttl_calc.h:27: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from getrandom.cc:1: In file included from ./ttl_calc.h:27: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from getrandom.cc:1: In file included from ./ttl_calc.h:29: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from getrandom.cc:1: In file included from ./ttl_calc.h:33: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H 4 warnings generated. ttl_mod done cd portscanner; /usr/bin/make c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ portscanner.cc In file included from portscanner.cc:25: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H In file included from portscanner.cc:26: In file included from ../../../xprobe_module_hdlr.h:26: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from portscanner.cc:26: In file included from ../../../xprobe_module_hdlr.h:26: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from portscanner.cc:26: In file included from ../../../xprobe_module_hdlr.h:26: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ portscanner.cc:63:5: warning: explicitly assigning value of variable of type 'OS_Matrix *' to itself [-Wself-assign] os = os; /* suspend warning */ ~~ ^ ~~ portscanner.cc:118:9: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] tcp_ignore_state = get_ignore_state(IPPROTO_TCP); ^ portscanner.cc:112:5: note: previous statement is here for (k=0; k < tcpport.size(); k++) ^ portscanner.cc:131:2: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] xml->log(XPROBELOG_PS_SESS_START, "%d", ((end.tv_sec - start.tv_sec) * 1000 + (end.tv_usec - start.tv_usec)/1000)/1000.0); ^ portscanner.cc:125:5: note: previous statement is here for (k=0; k < udpport.size(); k++) ^ portscanner.cc:306:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] udpp.sendpack(""); ^ portscanner.cc:340:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tcpp.sendpack(""); ^ portscanner.cc:445:27: warning: cast from 'char *' to 'struct ip *' increases required alignment from 1 to 2 [-Wcast-align] iph = (struct ip *)((char *)icmph + sizeof(struct usipp::icmphdr)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ portscanner.cc:446:28: warning: cast from 'char *' to 'struct udphdr *' increases required alignment from 1 to 2 [-Wcast-align] udph = (struct udphdr *)((char *)iph + sizeof(struct ip)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ portscanner.cc:362:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret, done=0; ^ portscanner.cc:369:17: warning: unused variable 'remote' [-Wunused-variable] struct in_addr remote=tg->get_addr(), local=tg->get_interface_addr(); ^ portscanner.cc:503:12: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] return 255; ~~~~~~ ^~~ portscanner.cc:517:12: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] return 255; ~~~~~~ ^~~ portscanner.cc:578:7: warning: variable 'detected' set but not used [-Wunused-but-set-variable] bool detected=false; ^ 16 warnings generated. ar cr alive_probe.a *.o ttl_calc/*.o portscanner/*.o ranlib alive_probe.a cd os_probe; /usr/bin/make cd icmp_port_unreach; /usr/bin/make c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ icmp_port_unreach.cc In file included from icmp_port_unreach.cc:2: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from icmp_port_unreach.cc:2: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from icmp_port_unreach.cc:4: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H In file included from icmp_port_unreach.cc:5: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ icmp_port_unreach.cc:338:10: warning: cast from 'u_char *' (aka 'unsigned char *') to 'struct udphdr *' increases required alignment from 1 to 2 [-Wcast-align] udph = (struct udphdr *) (echoedpack+iphlen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ build_DNS_reply.cc In file included from build_DNS_reply.cc:1: In file included from ./icmp_port_unreach.h:29: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from build_DNS_reply.cc:1: In file included from ./icmp_port_unreach.h:29: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from build_DNS_reply.cc:1: In file included from ./icmp_port_unreach.h:29: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from build_DNS_reply.cc:1: In file included from ./icmp_port_unreach.h:33: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H build_DNS_reply.cc:27:16: warning: cast from 'u_char *' (aka 'unsigned char *') to 'struct DNSHEADER *' increases required alignment from 1 to 8 [-Wcast-align] dnsh = (struct DNSHEADER *) localpacket; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ getrandom.cc In file included from getrandom.cc:1: In file included from ./icmp_port_unreach.h:29: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from getrandom.cc:1: In file included from ./icmp_port_unreach.h:29: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from getrandom.cc:1: In file included from ./icmp_port_unreach.h:29: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from getrandom.cc:1: In file included from ./icmp_port_unreach.h:33: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H 4 warnings generated. c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ parse_keyword.cc In file included from parse_keyword.cc:3: In file included from ./icmp_port_unreach.h:29: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from parse_keyword.cc:3: In file included from ./icmp_port_unreach.h:29: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from parse_keyword.cc:3: In file included from ./icmp_port_unreach.h:29: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from parse_keyword.cc:3: In file included from ./icmp_port_unreach.h:33: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H In file included from parse_keyword.cc:4: ./parse_keyword.h:4:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "icmp_unreach_reply_ttl", ^ ./parse_keyword.h:5:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "icmp_unreach_echoed_dtsize", ^ ./parse_keyword.h:6:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "icmp_unreach_echoed_udp_cksum", ^ ./parse_keyword.h:7:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "icmp_unreach_echoed_ip_cksum", ^ ./parse_keyword.h:8:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "icmp_unreach_echoed_ip_id", ^ ./parse_keyword.h:9:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "icmp_unreach_echoed_total_len", ^ ./parse_keyword.h:10:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "icmp_unreach_echoed_3bit_flags", ^ ./parse_keyword.h:11:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "icmp_unreach_precedence_bits", ^ ./parse_keyword.h:12:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "icmp_unreach_df_bit", ^ ./parse_keyword.h:13:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "icmp_unreach_ip_id", ^ ./parse_keyword.h:14:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "icmp_unreach_reply", ^ 15 warnings generated. icmp_port_unreach done cd icmp_echo_id; /usr/bin/make c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ -c icmp_echo_id.cc In file included from icmp_echo_id.cc:25: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from icmp_echo_id.cc:25: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from icmp_echo_id.cc:29: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H In file included from icmp_echo_id.cc:30: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ icmp_echo_id.cc:48:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(),"icmp_echo_reply"); ^ icmp_echo_id.cc:49:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(),"icmp_echo_code"); ^ icmp_echo_id.cc:50:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(),"icmp_echo_ip_id"); ^ icmp_echo_id.cc:51:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(),"icmp_echo_tos_bits"); ^ icmp_echo_id.cc:52:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(),"icmp_echo_df_bit"); ^ icmp_echo_id.cc:53:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(),"icmp_echo_reply_ttl"); ^ icmp_echo_id.cc:152:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^ 11 warnings generated. cd icmp_timestamp; /usr/bin/make c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ icmp_timestamp.cc In file included from icmp_timestamp.cc:25: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from icmp_timestamp.cc:25: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from icmp_timestamp.cc:29: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H In file included from icmp_timestamp.cc:30: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ icmp_timestamp.cc:47:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(),"icmp_timestamp_reply"); ^ icmp_timestamp.cc:48:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(),"icmp_timestamp_reply_ttl"); ^ icmp_timestamp.cc:49:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(),"icmp_timestamp_reply_ip_id"); ^ icmp_timestamp.cc:109:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^ 8 warnings generated. cd icmp_inforeq; /usr/bin/make c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ icmp_inforeq.cc In file included from icmp_inforeq.cc:25: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from icmp_inforeq.cc:25: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from icmp_inforeq.cc:29: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H In file included from icmp_inforeq.cc:30: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ icmp_inforeq.cc:47:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(),"icmp_info_reply"); ^ icmp_inforeq.cc:48:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(),"icmp_info_reply_ttl"); ^ icmp_inforeq.cc:49:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(), "icmp_info_reply_ip_id"); ^ icmp_inforeq.cc:135:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ret = icmpp.sendpack(""); ^ icmp_inforeq.cc:110:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^ 9 warnings generated. cd icmp_addrmask; /usr/bin/make c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ icmp_addrmask.cc In file included from icmp_addrmask.cc:25: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from icmp_addrmask.cc:25: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from icmp_addrmask.cc:29: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H In file included from icmp_addrmask.cc:30: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ icmp_addrmask.cc:47:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(),"icmp_addrmask_reply"); ^ icmp_addrmask.cc:48:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(),"icmp_addrmask_reply_ttl"); ^ icmp_addrmask.cc:49:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(module->get_id(), "icmp_addrmask_reply_ip_id"); ^ 7 warnings generated. cd tcp_handshake; /usr/bin/make c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ -c tcp_handshake.cc In file included from tcp_handshake.cc:26: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H In file included from tcp_handshake.cc:27: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from tcp_handshake.cc:27: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from tcp_handshake.cc:27: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ tcp_handshake.cc:143:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] request->sendpack(""); ^ tcp_handshake.cc:87:14: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int done=0, ret, have_more_ports=1; ^ tcp_handshake.cc:611:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_ttl"); ^ tcp_handshake.cc:612:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_ip_id"); ^ tcp_handshake.cc:613:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_tos"); ^ tcp_handshake.cc:614:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_df"); ^ tcp_handshake.cc:615:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_ack"); ^ tcp_handshake.cc:616:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_window_size"); ^ tcp_handshake.cc:617:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_options_order"); ^ tcp_handshake.cc:618:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_wscale"); ^ tcp_handshake.cc:619:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_tsval"); ^ tcp_handshake.cc:620:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(tcp_handshake->get_id(), "tcp_syn_ack_tsecr"); ^ 16 warnings generated. cd tcp_rst; /usr/bin/make c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I../ -I../../ -I ../../../ -I../../../xplib -I ../../../../libs-external/USI++ -c tcp_rst.cc In file included from tcp_rst.cc:25: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H In file included from tcp_rst.cc:26: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from tcp_rst.cc:26: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from tcp_rst.cc:26: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from tcp_rst.cc:31: ./tcp_rst.h:35:8: warning: 'TCP_Rst_Mod::generate_signature' hides overloaded virtual functions [-Woverloaded-virtual] void generate_signature(Target *, TCP *, TCP *, TCP *); ^ ../../../xprobe_module.h:44:16: note: hidden overloaded virtual function 'Xprobe_Module::generate_signature' declared here: different number of parameters (3 vs 4) virtual void generate_signature(Target *, ICMP *, ICMP *) { return; } ^ ../../../xprobe_module.h:45:16: note: hidden overloaded virtual function 'Xprobe_Module::generate_signature' declared here: different number of parameters (3 vs 4) virtual void generate_signature(Target *, TCP *, TCP *) { return; } ^ tcp_rst.cc:41:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(rst->get_id(), "tcp_rst_df"); ^ tcp_rst.cc:42:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(rst->get_id(), "tcp_rst_ip_id_1"); ^ tcp_rst.cc:43:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(rst->get_id(), "tcp_rst_ip_id_2"); ^ tcp_rst.cc:44:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(rst->get_id(), "tcp_rst_ip_id_strategy"); ^ tcp_rst.cc:45:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(rst->get_id(), "tcp_rst_ttl"); ^ tcp_rst.cc:46:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(rst->get_id(), "tcp_rst_reply"); ^ tcp_rst.cc:124:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] request.sendpack(""); ^ tcp_rst.cc:145:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] request.sendpack(""); ^ tcp_rst.cc:91:14: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int done=0, ret; ^ tcp_rst.cc:244:3: warning: explicitly assigning value of variable of type 'usipp::TCP *' to itself [-Wself-assign] o=o; //suspend compiler warning ~^~ 15 warnings generated. cd smb; /usr/bin/make c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ smbutil.cc c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ smb.cc In file included from smb.cc:36: In file included from ./smb.h:40: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from smb.cc:36: In file included from ./smb.h:40: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from smb.cc:36: In file included from ./smb.h:40: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from smb.cc:36: In file included from ./smb.h:42: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H 4 warnings generated. c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ smb_mod.cc In file included from smb_mod.cc:25: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H In file included from smb_mod.cc:26: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from smb_mod.cc:26: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from smb_mod.cc:26: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ smb_mod.cc:41:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(smb->get_id(), "smb_nativeos"); ^ smb_mod.cc:42:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(smb->get_id(), "smb_lanman"); ^ 6 warnings generated. smb done cd snmp; /usr/bin/make c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ snmp.cc In file included from snmp.cc:23: In file included from ./snmp.h:26: In file included from ./snmp_mod.h:27: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from snmp.cc:23: In file included from ./snmp.h:26: In file included from ./snmp_mod.h:27: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from snmp.cc:23: In file included from ./snmp.h:26: In file included from ./snmp_mod.h:27: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ 3 warnings generated. c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -W -Wcast-align -Wcast-qual -Wshadow -I. -I.. -I../../../ -I ../../../xplib -I ../../../../libs-external/USI++ snmp_mod.cc In file included from snmp_mod.cc:25: In file included from ../../../xplib/xplib.h:31: ../../../xplib/xp_get_interface.h:26:9: warning: 'XP_GET_INTERFACE_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef XP_GET_INTERFACE_H ^~~~~~~~~~~~~~~~~~ ../../../xplib/xp_get_interface.h:27:9: note: 'XP_GET_INETRFACE_H' is defined here; did you mean 'XP_GET_INTERFACE_H'? #define XP_GET_INETRFACE_H ^~~~~~~~~~~~~~~~~~ XP_GET_INTERFACE_H In file included from snmp_mod.cc:26: In file included from ../../../xprobe_module.h:27: ../../../os_matrix.h:50:22: warning: address of stack memory associated with local variable 's' returned [-Wreturn-stack-address] return (s.c_str()); ^ In file included from snmp_mod.cc:26: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(void *payload, size_t paylen); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 2) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ In file included from snmp_mod.cc:26: In file included from ../../../xprobe_module.h:28: In file included from ../../../../libs-external/USI++/usi++/usi++.h:23: ../../../../libs-external/USI++/usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual] virtual int sendpack(char *pay_string); ^ ../../../../libs-external/USI++/usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here: different number of parameters (3 vs 1) virtual int sendpack(void *buf, size_t len, struct sockaddr *); ^ snmp_mod.cc:43:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pt->add_keyword(snmp->get_id(), "snmp_sysdescr"); ^ 5 warnings generated. snmp done ar cr os_probe.a icmp_port_unreach/*.o icmp_echo_id/*.o icmp_timestamp/*.o icmp_inforeq/*.o icmp_addrmask/*.o tcp_handshake/*.o tcp_rst/*.o smb/*.o snmp/*.o ranlib os_probe.a c++ -Wall -W -Wcast-align -Wcast-qual -Wshadow -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I ./ -I ../libs-external/USI++/src/ cmd_opts.o config_set.o interface.o interface_con.o log.o os_matrix.o scan_engine.o target.o targets_list.o xprobe.o xprobe_module_hdlr.o xprobe_module_param.o xpmodules/alive_probe/alive_probe.a xpmodules/os_probe/os_probe.a xplib/libxplib.a ../libs-external/USI++/src/libusi++.a -o xprobe2 -fstack-protector-strong -lpcap =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for xprobe2-0.3_1 ===> Generating temporary packing list install -d /wrkdirs/usr/ports/net/xprobe/work/stage//usr/local/bin install -d /wrkdirs/usr/ports/net/xprobe/work/stage//usr/local/share/man/man1 install -d /wrkdirs/usr/ports/net/xprobe/work/stage//usr/local/etc/xprobe2 install -s -m 555 src/xprobe2 /wrkdirs/usr/ports/net/xprobe/work/stage//usr/local/bin install -m 0644 etc/xprobe2.conf /wrkdirs/usr/ports/net/xprobe/work/stage//usr/local/etc/xprobe2/xprobe2.conf.sample install -m 0644 docs/xprobe2.1 /wrkdirs/usr/ports/net/xprobe/work/stage//usr/local/share/man/man1 ====> 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=2024-03-31T10:19:05+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=4b6ec8d261' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for xprobe2-0.3_1 ===> Building xprobe2-0.3_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for xprobe2-0.3_1 build of net/xprobe | xprobe2-0.3_1 ended at Sun Mar 31 11:22:05 BST 2024 build time: 00:03:01