==> Creating clean working copy [build]...done ==> Making package: packit 1.0-2 (Fri Mar 24 00:23:37 EDT 2017) ==> Retrieving sources... -> Found packit-1.0.tgz -> Found config.guess-for-aarch64.patch ==> Validating source files with sha512sums... packit-1.0.tgz ... Passed config.guess-for-aarch64.patch ... Passed ==> Making package: packit 1.0-2 (Fri Mar 24 00:23:37 EDT 2017) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (14) dbus-1.10.16-1 hwids-20161103-1 iptables-1.6.0-1 kbd-2.0.4-1 kmod-24-1 libelf-0.168-1 libmnl-1.0.4-1 libnftnl-1.0.7-1 libnl-3.2.29-2 libseccomp-2.3.2-1 libusb-1.0.21-1 systemd-232-8 libnet-1.1.6-2 libpcap-1.8.1-2 Total Installed Size: 29.02 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing libnl... installing dbus... installing libmnl... installing libnftnl... installing iptables... installing kbd... installing kmod... installing hwids... installing libelf... installing libseccomp... installing systemd... warning: directory permissions differ on /var/log/journal/ filesystem: 755 package: 2755 Creating group systemd-journal-remote with gid 999. Creating user systemd-journal-remote (systemd Journal Remote) with uid 999 and gid 999. Creating group systemd-coredump with gid 998. Creating user systemd-coredump (systemd Core Dumper) with uid 998 and gid 998. Creating group systemd-journal-upload with gid 997. Creating user systemd-journal-upload (systemd Journal Upload) with uid 997 and gid 997. Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service -> /usr/lib/systemd/system/getty@.service. Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target -> /usr/lib/systemd/system/remote-fs.target. :: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your bootloader to replace sysvinit with systemd, or install systemd-sysvcompat Optional dependencies for systemd cryptsetup: required for encrypted block devices libmicrohttpd: remote journald capabilities quota-tools: kernel-level quota management systemd-sysvcompat: symlink package to provide sysvinit binaries polkit: allow administration as unprivileged user installing libusb... installing libpcap... installing libnet... :: Running post-transaction hooks... (1/4) Updating udev hardware database... (2/4) Updating system user accounts... (3/4) Creating temporary files... (4/4) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found packit-1.0.tgz -> Found config.guess-for-aarch64.patch ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha512sums... packit-1.0.tgz ... Passed config.guess-for-aarch64.patch ... Passed ==> Extracting sources... -> Extracting packit-1.0.tgz with bsdtar ==> Starting prepare()... patching file config.guess patching file config.sub ==> Starting build()... 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 gcc... 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 gcc accepts -g... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for gcc... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to run the C preprocessor... 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... yes checking net/bpf.h presence... yes checking for net/bpf.h... yes 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 : x86_64-pc-linux-gnu Compiler : gcc Compiler flags : -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall Linker flags : -Wl,-O1,--sort-common,--as-needed,-z,relro Libraries : -lpcap -lpcap -lpcap -lnet Binary : /usr/bin Manual pages : /usr/share/man/ Injection support : yes Capture support : yes Enable debugging : no ----------------------------------------------- make all-recursive make[1]: Entering directory '/build/packit/src/packit-1.0' Making all in src make[2]: Entering directory '/build/packit/src/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 \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -c `test -f 'init.c' || echo './'`init.c init.c: In function 'injection_struct_init': init.c:34:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ahdr_o.s_paddr = IPV4_DEFAULT; ^ init.c:35:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ahdr_o.s_eaddr = ETH_DEFAULT; ^ init.c:36:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ahdr_o.r_paddr = IPV4_DEFAULT; ^ init.c:37:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ahdr_o.r_eaddr = ETH_DEFAULT; ^ 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 \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -c `test -f 'define_defaults.c' || echo './'`define_defaults.c define_defaults.c: In function 'define_injection_defaults': define_defaults.c:34:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s_d_port = "0"; ^ define_defaults.c:39:13: warning: array subscript is above array bounds [-Warray-bounds] hwaddr_p[17] = 0; ~~~~~~~~^~~~ source='error.c' object='error.o' libtool=no \ depfile='.deps/error.Po' tmpdepfile='.deps/error.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -c `test -f 'error.c' || echo './'`error.c error.c: In function 'fatal_error': error.c:35:41: warning: pointer targets in passing argument 3 of 'vsnprintf' differ in signedness [-Wpointer-sign] vsnprintf(error_buf, ERRBUF_MAXLEN, err, va); ^~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from error.h:26, from error.c:23: /usr/include/bits/stdio2.h:74:1: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (vsnprintf (char *__restrict __s, size_t __n, ^ source='injection.c' object='injection.o' libtool=no \ depfile='.deps/injection.Po' tmpdepfile='.deps/injection.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -c `test -f 'injection.c' || echo './'`injection.c injection.c: In function 'injection_init': injection.c:60:19: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if(strstr(s_d_port, "-")) ^~~~~~~~ In file included from /usr/include/libnet.h:63:0, from globals.h:31, from injection.h:26, from injection.c:23: /usr/include/string.h:337:14: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' extern char *strstr (const char *__haystack, const char *__needle) ^~~~~~ injection.c:65:29: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Invalid port range: %s", s_d_port); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from injection.h:26, from injection.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ injection.c:70:34: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] d_port = (u_int16_t)atoi(s_d_port); ^~~~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from injection.h:26, from injection.c:23: /usr/include/stdlib.h:255:1: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (atoi (const char *__nptr)) ^ injection.c:73:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(!device && (device = pcap_lookupdev(error_buf)) == NULL) ^ injection.c:74:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Device lookup failure: Are you root?"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from injection.h:26, from injection.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ injection.c:76:15: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if(strstr(device, "any")) strcpy(device, "lo"); ^~~~~~ In file included from /usr/include/libnet.h:63:0, from globals.h:31, from injection.h:26, from injection.c:23: /usr/include/string.h:337:14: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' extern char *strstr (const char *__haystack, const char *__needle) ^~~~~~ injection.c:76:38: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] if(strstr(device, "any")) strcpy(device, "lo"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from injection.h:26, from injection.c:23: /usr/include/bits/string3.h:107:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ injection.c:83:40: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign] if((pkt_d = libnet_init(init_type, device, error_buf)) == NULL) ^~~~~~ In file included from /usr/include/libnet.h:119:0, from globals.h:31, from injection.h:26, from injection.c:23: /usr/include/libnet/libnet-functions.h:64:1: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' libnet_init(int injection_type, const char *device, char *err_buf); ^~~~~~~~~~~ injection.c:84:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to initialize packet injection"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from injection.h:26, from injection.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ injection.c: In function 'with_response': injection.c:124:30: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] if((pkt = pcap_open_live(device, 1500, 1, READ_TIMEOUT, error_buf)) == NULL) ^~~~~~ In file included from globals.h:32:0, from injection.h:26, from injection.c:23: /usr/include/pcap/pcap.h:353:18: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); ^~~~~~~~~~~~~~ injection.c:125:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to open device: %s", error_buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from injection.h:26, from injection.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ injection.c:127:23: warning: pointer targets in passing argument 1 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign] if(pcap_lookupnet(device, &localnet, &netmask, error_buf) < 0) ^~~~~~ In file included from globals.h:32:0, from injection.h:26, from injection.c:23: /usr/include/pcap/pcap.h:279:14: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); ^~~~~~~~~~~~~~ injection.c:145:27: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(ufilter, 1024, ^~~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from injection.h:26, from injection.c:23: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (snprintf (char *__restrict __s, size_t __n, ^ injection.c:158:27: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(ufilter, 1024, ^~~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from injection.h:26, from injection.c:23: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (snprintf (char *__restrict __s, size_t __n, ^ injection.c:171:27: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(ufilter, 1024, ^~~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from injection.h:26, from injection.c:23: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (snprintf (char *__restrict __s, size_t __n, ^ injection.c:191:36: warning: pointer targets in passing argument 3 of 'pcap_compile' differ in signedness [-Wpointer-sign] if(pcap_compile(pkt, &bpf, filter, 0, netmask) < 0) ^~~~~~ In file included from globals.h:32:0, from injection.h:26, from injection.c:23: /usr/include/pcap/pcap.h:393:14: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' PCAP_API int pcap_compile(pcap_t *, struct bpf_program *, const char *, int, ^~~~~~~~~~~~ injection.c:195:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to set packet filters: %s", pcap_geterr(pkt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from injection.h:26, from injection.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ injection.c:202:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to determine datalink type: %s", pcap_geterr(pkt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from injection.h:26, from injection.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ injection.c:210:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to change to blocking mode: %s", error_buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from injection.h:26, from injection.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ injection.c:217:31: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign] print_separator(1, 2, (p_mode == M_TRACE) ? "HOP %d" : "SND %d", inj_cnt); ^ In file included from globals.h:42:0, from injection.h:26, from injection.c:23: utils.h:31:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void print_separator(int, int, u_int8_t *, ...); ^~~~~~~~~~~~~~~ injection.c:221:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to inject packet"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from injection.h:26, from injection.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ injection.c:244:29: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to inject packet"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from injection.h:26, from injection.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ injection.c:269:69: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign] print_separator((p_mode == M_TRACE) ? 0 : 1, 1, "No Response From Peer"); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from globals.h:42:0, from injection.h:26, from injection.c:23: utils.h:31:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void print_separator(int, int, u_int8_t *, ...); ^~~~~~~~~~~~~~~ injection.c: In function 'without_response': injection.c:327:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to inject packet"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from injection.h:26, from injection.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ injection.c:331:35: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign] print_separator(1, 2, "SND %ld", inj_cnt); ^~~~~~~~~ In file included from globals.h:42:0, from injection.h:26, from injection.c:23: utils.h:31:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void print_separator(int, int, u_int8_t *, ...); ^~~~~~~~~~~~~~~ source='capture.c' object='capture.o' libtool=no \ depfile='.deps/capture.Po' tmpdepfile='.deps/capture.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -c `test -f 'capture.c' || echo './'`capture.c capture.c: In function 'capture_init': capture.c:54:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to open file: %s", error_buf); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from capture.h:26, from capture.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ capture.c:60:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if((device = pcap_lookupdev(error_buf)) == NULL) ^ capture.c:61:29: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("%s: Check device permissions", error_buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from capture.h:26, from capture.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ capture.c:64:34: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] if((pkt = pcap_open_live(device, snap_len, 1, READ_TIMEOUT, error_buf)) == NULL) ^~~~~~ In file included from globals.h:32:0, from capture.h:26, from capture.c:23: /usr/include/pcap/pcap.h:353:18: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); ^~~~~~~~~~~~~~ capture.c:65:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to open device: %s", error_buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from capture.h:26, from capture.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ capture.c:75:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to initialize packet capture: %s", pcap_geterr(pkt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from capture.h:26, from capture.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ capture.c:80:23: warning: pointer targets in passing argument 1 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign] if(pcap_lookupnet(device, &localnet, &netmask, error_buf) < 0) ^~~~~~ In file included from globals.h:32:0, from capture.h:26, from capture.c:23: /usr/include/pcap/pcap.h:279:14: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); ^~~~~~~~~~~~~~ capture.c:83:32: warning: pointer targets in passing argument 3 of 'pcap_compile' differ in signedness [-Wpointer-sign] if(pcap_compile(pkt, &bpf, filter, 0, netmask) < 0) ^~~~~~ In file included from globals.h:32:0, from capture.h:26, from capture.c:23: /usr/include/pcap/pcap.h:393:14: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' PCAP_API int pcap_compile(pcap_t *, struct bpf_program *, const char *, int, ^~~~~~~~~~~~ capture.c:87:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to set packet filters: %s", pcap_geterr(pkt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from capture.h:26, from capture.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ capture.c:94:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to determine datalink type: %s", pcap_geterr(pkt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from capture.h:26, from capture.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ capture.c:114:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to initialize pcap_loop: %s", pcap_geterr(pkt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from capture.h:26, from capture.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ 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 \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -c `test -f 'shape_arp_hdr.c' || echo './'`shape_arp_hdr.c shape_arp_hdr.c: In function 'shape_arp_hdr': shape_arp_hdr.c:61:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to retrieve local IP address: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_arp_hdr.h:26, from shape_arp_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_arp_hdr.c:63:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ahdr_o.s_paddr = libnet_addr2name4(s_paddr, 0); ^ shape_arp_hdr.c:67:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ahdr_o.s_paddr = IPV4_DEFAULT; ^ shape_arp_hdr.c:72:44: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign] if((s_paddr = libnet_name2addr4(pkt_d, ahdr_o.s_paddr, 0)) == -1) ^~~~~~ In file included from /usr/include/libnet.h:119:0, from globals.h:31, from shape_arp_hdr.h:26, from shape_arp_hdr.c:23: /usr/include/libnet/libnet-functions.h:227:1: note: expected 'char *' but argument is of type 'u_int8_t * {aka unsigned char *}' libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name); ^~~~~~~~~~~~~~~~~ shape_arp_hdr.c:73:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Invalid sender protocol address: %s", ahdr_o.s_paddr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_arp_hdr.h:26, from shape_arp_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_arp_hdr.c:81:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to determine ethernet address: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_arp_hdr.h:26, from shape_arp_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_arp_hdr.c:89:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ahdr_o.s_eaddr = ETH_DEFAULT; ^ shape_arp_hdr.c:94:29: warning: pointer targets in passing argument 1 of 'format_ethernet_addr' differ in signedness [-Wpointer-sign] if(format_ethernet_addr(ahdr_o.s_eaddr, s_neaddr) == 0) ^~~~~~ In file included from globals.h:42:0, from shape_arp_hdr.h:26, from shape_arp_hdr.c:23: utils.h:43:11: note: expected 'char *' but argument is of type 'u_int8_t * {aka unsigned char *}' u_int32_t format_ethernet_addr(char *, u_int8_t[]); ^~~~~~~~~~~~~~~~~~~~ shape_arp_hdr.c:95:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Invalid sender ethernet address"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_arp_hdr.h:26, from shape_arp_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_arp_hdr.c:97:14: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(ahdr_o.shw_addr, 18, "%0X:%0X:%0X:%0X:%0X:%0X", ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from shape_arp_hdr.h:26, from shape_arp_hdr.c:23: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (snprintf (char *__restrict __s, size_t __n, ^ shape_arp_hdr.c:106:26: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to retrieve local IP address: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_arp_hdr.h:26, from shape_arp_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_arp_hdr.c:108:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ahdr_o.r_paddr = libnet_addr2name4(r_paddr, 0); ^ shape_arp_hdr.c:112:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ahdr_o.r_paddr = IPV4_DEFAULT; ^ shape_arp_hdr.c:117:44: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign] if((r_paddr = libnet_name2addr4(pkt_d, ahdr_o.r_paddr, 0)) == -1) ^~~~~~ In file included from /usr/include/libnet.h:119:0, from globals.h:31, from shape_arp_hdr.h:26, from shape_arp_hdr.c:23: /usr/include/libnet/libnet-functions.h:227:1: note: expected 'char *' but argument is of type 'u_int8_t * {aka unsigned char *}' libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name); ^~~~~~~~~~~~~~~~~ shape_arp_hdr.c:118:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Invalid receiver protocol address: %s", ahdr_o.r_paddr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_arp_hdr.h:26, from shape_arp_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_arp_hdr.c:126:26: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to determine ethernet address: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_arp_hdr.h:26, from shape_arp_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_arp_hdr.c:134:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ahdr_o.r_eaddr = ETH_DEFAULT; ^ shape_arp_hdr.c:139:29: warning: pointer targets in passing argument 1 of 'format_ethernet_addr' differ in signedness [-Wpointer-sign] if(format_ethernet_addr(ahdr_o.r_eaddr, r_neaddr) == 0) ^~~~~~ In file included from globals.h:42:0, from shape_arp_hdr.h:26, from shape_arp_hdr.c:23: utils.h:43:11: note: expected 'char *' but argument is of type 'u_int8_t * {aka unsigned char *}' u_int32_t format_ethernet_addr(char *, u_int8_t[]); ^~~~~~~~~~~~~~~~~~~~ shape_arp_hdr.c:140:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Invalid receiver ethernet address"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_arp_hdr.h:26, from shape_arp_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_arp_hdr.c:142:14: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(ahdr_o.rhw_addr, 18, "%0X:%0X:%0X:%0X:%0X:%0X", ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from shape_arp_hdr.h:26, from shape_arp_hdr.c:23: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (snprintf (char *__restrict __s, size_t __n, ^ shape_arp_hdr.c:160:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to build ARP header: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_arp_hdr.h:26, from shape_arp_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:939:0, from /usr/include/libnet.h:62, 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:5: /usr/include/bits/stdio2.h:64:10: warning: call to __builtin___snprintf_chk will always overflow destination buffer return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'shape_arp_hdr' at shape_arp_hdr.c:142:5: /usr/include/bits/stdio2.h:64:10: warning: call to __builtin___snprintf_chk will always overflow destination buffer return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -c `test -f 'shape_tcp_hdr.c' || echo './'`shape_tcp_hdr.c shape_tcp_hdr.c: In function 'shape_tcp_hdr': shape_tcp_hdr.c:51:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] payload_len = strlen(payload); ^~~~~~~ In file included from /usr/include/libnet.h:63:0, from globals.h:31, from shape_tcp_hdr.h:26, from shape_tcp_hdr.c:23: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ shape_tcp_hdr.c:70:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to build TCP header: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_tcp_hdr.h:26, from shape_tcp_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ 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 \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -c `test -f 'shape_udp_hdr.c' || echo './'`shape_udp_hdr.c shape_udp_hdr.c: In function 'shape_udp_hdr': shape_udp_hdr.c:44:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] payload_len = strlen(payload); ^~~~~~~ In file included from /usr/include/libnet.h:63:0, from globals.h:31, from shape_udp_hdr.h:26, from shape_udp_hdr.c:23: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ shape_udp_hdr.c:58:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to build UDP header: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_udp_hdr.h:26, from shape_udp_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ 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 \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -c `test -f 'shape_icmpv4_hdr.c' || echo './'`shape_icmpv4_hdr.c shape_icmpv4_hdr.c: In function 'shape_icmpv4_hdr': shape_icmpv4_hdr.c:58:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] payload_len = strlen(payload); ^~~~~~~ In file included from /usr/include/libnet.h:63:0, from globals.h:31, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ shape_icmpv4_hdr.c:73:22: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to build ICMPv4 echo header: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_icmpv4_hdr.c:104:22: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("No original source IP address defined"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_icmpv4_hdr.c:106:47: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign] if((ihn_saddr = libnet_name2addr4(pkt_d, i4hdr_o.orig_s_addr, 1)) == -1) ^~~~~~~ In file included from /usr/include/libnet.h:119:0, from globals.h:31, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: /usr/include/libnet/libnet-functions.h:227:1: note: expected 'char *' but argument is of type 'u_int8_t * {aka unsigned char *}' libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name); ^~~~~~~~~~~~~~~~~ shape_icmpv4_hdr.c:107:22: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Invalid original source IP address: %s", i4hdr_o.orig_s_addr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_icmpv4_hdr.c:110:22: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("No original destination IP address defined"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_icmpv4_hdr.c:112:47: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign] if((ihn_daddr = libnet_name2addr4(pkt_d, i4hdr_o.orig_d_addr, 1)) == -1) ^~~~~~~ In file included from /usr/include/libnet.h:119:0, from globals.h:31, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: /usr/include/libnet/libnet-functions.h:227:1: note: expected 'char *' but argument is of type 'u_int8_t * {aka unsigned char *}' libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name); ^~~~~~~~~~~~~~~~~ shape_icmpv4_hdr.c:113:22: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Invalid original destination IP address: %s", i4hdr_o.orig_d_addr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_icmpv4_hdr.c:137:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] payload_len = strlen(payload); ^~~~~~~ In file included from /usr/include/libnet.h:63:0, from globals.h:31, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ shape_icmpv4_hdr.c:156:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to build original IP header: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_icmpv4_hdr.c:168:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to build ICMPv4 unreach header: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_icmpv4_hdr.c:182:26: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("No gateway IP address defined"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_icmpv4_hdr.c:184:55: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign] if((ihn_gw = libnet_name2addr4(pkt_d, i4hdr_o.gw, 1)) == -1) ^~~~~~~ In file included from /usr/include/libnet.h:119:0, from globals.h:31, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: /usr/include/libnet/libnet-functions.h:227:1: note: expected 'char *' but argument is of type 'u_int8_t * {aka unsigned char *}' libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name); ^~~~~~~~~~~~~~~~~ shape_icmpv4_hdr.c:185:26: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Invalid gateway IP address: %s", i4hdr_o.gw); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_icmpv4_hdr.c:192:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] payload_len = strlen(payload); ^~~~~~~ In file included from /usr/include/libnet.h:63:0, from globals.h:31, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ shape_icmpv4_hdr.c:211:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to build original IP header: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_icmpv4_hdr.c:224:26: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to build ICMPv4 redirect header: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_icmpv4_hdr.c:239:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] payload_len = strlen(payload); ^~~~~~~ In file included from /usr/include/libnet.h:63:0, from globals.h:31, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ shape_icmpv4_hdr.c:258:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to build original IP header: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_icmpv4_hdr.c:270:26: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to build ICMPv4 timeexceed header: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_icmpv4_hdr.c:292:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] payload_len = strlen(payload); ^~~~~~~ In file included from /usr/include/libnet.h:63:0, from globals.h:31, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ shape_icmpv4_hdr.c:310:15: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to build ICMPv4 timestamp header: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_icmpv4_hdr.c:327:57: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign] if((ihn_mask = libnet_name2addr4(pkt_d, i4hdr_o.mask, 1)) == -1) ^~~~~~~ In file included from /usr/include/libnet.h:119:0, from globals.h:31, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: /usr/include/libnet/libnet-functions.h:227:1: note: expected 'char *' but argument is of type 'u_int8_t * {aka unsigned char *}' libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name); ^~~~~~~~~~~~~~~~~ shape_icmpv4_hdr.c:328:26: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Invalid mask address: %s", i4hdr_o.mask); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_icmpv4_hdr.c:335:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] payload_len = strlen(payload); ^~~~~~~ In file included from /usr/include/libnet.h:63:0, from globals.h:31, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ shape_icmpv4_hdr.c:351:22: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to build ICMPv4 mask header: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_icmpv4_hdr.h:26, from shape_icmpv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ 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 \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -c `test -f 'shape_ipv4_hdr.c' || echo './'`shape_ipv4_hdr.c shape_ipv4_hdr.c: In function 'shape_ipv4_hdr': shape_ipv4_hdr.c:41:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to retreive local IP address: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_ipv4_hdr.h:26, from shape_ipv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_ipv4_hdr.c:43:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ip4hdr_o.s_addr = libnet_addr2name4(ip4hdr_o.n_saddr, 1); ^ shape_ipv4_hdr.c:46:57: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign] if((ip4hdr_o.n_saddr = libnet_name2addr4(pkt_d, ip4hdr_o.s_addr, 1)) == -1) ^~~~~~~~ In file included from /usr/include/libnet.h:119:0, from globals.h:31, from shape_ipv4_hdr.h:26, from shape_ipv4_hdr.c:23: /usr/include/libnet/libnet-functions.h:227:1: note: expected 'char *' but argument is of type 'u_int8_t * {aka unsigned char *}' libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name); ^~~~~~~~~~~~~~~~~ shape_ipv4_hdr.c:47:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Invalid source IP address: %s", ip4hdr_o.s_addr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_ipv4_hdr.h:26, from shape_ipv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_ipv4_hdr.c:50:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("No destination IP address defined"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_ipv4_hdr.h:26, from shape_ipv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_ipv4_hdr.c:52:53: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign] if((ip4hdr_o.n_daddr = libnet_name2addr4(pkt_d, ip4hdr_o.d_addr, 1)) == -1) ^~~~~~~~ In file included from /usr/include/libnet.h:119:0, from globals.h:31, from shape_ipv4_hdr.h:26, from shape_ipv4_hdr.c:23: /usr/include/libnet/libnet-functions.h:227:1: note: expected 'char *' but argument is of type 'u_int8_t * {aka unsigned char *}' libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name); ^~~~~~~~~~~~~~~~~ shape_ipv4_hdr.c:53:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Invalid destination IP address: %s", ip4hdr_o.d_addr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_ipv4_hdr.h:26, from shape_ipv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_ipv4_hdr.c:68:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] payload_len = strlen(payload); ^~~~~~~ In file included from /usr/include/libnet.h:63:0, from globals.h:31, from shape_ipv4_hdr.h:26, from shape_ipv4_hdr.c:23: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ shape_ipv4_hdr.c:89:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to build IP header: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_ipv4_hdr.h:26, from shape_ipv4_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ 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 \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -c `test -f 'shape_ethernet_hdr.c' || echo './'`shape_ethernet_hdr.c shape_ethernet_hdr.c: In function 'shape_ethernet_hdr': shape_ethernet_hdr.c:50:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to determine ethernet address: %s", libnet_geterror(pkt_d)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_ethernet_hdr.h:26, from shape_ethernet_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_ethernet_hdr.c:56:33: warning: pointer targets in passing argument 1 of 'format_ethernet_addr' differ in signedness [-Wpointer-sign] if(format_ethernet_addr(ehdr_o.s_addr, us_addr) == 0) ^~~~~~ In file included from globals.h:42:0, from shape_ethernet_hdr.h:26, from shape_ethernet_hdr.c:23: utils.h:43:11: note: expected 'char *' but argument is of type 'u_int8_t * {aka unsigned char *}' u_int32_t format_ethernet_addr(char *, u_int8_t[]); ^~~~~~~~~~~~~~~~~~~~ shape_ethernet_hdr.c:57:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Invalid source ethernet address"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_ethernet_hdr.h:26, from shape_ethernet_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_ethernet_hdr.c:59:14: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(ehdr_o.shw_addr, 18, "%0X:%0X:%0X:%0X:%0X:%0X", ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from shape_ethernet_hdr.h:26, from shape_ethernet_hdr.c:23: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (snprintf (char *__restrict __s, size_t __n, ^ shape_ethernet_hdr.c:63:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ehdr_o.d_addr = ETH_BROADCAST; ^ shape_ethernet_hdr.c:68:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ehdr_o.d_addr = ETH_DEFAULT; ^ shape_ethernet_hdr.c:71:29: warning: pointer targets in passing argument 1 of 'format_ethernet_addr' differ in signedness [-Wpointer-sign] if(format_ethernet_addr(ehdr_o.d_addr, ud_addr) == 0) ^~~~~~ In file included from globals.h:42:0, from shape_ethernet_hdr.h:26, from shape_ethernet_hdr.c:23: utils.h:43:11: note: expected 'char *' but argument is of type 'u_int8_t * {aka unsigned char *}' u_int32_t format_ethernet_addr(char *, u_int8_t[]); ^~~~~~~~~~~~~~~~~~~~ shape_ethernet_hdr.c:72:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Invalid destination ethernet address"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_ethernet_hdr.h:26, from shape_ethernet_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_ethernet_hdr.c:74:14: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(ehdr_o.dhw_addr, 18, "%0X:%0X:%0X:%0X:%0X:%0X", ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from shape_ethernet_hdr.h:26, from shape_ethernet_hdr.c:23: /usr/include/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (snprintf (char *__restrict __s, size_t __n, ^ shape_ethernet_hdr.c:86:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to build ethernet header"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_ethernet_hdr.h:26, from shape_ethernet_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ shape_ethernet_hdr.c: In function 'shape_ethernet_hdr_auto': shape_ethernet_hdr.c:106:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unable to auto-build ethernet header"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from shape_ethernet_hdr.h:26, from shape_ethernet_hdr.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:939:0, from /usr/include/libnet.h:62, 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:5: /usr/include/bits/stdio2.h:64:10: warning: call to __builtin___snprintf_chk will always overflow destination buffer return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'shape_ethernet_hdr' at shape_ethernet_hdr.c:74:5: /usr/include/bits/stdio2.h:64:10: warning: call to __builtin___snprintf_chk will always overflow destination buffer return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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 \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -c `test -f 'utils.c' || echo './'`utils.c utils.c: In function 'retrieve_rand_ipv4_addr': utils.c:95:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(ip, "%s.%d", ip, oct); ^~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:97:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(ip, "%d", oct); ^~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c: In function 'retrieve_rand_ethernet_addr': utils.c:117:20: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(eaddr, "%s:%0x", eaddr, oct); ^~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:119:20: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(eaddr, "%0x", oct); ^~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c: In function 'print_separator': utils.c:140:15: warning: pointer targets in passing argument 1 of 'vsnprintf' differ in signedness [-Wpointer-sign] vsnprintf(msg, 256, msgp, va); ^~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:74:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (vsnprintf (char *__restrict __s, size_t __n, ^ utils.c:140:25: warning: pointer targets in passing argument 3 of 'vsnprintf' differ in signedness [-Wpointer-sign] vsnprintf(msg, 256, msgp, va); ^~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:74:1: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (vsnprintf (char *__restrict __s, size_t __n, ^ utils.c:142:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] msg_len = strlen(msg); ^~~ In file included from /usr/include/libnet.h:63:0, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ utils.c: In function 'retrieve_icmp_code': utils.c:174:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "Network"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:178:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "Host"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:182:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "Protocol"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:186:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "Port"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:190:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "Need Fragment"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:194:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "Source Fail"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:198:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "Network Unknown"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:202:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "Host Unknown"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:206:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "Isolated"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:210:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "Network Prohibited"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:214:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "Host Prohibited"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:218:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "ToS Network"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:222:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "ToS Host"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:226:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "Filter Prohibited"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:230:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "Host Precedence"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:234:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "Precedence Cutoff"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:238:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "Unknown"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:248:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "Network"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:252:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "Host"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:256:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "ToS Net"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:260:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "ToS Host"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:264:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "Unknown"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:274:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "In Transit"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:278:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "Reassembly"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:282:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "Unknown"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:292:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "Missing Option"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:296:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "Unknown"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:302:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_c, "Unknown"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c: In function 'retrieve_icmp_type': utils.c:323:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_t, "Echo Reply"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:327:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_t, "Unreachable"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:331:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_t, "Source Quench"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:335:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_t, "Redirect"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:339:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_t, "Echo Request"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:343:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_t, "Time Exceeded"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:347:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_t, "Param Problem"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:351:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_t, "Timestamp"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:355:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_t, "Timestamp Reply"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:359:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_t, "Info Request"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:363:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_t, "Info Reply"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:367:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_t, "Router Advertise"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:371:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_t, "Router Selection"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:375:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_t, "Address Mask Request"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:379:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_t, "Address Mask Reply"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:383:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_t, "Traceroute"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:387:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(icmp_t, "Unknown"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c: In function 'retrieve_arp_type': utils.c:408:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(arp_t, "Request"); ^~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:412:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(arp_t, "Reply"); ^~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:416:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(arp_t, "Reverse Request"); ^~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:420:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(arp_t, "Reverse Reply"); ^~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:424:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(arp_t, "Inverse Request"); ^~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:428:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(arp_t, "Inverse Reply"); ^~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:432:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(arp_t, "Unknown"); ^~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c: In function 'retrieve_arp_hw_type': utils.c:457:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(hw_t, "Net/ROM Pseudo"); ^~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:461:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(hw_t, "Ethernet 10/100"); ^~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:465:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(hw_t, "Experimental Ethernet"); ^~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:469:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(hw_t, "AX.25 Level 2"); ^~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:473:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(hw_t, "ProNet Token Ring"); ^~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:477:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(hw_t, "IEEE 802.2 Ethernet"); ^~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:481:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(hw_t, "ARCNet"); ^~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:485:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(hw_t, "AppleTalk"); ^~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:489:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(hw_t, "Lanstar"); ^~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:493:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(hw_t, "Frame Relay DLCI"); ^~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:497:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(hw_t, "ATM"); ^~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:501:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(hw_t, "Metricom STRIP"); ^~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:505:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(hw_t, "IPsec Tunnel"); ^~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c: In function 'format_ethernet_addr': utils.c:551:30: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] u_int8_t *eptr, *delim = ":"; ^~~ utils.c:559:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(o_ethstr, ethstr, 18); ^~~~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/string3.h:122:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ utils.c:566:23: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] for(eptr = strtok(o_ethstr, delim); ^~~~~~~~ In file included from /usr/include/libnet.h:63:0, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ utils.c:566:33: warning: pointer targets in passing argument 2 of 'strtok' differ in signedness [-Wpointer-sign] for(eptr = strtok(o_ethstr, delim); ^~~~~ In file included from /usr/include/libnet.h:63:0, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/string.h:343:14: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ utils.c:566:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for(eptr = strtok(o_ethstr, delim); ^ utils.c:568:30: warning: pointer targets in passing argument 2 of 'strtok' differ in signedness [-Wpointer-sign] eptr = strtok(NULL, delim)) ^~~~~ In file included from /usr/include/libnet.h:63:0, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/string.h:343:14: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ utils.c:568:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] eptr = strtok(NULL, delim)) ^ utils.c:570:29: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] if((base16 = strtol(eptr, 0, 16)) > 0xff) ^~~~ In file included from /usr/include/libnet.h:67:0, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/stdlib.h:145:17: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' extern long int strtol (const char *__restrict __nptr, ^~~~~~ utils.c:580:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ethstr = o_ethstr; ^ utils.c: In function 'parse_port_range': utils.c:588:45: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] u_int8_t o_rangestr[11], *ptr, *delim = "-"; ^~~ utils.c:597:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(o_rangestr, rangestr, 11); ^~~~~~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/string3.h:122:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ utils.c:597:29: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(o_rangestr, rangestr, 11); ^~~~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/string3.h:122:1: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ utils.c:599:29: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] for(i = 0, ptr = strtok(o_rangestr, delim); ^~~~~~~~~~ In file included from /usr/include/libnet.h:63:0, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ utils.c:599:41: warning: pointer targets in passing argument 2 of 'strtok' differ in signedness [-Wpointer-sign] for(i = 0, ptr = strtok(o_rangestr, delim); ^~~~~ In file included from /usr/include/libnet.h:63:0, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/string.h:343:14: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ utils.c:599:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for(i = 0, ptr = strtok(o_rangestr, delim); ^ utils.c:601:28: warning: pointer targets in passing argument 2 of 'strtok' differ in signedness [-Wpointer-sign] ptr = strtok(NULL, delim)) ^~~~~ In file included from /usr/include/libnet.h:63:0, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/string.h:343:14: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ utils.c:601:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr = strtok(NULL, delim)) ^ utils.c:603:31: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] spread[i] = (int)atoi(ptr); ^~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/stdlib.h:255:1: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (atoi (const char *__nptr)) ^ utils.c: In function 'generate_padding': utils.c:645:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(string, "%c", c); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:647:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(string, "%s%c", string, c); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c: In function 'format_hex_payload': utils.c:659:23: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] u_int8_t *delim = " "; ^~~ utils.c:668:13: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(pl, string, 65535); ^~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/string3.h:122:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ utils.c:668:17: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(pl, string, 65535); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/string3.h:122:1: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ utils.c:671:29: warning: argument to 'sizeof' in 'memset' call is the same pointer type 'u_int8_t * {aka unsigned char *}' as the destination; expected 'u_int8_t {aka unsigned char}' or an explicit length [-Wsizeof-pointer-memaccess] memset(string, 0, sizeof(u_int8_t *)); ^ utils.c:677:20: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] for(i = strtok(pl+3, delim); ^~ In file included from /usr/include/libnet.h:63:0, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ utils.c:677:26: warning: pointer targets in passing argument 2 of 'strtok' differ in signedness [-Wpointer-sign] for(i = strtok(pl+3, delim); ^~~~~ In file included from /usr/include/libnet.h:63:0, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/string.h:343:14: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ utils.c:677:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for(i = strtok(pl+3, delim); ^ utils.c:679:26: warning: pointer targets in passing argument 2 of 'strtok' differ in signedness [-Wpointer-sign] i = strtok(NULL, delim)) ^~~~~ In file included from /usr/include/libnet.h:63:0, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/string.h:343:14: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ utils.c:679:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] i = strtok(NULL, delim)) ^ utils.c:681:24: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] if((c = strtol(i, 0, 16)) > 0xff) ^ In file included from /usr/include/libnet.h:67:0, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/stdlib.h:145:17: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' extern long int strtol (const char *__restrict __nptr, ^~~~~~ utils.c:684:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(tchar,"%c",(u_int8_t)c); ^~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utils.c:685:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(string+len,tchar,2); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/string3.h:122:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ utils.c:685:28: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(string+len,tchar,2); ^~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: /usr/include/bits/string3.h:122:1: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ In file included from /usr/include/stdio.h:939:0, from /usr/include/libnet.h:62, from globals.h:31, from utils.h:26, from utils.c:23: In function 'vsnprintf', inlined from 'print_separator' at utils.c:140:5: /usr/include/bits/stdio2.h:77:10: warning: call to __builtin___vsnprintf_chk will always overflow destination buffer return __builtin___vsnprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __ap); ~~~~~~~~~~~~~~~~~~~~~~~~~ source='stats.c' object='stats.o' libtool=no \ depfile='.deps/stats.Po' tmpdepfile='.deps/stats.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -c `test -f 'stats.c' || echo './'`stats.c stats.c: In function 'injection_stats': stats.c:39:31: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign] print_separator(1, 1, "Trace Route Statistics"); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from globals.h:42:0, from stats.h:26, from stats.c:23: utils.h:31:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void print_separator(int, int, u_int8_t *, ...); ^~~~~~~~~~~~~~~ stats.c:41:67: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign] print_separator((p_mode == M_INJECT_RESPONSE) ? 1 : 2, 1, "Packet Injection Statistics"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from globals.h:42:0, from stats.h:26, from stats.c:23: utils.h:31:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void print_separator(int, int, u_int8_t *, ...); ^~~~~~~~~~~~~~~ stats.c: In function 'capture_stats': stats.c:91:27: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign] print_separator(0, 1, "Packet Capture Statistics"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from globals.h:42:0, from stats.h:26, from stats.c:23: utils.h:31:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void print_separator(int, int, u_int8_t *, ...); ^~~~~~~~~~~~~~~ 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 \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -c -o pcap_setnonblock.o `test -f 'contrib/pcap_setnonblock.c' || echo './'`contrib/pcap_setnonblock.c source='usage.c' object='usage.o' libtool=no \ depfile='.deps/usage.Po' tmpdepfile='.deps/usage.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -c `test -f 'usage.c' || echo './'`usage.c source='exit.c' object='exit.o' libtool=no \ depfile='.deps/exit.Po' tmpdepfile='.deps/exit.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -c `test -f 'exit.c' || echo './'`exit.c exit.c: In function 'injection_clean_exit': exit.c:39:19: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] fgets(a, 16, stdin); ^ In file included from /usr/include/stdio.h:939:0, from /usr/include/libnet.h:62, from globals.h:31, from exit.h:26, from exit.c:23: /usr/include/bits/stdio2.h:253:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ exit.c:41:29: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if(!strncasecmp(a, "Y", 1)) ^ In file included from /usr/include/libnet.h:63:0, from globals.h:31, from exit.h:26, from exit.c:23: /usr/include/string.h:537:12: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~~~~~ exit.c:44:29: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] if(!strncasecmp(a, "N", 1)) ^ In file included from /usr/include/libnet.h:63:0, from globals.h:31, from exit.h:26, from exit.c:23: /usr/include/string.h:537:12: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~~~~~ exit.c:39:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(a, 16, stdin); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:939:0, from /usr/include/libnet.h:62, from globals.h:31, from exit.h:26, from exit.c:23: In function 'fgets', inlined from 'injection_clean_exit' at exit.c:39:13: /usr/include/bits/stdio2.h:261:9: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source='main.c' object='main.o' libtool=no \ depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -c `test -f 'main.c' || echo './'`main.c main.c: In function 'parse_capture_options': main.c:58:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(!(device = strdup(optarg))) ^ main.c:59:19: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Memory unavailable for: %s", optarg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from main.h:37, from main.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ main.c:89:18: warning: pointer targets in passing argument 1 of 'capture_init' differ in signedness [-Wpointer-sign] capture_init(argv[optind], cnt); ^~~~ In file included from injection.h:28:0, from main.h:40, from main.c:23: capture.h:31:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void capture_init(u_int8_t *, u_int64_t); ^~~~~~~~~~~~ main.c: In function 'parse_inject_options': main.c:103:35: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] if(getuid() != 0) fatal_error("Sorry, you're not root!"); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from main.h:37, from main.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ main.c:122:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] opts = "a:b:c:d:D:e:E:fF:hH:i:n:p:q:Rs:S:T:o:u:vw:W:Z:"; ^ main.c:132:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] opts = "b:c:d:D:e:E:fhH:i:n:o:p:Rs:S:T:vw:Z:"; ^ main.c:142:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] opts = "b:c:C:d:e:E:fg:G:hH:i:j:J:k:K:l:L:m:M:n:N:o:O:p:P:Q:Rs:t:T:U:vw:z:Z:"; ^ main.c:148:37: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("ARP is not supported with trace mode."); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from main.h:37, from main.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ main.c:158:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] opts = "A:b:c:e:E:i:p:Rs:S:vx:X:y:Y:"; ^ main.c:164:37: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("RAW is not supported with trace mode."); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from main.h:37, from main.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ main.c:170:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] opts = "b:c:d:e:E:f:i:n:o:p:Rs:T:U:vV:w:Z:"; ^ main.c:186:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] opts = "b:c:C:d:e:E:fg:G:hH:i:j:J:k:K:l:L:m:M:n:N:o:O:p:P:Q:Rs:t:T:U:vw:z:Z:"; ^ main.c:191:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] opts = "a:b:c:d:D:e:E:fF:hH:i:n:p:q:Rs:S:T:o:u:vw:W:Z:"; ^ main.c:205:37: warning: pointer targets in passing argument 3 of 'getopt' differ in signedness [-Wpointer-sign] while((opt = getopt(argc, argv, opts)) != -1) ^~~~ In file included from /usr/include/unistd.h:873:0, from /usr/include/libnet.h:64, from main.h:26, from main.c:23: /usr/include/getopt.h:150:12: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) ^~~~~~ main.c:223:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Count cannot exceed max TTL value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from main.h:37, from main.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ main.c:236:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(!(ip4hdr_o.d_addr = strdup(optarg))) ^ main.c:237:19: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Memory unavailable for: %s", optarg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from main.h:37, from main.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ main.c:245:31: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(!(s_d_port = strdup(optarg)) && !rand_d_port) ^ main.c:246:19: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Memory unavailable for: %s", optarg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from main.h:37, from main.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ main.c:258:28: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(!(ehdr_o.s_addr = strdup(optarg))) ^ main.c:259:19: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Memory unavailable for: %s", optarg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from main.h:37, from main.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ main.c:273:36: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(!(ehdr_o.d_addr = strdup(optarg))) ^ main.c:274:19: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Memory unavailable for: %s", optarg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from main.h:37, from main.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ main.c:309:33: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(!(i4hdr_o.gw = strdup(optarg))) ^ main.c:310:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Memory unavailable for: %s", optarg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from main.h:37, from main.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ main.c:315:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(!(i4hdr_o.mask = strdup(optarg))) ^ main.c:316:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Memory unavailable for: %s", optarg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from main.h:37, from main.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ main.c:331:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(!(device = strdup(optarg))) ^ main.c:332:19: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Memory unavailable for: %s", optarg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from main.h:37, from main.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ main.c:340:42: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(!(i4hdr_o.orig_s_addr = strdup(optarg))) ^ main.c:341:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Memory unavailable for: %s", optarg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from main.h:37, from main.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ main.c:365:42: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(!(i4hdr_o.orig_d_addr = strdup(optarg))) ^ main.c:366:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Memory unavailable for: %s", optarg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from main.h:37, from main.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ main.c:413:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(!(payload = strdup(optarg))) ^ main.c:414:19: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Memory unavailable for: %s", optarg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from main.h:37, from main.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ main.c:428:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Unknown ICMP original protocol: %s", optarg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from main.h:37, from main.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ main.c:452:38: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(!(ip4hdr_o.s_addr = strdup(optarg))) ^ main.c:453:19: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Memory unavailable for: %s", optarg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from main.h:37, from main.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ main.c:468:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Invalid TTL value: %s", optarg); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from main.h:37, from main.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ main.c:505:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(!(ahdr_o.s_paddr = strdup(optarg))) ^ main.c:506:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Memory unavailable for: %s", optarg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from main.h:37, from main.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ main.c:514:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(!(ahdr_o.s_eaddr = strdup(optarg))) ^ main.c:515:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Memory unavailable for: %s", optarg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from main.h:37, from main.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ main.c:523:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(!(ahdr_o.r_paddr = strdup(optarg))) ^ main.c:524:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Memory unavailable for: %s", optarg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from main.h:37, from main.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(u_int8_t *,...); ^~~~~~~~~~~ main.c:532:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(!(ahdr_o.r_eaddr = strdup(optarg))) ^ main.c:533:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign] fatal_error("Memory unavailable for: %s", optarg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from usage.h:29:0, from globals.h:43, from main.h:37, from main.c:23: error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void fatal_error(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 \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -c `test -f 'print_ts.c' || echo './'`print_ts.c 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 \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -c `test -f 'print_arp_hdr.c' || echo './'`print_arp_hdr.c 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 \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -c `test -f 'print_tcp_hdr.c' || echo './'`print_tcp_hdr.c print_tcp_hdr.c: In function 'print_tcp_hdr': print_tcp_hdr.c:47:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(flags, "U"); ^~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from print_tcp_hdr.h:26, from print_tcp_hdr.c:23: /usr/include/bits/string3.h:145:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ print_tcp_hdr.c:50:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(flags, "A"); ^~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from print_tcp_hdr.h:26, from print_tcp_hdr.c:23: /usr/include/bits/string3.h:145:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ print_tcp_hdr.c:53:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(flags, "P"); ^~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from print_tcp_hdr.h:26, from print_tcp_hdr.c:23: /usr/include/bits/string3.h:145:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ print_tcp_hdr.c:56:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(flags, "R"); ^~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from print_tcp_hdr.h:26, from print_tcp_hdr.c:23: /usr/include/bits/string3.h:145:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ print_tcp_hdr.c:59:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(flags, "S"); ^~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from print_tcp_hdr.h:26, from print_tcp_hdr.c:23: /usr/include/bits/string3.h:145:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ print_tcp_hdr.c:62:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(flags, "F"); ^~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from print_tcp_hdr.h:26, from print_tcp_hdr.c:23: /usr/include/bits/string3.h:145:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ print_tcp_hdr.c:64:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(strlen(flags) == 0) ^~~~~ In file included from /usr/include/libnet.h:63:0, from globals.h:31, from print_tcp_hdr.h:26, from print_tcp_hdr.c:23: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ print_tcp_hdr.c:65:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(flags, "None"); ^~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from print_tcp_hdr.h:26, from print_tcp_hdr.c:23: /usr/include/bits/string3.h:107:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ 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 \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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 \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -c `test -f 'print_icmpv4_hdr.c' || echo './'`print_icmpv4_hdr.c print_icmpv4_hdr.c: In function 'print_icmpv4_hdr': print_icmpv4_hdr.c:60:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s_addr = libnet_addr2name4(icmp_iphdr.ip_src.s_addr, 0); ^ print_icmpv4_hdr.c:61:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d_addr = libnet_addr2name4(icmp_iphdr.ip_dst.s_addr, 0); ^ print_icmpv4_hdr.c:86:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s_addr = libnet_addr2name4(icmp_iphdr.ip_src.s_addr, 0); ^ print_icmpv4_hdr.c:87:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d_addr = libnet_addr2name4(icmp_iphdr.ip_dst.s_addr, 0); ^ print_icmpv4_hdr.c:109:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s_addr = libnet_addr2name4(icmp_iphdr.ip_src.s_addr, 0); ^ print_icmpv4_hdr.c:110:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d_addr = libnet_addr2name4(icmp_iphdr.ip_dst.s_addr, 0); ^ 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 \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -c `test -f 'print_ipv4_hdr.c' || echo './'`print_ipv4_hdr.c print_ipv4_hdr.c: In function 'print_ipv4_hdr': print_ipv4_hdr.c:42:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s_addr = libnet_addr2name4(iphdr->ip_src.s_addr, ((resolve == 1 || resolve == 3) ? 1 : 0)); ^ print_ipv4_hdr.c:43:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d_addr = libnet_addr2name4(iphdr->ip_dst.s_addr, ((resolve == 1 || resolve == 3) ? 1 : 0)); ^ 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 \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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 \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -c `test -f 'print_pktdump.c' || echo './'`print_pktdump.c 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 \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -c `test -f 'print_capture.c' || echo './'`print_capture.c print_capture.c: In function 'print_capture': print_capture.c:47:39: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign] print_separator(1, 2, "PID %lld", (u_int64_t)cap_cnt + 1); ^~~~~~~~~~ In file included from globals.h:42:0, from print_capture.h:26, from print_capture.c:23: utils.h:31:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void print_separator(int, int, u_int8_t *, ...); ^~~~~~~~~~~~~~~ print_capture.c:50:39: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign] print_separator(1, 2, "RCV %lld", (u_int64_t)inj_cnt); ^~~~~~~~~~ In file included from globals.h:42:0, from print_capture.h:26, from print_capture.c:23: utils.h:31:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void print_separator(int, int, u_int8_t *, ...); ^~~~~~~~~~~~~~~ print_capture.c:106:39: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign] print_separator(1, 2, "PID %lld", (u_int64_t)cap_cnt + 1); ^~~~~~~~~~ In file included from globals.h:42:0, from print_capture.h:26, from print_capture.c:23: utils.h:31:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void print_separator(int, int, u_int8_t *, ...); ^~~~~~~~~~~~~~~ print_capture.c:109:39: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign] print_separator(1, 2, "RCV %lld", (u_int64_t)inj_cnt); ^~~~~~~~~~ In file included from globals.h:42:0, from print_capture.h:26, from print_capture.c:23: utils.h:31:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *' void print_separator(int, int, u_int8_t *, ...); ^~~~~~~~~~~~~~~ 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 \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -c `test -f 'print_injection.c' || echo './'`print_injection.c print_injection.c: In function 'print_injection_details': print_injection.c:44:24: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(thdr_o.flags, "S"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from print_injection.h:26, from print_injection.c:23: /usr/include/bits/string3.h:145:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ print_injection.c:47:24: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(thdr_o.flags, "A"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from print_injection.h:26, from print_injection.c:23: /usr/include/bits/string3.h:145:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ print_injection.c:50:24: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(thdr_o.flags, "F"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from print_injection.h:26, from print_injection.c:23: /usr/include/bits/string3.h:145:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ print_injection.c:53:24: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(thdr_o.flags, "R"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from print_injection.h:26, from print_injection.c:23: /usr/include/bits/string3.h:145:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ print_injection.c:56:24: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(thdr_o.flags, "P"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from print_injection.h:26, from print_injection.c:23: /usr/include/bits/string3.h:145:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ print_injection.c:59:24: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(thdr_o.flags, "U"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from print_injection.h:26, from print_injection.c:23: /usr/include/bits/string3.h:145:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ print_injection.c:61:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(strlen(thdr_o.flags) < 1) ^~~~~~ In file included from /usr/include/libnet.h:63:0, from globals.h:31, from print_injection.h:26, from print_injection.c:23: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ print_injection.c:62:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(thdr_o.flags, "None"); ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:62, from globals.h:31, from print_injection.h:26, from print_injection.c:23: /usr/include/bits/string3.h:107:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -Wl,-O1,--sort-common,--as-needed,-z,relro -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 strip packit cp packit .. make[2]: Leaving directory '/build/packit/src/packit-1.0/src' Making all in man make[2]: Entering directory '/build/packit/src/packit-1.0/man' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/packit/src/packit-1.0/man' make[2]: Entering directory '/build/packit/src/packit-1.0' make[2]: Leaving directory '/build/packit/src/packit-1.0' make[1]: Leaving directory '/build/packit/src/packit-1.0' ==> Entering fakeroot environment... ==> Starting package()... Making install in src make[1]: Entering directory '/build/packit/src/packit-1.0/src' make[2]: Entering directory '/build/packit/src/packit-1.0/src' /bin/sh ../mkinstalldirs /build/packit/pkg/packit/usr/sbin mkdir -p -- /build/packit/pkg/packit/usr/sbin /usr/bin/install -c packit /build/packit/pkg/packit/usr/sbin/packit make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/build/packit/src/packit-1.0/src' make[1]: Leaving directory '/build/packit/src/packit-1.0/src' Making install in man make[1]: Entering directory '/build/packit/src/packit-1.0/man' make[2]: Entering directory '/build/packit/src/packit-1.0/man' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../mkinstalldirs /build/packit/pkg/packit/usr/share/man/man8 mkdir -p -- /build/packit/pkg/packit/usr/share/man/man8 /usr/bin/install -c -m 644 ./packit.8 /build/packit/pkg/packit/usr/share/man/man8/packit.8 make[2]: Leaving directory '/build/packit/src/packit-1.0/man' make[1]: Leaving directory '/build/packit/src/packit-1.0/man' make[1]: Entering directory '/build/packit/src/packit-1.0' make[2]: Entering directory '/build/packit/src/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 '/build/packit/src/packit-1.0' make[1]: Leaving directory '/build/packit/src/packit-1.0' ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issue... ==> Creating package "packit"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... error: invalid option '--noprogressbar' -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: packit 1.0-2 (Fri Mar 24 00:23:47 EDT 2017) ==> Cleaning up... ==> Removing installed dependencies... checking dependencies... :: glib2 optionally requires libelf: gresource inspection tool Packages (14) dbus-1.10.16-1 hwids-20161103-1 iptables-1.6.0-1 kbd-2.0.4-1 kmod-24-1 libelf-0.168-1 libmnl-1.0.4-1 libnet-1.1.6-2 libnftnl-1.0.7-1 libnl-3.2.29-2 libpcap-1.8.1-2 libseccomp-2.3.2-1 libusb-1.0.21-1 systemd-232-8 Total Removed Size: 29.02 MiB :: Do you want to remove these packages? [Y/n] :: Processing package changes... removing libpcap... removing libusb... removing systemd... removing libseccomp... removing libnl... removing libnet... removing libelf... removing kmod... removing kbd... removing iptables... removing libnftnl... removing libmnl... removing hwids... removing dbus...