Raspbian Package Auto-Building

Build log for packit (1.0-3) on armhf

packit1.0-3armhf → 2015-12-21 07:47:48

sbuild (Debian sbuild) 0.65.2 (24 Mar 2015) on bm-wb-02

╔══════════════════════════════════════════════════════════════════════════════╗
║ packit 1.0-3 (armhf)                                       21 Dec 2015 07:40 ║
╚══════════════════════════════════════════════════════════════════════════════╝

Package: packit
Version: 1.0-3
Source Version: 1.0-3
Distribution: stretch-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'build/packit-whK1lB/packit-1.0' with '«PKGBUILDDIR»'
I: NOTICE: Log filtering will replace 'build/packit-whK1lB' with '«BUILDDIR»'
I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/stretch-staging-armhf-sbuild-fe1f9889-16a9-40b0-9c51-db2046e5692e' with '«CHROOT»'

┌──────────────────────────────────────────────────────────────────────────────┐
│ Update chroot                                                                │
└──────────────────────────────────────────────────────────────────────────────┘

Get:1 http://172.17.0.1/private stretch-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1/private stretch-staging/main Sources [8552 kB]
Get:3 http://172.17.0.1/private stretch-staging/main armhf Packages [10.5 MB]
Fetched 19.1 MB in 20s (930 kB/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges

┌──────────────────────────────────────────────────────────────────────────────┐
│ Fetch source files                                                           │
└──────────────────────────────────────────────────────────────────────────────┘


Check APT
─────────

Checking available source versions...

Download source files with APT
──────────────────────────────

Reading package lists...
Building dependency tree...
Reading state information...
NOTICE: 'packit' packaging is maintained in the 'Git' version control system at:
git://anonscm.debian.org/collab-maint/packit.git
Please use:
git clone git://anonscm.debian.org/collab-maint/packit.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 150 kB of source archives.
Get:1 http://172.17.0.1/private stretch-staging/main packit 1.0-3 (dsc) [1899 B]
Get:2 http://172.17.0.1/private stretch-staging/main packit 1.0-3 (tar) [138 kB]
Get:3 http://172.17.0.1/private stretch-staging/main packit 1.0-3 (diff) [9288 B]
Fetched 150 kB in 0s (2274 kB/s)
Download complete and in download only mode

Check architectures
───────────────────


Check dependencies
──────────────────

Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/«BUILDDIR»/resolver-Lw6smn/apt_archive/sbuild-build-depends-core-dummy.deb'.
OK
Get:1 file:/«BUILDDIR»/resolver-Lw6smn/apt_archive ./ InRelease
Ign:1 file:/«BUILDDIR»/resolver-Lw6smn/apt_archive ./ InRelease
Get:2 file:/«BUILDDIR»/resolver-Lw6smn/apt_archive ./ Release [2119 B]
Get:2 file:/«BUILDDIR»/resolver-Lw6smn/apt_archive ./ Release [2119 B]
Get:3 file:/«BUILDDIR»/resolver-Lw6smn/apt_archive ./ Release.gpg [299 B]
Get:3 file:/«BUILDDIR»/resolver-Lw6smn/apt_archive ./ Release.gpg [299 B]
Get:4 file:/«BUILDDIR»/resolver-Lw6smn/apt_archive ./ Sources [188 B]
Get:5 file:/«BUILDDIR»/resolver-Lw6smn/apt_archive ./ Packages [507 B]
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

┌──────────────────────────────────────────────────────────────────────────────┐
│ Install core build dependencies (apt-based resolver)                         │
└──────────────────────────────────────────────────────────────────────────────┘

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  libapt-pkg4.16 libisl13
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
Need to get 0 B/768 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 file:/«BUILDDIR»/resolver-Lw6smn/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [768 B]
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 13123 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...
W: No sandbox user '_apt' on the system, can not drop privileges
Merged Build-Depends: libc6-dev | libc-dev, gcc (>= 4:4.9.1), g++ (>= 4:4.9.1), make, dpkg-dev (>= 1.17.11), debhelper (>= 9), dh-autoreconf, libnet1-dev, libpcap0.8-dev
Filtered Build-Depends: libc6-dev, gcc (>= 4:4.9.1), g++ (>= 4:4.9.1), make, dpkg-dev (>= 1.17.11), debhelper (>= 9), dh-autoreconf, libnet1-dev, libpcap0.8-dev
dpkg-deb: building package 'sbuild-build-depends-packit-dummy' in '/«BUILDDIR»/resolver-34NEC_/apt_archive/sbuild-build-depends-packit-dummy.deb'.
OK
Get:1 file:/«BUILDDIR»/resolver-34NEC_/apt_archive ./ InRelease
Ign:1 file:/«BUILDDIR»/resolver-34NEC_/apt_archive ./ InRelease
Get:2 file:/«BUILDDIR»/resolver-34NEC_/apt_archive ./ Release [2119 B]
Get:2 file:/«BUILDDIR»/resolver-34NEC_/apt_archive ./ Release [2119 B]
Get:3 file:/«BUILDDIR»/resolver-34NEC_/apt_archive ./ Release.gpg [299 B]
Get:3 file:/«BUILDDIR»/resolver-34NEC_/apt_archive ./ Release.gpg [299 B]
Get:4 file:/«BUILDDIR»/resolver-34NEC_/apt_archive ./ Sources [314 B]
Get:5 file:/«BUILDDIR»/resolver-34NEC_/apt_archive ./ Packages [570 B]
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

┌──────────────────────────────────────────────────────────────────────────────┐
│ Install packit build dependencies (apt-based resolver)                       │
└──────────────────────────────────────────────────────────────────────────────┘

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  libapt-pkg4.16 libisl13
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev bsdmainutils debhelper
  dh-autoreconf dh-strip-nondeterminism file gettext gettext-base groff-base
  intltool-debian libarchive-zip-perl libcroco3 libffi6
  libfile-stripnondeterminism-perl libglib2.0-0 libicu55 libmagic1 libnet1
  libnet1-dev libpcap0.8 libpcap0.8-dev libpipeline1 libsigsegv2 libtool
  libunistring0 libxml2 m4 man-db po-debconf
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois
  vacation dh-make gettext-doc libasprintf-dev libgettextpo-dev groff
  libtool-doc gfortran | fortran95-compiler gcj-jdk less www-browser
  libmail-box-perl
Recommended packages:
  curl | wget | lynx-cur libglib2.0-data shared-mime-info xdg-user-dirs
  libltdl-dev xml-core libmail-sendmail-perl
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev bsdmainutils debhelper
  dh-autoreconf dh-strip-nondeterminism file gettext gettext-base groff-base
  intltool-debian libarchive-zip-perl libcroco3 libffi6
  libfile-stripnondeterminism-perl libglib2.0-0 libicu55 libmagic1 libnet1
  libnet1-dev libpcap0.8 libpcap0.8-dev libpipeline1 libsigsegv2 libtool
  libunistring0 libxml2 m4 man-db po-debconf sbuild-build-depends-packit-dummy
0 upgraded, 33 newly installed, 0 to remove and 9 not upgraded.
Need to get 18.9 MB/18.9 MB of archives.
After this operation, 64.3 MB of additional disk space will be used.
Get:1 http://172.17.0.1/private stretch-staging/main armhf groff-base armhf 1.22.3-4 [1084 kB]
Get:2 file:/«BUILDDIR»/resolver-34NEC_/apt_archive ./ sbuild-build-depends-packit-dummy 0.invalid.0 [836 B]
Get:3 http://172.17.0.1/private stretch-staging/main armhf bsdmainutils armhf 9.0.6 [177 kB]
Get:4 http://172.17.0.1/private stretch-staging/main armhf libpipeline1 armhf 1.4.1-1 [23.9 kB]
Get:5 http://172.17.0.1/private stretch-staging/main armhf man-db armhf 2.7.5-1 [975 kB]
Get:6 http://172.17.0.1/private stretch-staging/main armhf libnet1 armhf 1.1.6+dfsg-3 [53.8 kB]
Get:7 http://172.17.0.1/private stretch-staging/main armhf libsigsegv2 armhf 2.10-4 [28.2 kB]
Get:8 http://172.17.0.1/private stretch-staging/main armhf libunistring0 armhf 0.9.3-5.2 [253 kB]
Get:9 http://172.17.0.1/private stretch-staging/main armhf libmagic1 armhf 1:5.25-2 [250 kB]
Get:10 http://172.17.0.1/private stretch-staging/main armhf file armhf 1:5.25-2 [61.2 kB]
Get:11 http://172.17.0.1/private stretch-staging/main armhf gettext-base armhf 0.19.6-1 [119 kB]
Get:12 http://172.17.0.1/private stretch-staging/main armhf libicu55 armhf 55.1-6 [7379 kB]
Get:13 http://172.17.0.1/private stretch-staging/main armhf libxml2 armhf 2.9.3+dfsg1-1 [800 kB]
Get:14 http://172.17.0.1/private stretch-staging/main armhf m4 armhf 1.4.17-4 [238 kB]
Get:15 http://172.17.0.1/private stretch-staging/main armhf autoconf all 2.69-9 [338 kB]
Get:16 http://172.17.0.1/private stretch-staging/main armhf autotools-dev all 20150820.1 [71.7 kB]
Get:17 http://172.17.0.1/private stretch-staging/main armhf automake all 1:1.15-3 [735 kB]
Get:18 http://172.17.0.1/private stretch-staging/main armhf autopoint all 0.19.6-1 [429 kB]
Get:19 http://172.17.0.1/private stretch-staging/main armhf libffi6 armhf 3.2.1-4 [18.5 kB]
Get:20 http://172.17.0.1/private stretch-staging/main armhf libglib2.0-0 armhf 2.46.2-1 [2482 kB]
Get:21 http://172.17.0.1/private stretch-staging/main armhf libcroco3 armhf 0.6.9-1 [129 kB]
Get:22 http://172.17.0.1/private stretch-staging/main armhf gettext armhf 0.19.6-1 [1393 kB]
Get:23 http://172.17.0.1/private stretch-staging/main armhf intltool-debian all 0.35.0+20060710.4 [26.3 kB]
Get:24 http://172.17.0.1/private stretch-staging/main armhf po-debconf all 1.0.18 [248 kB]
Get:25 http://172.17.0.1/private stretch-staging/main armhf libarchive-zip-perl all 1.55-1 [97.4 kB]
Get:26 http://172.17.0.1/private stretch-staging/main armhf libfile-stripnondeterminism-perl all 0.014-1 [10.6 kB]
Get:27 http://172.17.0.1/private stretch-staging/main armhf dh-strip-nondeterminism all 0.014-1 [7472 B]
Get:28 http://172.17.0.1/private stretch-staging/main armhf debhelper all 9.20151126 [830 kB]
Get:29 http://172.17.0.1/private stretch-staging/main armhf libtool all 2.4.2-1.11 [190 kB]
Get:30 http://172.17.0.1/private stretch-staging/main armhf dh-autoreconf all 10 [15.2 kB]
Get:31 http://172.17.0.1/private stretch-staging/main armhf libnet1-dev armhf 1.1.6+dfsg-3 [111 kB]
Get:32 http://172.17.0.1/private stretch-staging/main armhf libpcap0.8 armhf 1.7.4-2 [124 kB]
Get:33 http://172.17.0.1/private stretch-staging/main armhf libpcap0.8-dev armhf 1.7.4-2 [217 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 18.9 MB in 1s (10.7 MB/s)
Selecting previously unselected package groff-base.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 13123 files and directories currently installed.)
Preparing to unpack .../groff-base_1.22.3-4_armhf.deb ...
Unpacking groff-base (1.22.3-4) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../bsdmainutils_9.0.6_armhf.deb ...
Unpacking bsdmainutils (9.0.6) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../libpipeline1_1.4.1-1_armhf.deb ...
Unpacking libpipeline1:armhf (1.4.1-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../man-db_2.7.5-1_armhf.deb ...
Unpacking man-db (2.7.5-1) ...
Selecting previously unselected package libnet1:armhf.
Preparing to unpack .../libnet1_1.1.6+dfsg-3_armhf.deb ...
Unpacking libnet1:armhf (1.1.6+dfsg-3) ...
Selecting previously unselected package libsigsegv2:armhf.
Preparing to unpack .../libsigsegv2_2.10-4_armhf.deb ...
Unpacking libsigsegv2:armhf (2.10-4) ...
Selecting previously unselected package libunistring0:armhf.
Preparing to unpack .../libunistring0_0.9.3-5.2_armhf.deb ...
Unpacking libunistring0:armhf (0.9.3-5.2) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../libmagic1_1%3a5.25-2_armhf.deb ...
Unpacking libmagic1:armhf (1:5.25-2) ...
Selecting previously unselected package file.
Preparing to unpack .../file_1%3a5.25-2_armhf.deb ...
Unpacking file (1:5.25-2) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../gettext-base_0.19.6-1_armhf.deb ...
Unpacking gettext-base (0.19.6-1) ...
Selecting previously unselected package libicu55:armhf.
Preparing to unpack .../libicu55_55.1-6_armhf.deb ...
Unpacking libicu55:armhf (55.1-6) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../libxml2_2.9.3+dfsg1-1_armhf.deb ...
Unpacking libxml2:armhf (2.9.3+dfsg1-1) ...
Selecting previously unselected package m4.
Preparing to unpack .../archives/m4_1.4.17-4_armhf.deb ...
Unpacking m4 (1.4.17-4) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../autoconf_2.69-9_all.deb ...
Unpacking autoconf (2.69-9) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../autotools-dev_20150820.1_all.deb ...
Unpacking autotools-dev (20150820.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../automake_1%3a1.15-3_all.deb ...
Unpacking automake (1:1.15-3) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../autopoint_0.19.6-1_all.deb ...
Unpacking autopoint (0.19.6-1) ...
Selecting previously unselected package libffi6:armhf.
Preparing to unpack .../libffi6_3.2.1-4_armhf.deb ...
Unpacking libffi6:armhf (3.2.1-4) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../libglib2.0-0_2.46.2-1_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.46.2-1) ...
Selecting previously unselected package libcroco3:armhf.
Preparing to unpack .../libcroco3_0.6.9-1_armhf.deb ...
Unpacking libcroco3:armhf (0.6.9-1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../gettext_0.19.6-1_armhf.deb ...
Unpacking gettext (0.19.6-1) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../intltool-debian_0.35.0+20060710.4_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.4) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../po-debconf_1.0.18_all.deb ...
Unpacking po-debconf (1.0.18) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../libarchive-zip-perl_1.55-1_all.deb ...
Unpacking libarchive-zip-perl (1.55-1) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../libfile-stripnondeterminism-perl_0.014-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (0.014-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../dh-strip-nondeterminism_0.014-1_all.deb ...
Unpacking dh-strip-nondeterminism (0.014-1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../debhelper_9.20151126_all.deb ...
Unpacking debhelper (9.20151126) ...
Selecting previously unselected package libtool.
Preparing to unpack .../libtool_2.4.2-1.11_all.deb ...
Unpacking libtool (2.4.2-1.11) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../dh-autoreconf_10_all.deb ...
Unpacking dh-autoreconf (10) ...
Selecting previously unselected package libnet1-dev.
Preparing to unpack .../libnet1-dev_1.1.6+dfsg-3_armhf.deb ...
Unpacking libnet1-dev (1.1.6+dfsg-3) ...
Selecting previously unselected package libpcap0.8:armhf.
Preparing to unpack .../libpcap0.8_1.7.4-2_armhf.deb ...
Unpacking libpcap0.8:armhf (1.7.4-2) ...
Selecting previously unselected package libpcap0.8-dev.
Preparing to unpack .../libpcap0.8-dev_1.7.4-2_armhf.deb ...
Unpacking libpcap0.8-dev (1.7.4-2) ...
Selecting previously unselected package sbuild-build-depends-packit-dummy.
Preparing to unpack .../sbuild-build-depends-packit-dummy.deb ...
Unpacking sbuild-build-depends-packit-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.21-4) ...
Setting up groff-base (1.22.3-4) ...
Setting up bsdmainutils (9.0.6) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
Setting up libpipeline1:armhf (1.4.1-1) ...
Setting up man-db (2.7.5-1) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libnet1:armhf (1.1.6+dfsg-3) ...
Setting up libsigsegv2:armhf (2.10-4) ...
Setting up libunistring0:armhf (0.9.3-5.2) ...
Setting up libmagic1:armhf (1:5.25-2) ...
Setting up file (1:5.25-2) ...
Setting up gettext-base (0.19.6-1) ...
Setting up libicu55:armhf (55.1-6) ...
Setting up libxml2:armhf (2.9.3+dfsg1-1) ...
Setting up m4 (1.4.17-4) ...
Setting up autoconf (2.69-9) ...
Setting up autotools-dev (20150820.1) ...
Setting up automake (1:1.15-3) ...
update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode
Setting up autopoint (0.19.6-1) ...
Setting up libffi6:armhf (3.2.1-4) ...
Setting up libglib2.0-0:armhf (2.46.2-1) ...
No schema files found: doing nothing.
Setting up libcroco3:armhf (0.6.9-1) ...
Setting up gettext (0.19.6-1) ...
Setting up intltool-debian (0.35.0+20060710.4) ...
Setting up po-debconf (1.0.18) ...
Setting up libarchive-zip-perl (1.55-1) ...
Setting up libfile-stripnondeterminism-perl (0.014-1) ...
Setting up libtool (2.4.2-1.11) ...
Setting up libnet1-dev (1.1.6+dfsg-3) ...
Setting up libpcap0.8:armhf (1.7.4-2) ...
Setting up libpcap0.8-dev (1.7.4-2) ...
Setting up debhelper (9.20151126) ...
Setting up dh-autoreconf (10) ...
Setting up sbuild-build-depends-packit-dummy (0.invalid.0) ...
Setting up dh-strip-nondeterminism (0.014-1) ...
Processing triggers for libc-bin (2.21-4) ...
W: No sandbox user '_apt' on the system, can not drop privileges

┌──────────────────────────────────────────────────────────────────────────────┐
│ Build environment                                                            │
└──────────────────────────────────────────────────────────────────────────────┘

Kernel: Linux 3.19.0-trunk-armmp armhf (armv7l)
Toolchain package versions: binutils_2.25.90.20151209-1 dpkg-dev_1.18.3 g++-5_5.3.1-3+rpi1 gcc-5_5.3.1-3+rpi1 libc6-dev_2.21-4 libstdc++-4.9-dev_4.9.3-5+b1 libstdc++-5-dev_5.3.1-3+rpi1 libstdc++6_5.3.1-3+rpi1 linux-libc-dev_3.18.5-1~exp1+rpi19+stretch
Package versions: acl_2.2.52-2 adduser_3.113+nmu3 apt_1.1.4 autoconf_2.69-9 automake_1:1.15-3 autopoint_0.19.6-1 autotools-dev_20150820.1 base-files_9.4+rpi1 base-passwd_3.5.38 bash_4.3-14 binutils_2.25.90.20151209-1 bsdmainutils_9.0.6 bsdutils_1:2.27.1-1 build-essential_11.7 bzip2_1.0.6-8 coreutils_8.23-4 cpio_2.11+dfsg-4.1 cpp_4:5.2.1-4+rpi3 cpp-5_5.3.1-3+rpi1 dash_0.5.7-4 debconf_1.5.58 debfoster_2.7-2 debhelper_9.20151126 debianutils_4.5.1 dh-autoreconf_10 dh-strip-nondeterminism_0.014-1 diffutils_1:3.3-2 dmsetup_2:1.02.110-2 dpkg_1.18.3 dpkg-dev_1.18.3 e2fslibs_1.42.13-1 e2fsprogs_1.42.13-1 fakeroot_1.20.2-1 file_1:5.25-2 findutils_4.4.2-10 g++_4:5.2.1-4+rpi3 g++-5_5.3.1-3+rpi1 gcc_4:5.2.1-4+rpi3 gcc-4.6-base_4.6.4-5+rpi1 gcc-4.7-base_4.7.3-11+rpi1 gcc-4.8-base_4.8.5-1+b1 gcc-4.9-base_4.9.3-5+b1 gcc-5_5.3.1-3+rpi1 gcc-5-base_5.3.1-3+rpi1 gettext_0.19.6-1 gettext-base_0.19.6-1 gnupg_1.4.19-6 gpgv_1.4.19-6 grep_2.22-1 groff-base_1.22.3-4 gzip_1.6-4 hostname_3.16 init_1.24 init-system-helpers_1.24 initramfs-tools_0.120 initscripts_2.88dsf-59.2 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.4 klibc-utils_2.0.4-4+rpi1 kmod_21-1 libacl1_2.2.52-2 libapparmor1_2.10-2+b2 libapt-pkg4.12_1.0.9.10 libapt-pkg4.16_1.0.10.2 libapt-pkg5.0_1.1.4 libarchive-zip-perl_1.55-1 libasan1_4.9.3-5+b1 libasan2_5.3.1-3+rpi1 libatomic1_5.3.1-3+rpi1 libattr1_1:2.4.47-2 libaudit-common_1:2.4.4-4 libaudit1_1:2.4.4-4 libblkid1_2.27.1-1 libbz2-1.0_1.0.6-8 libc-bin_2.21-4 libc-dev-bin_2.21-4 libc6_2.21-4 libc6-dev_2.21-4 libcap2_1:2.24-12 libcap2-bin_1:2.24-12 libcc1-0_5.3.1-3+rpi1 libcomerr2_1.42.13-1 libcroco3_0.6.9-1 libcryptsetup4_2:1.6.6-5 libdb5.3_5.3.28-11 libdbus-1-3_1.10.6-1 libdebconfclient0_0.200 libdevmapper1.02.1_2:1.02.110-2 libdpkg-perl_1.18.3 libdrm2_2.4.65-3 libfakeroot_1.20.2-1 libfdisk1_2.27.1-1 libffi6_3.2.1-4 libfile-stripnondeterminism-perl_0.014-1 libgc1c2_1:7.4.2-7.3 libgcc-4.9-dev_4.9.3-5+b1 libgcc-5-dev_5.3.1-3+rpi1 libgcc1_1:5.3.1-3+rpi1 libgcrypt20_1.6.4-3 libgdbm3_1.8.3-13.1 libglib2.0-0_2.46.2-1 libgmp10_2:6.1.0+dfsg-2 libgomp1_5.3.1-3+rpi1 libgpg-error0_1.20-1 libicu55_55.1-6 libisl13_0.14-2 libisl15_0.15-3 libklibc_2.0.4-4+rpi1 libkmod2_21-1 liblocale-gettext-perl_1.07-1 liblzma5_5.1.1alpha+20120614-2.1 libmagic1_1:5.25-2 libmount1_2.27.1-1 libmpc3_1.0.3-1 libmpfr4_3.1.3-1 libncurses5_6.0+20151024-2 libncursesw5_6.0+20151024-2 libnet1_1.1.6+dfsg-3 libnet1-dev_1.1.6+dfsg-3 libpam-modules_1.1.8-3.1 libpam-modules-bin_1.1.8-3.1 libpam-runtime_1.1.8-3.1 libpam0g_1.1.8-3.1 libpcap0.8_1.7.4-2 libpcap0.8-dev_1.7.4-2 libpcre3_2:8.35-8 libpipeline1_1.4.1-1 libpng12-0_1.2.54-1 libprocps3_2:3.3.9-9 libprocps4_2:3.3.10-2 libreadline6_6.3-8+b3 libseccomp2_2.2.3-2 libselinux1_2.4-3 libsemanage-common_2.4-3 libsemanage1_2.4-3 libsepol1_2.4-2 libsigsegv2_2.10-4 libslang2_2.3.0-2+b1 libsmartcols1_2.27.1-1 libss2_1.42.13-1 libstdc++-4.9-dev_4.9.3-5+b1 libstdc++-5-dev_5.3.1-3+rpi1 libstdc++6_5.3.1-3+rpi1 libsystemd0_228-2 libtext-charwidth-perl_0.04-7+b4 libtext-iconv-perl_1.7-5+b5 libtext-wrapi18n-perl_0.06-7.1 libtimedate-perl_2.3000-2 libtinfo5_6.0+20151024-2 libtool_2.4.2-1.11 libubsan0_5.3.1-3+rpi1 libudev1_228-2 libunistring0_0.9.3-5.2 libusb-0.1-4_2:0.1.12-27 libustr-1.0-1_1.0.4-5 libuuid1_2.27.1-1 libxml2_2.9.3+dfsg1-1 linux-libc-dev_3.18.5-1~exp1+rpi19+stretch login_1:4.2-3.1 lsb-base_4.1+Debian13+rpi1+nmu1 m4_1.4.17-4 make_4.0-8.2 makedev_2.3.1-93 man-db_2.7.5-1 manpages_3.74-1 mawk_1.3.3-17 mount_2.27.1-1 multiarch-support_2.21-4 nano_2.4.2-1 ncurses-base_6.0+20151024-2 ncurses-bin_6.0+20151024-2 passwd_1:4.2-3.1 patch_2.7.5-1 perl_5.20.2-6 perl-base_5.20.2-6 perl-modules_5.20.2-6 po-debconf_1.0.18 procps_2:3.3.10-2 raspbian-archive-keyring_20120528.2 readline-common_6.3-8 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-packit-dummy_0.invalid.0 sed_4.2.2-6.1 sensible-utils_0.0.9 startpar_0.59-3 systemd_228-2 systemd-sysv_228-2 sysv-rc_2.88dsf-59.2 sysvinit-utils_2.88dsf-59.2 tar_1.28-2.1 tzdata_2015g-1 udev_228-2 util-linux_2.27.1-1 xz-utils_5.1.1alpha+20120614-2.1 zlib1g_1:1.2.8.dfsg-2+b1

┌──────────────────────────────────────────────────────────────────────────────┐
│ Build                                                                        │
└──────────────────────────────────────────────────────────────────────────────┘


Unpack source
─────────────

gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Tue Dec 15 23:43:21 2015 UTC using RSA key ID 04EBE9EF
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./packit_1.0-3.dsc
dpkg-source: info: extracting packit in packit-1.0
dpkg-source: info: unpacking packit_1.0.orig.tar.gz
dpkg-source: info: unpacking packit_1.0-3.debian.tar.xz
dpkg-source: info: applying 010_fix_id_field_in_manpage.patch
dpkg-source: info: applying 020_fix_header_field_in_pcap-int.h.patch
dpkg-source: info: applying 030_fix_FTBFS_pcap_h.patch
dpkg-source: info: applying 040_fix_call_to_pcap-bpf_h.patch
dpkg-source: info: applying 050_honor_nostrip.patch
dpkg-source: info: applying 060_fix_spelling_errors.patch
dpkg-source: info: applying 070_RARP_support.patch
dpkg-source: info: applying 080_off-by-one_string_error.patch
dpkg-source: info: applying 090_fix_typo_in_source_code.patch
dpkg-source: info: applying 100_fix_segfault.patch
dpkg-source: info: applying 110_remove_duplication_in_manpage_and_fix_a_path.patch
dpkg-source: info: applying 120_update_homepage.patch
dpkg-source: info: applying 130_avoid_buffer_overflow.patch

Check disc space
────────────────

Sufficient free space for build

User Environment
────────────────

DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=stretch-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=stretch-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=109
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=stretch-staging-armhf-sbuild-fe1f9889-16a9-40b0-9c51-db2046e5692e
SCHROOT_UID=104
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=linux
USER=buildd

dpkg-buildpackage
─────────────────

dpkg-buildpackage: source package packit
dpkg-buildpackage: source version 1.0-3
dpkg-buildpackage: source distribution unstable
 dpkg-source --before-build packit-1.0
dpkg-buildpackage: host architecture armhf
 fakeroot debian/rules clean
dh clean --with autoreconf
   dh_testdir
   dh_auto_clean
   dh_autoreconf_clean
   dh_clean
 debian/rules build-arch
dh build-arch --with autoreconf
   dh_testdir -a
   dh_autoreconf -a
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:31: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.in:31: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.in:124: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
configure.in:124: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/Makefile.am:61: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/Makefile.am:28: warning: source file 'contrib/pcap_setnonblock.c' is in a subdirectory,
src/Makefile.am:28: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
   dh_auto_configure -a
	./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/arm-linux-gnueabihf --libexecdir=\${prefix}/lib/arm-linux-gnueabihf --disable-maintainer-mode --disable-dependency-tracking
configure: WARNING: unrecognized options: --disable-maintainer-mode
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 a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for gcc... yes
checking build system type... arm-unknown-linux-gnueabihf
checking host system type... arm-unknown-linux-gnueabihf
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking 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 pcap-bpf.h usability... yes
checking pcap-bpf.h presence... yes
checking for pcap-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 that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating man/packit.8
config.status: creating src/version.h
config.status: creating config.h
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --disable-maintainer-mode

                  _    _ _
 _ __   __ _  ___| | _(_) |_
| '_ \ / _` |/ __| |/ / | __|
| |_) | (_| | (__|   <| | |_
| .__/ \__,_|\___|_|\_\_|\__|
|_|                       1.0

has been configured with the following options:
-----------------------------------------------
Host type             : arm-unknown-linux-gnueabihf
Compiler              : gcc
Compiler flags        : -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall
Linker flags          : -fPIE -pie -Wl,-z,relro -Wl,-z,now
Libraries             : -lpcap -lpcap -lpcap -lnet 

Binary                : /usr/bin
Manual pages          : /usr/share/man/

Injection support     : yes
Capture support       : yes
Enable debugging      : no
-----------------------------------------------

   dh_auto_build -a
	make -j1
make[1]: Entering directory '/«PKGBUILDDIR»'
make  all-recursive
make[2]: Entering directory '/«PKGBUILDDIR»'
Making all in src
make[3]: Entering directory '/«PKGBUILDDIR»/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o init.o 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;
                    ^
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o define_defaults.o 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";
              ^
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o error.o 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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from error.h:26,
                 from error.c:23:
/usr/include/arm-linux-gnueabihf/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,
 ^
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o injection.o 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:341: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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from injection.h:26,
                 from injection.c:23:
/usr/include/stdlib.h:278: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:341: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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from injection.h:26,
                 from injection.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:108: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:349:9: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
 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:275:5: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
 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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from injection.h:26,
                 from injection.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from injection.h:26,
                 from injection.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from injection.h:26,
                 from injection.c:23:
/usr/include/arm-linux-gnueabihf/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:389:5: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
 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 *, ...);
      ^
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o capture.o 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:349:9: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
 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:275:5: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
 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:389:5: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
 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 *,...);
      ^
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o shape_arp_hdr.o 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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from shape_arp_hdr.h:26,
                 from shape_arp_hdr.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from shape_arp_hdr.h:26,
                 from shape_arp_hdr.c:23:
/usr/include/arm-linux-gnueabihf/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 *,...);
      ^
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o shape_tcp_hdr.o 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:398: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 *,...);
      ^
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o shape_udp_hdr.o 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:398: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 *,...);
      ^
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o shape_icmpv4_hdr.o 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:398: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:398: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:398: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:398: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:398: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:398: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 *,...);
      ^
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o shape_ipv4_hdr.o 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 retrieve 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:398: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 *,...);
      ^
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o shape_ethernet_hdr.o 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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from shape_ethernet_hdr.h:26,
                 from shape_ethernet_hdr.c:23:
