* Package: net-analyzer/dsniff-2.4_beta1-r9 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking dsniff-2.4b1.tar.gz to /var/tmp/portage/net-analyzer/dsniff-2.4_beta1-r9/work >>> Unpacking dsniff_2.4b1+debian-22.1.debian.tar.gz to /var/tmp/portage/net-analyzer/dsniff-2.4_beta1-r9/work >>> Source unpacked in /var/tmp/portage/net-analyzer/dsniff-2.4_beta1-r9/work >>> Preparing source in /var/tmp/portage/net-analyzer/dsniff-2.4_beta1-r9/work/dsniff-2.4 ... renamed '/var/tmp/portage/net-analyzer/dsniff-2.4_beta1-r9/work/debian/patches/23_urlsnarf_timestamp.patch' -> '/var/tmp/portage/net-analyzer/dsniff-2.4_beta1-r9/work/debian/patches/23_urlsnarf_timestamp.patch.old' '/var/tmp/portage/net-analyzer/dsniff-2.4_beta1-r9/files/2.4_beta1-urlsnarf-pcap_timestamps.patch' -> '/var/tmp/portage/net-analyzer/dsniff-2.4_beta1-r9/work/debian/patches/23_urlsnarf_timestamp.patch' * Applying 01_time.h.patch ... [ ok ] * Applying 02_mailsnarf_corrupt.patch ... [ ok ] * Applying 03_pcap_read_dump.patch ... [ ok ] * Applying 04_multiple_intf.patch ... [ ok ] * Applying 05_amd64_fix.patch ... [ ok ] * Applying 06_urlsnarf_zeropad.patch ... [ ok ] * Applying 07_libnet_1.1.patch ... [ ok ] * Applying 08_openssl-0.9.8.patch ... [ ok ] * Applying 09_sysconf_clocks.patch ... [ ok ] * Applying 08_checksum.patch ... [ ok ] * Applying 09_sshcrypto.patch ... [ ok ] * Applying 10_urlsnarf_escape.patch ... [ ok ] * Applying 11_string_header.patch ... [ ok ] * Applying 12_arpa_inet_header.patch ... [ ok ] * Applying 13_pop_with_version.patch ... [ ok ] * Applying 14_obsolete_time.patch ... [ ok ] * Applying 15_checksum_libnids.patch ... [ ok ] * Applying 16_TDS_decoder.patch ... [ ok ] * Applying 20_debian_dirs.patch ... [ ok ] * Applying 21_msgsnarf_segfault.patch ... [ ok ] * Applying 22_handlepp.patch ... [ ok ] * Applying 23_urlsnarf_timestamp.patch ... [ ok ] * Applying 0001-rewrite-and-modernize-POP-decoder.patch ... [ ok ] * Applying 0001-arpspoof-add-r-switch-to-poison-both-directions.patch ... [ ok ] * Applying 0002-arpspoof-allow-use-of-of-multiple-targets.patch ... [ ok ] * Applying 0003-arpspoof-allow-selection-of-source-hw-address.patch ... [ ok ] * Applying 2.4_beta1-httppostfix.patch ... [ ok ] * Applying 2.4_beta1-make.patch ... [ ok ] * Applying 2.4_beta1-macof-size-calculation.patch ... [ ok ] * Applying 2.4_beta1-libtirpc.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-analyzer/dsniff-2.4_beta1-r9/work/dsniff-2.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 elibtoolize in: dsniff-2.4/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/dsniff-2.4_beta1-r9/work/dsniff-2.4 ... ./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 --libdir=/usr/lib64 --without-x configure: loading site script /usr/share/config.site 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 for a BSD-compatible install... /usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for X... disabled checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... 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 err.h usability... yes checking err.h presence... yes checking for err.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/queue.h usability... yes checking sys/queue.h presence... yes checking for sys/queue.h... yes checking for unistd.h... (cached) yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking net/if_tun.h usability... no checking net/if_tun.h presence... no checking for net/if_tun.h... no checking for MIN and MAX in sys/param.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for u_int32_t... yes checking for u_int64_t... yes checking for in_addr_t... no checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking for working memcmp... yes checking return type of signal handlers... void checking for strftime... yes checking for gethostname... yes checking for socket... yes checking for strdup... yes checking for strstr... yes checking for xdr_fhstatus in -lrpcsvc... no checking for socket in -lsocket... no checking for gethostbyname in -lnsl... no checking for dn_expand in -lresolv... no checking for __dn_expand in -lresolv... yes checking for dirname... yes checking for strlcpy... no checking for strlcat... no checking for strsep... yes checking for MD5Update... no checking for warnx... yes checking for ether_ntoa... yes checking for Berkeley DB with 1.85 compatibility... yes checking for libpcap... yes checking for libnet... yes checking for libnids... yes checking whether libnids version is good... yes checking for OpenSSL... yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for libtirpc... yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/dsniff-2.4_beta1-r9/work/dsniff-2.4 ... make -j1 CC=x86_64-pc-linux-gnu-gcc x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./arpspoof.c ./arpspoof.c:44:26: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] static uint8_t *brd_ha = "\xff\xff\xff\xff\xff\xff"; ^~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./arp.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./missing/dummy.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./missing/strlcpy.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./missing/strlcat.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./missing/md5.c ./missing/md5.c: In function ‘MD5Final’: ./missing/md5.c:151:26: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^ ar -cr libmissing.a dummy.o strlcpy.o strlcat.o md5.o x86_64-pc-linux-gnu-ranlib libmissing.a x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o arpspoof arpspoof.o arp.o -lresolv -L. -lmissing -ltirpc -L/usr/lib -lpcap -L/usr/lib -lnet x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./dnsspoof.c ./dnsspoof.c: In function ‘dns_spoof’: ./dnsspoof.c:227:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((q = dns_lookup_ptr(name)) == NULL) ^ ./dnsspoof.c:231:20: warning: pointer targets in passing argument 1 of ‘__dn_comp’ differ in signedness [-Wpointer-sign] anslen = dn_comp(q, p + 12, 256, NULL, NULL); ^ In file included from ./dnsspoof.c:24:0: /usr/include/resolv.h:273:6: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ int dn_comp (const char *, unsigned char *, int, unsigned char **, ^ rpcgen -h mount.x -o mount.h rpcgen -c mount.x -o mount.c rpcgen -h nfs_prot.x -o nfs_prot.h rpcgen -c nfs_prot.x -o nfs_prot.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./pcaputil.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o dnsspoof dnsspoof.o pcaputil.o -lresolv -L. -lmissing -ltirpc -L/usr/lib -lpcap -L/usr/lib -lnet x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./asn1.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./base64.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./buf.c In file included from ./buf.c:22:0: ./buf.c: In function ‘buf_putf’: ./buf.h:31:20: warning: pointer targets in passing argument 1 of ‘vsnprintf’ differ in signedness [-Wpointer-sign] #define buf_ptr(b) ((b)->base + (b)->offset) ^ ./buf.c:113:16: note: in expansion of macro ‘buf_ptr’ i = vsnprintf(buf_ptr(buf), buf_len(buf), fmt, ap); ^~~~~~~ In file included from /usr/include/features.h:423:0, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from ./buf.c:11: /usr/include/bits/stdio2.h:74:1: note: expected ‘char * restrict’ but argument is of type ‘u_char * {aka unsigned char *}’ __NTH (vsnprintf (char *__restrict __s, size_t __n, ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./hex.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./magic.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./mount.c ./mount.c: In function ‘xdr_fhandle’: ./mount.c:11:20: warning: unused variable ‘buf’ [-Wunused-variable] register int32_t *buf; ^~~ ./mount.c: In function ‘xdr_fhandle3’: ./mount.c:21:20: warning: unused variable ‘buf’ [-Wunused-variable] register int32_t *buf; ^~~ ./mount.c: In function ‘xdr_fhstatus’: ./mount.c:31:20: warning: unused variable ‘buf’ [-Wunused-variable] register int32_t *buf; ^~~ ./mount.c: In function ‘xdr_mountstat3’: ./mount.c:51:20: warning: unused variable ‘buf’ [-Wunused-variable] register int32_t *buf; ^~~ ./mount.c: In function ‘xdr_mountres3_ok’: ./mount.c:61:20: warning: unused variable ‘buf’ [-Wunused-variable] register int32_t *buf; ^~~ ./mount.c: In function ‘xdr_mountres3’: ./mount.c:74:20: warning: unused variable ‘buf’ [-Wunused-variable] register int32_t *buf; ^~~ ./mount.c: In function ‘xdr_dirpath’: ./mount.c:92:20: warning: unused variable ‘buf’ [-Wunused-variable] register int32_t *buf; ^~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./rpc.c ./rpc.c: In function ‘rpc_decode’: ./rpc.c:112:24: warning: pointer targets in passing argument 2 of ‘xdrmem_create’ differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^~~ In file included from /usr/include/tirpc/rpc/rpc.h:43:0, from ./rpc.c:12: /usr/include/tirpc/rpc/xdr.h:355:15: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); ^~~~~~~~~~~~~ ./rpc.c:121:24: warning: pointer targets in passing argument 2 of ‘xdrmem_create’ differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf, len, XDR_DECODE); ^~~ In file included from /usr/include/tirpc/rpc/rpc.h:43:0, from ./rpc.c:12: /usr/include/tirpc/rpc/xdr.h:355:15: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); ^~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./tcp_raw.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./trigger.c ./trigger.c: In function ‘trigger_ip’: ./trigger.c:300:42: warning: pointer targets in passing argument 3 of ‘t->decode->dc_func’ differ in signedness [-Wpointer-sign] if ((len = t->decode->dc_func(buf, len, obuf, sizeof(obuf))) > 0) { ^~~~ ./trigger.c:300:42: note: expected ‘u_char * {aka unsigned char *}’ but argument is of type ‘char *’ ./trigger.c:302:36: warning: pointer targets in passing argument 7 of ‘record’ differ in signedness [-Wpointer-sign] 0, 0, t->decode->dc_name, obuf, len); ^~~~ In file included from ./trigger.c:24:0: ./record.h:16:5: note: expected ‘u_char * {aka unsigned char *}’ but argument is of type ‘char *’ int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, ^~~~~~ ./trigger.c: In function ‘trigger_udp’: ./trigger.c:346:42: warning: pointer targets in passing argument 3 of ‘t->decode->dc_func’ differ in signedness [-Wpointer-sign] if ((len = t->decode->dc_func(buf, len, obuf, sizeof(obuf))) > 0) { ^~~~ ./trigger.c:346:42: note: expected ‘u_char * {aka unsigned char *}’ but argument is of type ‘char *’ ./trigger.c:349:30: warning: pointer targets in passing argument 7 of ‘record’ differ in signedness [-Wpointer-sign] t->decode->dc_name, obuf, len); ^~~~ In file included from ./trigger.c:24:0: ./record.h:16:5: note: expected ‘u_char * {aka unsigned char *}’ but argument is of type ‘char *’ int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, ^~~~~~ ./trigger.c: In function ‘trigger_tcp_half’: ./trigger.c:360:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] buf = hs->data; ^ ./trigger.c:378:12: warning: pointer targets in passing argument 3 of ‘t->decode->dc_func’ differ in signedness [-Wpointer-sign] obuf, sizeof(obuf))) > 0) { ^~~~ ./trigger.c:378:12: note: expected ‘u_char * {aka unsigned char *}’ but argument is of type ‘char *’ ./trigger.c:381:11: warning: pointer targets in passing argument 7 of ‘record’ differ in signedness [-Wpointer-sign] obuf, len); ^~~~ In file included from ./trigger.c:24:0: ./record.h:16:5: note: expected ‘u_char * {aka unsigned char *}’ but argument is of type ‘char *’ int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, ^~~~~~ ./trigger.c: In function ‘trigger_tcp_raw’: ./trigger.c:478:7: warning: pointer targets in passing argument 3 of ‘t->decode->dc_func’ differ in signedness [-Wpointer-sign] obuf, sizeof(obuf)); ^~~~ ./trigger.c:478:7: note: expected ‘u_char * {aka unsigned char *}’ but argument is of type ‘char *’ ./trigger.c:484:11: warning: pointer targets in passing argument 7 of ‘record’ differ in signedness [-Wpointer-sign] obuf, len); ^~~~ In file included from ./trigger.c:24:0: ./record.h:16:5: note: expected ‘u_char * {aka unsigned char *}’ but argument is of type ‘char *’ int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, ^~~~~~ ./trigger.c: In function ‘trigger_tcp_raw_callback’: ./trigger.c:512:12: warning: pointer targets in passing argument 3 of ‘t->decode->dc_func’ differ in signedness [-Wpointer-sign] obuf, sizeof(obuf))) > 0) { ^~~~ ./trigger.c:512:12: note: expected ‘u_char * {aka unsigned char *}’ but argument is of type ‘char *’ ./trigger.c:514:31: warning: pointer targets in passing argument 7 of ‘record’ differ in signedness [-Wpointer-sign] t->decode->dc_name, obuf, len); ^~~~ In file included from ./trigger.c:24:0: ./record.h:16:5: note: expected ‘u_char * {aka unsigned char *}’ but argument is of type ‘char *’ int record(u_int32_t src, u_int32_t dst, int proto, u_short sport, ^~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./record.c ./record.c: In function ‘record_hash’: ./record.c:104:18: warning: pointer targets in passing argument 2 of ‘MD5Update’ differ in signedness [-Wpointer-sign] MD5Update(&ctx, rec->name.n_bytes, rec->name.n_len); ^~~ In file included from ./record.c:17:0: ./missing/md5.h:11:6: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ void MD5Update(struct MD5Context *context, unsigned char const *buf, ^~~~~~~~~ ./record.c:105:18: warning: pointer targets in passing argument 2 of ‘MD5Update’ differ in signedness [-Wpointer-sign] MD5Update(&ctx, rec->data.n_bytes, rec->data.n_len); ^~~ In file included from ./record.c:17:0: ./missing/md5.h:11:6: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ void MD5Update(struct MD5Context *context, unsigned char const *buf, ^~~~~~~~~ ./record.c: In function ‘record_save’: ./record.c:121:23: warning: pointer targets in passing argument 2 of ‘xdrmem_create’ differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf, sizeof(buf), XDR_ENCODE); ^~~ In file included from /usr/include/tirpc/rpc/rpc.h:43:0, from ./record.c:13: /usr/include/tirpc/rpc/xdr.h:355:15: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); ^~~~~~~~~~~~~ ./record.c: In function ‘record’: ./record.c:195:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] rec.data.n_bytes = buf; ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./dsniff.c ./dsniff.c: In function ‘get_all_ifaces’: ./dsniff.c:120:15: warning: unused variable ‘i’ [-Wunused-variable] unsigned int i; ^ ./dsniff.c: In function ‘all_local_ipaddrs_chksum_disable’: ./dsniff.c:104:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode.c ./decode.c: In function ‘strip_telopts’: ./decode.c:123:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = buf + i + 1; ^ ./decode.c:124:21: warning: pointer targets in passing argument 1 of ‘bufbuf’ differ in signedness [-Wpointer-sign] if ((q = bufbuf(p, len - i, "\xff", 1)) ^ In file included from ./decode.c:19:0: ./decode.h:48:9: note: expected ‘u_char * {aka unsigned char *}’ but argument is of type ‘char *’ u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); ^~~~~~ ./decode.c:124:33: warning: pointer targets in passing argument 3 of ‘bufbuf’ differ in signedness [-Wpointer-sign] if ((q = bufbuf(p, len - i, "\xff", 1)) ^~~~~~ In file included from ./decode.c:19:0: ./decode.h:48:9: note: expected ‘u_char * {aka unsigned char *}’ but argument is of type ‘char *’ u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); ^~~~~~ ./decode.c:124:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((q = bufbuf(p, len - i, "\xff", 1)) ^ ./decode.c:126:22: warning: pointer targets in passing argument 1 of ‘bufbuf’ differ in signedness [-Wpointer-sign] if ((p = bufbuf(p, q - p, "USER\x01", ^ In file included from ./decode.c:19:0: ./decode.h:48:9: note: expected ‘u_char * {aka unsigned char *}’ but argument is of type ‘char *’ u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); ^~~~~~ ./decode.c:126:32: warning: pointer targets in passing argument 3 of ‘bufbuf’ differ in signedness [-Wpointer-sign] if ((p = bufbuf(p, q - p, "USER\x01", ^~~~~~~~~~ In file included from ./decode.c:19:0: ./decode.h:48:9: note: expected ‘u_char * {aka unsigned char *}’ but argument is of type ‘char *’ u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); ^~~~~~ ./decode.c:126:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((p = bufbuf(p, q - p, "USER\x01", ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_aim.c ./decode_aim.c: In function ‘decode_aim’: ./decode_aim.c:67:22: warning: pointer targets in passing argument 1 of ‘strcspn’ differ in signedness [-Wpointer-sign] if ((j = strcspn(p, " ")) > 0) ^ In file included from ./decode_aim.c:16:0: /usr/include/string.h:272:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strcspn (const char *__s, const char *__reject) ^~~~~~~ ./decode_aim.c:70:15: warning: pointer targets in passing argument 1 of ‘strtok’ differ in signedness [-Wpointer-sign] if (strtok(p, " ") == NULL) ^ In file included from ./decode_aim.c:16:0: /usr/include/string.h:335:14: note: expected ‘char * restrict’ but argument is of type ‘u_char * {aka unsigned char *}’ extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ ./decode_aim.c:75:15: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] i = strlen(p); ^ In file included from ./decode_aim.c:16:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ ./decode_aim.c:76:19: warning: pointer targets in passing argument 1 of ‘hex_decode’ differ in signedness [-Wpointer-sign] j = hex_decode(p, i, p, i); ^ In file included from ./decode_aim.c:19:0: ./hex.h:14:5: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ int hex_decode(char *src, int srclen, u_char *buf, int len); ^~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_citrix.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_cvs.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_ftp.c In file included from ./decode_ftp.c:19:0: ./decode_ftp.c: In function ‘decode_ftp’: ./buf.h:31:20: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] #define buf_ptr(b) ((b)->base + (b)->offset) ^ ./decode_ftp.c:47:19: note: in expansion of macro ‘buf_ptr’ if (strncasecmp(buf_ptr(line), "USER ", 5) == 0 || ^~~~~~~ In file included from /usr/include/string.h:431:0, from ./decode_ftp.c:16: /usr/include/strings.h:120:12: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~~~~~ In file included from ./decode_ftp.c:19:0: ./buf.h:31:20: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] #define buf_ptr(b) ((b)->base + (b)->offset) ^ ./decode_ftp.c:48:19: note: in expansion of macro ‘buf_ptr’ strncasecmp(buf_ptr(line), "ACCT ", 5) == 0 || ^~~~~~~ In file included from /usr/include/string.h:431:0, from ./decode_ftp.c:16: /usr/include/strings.h:120:12: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~~~~~ In file included from ./decode_ftp.c:19:0: ./buf.h:31:20: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness [-Wpointer-sign] #define buf_ptr(b) ((b)->base + (b)->offset) ^ ./decode_ftp.c:49:19: note: in expansion of macro ‘buf_ptr’ strncasecmp(buf_ptr(line), "PASS ", 5) == 0) { ^~~~~~~ In file included from /usr/include/string.h:431:0, from ./decode_ftp.c:16: /usr/include/strings.h:120:12: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_hex.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_http.c In file included from ./decode_http.c:23:0: ./decode_http.c: In function ‘decode_http’: ./buf.h:31:20: warning: pointer targets in passing argument 1 of ‘strtok’ differ in signedness [-Wpointer-sign] #define buf_ptr(b) ((b)->base + (b)->offset) ^ ./decode_http.c:119:21: note: in expansion of macro ‘buf_ptr’ if ((req = strtok(buf_ptr(msg), "\r\n")) == NULL) ^~~~~~~ In file included from ./decode_http.c:16:0: /usr/include/string.h:335:14: note: expected ‘char * restrict’ but argument is of type ‘u_char * {aka unsigned char *}’ extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ ./decode_http.c:157:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] query = buf_ptr(msg); ^ ./decode_http.c:176:24: warning: pointer targets in passing argument 2 of ‘base64_pton’ differ in signedness [-Wpointer-sign] i = base64_pton(p, p, strlen(p)); ^ In file included from ./decode_http.c:22:0: ./base64.h:12:5: note: expected ‘u_char * {aka unsigned char *}’ but argument is of type ‘char *’ int base64_pton(char const *, u_char *, size_t); ^~~~~~~~~~~ ./decode_http.c:183:24: warning: pointer targets in passing argument 2 of ‘base64_pton’ differ in signedness [-Wpointer-sign] i = base64_pton(p, p, strlen(p)); ^ In file included from ./decode_http.c:22:0: ./base64.h:12:5: note: expected ‘u_char * {aka unsigned char *}’ but argument is of type ‘char *’ int base64_pton(char const *, u_char *, size_t); ^~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_icq.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_imap.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_irc.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_ldap.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_mmxp.c ./decode_mmxp.c:29:19: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] #define MM_SECRET "Thisisastupidwasteoftimeandspace" ^ ./decode_mmxp.c:29:19: note: in definition of macro ‘MM_SECRET’ #define MM_SECRET "Thisisastupidwasteoftimeandspace" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_mountd.c ./decode_mountd.c: In function ‘decode_mountd’: ./decode_mountd.c:47:24: warning: pointer targets in passing argument 2 of ‘xdrmem_create’ differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); ^~~ In file included from /usr/include/tirpc/rpc/rpc.h:43:0, from ./decode_mountd.c:17: /usr/include/tirpc/rpc/xdr.h:355:15: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); ^~~~~~~~~~~~~ ./decode_mountd.c:59:25: warning: pointer targets in passing argument 2 of ‘xdrmem_create’ differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, ^~~ In file included from /usr/include/tirpc/rpc/rpc.h:43:0, from ./decode_mountd.c:17: /usr/include/tirpc/rpc/xdr.h:355:15: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); ^~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_napster.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_nntp.c ./decode_nntp.c: In function ‘decode_nntp’: ./decode_nntp.c:32:18: warning: pointer targets in passing argument 1 of ‘strtok’ differ in signedness [-Wpointer-sign] for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^~~ In file included from ./decode_nntp.c:17:0: /usr/include/string.h:335:14: note: expected ‘char * restrict’ but argument is of type ‘u_char * {aka unsigned char *}’ extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ ./decode_nntp.c:34:12: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); ^~~~ In file included from ./decode_nntp.c:18:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_nntp.c:35:12: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ In file included from ./decode_nntp.c:18:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_nntp.c:39:12: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); ^~~~ In file included from ./decode_nntp.c:18:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_nntp.c:50:25: warning: pointer targets in passing argument 2 of ‘base64_pton’ differ in signedness [-Wpointer-sign] i = base64_pton(p, p, strlen(p)); ^ In file included from ./decode_nntp.c:20:0: ./base64.h:12:5: note: expected ‘u_char * {aka unsigned char *}’ but argument is of type ‘char *’ int base64_pton(char const *, u_char *, size_t); ^~~~~~~~~~~ ./decode_nntp.c:52:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] i = strlen(obuf); ^~~~ In file included from ./decode_nntp.c:17:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ ./decode_nntp.c:53:15: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] snprintf(obuf + i, olen - i, ^~~~ In file included from /usr/include/features.h:423:0, from /usr/include/sys/types.h:25, from ./decode_nntp.c:14: /usr/include/bits/stdio2.h:61:1: note: expected ‘char * restrict’ but argument is of type ‘u_char * {aka unsigned char *}’ __NTH (snprintf (char *__restrict __s, size_t __n, ^ ./decode_nntp.c:57:12: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ In file included from ./decode_nntp.c:18:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_nntp.c:60:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^~~~ In file included from ./decode_nntp.c:17:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_oracle.c ./decode_oracle.c: In function ‘decode_oracle’: ./decode_oracle.c:42:11: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] snprintf(obuf, olen, "%s\n", q); ^~~~ In file included from /usr/include/features.h:423:0, from /usr/include/sys/types.h:25, from ./decode_oracle.c:13: /usr/include/bits/stdio2.h:61:1: note: expected ‘char * restrict’ but argument is of type ‘u_char * {aka unsigned char *}’ __NTH (snprintf (char *__restrict __s, size_t __n, ^ ./decode_oracle.c:46:26: warning: pointer targets in passing argument 3 of ‘bufbuf’ differ in signedness [-Wpointer-sign] if ((p = bufbuf(p, len, "(TNS V", 6)) == NULL) return (0); ^~~~~~~~ In file included from ./decode_oracle.c:18:0: ./decode.h:48:9: note: expected ‘u_char * {aka unsigned char *}’ but argument is of type ‘char *’ u_char *bufbuf(u_char *big, int blen, u_char *little, int llen); ^~~~~~ ./decode_oracle.c:66:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] j = strlen(obuf); ^~~~ In file included from ./decode_oracle.c:16:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ ./decode_oracle.c:67:12: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] snprintf(obuf + j, olen + j, "%s\n", p + 117); ^~~~ In file included from /usr/include/features.h:423:0, from /usr/include/sys/types.h:25, from ./decode_oracle.c:13: /usr/include/bits/stdio2.h:61:1: note: expected ‘char * restrict’ but argument is of type ‘u_char * {aka unsigned char *}’ __NTH (snprintf (char *__restrict __s, size_t __n, ^ ./decode_oracle.c:70:27: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] return (gotauth ? strlen(obuf) : 0); ^~~~ In file included from ./decode_oracle.c:16:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_ospf.c ./decode_ospf.c: In function ‘decode_ospf’: ./decode_ospf.c:31:19: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] return (snprintf(obuf, olen, "%s\n", buf + 16)); ^~~~ In file included from /usr/include/features.h:423:0, from /usr/include/sys/types.h:25, from ./decode_ospf.c:13: /usr/include/bits/stdio2.h:61:1: note: expected ‘char * restrict’ but argument is of type ‘u_char * {aka unsigned char *}’ __NTH (snprintf (char *__restrict __s, size_t __n, ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_pcanywhere.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_pop.c ./decode_pop.c: In function ‘decode_poppass’: ./decode_pop.c:32:18: warning: pointer targets in passing argument 1 of ‘strtok’ differ in signedness [-Wpointer-sign] for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^~~ In file included from ./decode_pop.c:18:0: /usr/include/string.h:335:14: note: expected ‘char * restrict’ but argument is of type ‘u_char * {aka unsigned char *}’ extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ ./decode_pop.c:36:12: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); ^~~~ In file included from ./decode_pop.c:19:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_pop.c:37:12: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ In file included from ./decode_pop.c:19:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_pop.c:40:18: warning: pointer targets in passing argument 1 of ‘strip_lines’ differ in signedness [-Wpointer-sign] if (strip_lines(obuf, Opt_lines) < 3) ^~~~ In file included from ./decode_pop.c:23:0: ./decode.h:44:5: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ int strip_lines(char *buf, int max_lines); ^~~~~~~~~~~ ./decode_pop.c:43:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^~~~ In file included from ./decode_pop.c:18:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ ./decode_pop.c: In function ‘decode_pop’: ./decode_pop.c:65:18: warning: pointer targets in passing argument 1 of ‘strtok’ differ in signedness [-Wpointer-sign] for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^~~ In file included from ./decode_pop.c:18:0: /usr/include/string.h:335:14: note: expected ‘char * restrict’ but argument is of type ‘u_char * {aka unsigned char *}’ extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ ./decode_pop.c:94:23: warning: pointer targets in passing argument 2 of ‘base64_pton’ differ in signedness [-Wpointer-sign] j = base64_pton(p, p, strlen(p)); ^ In file included from ./decode_pop.c:21:0: ./base64.h:12:5: note: expected ‘u_char * {aka unsigned char *}’ but argument is of type ‘char *’ int base64_pton(char const *, u_char *, size_t); ^~~~~~~~~~~ ./decode_pop.c:114:23: warning: pointer targets in passing argument 2 of ‘base64_pton’ differ in signedness [-Wpointer-sign] j = base64_pton(p, p, strlen(p)); ^ In file included from ./decode_pop.c:21:0: ./base64.h:12:5: note: expected ‘u_char * {aka unsigned char *}’ but argument is of type ‘char *’ int base64_pton(char const *, u_char *, size_t); ^~~~~~~~~~~ ./decode_pop.c:125:12: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, "\nusername [", olen); ^~~~ In file included from ./decode_pop.c:19:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_pop.c:126:12: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, user, olen); ^~~~ In file included from ./decode_pop.c:19:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_pop.c:127:12: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, "] password [", olen); ^~~~ In file included from ./decode_pop.c:19:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_pop.c:128:12: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, password, olen); ^~~~ In file included from ./decode_pop.c:19:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_pop.c:129:12: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, "]\n", olen); ^~~~ In file included from ./decode_pop.c:19:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_pop.c:134:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^~~~ In file included from ./decode_pop.c:18:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ ./decode_pop.c:52:6: warning: unused variable ‘i’ [-Wunused-variable] int i, j; ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_portmap.c ./decode_portmap.c: In function ‘decode_portmap’: ./decode_portmap.c:41:24: warning: pointer targets in passing argument 2 of ‘xdrmem_create’ differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, XDR_DECODE); ^~~ In file included from /usr/include/tirpc/rpc/rpc.h:43:0, from ./decode_portmap.c:14: /usr/include/tirpc/rpc/xdr.h:355:15: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); ^~~~~~~~~~~~~ ./decode_portmap.c:56:25: warning: pointer targets in passing argument 2 of ‘xdrmem_create’ differ in signedness [-Wpointer-sign] xdrmem_create(&xdrs, buf + hdrlen, len - hdrlen, ^~~ In file included from /usr/include/tirpc/rpc/rpc.h:43:0, from ./decode_portmap.c:14: /usr/include/tirpc/rpc/xdr.h:355:15: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); ^~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_postgresql.c ./decode_postgresql.c: In function ‘decode_postgresql’: ./decode_postgresql.c:46:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] db = p + 4; db[63] = '\0'; ^ ./decode_postgresql.c:52:27: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] snprintf(obuf + strlen(obuf), ^~~~ In file included from ./decode_postgresql.c:18:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ ./decode_postgresql.c:53:20: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] olen - strlen(obuf), ^~~~ In file included from ./decode_postgresql.c:18:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ ./decode_postgresql.c:52:13: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] snprintf(obuf + strlen(obuf), ^~~~ In file included from /usr/include/features.h:423:0, from /usr/include/sys/types.h:25, from ./decode_postgresql.c:15: /usr/include/bits/stdio2.h:61:1: note: expected ‘char * restrict’ but argument is of type ‘u_char * {aka unsigned char *}’ __NTH (snprintf (char *__restrict __s, size_t __n, ^ ./decode_postgresql.c:60:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^~~~ In file included from ./decode_postgresql.c:18:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_pptp.c ./decode_pptp.c: In function ‘decode_pptp’: ./decode_pptp.c:187:20: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] if ((p = strchr(name, '\\')) == NULL) ^~~~ In file included from ./decode_pptp.c:18:0: /usr/include/string.h:225:14: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern char *strchr (const char *__s, int __c) ^~~~~~ ./decode_pptp.c:187:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((p = strchr(name, '\\')) == NULL) ^ ./decode_pptp.c:193:32: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] SHA1_Update(&ctx, p, strlen(p)); ^ In file included from ./decode_pptp.c:18:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_rip.c ./decode_rip.c: In function ‘decode_rip’: ./decode_rip.c:32:19: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] return (snprintf(obuf, olen, "%s\n", buf + 20)); ^~~~ In file included from /usr/include/features.h:423:0, from /usr/include/sys/types.h:25, from ./decode_rip.c:13: /usr/include/bits/stdio2.h:61:1: note: expected ‘char * restrict’ but argument is of type ‘u_char * {aka unsigned char *}’ __NTH (snprintf (char *__restrict __s, size_t __n, ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_rlogin.c ./decode_rlogin.c: In function ‘decode_rlogin’: ./decode_rlogin.c:32:10: warning: pointer targets in passing argument 1 of ‘strlcpy’ differ in signedness [-Wpointer-sign] strlcpy(obuf, "[", olen); ^~~~ In file included from ./decode_rlogin.c:17:0: ./missing/strlcpy.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcpy(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_rlogin.c:33:10: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); /* Local username */ ^~~~ In file included from ./decode_rlogin.c:18:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_rlogin.c:33:16: warning: pointer targets in passing argument 2 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); /* Local username */ ^ In file included from ./decode_rlogin.c:18:0: ./missing/strlcat.h:1:8: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_rlogin.c:34:10: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, ":", olen); ^~~~ In file included from ./decode_rlogin.c:18:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_rlogin.c:35:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] p += strlen(p) + 1; ^ In file included from ./decode_rlogin.c:16:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ ./decode_rlogin.c:37:10: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); /* Remote username */ ^~~~ In file included from ./decode_rlogin.c:18:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_rlogin.c:37:16: warning: pointer targets in passing argument 2 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); /* Remote username */ ^ In file included from ./decode_rlogin.c:18:0: ./missing/strlcat.h:1:8: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_rlogin.c:38:10: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, "]\n", olen); ^~~~ In file included from ./decode_rlogin.c:18:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_rlogin.c:39:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] p += strlen(p) + 1; ^ In file included from ./decode_rlogin.c:16:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ ./decode_rlogin.c:41:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] p += strlen(p) + 1; /* Skip term info */ ^ In file included from ./decode_rlogin.c:16:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ ./decode_rlogin.c:43:18: warning: pointer targets in passing argument 1 of ‘strstr’ differ in signedness [-Wpointer-sign] if ((q = strstr(p, "\xff\xffss")) != NULL) /* Skip window size */ ^ In file included from ./decode_rlogin.c:16:0: /usr/include/string.h:329:14: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern char *strstr (const char *__haystack, const char *__needle) ^~~~~~ ./decode_rlogin.c:43:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((q = strstr(p, "\xff\xffss")) != NULL) /* Skip window size */ ^ ./decode_rlogin.c:46:18: warning: pointer targets in passing argument 1 of ‘strtok’ differ in signedness [-Wpointer-sign] for (p = strtok(p, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^ In file included from ./decode_rlogin.c:16:0: /usr/include/string.h:335:14: note: expected ‘char * restrict’ but argument is of type ‘u_char * {aka unsigned char *}’ extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ ./decode_rlogin.c:46:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (p = strtok(p, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^ ./decode_rlogin.c:46:43: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (p = strtok(p, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^ ./decode_rlogin.c:47:11: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); ^~~~ In file included from ./decode_rlogin.c:18:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_rlogin.c:47:17: warning: pointer targets in passing argument 2 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); ^ In file included from ./decode_rlogin.c:18:0: ./missing/strlcat.h:1:8: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_rlogin.c:48:11: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ In file included from ./decode_rlogin.c:18:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_rlogin.c:50:19: warning: pointer targets in passing argument 1 of ‘strip_lines’ differ in signedness [-Wpointer-sign] if (!strip_lines(obuf, Opt_lines)) ^~~~ In file included from ./decode_rlogin.c:21:0: ./decode.h:44:5: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ int strip_lines(char *buf, int max_lines); ^~~~~~~~~~~ ./decode_rlogin.c:53:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^~~~ In file included from ./decode_rlogin.c:16:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_smb.c ./decode_smb.c: In function ‘decode_smb’: ./decode_smb.c:67:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pass = q + 6; ^ ./decode_smb.c:75:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pass = q + 12; ^ ./decode_smb.c:83:12: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, user, olen); ^~~~ In file included from ./decode_smb.c:18:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_smb.c:84:12: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, " ", olen); ^~~~ In file included from ./decode_smb.c:18:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_smb.c:85:12: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, pass, olen); ^~~~ In file included from ./decode_smb.c:18:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_smb.c:86:12: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ In file included from ./decode_smb.c:18:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_smb.c:89:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^~~~ In file included from ./decode_smb.c:17:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_smtp.c ./decode_smtp.c: In function ‘decode_smtp’: ./decode_smtp.c:31:18: warning: pointer targets in passing argument 1 of ‘strtok’ differ in signedness [-Wpointer-sign] for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { ^~~ In file included from ./decode_smtp.c:16:0: /usr/include/string.h:335:14: note: expected ‘char * restrict’ but argument is of type ‘u_char * {aka unsigned char *}’ extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ ./decode_smtp.c:33:12: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); ^~~~ In file included from ./decode_smtp.c:17:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_smtp.c:34:23: warning: pointer targets in passing argument 2 of ‘base64_pton’ differ in signedness [-Wpointer-sign] i = base64_pton(p, p, strlen(p)); ^ In file included from ./decode_smtp.c:19:0: ./base64.h:12:5: note: expected ‘u_char * {aka unsigned char *}’ but argument is of type ‘char *’ int base64_pton(char const *, u_char *, size_t); ^~~~~~~~~~~ ./decode_smtp.c:36:15: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] j = strlen(obuf); ^~~~ In file included from ./decode_smtp.c:16:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ ./decode_smtp.c:37:13: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] snprintf(obuf + j, olen - j, " [%s]\n", p); ^~~~ In file included from /usr/include/features.h:423:0, from /usr/include/sys/types.h:25, from ./decode_smtp.c:13: /usr/include/bits/stdio2.h:61:1: note: expected ‘char * restrict’ but argument is of type ‘u_char * {aka unsigned char *}’ __NTH (snprintf (char *__restrict __s, size_t __n, ^ ./decode_smtp.c:41:12: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, p, olen); ^~~~ In file included from ./decode_smtp.c:17:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_smtp.c:43:23: warning: pointer targets in passing argument 2 of ‘base64_pton’ differ in signedness [-Wpointer-sign] i = base64_pton(p, p, strlen(p)); ^ In file included from ./decode_smtp.c:19:0: ./base64.h:12:5: note: expected ‘u_char * {aka unsigned char *}’ but argument is of type ‘char *’ int base64_pton(char const *, u_char *, size_t); ^~~~~~~~~~~ ./decode_smtp.c:45:15: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] j = strlen(obuf); ^~~~ In file included from ./decode_smtp.c:16:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ ./decode_smtp.c:46:13: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] snprintf(obuf + j, olen - j, " [%s]\n", p); ^~~~ In file included from /usr/include/features.h:423:0, from /usr/include/sys/types.h:25, from ./decode_smtp.c:13: /usr/include/bits/stdio2.h:61:1: note: expected ‘char * restrict’ but argument is of type ‘u_char * {aka unsigned char *}’ __NTH (snprintf (char *__restrict __s, size_t __n, ^ ./decode_smtp.c:55:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^~~~ In file included from ./decode_smtp.c:16:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_sniffer.c ./decode_sniffer.c: In function ‘decode_sniffer’: ./decode_sniffer.c:36:20: warning: pointer targets in passing argument 1 of ‘strlcpy’ differ in signedness [-Wpointer-sign] return (strlcpy(obuf, "[]\n", olen)); ^~~~ In file included from ./decode_sniffer.c:19:0: ./missing/strlcpy.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcpy(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_sniffer.c:40:20: warning: pointer targets in passing argument 1 of ‘strlcpy’ differ in signedness [-Wpointer-sign] return (strlcpy(obuf, "[]\n", olen)); ^~~~ In file included from ./decode_sniffer.c:19:0: ./missing/strlcpy.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcpy(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_sniffer.c:44:29: warning: pointer targets in passing argument 1 of ‘strtok’ differ in signedness [-Wpointer-sign] buf[len - 3]= '\0'; strtok(&buf[32], "\r\n"); ^ In file included from ./decode_sniffer.c:17:0: /usr/include/string.h:335:14: note: expected ‘char * restrict’ but argument is of type ‘u_char * {aka unsigned char *}’ extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ ./decode_sniffer.c:45:11: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] snprintf(obuf, olen, "%s [", &buf[32]); ^~~~ In file included from /usr/include/features.h:423:0, from /usr/include/sys/types.h:25, from ./decode_sniffer.c:14: /usr/include/bits/stdio2.h:61:1: note: expected ‘char * restrict’ but argument is of type ‘u_char * {aka unsigned char *}’ __NTH (snprintf (char *__restrict __s, size_t __n, ^ ./decode_sniffer.c:46:15: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] len = strlen(obuf); ^~~~ In file included from ./decode_sniffer.c:17:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ ./decode_sniffer.c:47:18: warning: pointer targets in passing argument 1 of ‘base64_pton’ differ in signedness [-Wpointer-sign] i = base64_pton(&buf[32], &obuf[len], olen - len - 3); ^ In file included from ./decode_sniffer.c:21:0: ./base64.h:12:5: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ int base64_pton(char const *, u_char *, size_t); ^~~~~~~~~~~ ./decode_sniffer.c:49:10: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, "]\n", olen); ^~~~ In file included from ./decode_sniffer.c:18:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_sniffer.c:51:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^~~~ In file included from ./decode_sniffer.c:17:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_snmp.c ./decode_snmp.c: In function ‘decode_snmp’: ./decode_snmp.c:47:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = buf_strdup(b); ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_socks.c ./decode_socks.c: In function ‘decode_socks’: ./decode_socks.c:48:11: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] snprintf(obuf, olen, "%s ", p - 1); ^~~~ In file included from /usr/include/features.h:423:0, from /usr/include/sys/types.h:25, from ./decode_socks.c:13: /usr/include/bits/stdio2.h:61:1: note: expected ‘char * restrict’ but argument is of type ‘u_char * {aka unsigned char *}’ __NTH (snprintf (char *__restrict __s, size_t __n, ^ ./decode_socks.c:56:10: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, p - 1, olen); ^~~~ In file included from ./decode_socks.c:17:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_socks.c:56:16: warning: pointer targets in passing argument 2 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, p - 1, olen); ^ In file included from ./decode_socks.c:17:0: ./missing/strlcat.h:1:8: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_socks.c:57:10: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ In file included from ./decode_socks.c:17:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_socks.c:59:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^~~~ In file included from ./decode_socks.c:16:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_tds.c ./decode_tds.c: In function ‘decode_tds’: ./decode_tds.c:163:12: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, tl->username, olen); ^~~~ In file included from ./decode_tds.c:21:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_tds.c:164:12: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ In file included from ./decode_tds.c:21:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_tds.c:170:12: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, tl->password, olen); ^~~~ In file included from ./decode_tds.c:21:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_tds.c:171:12: warning: pointer targets in passing argument 1 of ‘strlcat’ differ in signedness [-Wpointer-sign] strlcat(obuf, "\n", olen); ^~~~ In file included from ./decode_tds.c:21:0: ./missing/strlcat.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcat(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_tds.c:204:27: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] snprintf(obuf + strlen(obuf), ^~~~ In file included from ./decode_tds.c:20:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ ./decode_tds.c:205:20: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] olen - strlen(obuf), ^~~~ In file included from ./decode_tds.c:20:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ ./decode_tds.c:204:13: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] snprintf(obuf + strlen(obuf), ^~~~ In file included from /usr/include/features.h:423:0, from /usr/include/sys/types.h:25, from ./decode_tds.c:17: /usr/include/bits/stdio2.h:61:1: note: expected ‘char * restrict’ but argument is of type ‘u_char * {aka unsigned char *}’ __NTH (snprintf (char *__restrict __s, size_t __n, ^ ./decode_tds.c:207:18: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] return(strlen(obuf)); ^~~~ In file included from ./decode_tds.c:20:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ ./decode_tds.c:210:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^~~~ In file included from ./decode_tds.c:20:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ ./decode_tds.c:137:27: warning: variable ‘myt7l’ set but not used [-Wunused-but-set-variable] struct tds7_login *t7l, *myt7l; ^~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_telnet.c ./decode_telnet.c: In function ‘decode_telnet’: ./decode_telnet.c:28:23: warning: pointer targets in passing argument 1 of ‘is_ascii_string’ differ in signedness [-Wpointer-sign] if (!is_ascii_string(buf, len)) ^~~ In file included from ./decode_telnet.c:20:0: ./decode.h:46:5: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ int is_ascii_string(char *buf, int len); ^~~~~~~~~~~~~~~ ./decode_telnet.c:31:18: warning: pointer targets in passing argument 1 of ‘strip_lines’ differ in signedness [-Wpointer-sign] if (strip_lines(buf, Opt_lines) < 2) ^~~ In file included from ./decode_telnet.c:20:0: ./decode.h:44:5: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ int strip_lines(char *buf, int max_lines); ^~~~~~~~~~~ ./decode_telnet.c:34:10: warning: pointer targets in passing argument 1 of ‘strlcpy’ differ in signedness [-Wpointer-sign] strlcpy(obuf, buf, olen); ^~~~ In file included from ./decode_telnet.c:17:0: ./missing/strlcpy.h:1:8: note: expected ‘char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcpy(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_telnet.c:34:16: warning: pointer targets in passing argument 2 of ‘strlcpy’ differ in signedness [-Wpointer-sign] strlcpy(obuf, buf, olen); ^~~ In file included from ./decode_telnet.c:17:0: ./missing/strlcpy.h:1:8: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ size_t strlcpy(char *dst, const char *src, size_t siz); ^~~~~~~ ./decode_telnet.c:36:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] return (strlen(obuf)); ^~~~ In file included from ./decode_telnet.c:16:0: /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_vrrp.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -D_BSD_SOURCE -D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I. -I./missing -I/usr/include/tirpc -c ./decode_yp.c ./decode_yp.c:18:10: fatal error: rpcsvc/yp_prot.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:76: decode_yp.o] Error 1 * ERROR: net-analyzer/dsniff-2.4_beta1-r9::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/dsniff-2.4_beta1-r9::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/dsniff-2.4_beta1-r9::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:dsniff-2.4_beta1-r9:20180104-155455.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/dsniff-2.4_beta1-r9/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/dsniff-2.4_beta1-r9/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/dsniff-2.4_beta1-r9/work/dsniff-2.4' * S: '/var/tmp/portage/net-analyzer/dsniff-2.4_beta1-r9/work/dsniff-2.4'