* Package: net-misc/nemesis-1.4-r1 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking nemesis-1.4.tar.gz to /var/tmp/portage/net-misc/nemesis-1.4-r1/work >>> Source unpacked in /var/tmp/portage/net-misc/nemesis-1.4-r1/work >>> Preparing source in /var/tmp/portage/net-misc/nemesis-1.4-r1/work/nemesis-1.4 ... * Applying nemesis-1.4-fileio.patch ... [ ok ] * Applying nemesis-1.4-libnet-1.0.patch ... [ ok ] * Applying nemesis-1.4-prototcp.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-misc/nemesis-1.4-r1/work/nemesis-1.4' ... * Running aclocal ... [ ok ] * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --foreign --force-missing ... [ ok ] * Running elibtoolize in: nemesis-1.4/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/nemesis-1.4-r1/work/nemesis-1.4 ... * econf: updating nemesis-1.4/config.sub with /usr/share/gnuconfig/config.sub * econf: updating nemesis-1.4/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/nemesis-1.4-r1 --htmldir=/usr/share/doc/nemesis-1.4-r1/html --libdir=/usr/lib64 checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking whether make supports the include directive... yes (GNU style) checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking for an ANSI C-conforming const... yes checking for gawk... (cached) gawk checking whether ln -s works... yes checking for fabs in -lm... yes checking for inet_ntoa in -lnsl... yes checking for socket in -lsocket... no checking for hstrerror in -lresolv... yes checking for libnet_build_ip in -lnet-1.0... yes checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for unistd.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for strings.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking machine/endian.h usability... no checking machine/endian.h presence... no checking for machine/endian.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking libnet-1.0.h usability... yes checking libnet-1.0.h presence... yes checking for libnet-1.0.h... yes checking for libnet version 1.0.2a... yes checking for u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for gethostbyname... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for isascii... yes checking for working memcmp... yes checking for memset... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strrchr... yes checking for strtoul... yes checking for getopt... yes checking for inet_aton... yes checking for strlcat... no checking for strlcpy... no checking for strsep... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/nemesis-1.4-r1/work/nemesis-1.4 ... make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/net-misc/nemesis-1.4-r1/work/nemesis-1.4' Making all in src make[2]: Entering directory '/var/tmp/portage/net-misc/nemesis-1.4-r1/work/nemesis-1.4/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o nemesis-arp.o nemesis-arp.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o nemesis-dns.o nemesis-dns.c nemesis-dns.c: In function ‘dns_exit’: nemesis-dns.c:493:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 493 | if (payloadfile != NULL); | ^~ nemesis-dns.c:494:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 494 | free(payloadfile); | ^~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o nemesis-ethernet.o nemesis-ethernet.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o nemesis-fileio.o nemesis-fileio.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o nemesis-functions.o nemesis-functions.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o nemesis-icmp.o nemesis-icmp.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o nemesis-igmp.o nemesis-igmp.c nemesis-igmp.c: In function ‘igmp_exit’: nemesis-igmp.c:370:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 370 | if (got_ipoptions); | ^~ nemesis-igmp.c:371:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 371 | free(ipod.file_mem); | ^~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o nemesis-ip.o nemesis-ip.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o nemesis-ospf.o nemesis-ospf.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o nemesis-printout.o nemesis-printout.c nemesis-printout.c: In function ‘nemesis_printicmp’: nemesis-printout.c:636:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 636 | mask = strdup(inet_ntoa(*(struct in_addr *)&icmp->dun.mask)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nemesis-printout.c:637:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 637 | gateway = strdup(inet_ntoa(*(struct in_addr *)&icmp->hun.gateway)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nemesis-printout.c: In function ‘nemesis_printrip’: nemesis-printout.c:844:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 844 | addr = strdup(inet_ntoa(*(struct in_addr *)&rip->addr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ nemesis-printout.c:845:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 845 | mask = strdup(inet_ntoa(*(struct in_addr *)&rip->mask)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ nemesis-printout.c:846:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 846 | hop = strdup(inet_ntoa(*(struct in_addr *)&rip->next_hop)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o nemesis-proto_arp.o nemesis-proto_arp.c nemesis-proto_arp.c: In function ‘buildarp’: nemesis-proto_arp.c:57:25: warning: pointer targets in passing argument 1 of ‘nemesis_hexdump’ differ in signedness [-Wpointer-sign] 57 | nemesis_hexdump(pkt, arp_packetlen, HEX_ASCII_DECODE); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from nemesis-arp.h:33, from nemesis-proto_arp.c:12: nemesis.h:170:22: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 170 | void nemesis_hexdump(char *, u_int32_t, int); | ^~~~~~ nemesis-proto_arp.c:59:25: warning: pointer targets in passing argument 1 of ‘nemesis_hexdump’ differ in signedness [-Wpointer-sign] 59 | nemesis_hexdump(pkt, arp_packetlen, HEX_RAW_DECODE); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from nemesis-arp.h:33, from nemesis-proto_arp.c:12: nemesis.h:170:22: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 170 | void nemesis_hexdump(char *, u_int32_t, int); | ^~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o nemesis-proto_dns.o nemesis-proto_dns.c nemesis-proto_dns.c: In function ‘builddns’: nemesis-proto_dns.c:147:25: warning: pointer targets in passing argument 1 of ‘nemesis_hexdump’ differ in signedness [-Wpointer-sign] 147 | nemesis_hexdump(pkt, dns_packetlen, HEX_ASCII_DECODE); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from nemesis-dns.h:33, from nemesis-proto_dns.c:12: nemesis.h:170:22: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 170 | void nemesis_hexdump(char *, u_int32_t, int); | ^~~~~~ nemesis-proto_dns.c:149:25: warning: pointer targets in passing argument 1 of ‘nemesis_hexdump’ differ in signedness [-Wpointer-sign] 149 | nemesis_hexdump(pkt, dns_packetlen, HEX_RAW_DECODE); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from nemesis-dns.h:33, from nemesis-proto_dns.c:12: nemesis.h:170:22: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 170 | void nemesis_hexdump(char *, u_int32_t, int); | ^~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o nemesis-proto_ethernet.o nemesis-proto_ethernet.c nemesis-proto_ethernet.c: In function ‘buildether’: nemesis-proto_ethernet.c:48:25: warning: pointer targets in passing argument 1 of ‘nemesis_hexdump’ differ in signedness [-Wpointer-sign] 48 | nemesis_hexdump(pkt, eth_packetlen, HEX_ASCII_DECODE); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from nemesis-ethernet.h:32, from nemesis-proto_ethernet.c:11: nemesis.h:170:22: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 170 | void nemesis_hexdump(char *, u_int32_t, int); | ^~~~~~ nemesis-proto_ethernet.c:50:25: warning: pointer targets in passing argument 1 of ‘nemesis_hexdump’ differ in signedness [-Wpointer-sign] 50 | nemesis_hexdump(pkt, eth_packetlen, HEX_RAW_DECODE); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from nemesis-ethernet.h:32, from nemesis-proto_ethernet.c:11: nemesis.h:170:22: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 170 | void nemesis_hexdump(char *, u_int32_t, int); | ^~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o nemesis-proto_icmp.o nemesis-proto_icmp.c nemesis-proto_icmp.c: In function ‘buildicmp’: nemesis-proto_icmp.c:211:25: warning: pointer targets in passing argument 1 of ‘nemesis_hexdump’ differ in signedness [-Wpointer-sign] 211 | nemesis_hexdump(pkt, icmp_packetlen, HEX_ASCII_DECODE); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from nemesis-icmp.h:43, from nemesis-proto_icmp.c:12: nemesis.h:170:22: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 170 | void nemesis_hexdump(char *, u_int32_t, int); | ^~~~~~ nemesis-proto_icmp.c:213:25: warning: pointer targets in passing argument 1 of ‘nemesis_hexdump’ differ in signedness [-Wpointer-sign] 213 | nemesis_hexdump(pkt, icmp_packetlen, HEX_RAW_DECODE); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from nemesis-icmp.h:43, from nemesis-proto_icmp.c:12: nemesis.h:170:22: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 170 | void nemesis_hexdump(char *, u_int32_t, int); | ^~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o nemesis-proto_igmp.o nemesis-proto_igmp.c nemesis-proto_igmp.c: In function ‘buildigmp’: nemesis-proto_igmp.c:111:25: warning: pointer targets in passing argument 1 of ‘nemesis_hexdump’ differ in signedness [-Wpointer-sign] 111 | nemesis_hexdump(pkt, igmp_packetlen, HEX_ASCII_DECODE); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from nemesis-igmp.h:33, from nemesis-proto_igmp.c:12: nemesis.h:170:22: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 170 | void nemesis_hexdump(char *, u_int32_t, int); | ^~~~~~ nemesis-proto_igmp.c:113:25: warning: pointer targets in passing argument 1 of ‘nemesis_hexdump’ differ in signedness [-Wpointer-sign] 113 | nemesis_hexdump(pkt, igmp_packetlen, HEX_RAW_DECODE); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from nemesis-igmp.h:33, from nemesis-proto_igmp.c:12: nemesis.h:170:22: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 170 | void nemesis_hexdump(char *, u_int32_t, int); | ^~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o nemesis-proto_ip.o nemesis-proto_ip.c nemesis-proto_ip.c: In function ‘buildip’: nemesis-proto_ip.c:102:25: warning: pointer targets in passing argument 1 of ‘nemesis_hexdump’ differ in signedness [-Wpointer-sign] 102 | nemesis_hexdump(pkt, ip_packetlen, HEX_ASCII_DECODE); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from nemesis-ip.h:29, from nemesis-proto_ip.c:12: nemesis.h:170:22: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 170 | void nemesis_hexdump(char *, u_int32_t, int); | ^~~~~~ nemesis-proto_ip.c:104:25: warning: pointer targets in passing argument 1 of ‘nemesis_hexdump’ differ in signedness [-Wpointer-sign] 104 | nemesis_hexdump(pkt, ip_packetlen, HEX_RAW_DECODE); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from nemesis-ip.h:29, from nemesis-proto_ip.c:12: nemesis.h:170:22: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 170 | void nemesis_hexdump(char *, u_int32_t, int); | ^~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o nemesis-proto_ospf.o nemesis-proto_ospf.c nemesis-proto_ospf.c: In function ‘buildospf’: nemesis-proto_ospf.c:76:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 76 | if (got_link) | ^~ nemesis-proto_ospf.c:80:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 80 | libnet_build_ip(ospf_meta_packetlen, ip->ip_tos, ip->ip_id, ip->ip_off, | ^~~~~~~~~~~~~~~ nemesis-proto_ospf.c:90:25: warning: pointer targets in passing argument 1 of ‘nemesis_hexdump’ differ in signedness [-Wpointer-sign] 90 | nemesis_hexdump(pkt, ospf_packetlen, HEX_ASCII_DECODE); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from nemesis-ospf.h:36, from nemesis-proto_ospf.c:12: nemesis.h:170:22: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 170 | void nemesis_hexdump(char *, u_int32_t, int); | ^~~~~~ nemesis-proto_ospf.c:92:25: warning: pointer targets in passing argument 1 of ‘nemesis_hexdump’ differ in signedness [-Wpointer-sign] 92 | nemesis_hexdump(pkt, ospf_packetlen, HEX_RAW_DECODE); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from nemesis-ospf.h:36, from nemesis-proto_ospf.c:12: nemesis.h:170:22: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 170 | void nemesis_hexdump(char *, u_int32_t, int); | ^~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o nemesis-proto_rip.o nemesis-proto_rip.c nemesis-proto_rip.c: In function ‘buildrip’: nemesis-proto_rip.c:115:25: warning: pointer targets in passing argument 1 of ‘nemesis_hexdump’ differ in signedness [-Wpointer-sign] 115 | nemesis_hexdump(pkt, rip_packetlen, HEX_ASCII_DECODE); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from nemesis-rip.h:36, from nemesis-proto_rip.c:12: nemesis.h:170:22: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 170 | void nemesis_hexdump(char *, u_int32_t, int); | ^~~~~~ nemesis-proto_rip.c:117:25: warning: pointer targets in passing argument 1 of ‘nemesis_hexdump’ differ in signedness [-Wpointer-sign] 117 | nemesis_hexdump(pkt, rip_packetlen, HEX_RAW_DECODE); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from nemesis-rip.h:36, from nemesis-proto_rip.c:12: nemesis.h:170:22: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 170 | void nemesis_hexdump(char *, u_int32_t, int); | ^~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o nemesis-proto_tcp.o nemesis-proto_tcp.c nemesis-proto_tcp.c: In function ‘buildtcp’: nemesis-proto_tcp.c:131:25: warning: pointer targets in passing argument 1 of ‘nemesis_hexdump’ differ in signedness [-Wpointer-sign] 131 | nemesis_hexdump(pkt, tcp_packetlen, HEX_ASCII_DECODE); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from nemesis-tcp.h:33, from nemesis-proto_tcp.c:12: nemesis.h:170:22: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 170 | void nemesis_hexdump(char *, u_int32_t, int); | ^~~~~~ nemesis-proto_tcp.c:133:25: warning: pointer targets in passing argument 1 of ‘nemesis_hexdump’ differ in signedness [-Wpointer-sign] 133 | nemesis_hexdump(pkt, tcp_packetlen, HEX_RAW_DECODE); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from nemesis-tcp.h:33, from nemesis-proto_tcp.c:12: nemesis.h:170:22: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 170 | void nemesis_hexdump(char *, u_int32_t, int); | ^~~~~~ nemesis-proto_tcp.c:19:76: warning: variable ‘ip_headerlen’ set but not used [-Wunused-but-set-variable] 19 | tcp_packetlen = 0, tcp_meta_packetlen = 0, tcp_headerlen = 0, ip_headerlen = 0; | ^~~~~~~~~~~~ nemesis-proto_tcp.c:19:57: warning: variable ‘tcp_headerlen’ set but not used [-Wunused-but-set-variable] 19 | u_int32_t tcp_packetlen = 0, tcp_meta_packetlen = 0, tcp_headerlen = 0, ip_headerlen = 0; | ^~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o nemesis-proto_udp.o nemesis-proto_udp.c nemesis-proto_udp.c: In function ‘buildudp’: nemesis-proto_udp.c:110:25: warning: pointer targets in passing argument 1 of ‘nemesis_hexdump’ differ in signedness [-Wpointer-sign] 110 | nemesis_hexdump(pkt, udp_packetlen, HEX_ASCII_DECODE); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from nemesis-udp.h:33, from nemesis-proto_udp.c:12: nemesis.h:170:22: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 170 | void nemesis_hexdump(char *, u_int32_t, int); | ^~~~~~ nemesis-proto_udp.c:112:25: warning: pointer targets in passing argument 1 of ‘nemesis_hexdump’ differ in signedness [-Wpointer-sign] 112 | nemesis_hexdump(pkt, udp_packetlen, HEX_RAW_DECODE); | ^~~ | | | u_int8_t * {aka unsigned char *} In file included from nemesis-udp.h:33, from nemesis-proto_udp.c:12: nemesis.h:170:22: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ {aka ‘unsigned char *’} 170 | void nemesis_hexdump(char *, u_int32_t, int); | ^~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o nemesis-rip.o nemesis-rip.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o nemesis-tcp.o nemesis-tcp.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o nemesis-udp.o nemesis-udp.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o nemesis.o nemesis.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o W32_fzs.o W32_fzs.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o strlcat.o strlcat.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -O2 -pipe -march=native -fno-common -Wall -c -o strlcpy.o strlcpy.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -Wl,-O1 -Wl,--as-needed -o nemesis nemesis-arp.o nemesis-dns.o nemesis-ethernet.o nemesis-fileio.o nemesis-functions.o nemesis-icmp.o nemesis-igmp.o nemesis-ip.o nemesis-ospf.o nemesis-printout.o nemesis-proto_arp.o nemesis-proto_dns.o nemesis-proto_ethernet.o nemesis-proto_icmp.o nemesis-proto_igmp.o nemesis-proto_ip.o nemesis-proto_ospf.o nemesis-proto_rip.o nemesis-proto_tcp.o nemesis-proto_udp.o nemesis-rip.o nemesis-tcp.o nemesis-udp.o nemesis.o W32_fzs.o strlcat.o strlcpy.o -lnet-1.0 -lresolv -lnsl -lm -lnet-1.0 /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-ospf.o:(.bss+0x0): multiple definition of `mode'; nemesis-icmp.o:(.bss+0x4): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_dns.o:(.bss+0x0): multiple definition of `state'; nemesis-dns.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_icmp.o:(.bss+0x4): multiple definition of `mode'; nemesis-icmp.o:(.bss+0x4): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_icmp.o:(.bss+0x0): multiple definition of `got_origoptions'; nemesis-icmp.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x0): multiple definition of `mode'; nemesis-icmp.o:(.bss+0x4): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x4): multiple definition of `rtrid'; nemesis-ospf.o:(.bss+0x4): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x8): multiple definition of `rtrdata'; nemesis-ospf.o:(.bss+0x8): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0xc): multiple definition of `bcastnum'; nemesis-ospf.o:(.bss+0xc): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x10): multiple definition of `seqnum'; nemesis-ospf.o:(.bss+0x10): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x14): multiple definition of `as_tag'; nemesis-ospf.o:(.bss+0x14): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x18): multiple definition of `dead_int'; nemesis-ospf.o:(.bss+0x18): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x1c): multiple definition of `ooptions'; nemesis-ospf.o:(.bss+0x1c): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x1d): multiple definition of `rtrtype'; nemesis-ospf.o:(.bss+0x1d): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x1e): multiple definition of `exchange'; nemesis-ospf.o:(.bss+0x1e): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x1f): multiple definition of `priority'; nemesis-ospf.o:(.bss+0x1f): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x20): multiple definition of `mask'; nemesis-ospf.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x30): multiple definition of `auth'; nemesis-ospf.o:(.bss+0x30): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x40): multiple definition of `router'; nemesis-ospf.o:(.bss+0x40): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x48): multiple definition of `addaid'; nemesis-ospf.o:(.bss+0x48): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x50): multiple definition of `addrid'; nemesis-ospf.o:(.bss+0x50): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x58): multiple definition of `as_fwd'; nemesis-ospf.o:(.bss+0x58): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x60): multiple definition of `neighbor'; nemesis-ospf.o:(.bss+0x60): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x68): multiple definition of `dest'; nemesis-ospf.o:(.bss+0x68): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x70): multiple definition of `source'; nemesis-ospf.o:(.bss+0x70): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x78): multiple definition of `ospf_age'; nemesis-ospf.o:(.bss+0x78): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x7a): multiple definition of `metric'; nemesis-ospf.o:(.bss+0x7a): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x7c): multiple definition of `rtr_flags'; nemesis-ospf.o:(.bss+0x7c): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x7e): multiple definition of `interval'; nemesis-ospf.o:(.bss+0x7e): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x80): multiple definition of `num'; nemesis-ospf.o:(.bss+0x80): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x82): multiple definition of `mtusize'; nemesis-ospf.o:(.bss+0x82): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x84): multiple definition of `frag'; nemesis-ospf.o:(.bss+0x84): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nemesis-proto_ospf.o:(.bss+0x86): multiple definition of `id'; nemesis-ospf.o:(.bss+0x86): first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:380: nemesis] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-misc/nemesis-1.4-r1/work/nemesis-1.4/src' make[1]: *** [Makefile:374: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-misc/nemesis-1.4-r1/work/nemesis-1.4' make: *** [Makefile:314: all] Error 2 * ERROR: net-misc/nemesis-1.4-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/nemesis-1.4-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/nemesis-1.4-r1::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:nemesis-1.4-r1:20200129-195525.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/nemesis-1.4-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/nemesis-1.4-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/nemesis-1.4-r1/work/nemesis-1.4' * S: '/var/tmp/portage/net-misc/nemesis-1.4-r1/work/nemesis-1.4'