/usr/include/arm-linux-gnueabihf/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:64:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
  ehdr_o.d_addr = ETH_BROADCAST; 
                ^
shape_ethernet_hdr.c:69:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
         ehdr_o.d_addr = ETH_DEFAULT;
                       ^
shape_ethernet_hdr.c:72: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:73: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:75: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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from shape_ethernet_hdr.h:26,
                 from shape_ethernet_hdr.c:23:
/usr/include/arm-linux-gnueabihf/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:87: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:107: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 *,...);
      ^
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o shape_packet.o shape_packet.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o utils.o 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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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, 255, msgp, va);
               ^
In file included from /usr/include/features.h:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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, 255, msgp, va);
                         ^
In file included from /usr/include/features.h:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:398: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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:123: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:347: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:347: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:347: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:183: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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:123: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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:123: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:347: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:347: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:347: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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/stdlib.h:278: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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:123: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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:123: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:347: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:347: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:347: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:183: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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:123: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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from utils.h:26,
                 from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:123: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,
 ^
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o stats.o 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 *, ...);
      ^
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o pcap_setnonblock.o `test -f 'contrib/pcap_setnonblock.c' || echo './'`contrib/pcap_setnonblock.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o usage.o usage.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o exit.o 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, 2, stdin);
                   ^
In file included from /usr/include/stdio.h:936:0,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from exit.h:26,
                 from exit.c:23:
