* CPV: net-analyzer/packit-1.0-r1 * REPO: gentoo * Maintainer: netmon@gentoo.org * USE: elibc_glibc kernel_linux test userland_GNU x86 >>> Unpacking source... >>> Unpacking packit-1.0.tgz to /var/tmp/portage/net-analyzer/packit-1.0-r1/work * Applying packit-1.0-noopt.patch ... [ ok ] * Applying packit-1.0-nostrip.patch ... [ ok ] >>> Source unpacked in /var/tmp/portage/net-analyzer/packit-1.0-r1/work >>> Compiling source in /var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0 ... * econf: updating packit-1.0/config.sub with /usr/share/gnuconfig/config.sub * econf: updating packit-1.0/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib configure: loading site script /usr/share/config.site configure: loading site script /usr/share/crossdev/include/site/linux beginning auto-configuration process for packit-1.0... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets ${MAKE}... yes checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking for gcc... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -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 for u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for u_int64_t... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking net/bpf.h usability... no checking net/bpf.h presence... no checking for net/bpf.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking libnet.h usability... yes checking libnet.h presence... yes checking for libnet.h... yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for printf... yes checking for fprintf... yes checking for snprintf... yes checking for sprintf... yes checking for strdup... yes checking for strrchr... yes checking for strstr... yes checking for strncasecmp... yes checking for strtol... yes checking for strncmp... yes checking for strncat... yes checking for memset... yes checking for malloc... yes checking for gethostbyname... yes checking for gettimeofday... yes checking for getuid... yes checking for select... yes checking for setitimer... yes checking for libnet_build_ipv4 in -lnet... yes checking for pcap_open_live in -lpcap... yes checking for pcap_setnonblock in -lpcap... yes checking for pcap_freecode in -lpcap... yes checking for bpf... no checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating man/packit.8 config.status: creating src/version.h config.status: creating config.h config.status: executing depfiles commands _ _ _ _ __ __ _ ___| | _(_) |_ | '_ \ / _` |/ __| |/ / | __| | |_) | (_| | (__| <| | |_ | .__/ \__,_|\___|_|\_\_|\__| |_| 1.0 has been configured with the following options: ----------------------------------------------- Host type : i686-pc-linux-gnu Compiler : i686-pc-linux-gnu-gcc Compiler flags : -O2 -pipe -Wall Linker flags : -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu Libraries : -lpcap -lpcap -lpcap -lnet Binary : /usr/bin Manual pages : /usr/share/man/ Injection support : yes Capture support : yes Enable debugging : no ----------------------------------------------- make -j14 make all-recursive make[1]: Entering directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0' Making all in src make[2]: Entering directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0/src' source='init.c' object='init.o' libtool=no \ depfile='.deps/init.Po' tmpdepfile='.deps/init.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'init.c' || echo './'`init.c source='define_defaults.c' object='define_defaults.o' libtool=no \ depfile='.deps/define_defaults.Po' tmpdepfile='.deps/define_defaults.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'define_defaults.c' || echo './'`define_defaults.c source='error.c' object='error.o' libtool=no \ depfile='.deps/error.Po' tmpdepfile='.deps/error.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'error.c' || echo './'`error.c source='injection.c' object='injection.o' libtool=no \ depfile='.deps/injection.Po' tmpdepfile='.deps/injection.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'injection.c' || echo './'`injection.c source='capture.c' object='capture.o' libtool=no \ depfile='.deps/capture.Po' tmpdepfile='.deps/capture.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'capture.c' || echo './'`capture.c source='shape_arp_hdr.c' object='shape_arp_hdr.o' libtool=no \ depfile='.deps/shape_arp_hdr.Po' tmpdepfile='.deps/shape_arp_hdr.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'shape_arp_hdr.c' || echo './'`shape_arp_hdr.c source='shape_tcp_hdr.c' object='shape_tcp_hdr.o' libtool=no \ depfile='.deps/shape_tcp_hdr.Po' tmpdepfile='.deps/shape_tcp_hdr.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'shape_tcp_hdr.c' || echo './'`shape_tcp_hdr.c source='shape_udp_hdr.c' object='shape_udp_hdr.o' libtool=no \ depfile='.deps/shape_udp_hdr.Po' tmpdepfile='.deps/shape_udp_hdr.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'shape_udp_hdr.c' || echo './'`shape_udp_hdr.c source='shape_icmpv4_hdr.c' object='shape_icmpv4_hdr.o' libtool=no \ depfile='.deps/shape_icmpv4_hdr.Po' tmpdepfile='.deps/shape_icmpv4_hdr.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'shape_icmpv4_hdr.c' || echo './'`shape_icmpv4_hdr.c source='shape_ipv4_hdr.c' object='shape_ipv4_hdr.o' libtool=no \ depfile='.deps/shape_ipv4_hdr.Po' tmpdepfile='.deps/shape_ipv4_hdr.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'shape_ipv4_hdr.c' || echo './'`shape_ipv4_hdr.c source='shape_ethernet_hdr.c' object='shape_ethernet_hdr.o' libtool=no \ depfile='.deps/shape_ethernet_hdr.Po' tmpdepfile='.deps/shape_ethernet_hdr.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'shape_ethernet_hdr.c' || echo './'`shape_ethernet_hdr.c source='shape_packet.c' object='shape_packet.o' libtool=no \ depfile='.deps/shape_packet.Po' tmpdepfile='.deps/shape_packet.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'shape_packet.c' || echo './'`shape_packet.c source='utils.c' object='utils.o' libtool=no \ depfile='.deps/utils.Po' tmpdepfile='.deps/utils.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'utils.c' || echo './'`utils.c source='stats.c' object='stats.o' libtool=no \ depfile='.deps/stats.Po' tmpdepfile='.deps/stats.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'stats.c' || echo './'`stats.c error.c: In function ‘fatal_error’: error.c:35:5: warning: pointer targets in passing argument 3 of ‘vsnprintf’ differ in signedness /usr/include/bits/stdio2.h:75:1: note: expected ‘const char * __restrict__’ but argument is of type ‘u_int8_t *’ capture.c: In function ‘capture_init’: capture.c:54:13: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ capture.c:60:24: warning: pointer targets in assignment differ in signedness capture.c:61:17: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ capture.c:64:9: warning: pointer targets in passing argument 1 of ‘pcap_open_live’ differ in signedness /usr/include/pcap/pcap.h:281:9: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ capture.c:65:13: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ capture.c:75:13: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ capture.c:80:5: warning: pointer targets in passing argument 1 of ‘pcap_lookupnet’ differ in signedness /usr/include/pcap/pcap.h:270:5: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ define_defaults.c: In function ‘define_injection_defaults’: capture.c:83:5: warning: pointer targets in passing argument 3 of ‘pcap_compile’ differ in signedness define_defaults.c:34:14: warning: pointer targets in assignment differ in signedness /usr/include/pcap/pcap.h:314:5: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ capture.c:87:9: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ capture.c:94:9: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ capture.c:114:9: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ define_defaults.c:39:13: warning: array subscript is above array bounds shape_tcp_hdr.c: In function ‘shape_tcp_hdr’: shape_tcp_hdr.c:51:9: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness /usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ shape_tcp_hdr.c:70:9: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ injection.c: In function ‘injection_init’: injection.c:60:9: warning: pointer targets in passing argument 1 of ‘strstr’ differ in signedness /usr/include/string.h:342:14: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ injection.c:65:17: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ injection.c:70:9: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness /usr/include/stdlib.h:284:1: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ injection.c:73:27: warning: pointer targets in assignment differ in signedness injection.c:74:9: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ injection.c:76:5: warning: pointer targets in passing argument 1 of ‘strstr’ differ in signedness /usr/include/string.h:342:14: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ injection.c:76:5: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness /usr/include/bits/string3.h:105:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ injection.c:83:5: warning: pointer targets in passing argument 2 of ‘libnet_init’ differ in signedness /usr/include/./libnet/libnet-functions.h:64:1: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ injection.c:84:9: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ injection.c: In function ‘with_response’: injection.c:124:5: warning: pointer targets in passing argument 1 of ‘pcap_open_live’ differ in signedness source='contrib/pcap_setnonblock.c' object='pcap_setnonblock.o' libtool=no \ depfile='.deps/pcap_setnonblock.Po' tmpdepfile='.deps/pcap_setnonblock.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c -o pcap_setnonblock.o `test -f 'contrib/pcap_setnonblock.c' || echo './'`contrib/pcap_setnonblock.c /usr/include/pcap/pcap.h:281:9: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ injection.c:125:9: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ injection.c:127:5: warning: pointer targets in passing argument 1 of ‘pcap_lookupnet’ differ in signedness /usr/include/pcap/pcap.h:270:5: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ injection.c:153:22: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness /usr/include/bits/stdio2.h:62:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ injection.c:166:22: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness /usr/include/bits/stdio2.h:62:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ injection.c:180:22: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness /usr/include/bits/stdio2.h:62:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ injection.c:191:9: warning: pointer targets in passing argument 3 of ‘pcap_compile’ differ in signedness /usr/include/pcap/pcap.h:314:5: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ injection.c:195:13: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ injection.c:202:13: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ injection.c:210:13: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ injection.c:217:9: warning: pointer targets in passing argument 3 of ‘print_separator’ differ in signedness utils.h:31:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ injection.c:221:13: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ injection.c:244:17: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ injection.c:269:21: warning: pointer targets in passing argument 3 of ‘print_separator’ differ in signedness utils.h:31:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ injection.c: In function ‘without_response’: injection.c:327:13: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ injection.c:331:13: warning: pointer targets in passing argument 3 of ‘print_separator’ differ in signedness utils.h:31:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ init.c: In function ‘injection_struct_init’: init.c:34:20: warning: pointer targets in assignment differ in signedness init.c:35:20: warning: pointer targets in assignment differ in signedness init.c:36:20: warning: pointer targets in assignment differ in signedness init.c:37:20: warning: pointer targets in assignment differ in signedness source='usage.c' object='usage.o' libtool=no \ depfile='.deps/usage.Po' tmpdepfile='.deps/usage.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'usage.c' || echo './'`usage.c shape_icmpv4_hdr.c: In function ‘shape_icmpv4_hdr’: shape_icmpv4_hdr.c:58:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness /usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ shape_icmpv4_hdr.c:73:10: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_ipv4_hdr.c: In function ‘shape_ipv4_hdr’: shape_ipv4_hdr.c:41:13: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_ipv4_hdr.c:43:25: warning: pointer targets in assignment differ in signedness shape_ipv4_hdr.c:46:9: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness /usr/include/./libnet/libnet-functions.h:227:1: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ shape_ipv4_hdr.c:47:13: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_ipv4_hdr.c:50:9: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_ipv4_hdr.c:52:5: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness /usr/include/./libnet/libnet-functions.h:227:1: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ shape_ipv4_hdr.c:53:9: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_ipv4_hdr.c:68:9: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness /usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ shape_ipv4_hdr.c:89:9: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_arp_hdr.c: In function ‘shape_arp_hdr’: shape_arp_hdr.c:61:21: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_arp_hdr.c:63:32: warning: pointer targets in assignment differ in signedness shape_arp_hdr.c:67:32: warning: pointer targets in assignment differ in signedness shape_arp_hdr.c:72:5: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness /usr/include/./libnet/libnet-functions.h:227:1: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ shape_arp_hdr.c:73:9: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_arp_hdr.c:81:21: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_arp_hdr.c:89:32: warning: pointer targets in assignment differ in signedness shape_arp_hdr.c:94:5: warning: pointer targets in passing argument 1 of ‘format_ethernet_addr’ differ in signedness utils.h:43:11: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ shape_arp_hdr.c:95:9: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_arp_hdr.c:98:9: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness /usr/include/bits/stdio2.h:62:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ shape_arp_hdr.c:106:14: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_arp_hdr.c:108:32: warning: pointer targets in assignment differ in signedness shape_arp_hdr.c:112:18: warning: pointer targets in assignment differ in signedness shape_arp_hdr.c:117:5: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness /usr/include/./libnet/libnet-functions.h:227:1: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ shape_arp_hdr.c:118:9: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_arp_hdr.c:126:14: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_arp_hdr.c:134:32: warning: pointer targets in assignment differ in signedness shape_arp_hdr.c:139:5: warning: pointer targets in passing argument 1 of ‘format_ethernet_addr’ differ in signedness utils.h:43:11: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ shape_arp_hdr.c:140:9: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_arp_hdr.c:143:9: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness /usr/include/bits/stdio2.h:62:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ shape_icmpv4_hdr.c:104:10: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness shape_arp_hdr.c:160:9: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_icmpv4_hdr.c:106:6: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness /usr/include/./libnet/libnet-functions.h:227:1: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ shape_icmpv4_hdr.c:107:10: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_icmpv4_hdr.c:110:10: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_icmpv4_hdr.c:112:6: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness /usr/include/./libnet/libnet-functions.h:227:1: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ shape_icmpv4_hdr.c:113:10: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_icmpv4_hdr.c:137:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness /usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ shape_icmpv4_hdr.c:156:21: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_icmpv4_hdr.c:168:21: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_icmpv4_hdr.c:182:14: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_icmpv4_hdr.c:184:17: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness /usr/include/./libnet/libnet-functions.h:227:1: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ shape_icmpv4_hdr.c:185:14: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_icmpv4_hdr.c:192:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness /usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ shape_icmpv4_hdr.c:211:21: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_icmpv4_hdr.c:224:14: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_icmpv4_hdr.c:239:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness /usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ shape_icmpv4_hdr.c:258:21: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_icmpv4_hdr.c:270:14: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_icmpv4_hdr.c:292:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness /usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ shape_icmpv4_hdr.c:310:3: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_icmpv4_hdr.c:327:17: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness /usr/include/./libnet/libnet-functions.h:227:1: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ shape_icmpv4_hdr.c:328:14: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_icmpv4_hdr.c:335:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness /usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ shape_icmpv4_hdr.c:351:10: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ source='exit.c' object='exit.o' libtool=no \ depfile='.deps/exit.Po' tmpdepfile='.deps/exit.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'exit.c' || echo './'`exit.c source='main.c' object='main.o' libtool=no \ depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'main.c' || echo './'`main.c shape_udp_hdr.c: In function ‘shape_udp_hdr’: shape_udp_hdr.c:44:9: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness /usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ shape_udp_hdr.c:58:9: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ In file included from /usr/include/stdio.h:930:0, from /usr/include/libnet.h:63, from globals.h:31, from shape_arp_hdr.h:26, from shape_arp_hdr.c:23: In function ‘snprintf’, inlined from ‘shape_arp_hdr’ at shape_arp_hdr.c:97:13: /usr/include/bits/stdio2.h:65:3: warning: call to __builtin___snprintf_chk will always overflow destination buffer In function ‘snprintf’, inlined from ‘shape_arp_hdr’ at shape_arp_hdr.c:142:13: /usr/include/bits/stdio2.h:65:3: warning: call to __builtin___snprintf_chk will always overflow destination buffer utils.c: In function ‘retrieve_rand_ipv4_addr’: utils.c:95:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:97:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c: In function ‘retrieve_rand_ethernet_addr’: utils.c:117:12: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:119:12: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c: In function ‘print_separator’: utils.c:140:5: warning: pointer targets in passing argument 1 of ‘vsnprintf’ differ in signedness /usr/include/bits/stdio2.h:75:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:140:5: warning: pointer targets in passing argument 3 of ‘vsnprintf’ differ in signedness /usr/include/bits/stdio2.h:75:1: note: expected ‘const char * __restrict__’ but argument is of type ‘u_int8_t *’ shape_ethernet_hdr.c: In function ‘shape_ethernet_hdr’: utils.c:142:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness shape_ethernet_hdr.c:50:13: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness /usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_ethernet_hdr.c:56:9: warning: pointer targets in passing argument 1 of ‘format_ethernet_addr’ differ in signedness utils.h:43:11: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ shape_ethernet_hdr.c:57:13: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_ethernet_hdr.c:60:9: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness /usr/include/bits/stdio2.h:62:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ shape_ethernet_hdr.c:63:16: warning: pointer targets in assignment differ in signedness shape_ethernet_hdr.c:68:23: warning: pointer targets in assignment differ in signedness shape_ethernet_hdr.c:71:5: warning: pointer targets in passing argument 1 of ‘format_ethernet_addr’ differ in signedness utils.h:43:11: note: expected ‘char *’ but argument is of type ‘u_int8_t *’ shape_ethernet_hdr.c:72:9: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_ethernet_hdr.c:75:9: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness /usr/include/bits/stdio2.h:62:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ shape_ethernet_hdr.c:86:9: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ shape_ethernet_hdr.c: In function ‘shape_ethernet_hdr_auto’: shape_ethernet_hdr.c:106:9: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ utils.c: In function ‘retrieve_icmp_code’: utils.c:174:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:178:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:182:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:186:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:190:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:194:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:198:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:202:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:206:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:210:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:214:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:218:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:222:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ source='print_ts.c' object='print_ts.o' libtool=no \ depfile='.deps/print_ts.Po' tmpdepfile='.deps/print_ts.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'print_ts.c' || echo './'`print_ts.c utils.c:226:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:230:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:234:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:238:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:248:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:252:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:256:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:260:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:264:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:274:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:278:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:282:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:292:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:296:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:302:9: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c: In function ‘retrieve_icmp_type’: utils.c:323:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:327:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:331:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:335:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:339:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:343:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:347:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:351:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:355:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:359:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:363:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:367:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:371:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:375:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:379:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ In file included from /usr/include/stdio.h:930:0, from /usr/include/libnet.h:63, from globals.h:31, from shape_ethernet_hdr.h:26, from shape_ethernet_hdr.c:23: In function ‘snprintf’, inlined from ‘shape_ethernet_hdr’ at shape_ethernet_hdr.c:59:13: /usr/include/bits/stdio2.h:65:3: warning: call to __builtin___snprintf_chk will always overflow destination buffer In function ‘snprintf’, inlined from ‘shape_ethernet_hdr’ at shape_ethernet_hdr.c:74:13: /usr/include/bits/stdio2.h:65:3: warning: call to __builtin___snprintf_chk will always overflow destination buffer utils.c:383:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:387:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c: In function ‘retrieve_arp_type’: utils.c:408:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:412:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:416:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:420:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:424:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:428:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:432:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c: In function ‘retrieve_arp_hw_type’: utils.c:457:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:461:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:465:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:469:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:473:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:477:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:481:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:485:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:489:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:493:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:497:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:501:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:505:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ source='print_arp_hdr.c' object='print_arp_hdr.o' libtool=no \ depfile='.deps/print_arp_hdr.Po' tmpdepfile='.deps/print_arp_hdr.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'print_arp_hdr.c' || echo './'`print_arp_hdr.c utils.c: In function ‘format_ethernet_addr’: utils.c:551:30: warning: pointer targets in initialization differ in signedness utils.c:559:9: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness /usr/include/bits/string3.h:120:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:566:5: warning: pointer targets in passing argument 1 of ‘strtok’ differ in signedness /usr/include/string.h:348:14: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:566:5: warning: pointer targets in passing argument 2 of ‘strtok’ differ in signedness /usr/include/string.h:348:14: note: expected ‘const char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:566:14: warning: pointer targets in assignment differ in signedness utils.c:568:10: warning: pointer targets in passing argument 2 of ‘strtok’ differ in signedness /usr/include/string.h:348:14: note: expected ‘const char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:568:15: warning: pointer targets in assignment differ in signedness utils.c:570:9: warning: pointer targets in passing argument 1 of ‘strtol’ differ in signedness /usr/include/stdlib.h:184:17: note: expected ‘const char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:580:12: warning: pointer targets in assignment differ in signedness utils.c: In function ‘parse_port_range’: utils.c:588:45: warning: pointer targets in initialization differ in signedness utils.c:597:9: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness /usr/include/bits/string3.h:120:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:597:9: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness /usr/include/bits/string3.h:120:1: note: expected ‘const char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:599:5: warning: pointer targets in passing argument 1 of ‘strtok’ differ in signedness /usr/include/string.h:348:14: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:599:5: warning: pointer targets in passing argument 2 of ‘strtok’ differ in signedness /usr/include/string.h:348:14: note: expected ‘const char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:599:20: warning: pointer targets in assignment differ in signedness utils.c:601:9: warning: pointer targets in passing argument 2 of ‘strtok’ differ in signedness /usr/include/string.h:348:14: note: expected ‘const char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:601:13: warning: pointer targets in assignment differ in signedness utils.c:603:9: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness /usr/include/stdlib.h:284:1: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ utils.c: In function ‘generate_padding’: utils.c:645:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:647:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c: In function ‘format_hex_payload’: utils.c:659:23: warning: pointer targets in initialization differ in signedness utils.c:668:5: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness /usr/include/bits/string3.h:120:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:668:5: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness /usr/include/bits/string3.h:120:1: note: expected ‘const char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:677:5: warning: pointer targets in passing argument 1 of ‘strtok’ differ in signedness /usr/include/string.h:348:14: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:677:5: warning: pointer targets in passing argument 2 of ‘strtok’ differ in signedness /usr/include/string.h:348:14: note: expected ‘const char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:677:11: warning: pointer targets in assignment differ in signedness utils.c:679:9: warning: pointer targets in passing argument 2 of ‘strtok’ differ in signedness /usr/include/string.h:348:14: note: expected ‘const char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:679:11: warning: pointer targets in assignment differ in signedness utils.c:681:9: warning: pointer targets in passing argument 1 of ‘strtol’ differ in signedness /usr/include/stdlib.h:184:17: note: expected ‘const char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:684:9: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness /usr/include/bits/stdio2.h:32:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:685:9: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness /usr/include/bits/string3.h:120:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ utils.c:685:9: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness /usr/include/bits/string3.h:120:1: note: expected ‘const char * __restrict__’ but argument is of type ‘u_int8_t *’ source='print_tcp_hdr.c' object='print_tcp_hdr.o' libtool=no \ depfile='.deps/print_tcp_hdr.Po' tmpdepfile='.deps/print_tcp_hdr.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'print_tcp_hdr.c' || echo './'`print_tcp_hdr.c source='print_udp_hdr.c' object='print_udp_hdr.o' libtool=no \ depfile='.deps/print_udp_hdr.Po' tmpdepfile='.deps/print_udp_hdr.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'print_udp_hdr.c' || echo './'`print_udp_hdr.c source='print_icmpv4_hdr.c' object='print_icmpv4_hdr.o' libtool=no \ depfile='.deps/print_icmpv4_hdr.Po' tmpdepfile='.deps/print_icmpv4_hdr.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'print_icmpv4_hdr.c' || echo './'`print_icmpv4_hdr.c stats.c: In function ‘injection_stats’: stats.c:39:9: warning: pointer targets in passing argument 3 of ‘print_separator’ differ in signedness utils.h:31:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ stats.c:41:9: warning: pointer targets in passing argument 3 of ‘print_separator’ differ in signedness utils.h:31:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ stats.c: In function ‘capture_stats’: stats.c:91:5: warning: pointer targets in passing argument 3 of ‘print_separator’ differ in signedness utils.h:31:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ source='print_ipv4_hdr.c' object='print_ipv4_hdr.o' libtool=no \ depfile='.deps/print_ipv4_hdr.Po' tmpdepfile='.deps/print_ipv4_hdr.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'print_ipv4_hdr.c' || echo './'`print_ipv4_hdr.c source='print_ethernet_hdr.c' object='print_ethernet_hdr.o' libtool=no \ depfile='.deps/print_ethernet_hdr.Po' tmpdepfile='.deps/print_ethernet_hdr.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'print_ethernet_hdr.c' || echo './'`print_ethernet_hdr.c source='print_pktdump.c' object='print_pktdump.o' libtool=no \ depfile='.deps/print_pktdump.Po' tmpdepfile='.deps/print_pktdump.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'print_pktdump.c' || echo './'`print_pktdump.c main.c: In function ‘parse_capture_options’: main.c:58:29: warning: pointer targets in assignment differ in signedness main.c:59:7: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ main.c:89:5: warning: pointer targets in passing argument 1 of ‘capture_init’ differ in signedness capture.h:31:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ main.c: In function ‘parse_inject_options’: main.c:103:5: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ main.c:122:26: warning: pointer targets in assignment differ in signedness main.c:132:26: warning: pointer targets in assignment differ in signedness main.c:142:26: warning: pointer targets in assignment differ in signedness main.c:148:25: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ main.c:158:26: warning: pointer targets in assignment differ in signedness exit.c: In function ‘injection_clean_exit’: exit.c:39:13: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness /usr/include/bits/stdio2.h:245:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ exit.c:41:13: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness /usr/include/string.h:540:12: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ exit.c:44:13: warning: pointer targets in passing argument 1 of ‘strncasecmp’ differ in signedness /usr/include/string.h:540:12: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ main.c:164:25: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ main.c:170:26: warning: pointer targets in assignment differ in signedness main.c:186:26: warning: pointer targets in assignment differ in signedness main.c:191:26: warning: pointer targets in assignment differ in signedness main.c:206:5: warning: pointer targets in passing argument 3 of ‘getopt’ differ in signedness /usr/include/getopt.h:152:12: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ source='print_capture.c' object='print_capture.o' libtool=no \ depfile='.deps/print_capture.Po' tmpdepfile='.deps/print_capture.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'print_capture.c' || echo './'`print_capture.c main.c:224:21: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ exit.c:39:18: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result main.c:237:24: warning: pointer targets in assignment differ in signedness main.c:238:7: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ main.c:246:31: warning: pointer targets in assignment differ in signedness main.c:247:7: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ main.c:259:28: warning: pointer targets in assignment differ in signedness main.c:260:7: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ main.c:274:36: warning: pointer targets in assignment differ in signedness main.c:275:7: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ source='print_injection.c' object='print_injection.o' libtool=no \ depfile='.deps/print_injection.Po' tmpdepfile='.deps/print_injection.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -O2 -pipe -Wall -c `test -f 'print_injection.c' || echo './'`print_injection.c main.c:310:33: warning: pointer targets in assignment differ in signedness main.c:311:21: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ main.c:316:35: warning: pointer targets in assignment differ in signedness main.c:317:21: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness In file included from /usr/include/stdio.h:930:0, from /usr/include/libnet.h:63, from globals.h:31, from exit.h:26, from exit.c:23: In function ‘fgets’, inlined from ‘injection_clean_exit’ at exit.c:39:18: /usr/include/bits/stdio2.h:253:2: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ main.c:332:29: warning: pointer targets in assignment differ in signedness main.c:333:7: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ main.c:341:42: warning: pointer targets in assignment differ in signedness main.c:342:21: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ In file included from /usr/include/stdio.h:930:0, from /usr/include/libnet.h:63, from globals.h:31, from utils.h:26, from utils.c:23: In function ‘vsnprintf’, inlined from ‘print_separator’ at utils.c:140:14: /usr/include/bits/stdio2.h:78:3: warning: call to __builtin___vsnprintf_chk will always overflow destination buffer main.c:366:42: warning: pointer targets in assignment differ in signedness main.c:367:21: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ print_tcp_hdr.c: In function ‘print_tcp_hdr’: print_tcp_hdr.c:47:9: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness /usr/include/bits/string3.h:144:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ print_tcp_hdr.c:50:9: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness /usr/include/bits/string3.h:144:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ print_tcp_hdr.c:53:9: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness /usr/include/bits/string3.h:144:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ print_tcp_hdr.c:56:9: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness /usr/include/bits/string3.h:144:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ print_tcp_hdr.c:59:9: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness /usr/include/bits/string3.h:144:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ print_tcp_hdr.c:62:9: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness /usr/include/bits/string3.h:144:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ print_tcp_hdr.c:64:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness /usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ print_tcp_hdr.c:65:9: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness /usr/include/bits/string3.h:105:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ main.c:414:30: warning: pointer targets in assignment differ in signedness main.c:415:7: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ main.c:429:21: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ main.c:453:38: warning: pointer targets in assignment differ in signedness main.c:454:7: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ main.c:469:21: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ main.c:506:37: warning: pointer targets in assignment differ in signedness main.c:507:21: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ main.c:515:37: warning: pointer targets in assignment differ in signedness main.c:516:21: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ main.c:524:37: warning: pointer targets in assignment differ in signedness main.c:525:21: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ main.c:533:37: warning: pointer targets in assignment differ in signedness main.c:534:21: warning: pointer targets in passing argument 1 of ‘fatal_error’ differ in signedness error.h:34:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ print_icmpv4_hdr.c: In function ‘print_icmpv4_hdr’: print_icmpv4_hdr.c:60:24: warning: pointer targets in assignment differ in signedness print_icmpv4_hdr.c:61:24: warning: pointer targets in assignment differ in signedness print_icmpv4_hdr.c:86:24: warning: pointer targets in assignment differ in signedness print_icmpv4_hdr.c:87:24: warning: pointer targets in assignment differ in signedness print_icmpv4_hdr.c:109:24: warning: pointer targets in assignment differ in signedness print_icmpv4_hdr.c:110:24: warning: pointer targets in assignment differ in signedness print_ipv4_hdr.c: In function ‘print_ipv4_hdr’: print_ipv4_hdr.c:42:12: warning: pointer targets in assignment differ in signedness print_ipv4_hdr.c:43:12: warning: pointer targets in assignment differ in signedness print_capture.c: In function ‘print_capture’: print_capture.c:47:17: warning: pointer targets in passing argument 3 of ‘print_separator’ differ in signedness utils.h:31:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ print_capture.c:50:17: warning: pointer targets in passing argument 3 of ‘print_separator’ differ in signedness utils.h:31:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ print_capture.c:106:17: warning: pointer targets in passing argument 3 of ‘print_separator’ differ in signedness utils.h:31:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ print_capture.c:109:17: warning: pointer targets in passing argument 3 of ‘print_separator’ differ in signedness utils.h:31:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ print_injection.c: In function ‘print_injection_details’: print_injection.c:44:17: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness /usr/include/bits/string3.h:144:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ print_injection.c:47:17: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness /usr/include/bits/string3.h:144:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ print_injection.c:50:17: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness /usr/include/bits/string3.h:144:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ print_injection.c:53:17: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness /usr/include/bits/string3.h:144:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ print_injection.c:56:17: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness /usr/include/bits/string3.h:144:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ print_injection.c:59:17: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness /usr/include/bits/string3.h:144:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ print_injection.c:61:13: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness /usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘u_int8_t *’ print_injection.c:62:17: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness /usr/include/bits/string3.h:105:1: note: expected ‘char * __restrict__’ but argument is of type ‘u_int8_t *’ i686-pc-linux-gnu-gcc -O2 -pipe -Wall -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o packit init.o define_defaults.o error.o injection.o capture.o shape_arp_hdr.o shape_tcp_hdr.o shape_udp_hdr.o shape_icmpv4_hdr.o shape_ipv4_hdr.o shape_ethernet_hdr.o shape_packet.o utils.o stats.o pcap_setnonblock.o usage.o exit.o main.o print_ts.o print_arp_hdr.o print_tcp_hdr.o print_udp_hdr.o print_icmpv4_hdr.o print_ipv4_hdr.o print_ethernet_hdr.o print_pktdump.o print_capture.o print_injection.o -lpcap -lpcap -lpcap -lnet cp packit .. make[2]: Leaving directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0/src' Making all in man make[2]: Entering directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0/man' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0/man' make[2]: Entering directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0' make[2]: Leaving directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0' make[1]: Leaving directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0' >>> Source compiled. >>> Test phase [check]: net-analyzer/packit-1.0-r1 make -j14 -j1 check Making check in src make[1]: Entering directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0/src' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0/src' Making check in man make[1]: Entering directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0/man' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0/man' make[1]: Entering directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0' make[1]: Leaving directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0' >>> Install packit-1.0-r1 into /var/tmp/portage/net-analyzer/packit-1.0-r1/image/ category net-analyzer make -j14 DESTDIR=/var/tmp/portage/net-analyzer/packit-1.0-r1/image/ install Making install in src make[1]: Entering directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0/src' make[2]: Entering directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0/src' /bin/sh ../mkinstalldirs /var/tmp/portage/net-analyzer/packit-1.0-r1/image//usr/sbin make[2]: Nothing to be done for `install-data-am'. mkdir -p -- /var/tmp/portage/net-analyzer/packit-1.0-r1/image//usr/sbin /usr/bin/install -c packit /var/tmp/portage/net-analyzer/packit-1.0-r1/image//usr/sbin/packit make[2]: Leaving directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0/src' make[1]: Leaving directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0/src' Making install in man make[1]: Entering directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0/man' make[2]: Entering directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0/man' make[2]: Nothing to be done for `install-exec-am'. /bin/sh ../mkinstalldirs /var/tmp/portage/net-analyzer/packit-1.0-r1/image//usr/share/man/man8 mkdir -p -- /var/tmp/portage/net-analyzer/packit-1.0-r1/image//usr/share/man/man8 /usr/bin/install -c -m 644 ./packit.8 /var/tmp/portage/net-analyzer/packit-1.0-r1/image//usr/share/man/man8/packit.8 make[2]: Leaving directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0/man' make[1]: Leaving directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0/man' make[1]: Entering directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0' make[2]: Entering directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0' make[1]: Leaving directory `/var/tmp/portage/net-analyzer/packit-1.0-r1/work/packit-1.0' >>> Completed installing packit-1.0-r1 into /var/tmp/portage/net-analyzer/packit-1.0-r1/image/ strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment usr/sbin/packit * QA Notice: Package has poor programming practices which may compile * fine but exhibit random runtime failures. * define_defaults.c:39:13: warning: array subscript is above array bounds * QA Notice: Package has poor programming practices which may compile * fine but exhibit random runtime failures. * /usr/include/bits/stdio2.h:253:2: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer * QA Notice: Package has poor programming practices which may compile * fine but exhibit random runtime failures. * /usr/include/bits/stdio2.h:65:3: warning: call to __builtin___snprintf_chk will always overflow destination buffer * /usr/include/bits/stdio2.h:65:3: warning: call to __builtin___snprintf_chk will always overflow destination buffer * /usr/include/bits/stdio2.h:65:3: warning: call to __builtin___snprintf_chk will always overflow destination buffer * /usr/include/bits/stdio2.h:65:3: warning: call to __builtin___snprintf_chk will always overflow destination buffer * /usr/include/bits/stdio2.h:78:3: warning: call to __builtin___vsnprintf_chk will always overflow destination buffer * Please do not file a Gentoo bug and instead report the above QA * issues directly to the upstream developers of this software. * Homepage: http://packetfactory.openwall.net/projects/packit/