/usr/include/arm-linux-gnueabihf/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, 2, stdin);
             ^
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o main.o 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("RARP 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:175: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:181: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:187: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:203: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:208: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:224: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:871: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:242: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:255:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
   if(!(ip4hdr_o.d_addr = strdup(optarg)))
                        ^
main.c:256: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:264:31: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
                 if(!(s_d_port = strdup(optarg)) && !rand_d_port)
                               ^
main.c:265: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:277:28: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
         if(!(ehdr_o.s_addr = strdup(optarg)))
                            ^
main.c:278: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:292:36: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
                 if(!(ehdr_o.d_addr = strdup(optarg)))
                                    ^
main.c:293: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:328:33: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
                 if(!(i4hdr_o.gw = strdup(optarg)))
                                 ^
main.c:329: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:334:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
                 if(!(i4hdr_o.mask = strdup(optarg)))
                                   ^
main.c:335: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:350:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
                 if(!(device = strdup(optarg)))
                             ^
main.c:351: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:359:42: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
                 if(!(i4hdr_o.orig_s_addr = strdup(optarg)))
                                          ^
main.c:360: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:384:42: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
                 if(!(i4hdr_o.orig_d_addr = strdup(optarg)))
                                          ^
main.c:385: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:432:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
                 if(!(payload = strdup(optarg)))
                              ^
main.c:433: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:447: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:471:38: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
                 if(!(ip4hdr_o.s_addr = strdup(optarg)))
                                      ^
main.c:472: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:487: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:524:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
                 if(!(ahdr_o.s_paddr = strdup(optarg)))
                                     ^
main.c:525: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:533:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
                 if(!(ahdr_o.s_eaddr = strdup(optarg)))
                                     ^
main.c:534: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:542:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
                 if(!(ahdr_o.r_paddr = strdup(optarg)))
                                     ^
main.c:543: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:551:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
                 if(!(ahdr_o.r_eaddr = strdup(optarg)))
                                     ^
main.c:552: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 *,...);
      ^
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o print_ts.o print_ts.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o print_arp_hdr.o print_arp_hdr.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o print_tcp_hdr.o 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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from print_tcp_hdr.h:26,
                 from print_tcp_hdr.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:146: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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from print_tcp_hdr.h:26,
                 from print_tcp_hdr.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:146: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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from print_tcp_hdr.h:26,
                 from print_tcp_hdr.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:146: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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from print_tcp_hdr.h:26,
                 from print_tcp_hdr.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:146: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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from print_tcp_hdr.h:26,
                 from print_tcp_hdr.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:146: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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from print_tcp_hdr.h:26,
                 from print_tcp_hdr.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:146: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:398: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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from print_tcp_hdr.h:26,
                 from print_tcp_hdr.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:108: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 -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o print_udp_hdr.o print_udp_hdr.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o print_icmpv4_hdr.o 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);
                        ^
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o print_ipv4_hdr.o 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));
            ^
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o print_ethernet_hdr.o print_ethernet_hdr.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o print_pktdump.o print_pktdump.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o print_capture.o 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:108: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:111: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 *, ...);
      ^
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap  -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o print_injection.o 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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from print_injection.h:26,
                 from print_injection.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:146: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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from print_injection.h:26,
                 from print_injection.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:146: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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from print_injection.h:26,
                 from print_injection.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:146: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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from print_injection.h:26,
                 from print_injection.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:146: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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from print_injection.h:26,
                 from print_injection.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:146: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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from print_injection.h:26,
                 from print_injection.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:146: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:398: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:361:0,
                 from /usr/include/stdio.h:27,
                 from /usr/include/libnet.h:62,
                 from globals.h:31,
                 from print_injection.h:26,
                 from print_injection.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:108: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  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall  -fPIE -pie -Wl,-z,relro -Wl,-z,now -o packit init.o define_defaults.o error.o injection.o capture.o shape_arp_hdr.o shape_tcp_hdr.o shape_udp_hdr.o shape_icmpv4_hdr.o shape_ipv4_hdr.o shape_ethernet_hdr.o shape_packet.o utils.o stats.o pcap_setnonblock.o usage.o exit.o main.o print_ts.o print_arp_hdr.o print_tcp_hdr.o print_udp_hdr.o print_icmpv4_hdr.o print_ipv4_hdr.o print_ethernet_hdr.o print_pktdump.o print_capture.o print_injection.o  -lpcap -lpcap -lpcap -lnet 
cp packit ..
make[3]: Leaving directory '/«PKGBUILDDIR»/src'
Making all in man
make[3]: Entering directory '/«PKGBUILDDIR»/man'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/«PKGBUILDDIR»/man'
make[3]: Entering directory '/«PKGBUILDDIR»'
make[3]: Leaving directory '/«PKGBUILDDIR»'
make[2]: Leaving directory '/«PKGBUILDDIR»'
make[1]: Leaving directory '/«PKGBUILDDIR»'
   dh_auto_test -a
	make -j1 check
make[1]: Entering directory '/«PKGBUILDDIR»'
Making check in src
make[2]: Entering directory '/«PKGBUILDDIR»/src'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/«PKGBUILDDIR»/src'
Making check in man
make[2]: Entering directory '/«PKGBUILDDIR»/man'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/«PKGBUILDDIR»/man'
make[2]: Entering directory '/«PKGBUILDDIR»'
make[2]: Leaving directory '/«PKGBUILDDIR»'
make[1]: Leaving directory '/«PKGBUILDDIR»'
 fakeroot debian/rules binary-arch
dh binary-arch --with autoreconf
   dh_testroot -a
   dh_prep -a
   dh_auto_install -a
	make -j1 install DESTDIR=/«PKGBUILDDIR»/debian/packit AM_UPDATE_INFO_DIR=no
make[1]: Entering directory '/«PKGBUILDDIR»'
Making install in src
make[2]: Entering directory '/«PKGBUILDDIR»/src'
make[3]: Entering directory '/«PKGBUILDDIR»/src'
 /bin/mkdir -p '/«PKGBUILDDIR»/debian/packit/usr/sbin'
  /usr/bin/install -c packit '/«PKGBUILDDIR»/debian/packit/usr/sbin'
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/«PKGBUILDDIR»/src'
make[2]: Leaving directory '/«PKGBUILDDIR»/src'
Making install in man
make[2]: Entering directory '/«PKGBUILDDIR»/man'
make[3]: Entering directory '/«PKGBUILDDIR»/man'
make[3]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/«PKGBUILDDIR»/debian/packit/usr/share/man/man8'
 /usr/bin/install -c -m 644 packit.8 '/«PKGBUILDDIR»/debian/packit/usr/share/man/man8'
make[3]: Leaving directory '/«PKGBUILDDIR»/man'
make[2]: Leaving directory '/«PKGBUILDDIR»/man'
make[2]: Entering directory '/«PKGBUILDDIR»'
make[3]: Entering directory '/«PKGBUILDDIR»'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/«PKGBUILDDIR»'
make[2]: Leaving directory '/«PKGBUILDDIR»'
make[1]: Leaving directory '/«PKGBUILDDIR»'
   dh_installdocs -a
   dh_installchangelogs -a
   dh_installman -a
   dh_perl -a
   dh_link -a
   dh_strip_nondeterminism -a
   dh_compress -a
   dh_fixperms -a
   dh_strip -a
   dh_makeshlibs -a
   dh_shlibdeps -a
   dh_installdeb -a
   dh_gencontrol -a
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
   dh_md5sums -a
   dh_builddeb -a
dpkg-deb: building package 'packit' in '../packit_1.0-3_armhf.deb'.
 dpkg-genchanges -B -mRaspbian wandboard test autobuilder <root@raspbian.org> >../packit_1.0-3_armhf.changes
dpkg-genchanges: binary-only arch-specific upload (source code and arch-indep packages not included)
 dpkg-source --after-build packit-1.0
dpkg-buildpackage: binary-only upload (no source included)
────────────────────────────────────────────────────────────────────────────────
Build finished at 20151221-0746

Finished
────────

I: Built successfully

┌──────────────────────────────────────────────────────────────────────────────┐
│ Post Build Chroot                                                            │
└──────────────────────────────────────────────────────────────────────────────┘


┌──────────────────────────────────────────────────────────────────────────────┐
│ Changes                                                                      │
└──────────────────────────────────────────────────────────────────────────────┘


packit_1.0-3_armhf.changes:
───────────────────────────

Format: 1.8
Date: Mon, 14 Dec 2015 00:35:18 -0200
Source: packit
Binary: packit
Architecture: armhf
Version: 1.0-3
Distribution: stretch-staging
Urgency: medium
Maintainer: Raspbian wandboard test autobuilder <root@raspbian.org>
Changed-By: Joao Eriberto Mota Filho <eriberto@debian.org>
Description:
 packit     - network injection and capture tool
Closes: 298799 386150 497793 497797 652510 714256 807844
Changes:
 packit (1.0-3) unstable; urgency=medium
 .
   * New maintainer. LaMont Jones is co-maintainer now. Thanks a lot for your
       work over this package since 2003.
   * Migrations:
       - debian/copyright to 1.0 format.
       - debian/rules to (new) reduced format.
       - DebSrc to 3.0.
       - DH level to 9.
       - Using dh-autoreconf now.
   * debian/clean: add to remove some files created when building and forgotten
       by upstream when running the cleaning actions.
   * debian/control:
       - Added a comma as separator in Depends field.
       - Added a Homepage field.
       - Bumped Standards-Version to 3.9.6.
       - Changed from XS-Vcs-* fields to Vcs-*. Using collab-maint now.
       - Improved the descriptions.
       - Moved the Section field from binary to source field.
       - Removed the (now) unnecessary minimal version for libnet1-dev.
       - Reorganized the Build-Depends field.
       - Replaced from libpcap-dev to libpcap0.8-dev in Build-Depends field.
   * debian/copyright: updated all information, including the upstream email
       address.
   * debian/docs: created to install the upstream docs/ICMP.txt file. Thanks to
       Olivier Macchioni <mac@dax.tuxfinder.com>. (Closes: #497797)
   * debian/patches/:
       - The old packaging stile allowed direct changes in upstream source code.
         Now, several patches were created to avoid these direct changes. So,
         the following new patches are being provided:
           ~ 010_fix_id_field_in_manpage.patch
           ~ 020_fix_header_field_in_pcap-int.h.patch
           ~ 030_fix_FTBFS_pcap_h.patch
           ~ 040_fix_call_to_pcap-bpf_h.patch
           ~ 050_honor_nostrip.patch
       - There are these new patches too:
           ~ 060_fix_spelling_errors.patch: added to fix spelling errors in some
             files.
           ~ 070_RARP_support.patch: added to implement RARP support. Thanks to
             Mats Erik Andersson <mats.andersson@gisladisker.se>.
             (Closes: #652510)
           ~ 080_off-by-one_string_error.patch: added to fix off-by-one string
             error and update autotools. Thanks to Mats Erik Andersson
             <mats.andersson@gisladisker.se>. (Closes: #714256)
           ~ 090_fix_typo_in_source_code.patch added to fix a typo in option
             parsing code which made -D always random when random -S was used.
             Thanks to Dennis Vshivkov <walrus@amur.ru> (Closes: #298799)
           ~ 100_fix_segfault.patch: added to fix segfault when using inject-mode
             with no arguments. Thanks to Deniz Adrian <adrian@netzquadrat.de>.
             (Closes: #386150)
           ~ 110_remove_duplication_in_manpage_and_fix_a_path.patch: added to
             remove duplicate lines in the man page and to fix the path of the
             ICMP.txt file. Thanks to Olivier Macchioni <mac@dax.tuxfinder.com>
             (Closes: #497793, #497797)
           ~ 120_update_homepage.patch: added to update the upstream homepage in
             program help and manpage.
           ~ 130_avoid_buffer_overflow.patch: added to avoid a buffer overflow
             and allows one to build using GCC hardening. (Closes: #807844)
   * debian/watch: created.
Checksums-Sha1:
 42241380a6405dadc9bbdcb8698e08c2937e7b57 34734 packit_1.0-3_armhf.deb
Checksums-Sha256:
 87539938c327718cc64cc05cedeaf3a61f54e2228cde472668a30d2af4c30e46 34734 packit_1.0-3_armhf.deb
Files:
 b1528c0866783bad252bc6cf76bb2e18 34734 net optional packit_1.0-3_armhf.deb

┌──────────────────────────────────────────────────────────────────────────────┐
│ Package contents                                                             │
└──────────────────────────────────────────────────────────────────────────────┘


packit_1.0-3_armhf.deb
──────────────────────

 new debian package, version 2.0.
 size 34734 bytes: control archive=1089 bytes.
    1256 bytes,    31 lines      control              
     387 bytes,     6 lines      md5sums              
 Package: packit
 Version: 1.0-3
 Architecture: armhf
 Maintainer: Joao Eriberto Mota Filho <eriberto@debian.org>
 Installed-Size: 84
 Depends: libc6 (>= 2.4), libnet1 (>= 1.1.2.1), libpcap0.8 (>= 0.9.8)
 Section: net
 Priority: optional
 Homepage: http://packetfactory.openwall.net/projects/packit
 Description: network injection and capture tool
  Packit (PACket toolKIT) is a network auditing tool. It uses libpcap
  and can make real packages (frames) that are able to travel in a
  network. Packit also allows one to add personalized payloads. Other
  good feature is the possibility to read dump files created by
  tcpdump.
  .
  Packit has an ability to customize, inject, monitor and manipulate IP
  traffic. By allowing you to define (spoof) nearly all TCP, UDP, ICMP,
  IP, ARP, RARP, and Ethernet header options, Packit can be useful for
  the following scenarios:
     - tests in firewalls;
     - tests in Intrusion Detection Systems (IDS);
     - tests in Intrusion Prevention Systems (IPS);
     - tests in proxies;
     - tests in port scanning detectors;
     - network traffic simulations;
     - security tests; and
     - general TCP/IP auditing and pentests.
  .
  Packit is also an excellent tool for learning TCP/IP. However, this
  program does not support IPv6.

drwxr-xr-x root/root         0 2015-12-21 07:46 ./
drwxr-xr-x root/root         0 2015-12-21 07:46 ./usr/
drwxr-xr-x root/root         0 2015-12-21 07:46 ./usr/sbin/
-rwxr-xr-x root/root     58720 2015-12-21 07:46 ./usr/sbin/packit
drwxr-xr-x root/root         0 2015-12-21 07:46 ./usr/share/
drwxr-xr-x root/root         0 2015-12-21 07:46 ./usr/share/doc/
drwxr-xr-x root/root         0 2015-12-21 07:46 ./usr/share/doc/packit/
-rw-r--r-- root/root      1040 2003-07-28 15:53 ./usr/share/doc/packit/ICMP.txt
-rw-r--r-- root/root      1725 2015-12-15 23:30 ./usr/share/doc/packit/changelog.Debian.gz
-rw-r--r-- root/root      2493 2004-04-14 01:51 ./usr/share/doc/packit/changelog.gz
-rw-r--r-- root/root      3228 2015-12-15 23:32 ./usr/share/doc/packit/copyright
drwxr-xr-x root/root         0 2015-12-21 07:46 ./usr/share/man/
drwxr-xr-x root/root         0 2015-12-21 07:46 ./usr/share/man/man8/
-rw-r--r-- root/root      5874 2015-12-21 07:46 ./usr/share/man/man8/packit.8.gz


┌──────────────────────────────────────────────────────────────────────────────┐
│ Post Build                                                                   │
└──────────────────────────────────────────────────────────────────────────────┘


┌──────────────────────────────────────────────────────────────────────────────┐
│ Cleanup                                                                      │
└──────────────────────────────────────────────────────────────────────────────┘

Purging /«BUILDDIR»
Not cleaning session: cloned chroot in use

┌──────────────────────────────────────────────────────────────────────────────┐
│ Summary                                                                      │
└──────────────────────────────────────────────────────────────────────────────┘

Build Architecture: armhf
Build-Space: 3252
Build-Time: 92
Distribution: stretch-staging
Host Architecture: armhf
Install-Time: 223
Job: packit_1.0-3
Machine Architecture: armhf
Package: packit
Package-Time: 359
Source-Version: 1.0-3
Space: 3252
Status: successful
Version: 1.0-3
────────────────────────────────────────────────────────────────────────────────
Finished at 20151221-0746
Build needed 00:05:59, 3252k disc space