DC-Build-Header: ipgrab 0.9.10-1 / 2014-06-17 15:10:10 +0000 DC-Task: source:ipgrab version:0.9.10-1 architecture:any chroot:unstable esttime:174 logfile:/tmp/ipgrab_0.9.10-1_unstable_clang.log modes:binary-only:parallel:clang DC-Sbuild-call: su user -c 'sbuild -n --apt-update -d unstable -v --chroot-setup-commands=/tmp/switch-to-clang --append-to-version "clang1" --maintainer "Lucas Nussbaum " --uploader "Lucas Nussbaum " ipgrab_0.9.10-1' sbuild (Debian sbuild) 0.63.2 (18 Aug 2012) on ip-172-31-8-59.us-west-2.compute.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ ipgrab 0.9.10-1clang1 (amd64) 17 Jun 2014 15:10 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: ipgrab Version: 0.9.10-1clang1 Source Version: 0.9.10-1 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 I: NOTICE: Log filtering will replace 'build/ipgrab-3BF1Bo/ipgrab-0.9.10' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/ipgrab-3BF1Bo' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-89677aea-7628-4327-809e-9ea8b6cf1ce3' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Get:1 http://localhost:9999 unstable InRelease [206 kB] Get:2 http://localhost:9999 unstable/main Sources/DiffIndex [7876 B] Get:3 http://localhost:9999 unstable/main amd64 Packages/DiffIndex [7876 B] Get:4 http://localhost:9999 unstable/main Translation-en/DiffIndex [7876 B] Get:5 http://localhost:9999 unstable/main 2014-06-16-2054.31.pdiff [15.4 kB] Get:6 http://localhost:9999 unstable/main 2014-06-17-0253.05.pdiff [7983 B] Get:7 http://localhost:9999 unstable/main 2014-06-17-0856.27.pdiff [7757 B] Get:8 http://localhost:9999 unstable/main 2014-06-17-0856.27.pdiff [7757 B] Get:9 http://localhost:9999 unstable/main amd64 2014-06-16-2054.31.pdiff [20.7 kB] Get:10 http://localhost:9999 unstable/main amd64 2014-06-17-0253.05.pdiff [38.6 kB] Get:11 http://localhost:9999 unstable/main amd64 2014-06-17-0856.27.pdiff [9018 B] Get:12 http://localhost:9999 unstable/main 2014-06-16-2054.31.pdiff [699 B] Get:13 http://localhost:9999 unstable/main 2014-06-17-0856.27.pdiff [442 B] Get:14 http://localhost:9999 unstable/main amd64 2014-06-17-0856.27.pdiff [9018 B] Get:15 http://localhost:9999 unstable/main 2014-06-17-0856.27.pdiff [442 B] Fetched 330 kB in 5s (60.0 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: libc-bin libc-dev-bin libc6 libc6-dev linux-libc-dev multiarch-support 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 9447 kB of archives. After this operation, 10.2 kB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libc6-dev amd64 2.19-2 [2000 kB] Get:2 http://localhost:9999/debian/ unstable/main libc-dev-bin amd64 2.19-2 [235 kB] Get:3 http://localhost:9999/debian/ unstable/main linux-libc-dev amd64 3.14.7-1 [937 kB] Get:4 http://localhost:9999/debian/ unstable/main libc-bin amd64 2.19-2 [1288 kB] Get:5 http://localhost:9999/debian/ unstable/main libc6 amd64 2.19-2 [4816 kB] Get:6 http://localhost:9999/debian/ unstable/main multiarch-support amd64 2.19-2 [171 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 9447 kB in 0s (32.1 MB/s) (Reading database ... 14215 files and directories currently installed.) Preparing to unpack .../libc6-dev_2.19-2_amd64.deb ... Unpacking libc6-dev:amd64 (2.19-2) over (2.19-1) ... Preparing to unpack .../libc-dev-bin_2.19-2_amd64.deb ... Unpacking libc-dev-bin (2.19-2) over (2.19-1) ... Preparing to unpack .../linux-libc-dev_3.14.7-1_amd64.deb ... Unpacking linux-libc-dev:amd64 (3.14.7-1) over (3.14.5-1) ... Preparing to unpack .../libc-bin_2.19-2_amd64.deb ... Unpacking libc-bin (2.19-2) over (2.19-1) ... Preparing to unpack .../libc6_2.19-2_amd64.deb ... Unpacking libc6:amd64 (2.19-2) over (2.19-1) ... Setting up libc6:amd64 (2.19-2) ... Setting up libc-bin (2.19-2) ... (Reading database ... 14216 files and directories currently installed.) Preparing to unpack .../multiarch-support_2.19-2_amd64.deb ... Unpacking multiarch-support (2.19-2) over (2.19-1) ... Setting up multiarch-support (2.19-2) ... Setting up libc-dev-bin (2.19-2) ... Setting up linux-libc-dev:amd64 (3.14.7-1) ... Setting up libc6-dev:amd64 (2.19-2) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Fetch source files │ └──────────────────────────────────────────────────────────────────────────────┘ Check APT ───────── Checking available source versions... Download source files with APT ────────────────────────────── Reading package lists... Building dependency tree... Reading state information... Need to get 316 kB of source archives. Get:1 http://localhost:9999/debian/ unstable/main ipgrab 0.9.10-1 (dsc) [1007 B] Get:2 http://localhost:9999/debian/ unstable/main ipgrab 0.9.10-1 (tar) [310 kB] Get:3 http://localhost:9999/debian/ unstable/main ipgrab 0.9.10-1 (diff) [5252 B] Fetched 316 kB in 1s (239 kB/s) Download complete and in download only mode Check arch ────────── ┌──────────────────────────────────────────────────────────────────────────────┐ │ Chroot Setup Commands │ └──────────────────────────────────────────────────────────────────────────────┘ /tmp/switch-to-clang ──────────────────── + echo 'Entering customization script...' Entering customization script... + echo 'Install of clang-3.4' Install of clang-3.4 + apt-get update Hit http://localhost:9999 unstable InRelease Hit http://localhost:9999 unstable/main Sources/DiffIndex Hit http://localhost:9999 unstable/main amd64 Packages/DiffIndex Hit http://localhost:9999 unstable/main Translation-en/DiffIndex Reading package lists... + apt-get install --yes --no-install-recommends --force-yes clang-3.4 Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libclang-common-3.4-dev libclang1-3.4 libffi6 libllvm3.4 libobjc-4.9-dev libobjc4 Suggested packages: gnustep gnustep-devel Recommended packages: llvm-3.4-dev python The following NEW packages will be installed: clang-3.4 libclang-common-3.4-dev libclang1-3.4 libffi6 libllvm3.4 libobjc-4.9-dev libobjc4 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. Need to get 30.6 MB of archives. After this operation, 118 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libffi6 amd64 3.1-2 [19.8 kB] Get:2 http://localhost:9999/debian/ unstable/main libllvm3.4 amd64 1:3.4.2-2 [6721 kB] Get:3 http://localhost:9999/debian/ unstable/main libobjc4 amd64 4.9.0-6 [112 kB] Get:4 http://localhost:9999/debian/ unstable/main libobjc-4.9-dev amd64 4.9.0-6 [372 kB] Get:5 http://localhost:9999/debian/ unstable/main libclang1-3.4 amd64 1:3.4.2-2 [3619 kB] Get:6 http://localhost:9999/debian/ unstable/main libclang-common-3.4-dev amd64 1:3.4.2-2 [543 kB] Get:7 http://localhost:9999/debian/ unstable/main clang-3.4 amd64 1:3.4.2-2 [19.2 MB] debconf: delaying package configuration, since apt-utils is not installed Fetched 30.6 MB in 0s (32.5 MB/s) Selecting previously unselected package libffi6:amd64. (Reading database ... 14216 files and directories currently installed.) Preparing to unpack .../libffi6_3.1-2_amd64.deb ... Unpacking libffi6:amd64 (3.1-2) ... Selecting previously unselected package libllvm3.4:amd64. Preparing to unpack .../libllvm3.4_1%3a3.4.2-2_amd64.deb ... Unpacking libllvm3.4:amd64 (1:3.4.2-2) ... Selecting previously unselected package libobjc4:amd64. Preparing to unpack .../libobjc4_4.9.0-6_amd64.deb ... Unpacking libobjc4:amd64 (4.9.0-6) ... Selecting previously unselected package libobjc-4.9-dev:amd64. Preparing to unpack .../libobjc-4.9-dev_4.9.0-6_amd64.deb ... Unpacking libobjc-4.9-dev:amd64 (4.9.0-6) ... Selecting previously unselected package libclang1-3.4:amd64. Preparing to unpack .../libclang1-3.4_1%3a3.4.2-2_amd64.deb ... Unpacking libclang1-3.4:amd64 (1:3.4.2-2) ... Selecting previously unselected package libclang-common-3.4-dev. Preparing to unpack .../libclang-common-3.4-dev_1%3a3.4.2-2_amd64.deb ... Unpacking libclang-common-3.4-dev (1:3.4.2-2) ... Selecting previously unselected package clang-3.4. Preparing to unpack .../clang-3.4_1%3a3.4.2-2_amd64.deb ... Unpacking clang-3.4 (1:3.4.2-2) ... Setting up libffi6:amd64 (3.1-2) ... Setting up libllvm3.4:amd64 (1:3.4.2-2) ... Setting up libobjc4:amd64 (4.9.0-6) ... Setting up libobjc-4.9-dev:amd64 (4.9.0-6) ... Setting up libclang1-3.4:amd64 (1:3.4.2-2) ... Setting up libclang-common-3.4-dev (1:3.4.2-2) ... Setting up clang-3.4 (1:3.4.2-2) ... Processing triggers for libc-bin (2.19-2) ... + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSIONS='4.6 4.7 4.8 4.9' + cd /usr/bin + for VERSION in '$VERSIONS' + rm -f g++-4.6 gcc-4.6 cpp-4.6 + ln -s clang++ g++-4.6 + ln -s clang gcc-4.6 + ln -s clang cpp-4.6 + echo 'gcc-4.6 hold' + dpkg --set-selections + echo 'g++-4.6 hold' + dpkg --set-selections + for VERSION in '$VERSIONS' + rm -f g++-4.7 gcc-4.7 cpp-4.7 + ln -s clang++ g++-4.7 + ln -s clang gcc-4.7 + ln -s clang cpp-4.7 + echo 'gcc-4.7 hold' + dpkg --set-selections + echo 'g++-4.7 hold' + dpkg --set-selections + for VERSION in '$VERSIONS' + rm -f g++-4.8 gcc-4.8 cpp-4.8 + ln -s clang++ g++-4.8 + ln -s clang gcc-4.8 + ln -s clang cpp-4.8 + echo 'gcc-4.8 hold' + dpkg --set-selections dpkg: warning: package not in database at line 1: gcc-4.8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method + echo 'g++-4.8 hold' + dpkg --set-selections dpkg: warning: package not in database at line 1: g++-4.8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method + for VERSION in '$VERSIONS' + rm -f g++-4.9 gcc-4.9 cpp-4.9 + ln -s clang++ g++-4.9 + ln -s clang gcc-4.9 + ln -s clang cpp-4.9 + echo 'gcc-4.9 hold' + dpkg --set-selections + echo 'g++-4.9 hold' + dpkg --set-selections + cd - /«BUILDDIR» + echo 'Check if gcc, g++ & cpp are actually clang' Check if gcc, g++ & cpp are actually clang + gcc --version + grep clang + cpp --version + grep clang + g++ --version + grep clang I: Finished running '/tmp/switch-to-clang'. Finished processing commands. ──────────────────────────────────────────────────────────────────────────────── Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/«BUILDDIR»/resolver-HIxcHt/apt_archive/sbuild-build-depends-core-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install core build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy debconf: delaying package configuration, since apt-utils is not installed 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/816 B of archives. After this operation, 0 B of additional disk space will be used. Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 14431 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) ... Merged Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit, sysvinit-utils, tar, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 7), libpcap-dev (>= 0.3), texinfo Filtered Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit, sysvinit-utils, tar, util-linux, libc6-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 7), libpcap-dev (>= 0.3), texinfo dpkg-deb: building package `sbuild-build-depends-ipgrab-dummy' in `/«BUILDDIR»/resolver-GOKtap/apt_archive/sbuild-build-depends-ipgrab-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install ipgrab build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: bsdmainutils debhelper file gettext gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libglib2.0-0 libintl-perl libmagic1 libpcap-dev libpcap0.8 libpcap0.8-dev libpipeline1 libtext-unidecode-perl libunistring0 libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml2 man-db po-debconf texinfo Suggested packages: wamerican wordlist whois vacation dh-make gettext-doc groff libintl-xs-perl less www-browser libmail-box-perl texlive-base texlive-latex-base texlive-generic-recommended texinfo-doc-nonfree Recommended packages: curl wget lynx-cur autopoint libasprintf-dev libgettextpo-dev libglib2.0-data shared-mime-info libxml-sax-expat-perl xml-core libmail-sendmail-perl The following NEW packages will be installed: bsdmainutils debhelper file gettext gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libglib2.0-0 libintl-perl libmagic1 libpcap-dev libpcap0.8 libpcap0.8-dev libpipeline1 libtext-unidecode-perl libunistring0 libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml2 man-db po-debconf sbuild-build-depends-ipgrab-dummy texinfo 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. Need to get 11.8 MB/11.8 MB of archives. After this operation, 38.3 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libpipeline1 amd64 1.3.0-1 [25.8 kB] Get:2 http://localhost:9999/debian/ unstable/main groff-base amd64 1.22.2-5 [1043 kB] Get:3 http://localhost:9999/debian/ unstable/main bsdmainutils amd64 9.0.5 [211 kB] Get:4 http://localhost:9999/debian/ unstable/main man-db amd64 2.6.7.1-1 [990 kB] Get:5 http://localhost:9999/debian/ unstable/main libasprintf0c2 amd64 0.18.3.2-2 [29.4 kB] Get:6 http://localhost:9999/debian/ unstable/main libmagic1 amd64 1:5.19-1 [237 kB] Get:7 http://localhost:9999/debian/ unstable/main libxml2 amd64 2.9.1+dfsg1-3 [791 kB] Get:8 http://localhost:9999/debian/ unstable/main libglib2.0-0 amd64 2.40.0-3 [2405 kB] Get:9 http://localhost:9999/debian/ unstable/main libcroco3 amd64 0.6.8-2 [133 kB] Get:10 http://localhost:9999/debian/ unstable/main libpcap0.8 amd64 1.5.3-4 [131 kB] Get:11 http://localhost:9999/debian/ unstable/main libunistring0 amd64 0.9.3-5 [434 kB] Get:12 http://localhost:9999/debian/ unstable/main file amd64 1:5.19-1 [58.0 kB] Get:13 http://localhost:9999/debian/ unstable/main gettext-base amd64 0.18.3.2-2 [116 kB] Get:14 http://localhost:9999/debian/ unstable/main libtext-unidecode-perl all 0.04-2 [115 kB] Get:15 http://localhost:9999/debian/ unstable/main libintl-perl all 1.23-1 [1209 kB] Get:16 http://localhost:9999/debian/ unstable/main libxml-namespacesupport-perl all 1.11-1 [14.8 kB] Get:17 http://localhost:9999/debian/ unstable/main libxml-sax-base-perl all 1.07-1 [23.1 kB] Get:18 http://localhost:9999/debian/ unstable/main libxml-sax-perl all 0.99+dfsg-2 [68.3 kB] Get:19 http://localhost:9999/debian/ unstable/main libxml-libxml-perl amd64 2.0116+dfsg-1 [362 kB] Get:20 http://localhost:9999/debian/ unstable/main texinfo amd64 5.2.0.dfsg.1-4 [957 kB] Get:21 http://localhost:9999/debian/ unstable/main gettext amd64 0.18.3.2-2 [1202 kB] Get:22 http://localhost:9999/debian/ unstable/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:23 http://localhost:9999/debian/ unstable/main po-debconf all 1.0.16+nmu2 [224 kB] Get:24 http://localhost:9999/debian/ unstable/main debhelper all 9.20140613 [692 kB] Get:25 http://localhost:9999/debian/ unstable/main libpcap0.8-dev amd64 1.5.3-4 [227 kB] Get:26 http://localhost:9999/debian/ unstable/main libpcap-dev all 1.5.3-4 [23.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 11.8 MB in 0s (24.7 MB/s) Selecting previously unselected package libpipeline1:amd64. (Reading database ... 14431 files and directories currently installed.) Preparing to unpack .../libpipeline1_1.3.0-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.3.0-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../groff-base_1.22.2-5_amd64.deb ... Unpacking groff-base (1.22.2-5) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../bsdmainutils_9.0.5_amd64.deb ... Unpacking bsdmainutils (9.0.5) ... Selecting previously unselected package man-db. Preparing to unpack .../man-db_2.6.7.1-1_amd64.deb ... Unpacking man-db (2.6.7.1-1) ... Selecting previously unselected package libasprintf0c2:amd64. Preparing to unpack .../libasprintf0c2_0.18.3.2-2_amd64.deb ... Unpacking libasprintf0c2:amd64 (0.18.3.2-2) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../libmagic1_1%3a5.19-1_amd64.deb ... Unpacking libmagic1:amd64 (1:5.19-1) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../libxml2_2.9.1+dfsg1-3_amd64.deb ... Unpacking libxml2:amd64 (2.9.1+dfsg1-3) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../libglib2.0-0_2.40.0-3_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.40.0-3) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../libcroco3_0.6.8-2_amd64.deb ... Unpacking libcroco3:amd64 (0.6.8-2) ... Selecting previously unselected package libpcap0.8:amd64. Preparing to unpack .../libpcap0.8_1.5.3-4_amd64.deb ... Unpacking libpcap0.8:amd64 (1.5.3-4) ... Selecting previously unselected package libunistring0:amd64. Preparing to unpack .../libunistring0_0.9.3-5_amd64.deb ... Unpacking libunistring0:amd64 (0.9.3-5) ... Selecting previously unselected package file. Preparing to unpack .../file_1%3a5.19-1_amd64.deb ... Unpacking file (1:5.19-1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../gettext-base_0.18.3.2-2_amd64.deb ... Unpacking gettext-base (0.18.3.2-2) ... Selecting previously unselected package libtext-unidecode-perl. Preparing to unpack .../libtext-unidecode-perl_0.04-2_all.deb ... Unpacking libtext-unidecode-perl (0.04-2) ... Selecting previously unselected package libintl-perl. Preparing to unpack .../libintl-perl_1.23-1_all.deb ... Unpacking libintl-perl (1.23-1) ... Selecting previously unselected package libxml-namespacesupport-perl. Preparing to unpack .../libxml-namespacesupport-perl_1.11-1_all.deb ... Unpacking libxml-namespacesupport-perl (1.11-1) ... Selecting previously unselected package libxml-sax-base-perl. Preparing to unpack .../libxml-sax-base-perl_1.07-1_all.deb ... Unpacking libxml-sax-base-perl (1.07-1) ... Selecting previously unselected package libxml-sax-perl. Preparing to unpack .../libxml-sax-perl_0.99+dfsg-2_all.deb ... Unpacking libxml-sax-perl (0.99+dfsg-2) ... Selecting previously unselected package libxml-libxml-perl. Preparing to unpack .../libxml-libxml-perl_2.0116+dfsg-1_amd64.deb ... Unpacking libxml-libxml-perl (2.0116+dfsg-1) ... Selecting previously unselected package texinfo. Preparing to unpack .../texinfo_5.2.0.dfsg.1-4_amd64.deb ... Unpacking texinfo (5.2.0.dfsg.1-4) ... Selecting previously unselected package gettext. Preparing to unpack .../gettext_0.18.3.2-2_amd64.deb ... Unpacking gettext (0.18.3.2-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../intltool-debian_0.35.0+20060710.1_all.deb ... Unpacking intltool-debian (0.35.0+20060710.1) ... Selecting previously unselected package po-debconf. Preparing to unpack .../po-debconf_1.0.16+nmu2_all.deb ... Unpacking po-debconf (1.0.16+nmu2) ... Selecting previously unselected package debhelper. Preparing to unpack .../debhelper_9.20140613_all.deb ... Unpacking debhelper (9.20140613) ... Selecting previously unselected package libpcap0.8-dev. Preparing to unpack .../libpcap0.8-dev_1.5.3-4_amd64.deb ... Unpacking libpcap0.8-dev (1.5.3-4) ... Selecting previously unselected package libpcap-dev. Preparing to unpack .../libpcap-dev_1.5.3-4_all.deb ... Unpacking libpcap-dev (1.5.3-4) ... Selecting previously unselected package sbuild-build-depends-ipgrab-dummy. Preparing to unpack .../sbuild-build-depends-ipgrab-dummy.deb ... Unpacking sbuild-build-depends-ipgrab-dummy (0.invalid.0) ... Setting up libpipeline1:amd64 (1.3.0-1) ... Setting up groff-base (1.22.2-5) ... Setting up bsdmainutils (9.0.5) ... 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 man-db (2.6.7.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libasprintf0c2:amd64 (0.18.3.2-2) ... Setting up libmagic1:amd64 (1:5.19-1) ... Setting up libxml2:amd64 (2.9.1+dfsg1-3) ... Setting up libglib2.0-0:amd64 (2.40.0-3) ... No schema files found: doing nothing. Setting up libcroco3:amd64 (0.6.8-2) ... Setting up libpcap0.8:amd64 (1.5.3-4) ... Setting up libunistring0:amd64 (0.9.3-5) ... Setting up file (1:5.19-1) ... Setting up gettext-base (0.18.3.2-2) ... Setting up libtext-unidecode-perl (0.04-2) ... Setting up libintl-perl (1.23-1) ... Setting up libxml-namespacesupport-perl (1.11-1) ... Setting up libxml-sax-base-perl (1.07-1) ... Setting up libxml-sax-perl (0.99+dfsg-2) ... update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up libxml-libxml-perl (2.0116+dfsg-1) ... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up texinfo (5.2.0.dfsg.1-4) ... Setting up gettext (0.18.3.2-2) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2) ... Setting up debhelper (9.20140613) ... Setting up libpcap0.8-dev (1.5.3-4) ... Setting up libpcap-dev (1.5.3-4) ... Setting up sbuild-build-depends-ipgrab-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.19-2) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 2.6.32-5-xen-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.24.51.20140604-3 dpkg-dev_1.17.10 g++-4.6_4.6.4-7 g++-4.9_4.9.0-6 gcc-4.6_4.6.4-7 gcc-4.7_4.7.4-1 gcc-4.9_4.9.0-6 libc6-dev_2.19-2 libstdc++-4.9-dev_4.9.0-6 libstdc++6_4.9.0-6 libstdc++6-4.6-dev_4.6.4-7 linux-libc-dev_3.14.7-1 Package versions: apt_1.0.4 base-files_7.3 base-passwd_3.5.33 bash_4.3-7 binutils_2.24.51.20140604-3 bsdmainutils_9.0.5 bsdutils_1:2.20.1-5.8 build-essential_11.6 bzip2_1.0.6-5 clang-3.4_1:3.4.2-2 coreutils_8.21-1.2 cpp_4:4.9.0-3 cpp-4.6_4.6.4-7 cpp-4.7_4.7.4-1 cpp-4.9_4.9.0-6 dash_0.5.7-4 debconf_1.5.53 debconf-i18n_1.5.53 debfoster_2.7-1.2 debhelper_9.20140613 debian-archive-keyring_2012.4 debianutils_4.4 diffutils_1:3.3-1 dpkg_1.17.10 dpkg-dev_1.17.10 e2fslibs_1.42.10-1 e2fsprogs_1.42.10-1 fakeroot_1.20-3 file_1:5.19-1 findutils_4.4.2-8 g++_4:4.9.0-3 g++-4.6_4.6.4-7 g++-4.9_4.9.0-6 gcc_4:4.9.0-3 gcc-4.4-base_4.4.7-8 gcc-4.5-base_4.5.4-1 gcc-4.6_4.6.4-7 gcc-4.6-base_4.6.4-7 gcc-4.7_4.7.4-1 gcc-4.7-base_4.7.4-1 gcc-4.8-base_4.8.3-3 gcc-4.9_4.9.0-6 gcc-4.9-base_4.9.0-6 gettext_0.18.3.2-2 gettext-base_0.18.3.2-2 gnupg_1.4.16-1.1 gpgv_1.4.16-1.1 grep_2.18-2 groff-base_1.22.2-5 gzip_1.6-3 hostname_3.15 initscripts_2.88dsf-53.2 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.1 libacl1_2.2.52-1 libapt-pkg4.12_1.0.4 libarchive-extract-perl_0.72-1 libasan1_4.9.0-6 libasprintf0c2_0.18.3.2-2 libatomic1_4.9.0-6 libattr1_1:2.4.47-1 libaudit-common_1:2.3.7-1 libaudit1_1:2.3.7-1 libblkid1_2.20.1-5.8 libbz2-1.0_1.0.6-5 libc-bin_2.19-2 libc-dev-bin_2.19-2 libc6_2.19-2 libc6-dev_2.19-2 libcap2_1:2.22-1.2 libcilkrts5_4.9.0-6 libclang-common-3.4-dev_1:3.4.2-2 libclang1-3.4_1:3.4.2-2 libclass-isa-perl_0.36-5 libcloog-isl4_0.18.2-1 libcloog-ppl1_0.16.1-5 libcomerr2_1.42.10-1 libcroco3_0.6.8-2 libdb5.1_5.1.29-5 libdb5.3_5.3.28-3 libdebconfclient0_0.191 libdpkg-perl_1.17.10 libfakeroot_1.20-3 libffi6_3.1-2 libfile-fcntllock-perl_0.20-1 libgc1c2_1:7.2d-6 libgcc-4.7-dev_4.7.4-1 libgcc-4.9-dev_4.9.0-6 libgcc1_1:4.9.0-6 libgdbm3_1.8.3-12 libglib2.0-0_2.40.0-3 libgmp10_2:6.0.0+dfsg-4 libgmpxx4ldbl_2:6.0.0+dfsg-4 libgomp1_4.9.0-6 libgpm2_1.20.4-6.1 libintl-perl_1.23-1 libisl10_0.12.2-1 libitm1_4.9.0-6 libllvm3.4_1:3.4.2-2 liblocale-gettext-perl_1.05-8 liblog-message-simple-perl_0.10-1 liblsan0_4.9.0-6 liblzma5_5.1.1alpha+20120614-2 libmagic1_1:5.19-1 libmodule-pluggable-perl_5.1-1 libmount1_2.20.1-5.8 libmpc2_0.9-4 libmpc3_1.0.1-1 libmpfr4_3.1.2-1 libncurses5_5.9+20140118-1 libobjc-4.9-dev_4.9.0-6 libobjc4_4.9.0-6 libpam-modules_1.1.8-3 libpam-modules-bin_1.1.8-3 libpam-runtime_1.1.8-3 libpam0g_1.1.8-3 libpcap-dev_1.5.3-4 libpcap0.8_1.5.3-4 libpcap0.8-dev_1.5.3-4 libpcre3_1:8.31-5 libpipeline1_1.3.0-1 libpod-latex-perl_0.61-1 libppl-c4_1:1.1-2+b1 libppl13_1:1.1-2+b1 libquadmath0_4.9.0-6 libreadline6_6.3-6 libselinux1_2.3-1 libsemanage-common_2.3-1 libsemanage1_2.3-1 libsepol1_2.3-1 libslang2_2.2.4-16 libss2_1.42.10-1 libstdc++-4.9-dev_4.9.0-6 libstdc++6_4.9.0-6 libstdc++6-4.6-dev_4.6.4-7 libswitch-perl_2.17-1 libterm-ui-perl_0.42-1 libtext-charwidth-perl_0.04-7+b2 libtext-iconv-perl_1.7-5+b1 libtext-soundex-perl_3.4-1+b1 libtext-unidecode-perl_0.04-2 libtext-wrapi18n-perl_0.06-7 libtimedate-perl_2.3000-2 libtinfo5_5.9+20140118-1 libtsan0_4.9.0-6 libubsan0_4.9.0-6 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-23.3 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5.8 libvtv0_4.9.0-6 libxml-libxml-perl_2.0116+dfsg-1 libxml-namespacesupport-perl_1.11-1 libxml-sax-base-perl_1.07-1 libxml-sax-perl_0.99+dfsg-2 libxml2_2.9.1+dfsg1-3 linux-libc-dev_3.14.7-1 login_1:4.2-2 lsb-base_4.1+Debian13 make_4.0-8 man-db_2.6.7.1-1 mawk_1.3.3-17 mount_2.20.1-5.8 multiarch-support_2.19-2 ncurses-base_5.9+20140118-1 ncurses-bin_5.9+20140118-1 passwd_1:4.2-2 patch_2.7.1-5 perl_5.18.2-4 perl-base_5.18.2-4 perl-modules_5.18.2-4 po-debconf_1.0.16+nmu2 readline-common_6.3-6 rename_0.20-3 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-ipgrab-dummy_0.invalid.0 sed_4.2.2-4 sensible-utils_0.0.9 startpar_0.59-3 sudo_1.8.9p5-1 sysv-rc_2.88dsf-53.2 sysvinit_2.88dsf-53.2 sysvinit-core_2.88dsf-53.2 sysvinit-utils_2.88dsf-53.2 tar_1.27.1-2 texinfo_5.2.0.dfsg.1-4 tzdata_2014e-1 ucf_3.0030 util-linux_2.20.1-5.8 vim_2:7.4.273-2+b1 vim-common_2:7.4.273-2+b1 vim-runtime_2:7.4.273-2 xz-utils_5.1.1alpha+20120614-2 zlib1g_1:1.2.8.dfsg-1 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Mon May 17 17:35:09 2010 UTC using DSA key ID AC15B50C gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./ipgrab_0.9.10-1.dsc dpkg-source: info: extracting ipgrab in ipgrab-0.9.10 dpkg-source: info: unpacking ipgrab_0.9.10.orig.tar.gz dpkg-source: info: unpacking ipgrab_0.9.10-1.debian.tar.gz dpkg-source: info: applying segfault_amd64.patch dpkg-source: info: applying spelling.patch Check disc space ──────────────── Sufficient free space for build Hack binNMU version ─────────────────── Created changelog entry for binNMU version 0.9.10-1clang1 User Environment ──────────────── DEB_BUILD_OPTIONS=parallel=10 HOME=/sbuild-nonexistent LOGNAME=user PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=unstable-amd64-sbuild SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1000 SCHROOT_GROUP=user SCHROOT_SESSION_ID=unstable-amd64-sbuild-89677aea-7628-4327-809e-9ea8b6cf1ce3 SCHROOT_UID=1000 SCHROOT_USER=user SHELL=/bin/sh USER=user dpkg-buildpackage ───────────────── dpkg-buildpackage: source package ipgrab dpkg-buildpackage: source version 0.9.10-1clang1 dpkg-buildpackage: source distribution unstable dpkg-source --before-build ipgrab-0.9.10 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp configure-stamp doc/stamp-vti doc/version.texi # Add here commands to clean up after the build process. [ ! -f Makefile ] || /usr/bin/make distclean dh_clean dpkg-buildpackage: warning: debian/rules must be updated to support the 'build-arch' and 'build-indep' targets (at least 'build-arch' seems to be missing) debian/rules build dh_testdir # Add here commands to configure the package. ./configure --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for main in -lintl... no 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 pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for pcap_close in -lpcap... yes checking for ANSI C header files... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for unistd.h... (cached) yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for sys/types.h... (cached) yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for error_at_line... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for function prototypes... yes checking whether setvbuf arguments are reversed... no checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for gettimeofday... yes checking for inet_ntoa... yes checking for memset... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strstr... yes configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands touch configure-stamp dh_testdir # Add here commands to compile the package. /usr/bin/make make[1]: Entering directory '/«PKGBUILDDIR»' cd . && /bin/bash /«PKGBUILDDIR»/missing --run autoheader /«PKGBUILDDIR»/missing: line 46: autoheader: command not found WARNING: `autoheader' is missing on your system. You should only need it if you modified `acconfig.h' or `configure.ac'. You might want to install the `Autoconf' and `GNU m4' packages. Grab them from any GNU archive site. rm -f stamp-h1 touch config.h.in cd . && /bin/bash ./config.status config.h config.status: creating config.h config.status: config.h is unchanged /usr/bin/make all-recursive make[2]: Entering directory '/«PKGBUILDDIR»' Making all in src make[3]: Entering directory '/«PKGBUILDDIR»/src' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -g -O2 -MT ah.o -MD -MP -MF ".deps/ah.Tpo" -c -o ah.o ah.c; \ then mv -f ".deps/ah.Tpo" ".deps/ah.Po"; else rm -f ".deps/ah.Tpo"; exit 1; fi ah.c:95:30: warning: passing 'char [6]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("| AH "); ^~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ah.c:97:30: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ah.c:108:32: warning: passing 'char [256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display("Next header", holder, strlen(holder), DISP_STRING); ^~~~~~ ./display.h:73:40: note: passing argument to parameter here inline void display (char *, u_int8_t *, u_int32_t, display_t); ^ In file included from ah.c:26: In file included from ./ah.h:30: In file included from ./local.h:30: In file included from ./display.h:32: ./layers.h:42:16: warning: inline function 'set_layer' is not defined [-Wundefined-inline] inline void set_layer(layer_t); ^ ah.c:55:3: note: used here set_layer(LAYER_NETWORK); ^ In file included from ah.c:26: In file included from ./ah.h:30: In file included from ./local.h:35: ./stats.h:56:13: warning: inline function 'stats_update' is not defined [-Wundefined-inline] inline void stats_update(int type); ^ ah.c:61:3: note: used here stats_update(STATS_AH); ^ In file included from ah.c:26: In file included from ./ah.h:30: In file included from ./local.h:31: ./packet_manip.h:71:18: warning: inline function 'get_packet_bytes' is not defined [-Wundefined-inline] inline int get_packet_bytes(u_int8_t *, packet_t *, unsigned int); ^ ah.c:67:7: note: used here if (get_packet_bytes((u_int8_t *) &ah, pkt, 12) == 0) ^ In file included from ah.c:26: In file included from ./ah.h:30: In file included from ./local.h:30: ./display.h:80:13: warning: inline function 'display_minimal_string' is not defined [-Wundefined-inline] inline void display_minimal_string (u_int8_t *); ^ ah.c:95:7: note: used here display_minimal_string("| AH "); ^ In file included from ah.c:26: In file included from ./ah.h:30: In file included from ./local.h:30: ./display.h:79:13: warning: inline function 'display_minimal' is not defined [-Wundefined-inline] inline void display_minimal (u_int8_t *, u_int32_t, display_t); ^ ah.c:96:7: note: used here display_minimal((u_int8_t *) &ah.spi, 4, DISP_HEX); ^ In file included from ah.c:26: In file included from ./ah.h:30: In file included from ./local.h:30: ./display.h:71:13: warning: inline function 'display_header_banner' is not defined [-Wundefined-inline] inline void display_header_banner (char *); ^ ah.c:103:9: note: used here display_header_banner("Authentication Header"); ^ In file included from ah.c:26: In file included from ./ah.h:30: In file included from ./local.h:30: ./display.h:73:13: warning: inline function 'display' is not defined [-Wundefined-inline] inline void display (char *, u_int8_t *, u_int32_t, display_t); ^ ah.c:108:9: note: used here display("Next header", holder, strlen(holder), DISP_STRING); ^ 10 warnings generated. if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -g -O2 -MT arp.o -MD -MP -MF ".deps/arp.Tpo" -c -o arp.o arp.c; \ then mv -f ".deps/arp.Tpo" ".deps/arp.Po"; else rm -f ".deps/arp.Tpo"; exit 1; fi arp.c:92:20: warning: passing 'char [18]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_ipv4("Sender IP address", ^~~~~~~~~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ arp.c:96:20: warning: passing 'char [18]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_ipv4("Target IP address", ^~~~~~~~~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ arp.c:162:30: warning: passing 'char [7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("| ARP "); ^~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ arp.c:164:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(map2str(arp_opcode_map, arp.opcode)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ arp.c:165:30: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ In file included from arp.c:27: In file included from ./arp.h:30: In file included from ./local.h:31: ./packet_manip.h:71:18: warning: inline function 'get_packet_bytes' is not defined [-Wundefined-inline] inline int get_packet_bytes(u_int8_t *, packet_t *, unsigned int); ^ arp.c:77:7: note: used here if (get_packet_bytes((u_int8_t *) ðarp, pkt, 20) == 0) ^ In file included from arp.c:27: In file included from ./arp.h:30: In file included from ./local.h:30: ./display.h:81:13: warning: inline function 'display_minimal_ipv4' is not defined [-Wundefined-inline] inline void display_minimal_ipv4 (u_int8_t *); ^ arp.c:86:7: note: used here display_minimal_ipv4((u_int8_t *) ðarp.target_protoaddr); ^ In file included from arp.c:27: In file included from ./arp.h:30: In file included from ./local.h:30: ./display.h:73:13: warning: inline function 'display' is not defined [-Wundefined-inline] inline void display (char *, u_int8_t *, u_int32_t, display_t); ^ arp.c:90:7: note: used here display("Sender Ether address", (u_int8_t *) ðarp.sender_hwaddr, 6, ^ In file included from arp.c:27: In file included from ./arp.h:30: In file included from ./local.h:30: ./display.h:77:13: warning: inline function 'display_ipv4' is not defined [-Wundefined-inline] inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ arp.c:92:7: note: used here display_ipv4("Sender IP address", ^ In file included from arp.c:27: In file included from ./arp.h:30: In file included from ./local.h:31: ./packet_manip.h:78:18: warning: inline function 'get_packet_apparentbytesleft' is not defined [-Wundefined-inline] inline u_int32_t get_packet_apparentbytesleft(packet_t *); ^ arp.c:112:15: note: used here bytes = get_packet_apparentbytesleft(pkt); ^ In file included from arp.c:27: In file included from ./arp.h:30: In file included from ./local.h:31: ./packet_manip.h:81:18: warning: inline function 'set_packet_apparentend' is not defined [-Wundefined-inline] inline void set_packet_apparentend(packet_t *, int); ^ arp.c:114:2: note: used here set_packet_apparentend(pkt, 0); ^ In file included from arp.c:27: In file included from ./arp.h:30: In file included from ./local.h:30: In file included from ./display.h:32: ./layers.h:42:16: warning: inline function 'set_layer' is not defined [-Wundefined-inline] inline void set_layer(layer_t); ^ arp.c:133:3: note: used here set_layer(LAYER_DATALINK); ^ In file included from arp.c:27: In file included from ./arp.h:30: In file included from ./local.h:35: ./stats.h:56:13: warning: inline function 'stats_update' is not defined [-Wundefined-inline] inline void stats_update(int type); ^ arp.c:139:3: note: used here stats_update(STATS_ARP); ^ In file included from arp.c:27: In file included from ./arp.h:30: In file included from ./local.h:30: ./display.h:80:13: warning: inline function 'display_minimal_string' is not defined [-Wundefined-inline] inline void display_minimal_string (u_int8_t *); ^ arp.c:162:7: note: used here display_minimal_string("| ARP "); ^ In file included from arp.c:27: In file included from ./arp.h:30: In file included from ./local.h:30: ./display.h:71:13: warning: inline function 'display_header_banner' is not defined [-Wundefined-inline] inline void display_header_banner (char *); ^ arp.c:173:7: note: used here display_header_banner("ARP Header"); ^ In file included from arp.c:27: In file included from ./arp.h:30: In file included from ./local.h:30: ./display.h:76:13: warning: inline function 'display_strmap_hex' is not defined [-Wundefined-inline] inline void display_strmap_hex(char *, int, strmap_t *map); ^ arp.c:179:7: note: used here display_strmap_hex("Hardware type", arp.hwaddr_format, ^ In file included from arp.c:27: In file included from ./arp.h:30: In file included from ./local.h:30: ./display.h:75:13: warning: inline function 'display_strmap' is not defined [-Wundefined-inline] inline void display_strmap(char *, int, strmap_t *map); ^ arp.c:202:7: note: used here display_strmap("Opcode", arp.opcode, arp_opcode_map); ^ In file included from arp.c:27: In file included from ./arp.h:30: In file included from ./local.h:33: ./hexbuffer.h:36:13: warning: inline function 'hexbuffer_flush' is not defined [-Wundefined-inline] inline void hexbuffer_flush(void); ^ arp.c:230:3: note: used here hexbuffer_flush(); ^ 18 warnings generated. if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -g -O2 -MT cbcp.o -MD -MP -MF ".deps/cbcp.Tpo" -c -o cbcp.o cbcp.c; \ then mv -f ".deps/cbcp.Tpo" ".deps/cbcp.Po"; else rm -f ".deps/cbcp.Tpo"; exit 1; fi cbcp.c:120:30: warning: passing 'char [8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("| CBCP "); ^~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ cbcp.c:121:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(map2str(cbcp_code_map, cbcp.code)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ cbcp.c:122:30: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ cbcp.c:181:32: warning: passing 'char [3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(", "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ cbcp.c:183:32: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("("); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ cbcp.c:193:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(map2str(cbcp_option_map, type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ cbcp.c:218:27: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ cbcp.c:235:31: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(")"); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ In file included from cbcp.c:26: In file included from ./cbcp.h:30: In file included from ./local.h:30: In file included from ./display.h:32: ./layers.h:42:16: warning: inline function 'set_layer' is not defined [-Wundefined-inline] inline void set_layer(layer_t); ^ cbcp.c:99:3: note: used here set_layer(LAYER_DATALINK); ^ In file included from cbcp.c:26: In file included from ./cbcp.h:30: In file included from ./local.h:31: ./packet_manip.h:71:18: warning: inline function 'get_packet_bytes' is not defined [-Wundefined-inline] inline int get_packet_bytes(u_int8_t *, packet_t *, unsigned int); ^ cbcp.c:105:7: note: used here if (get_packet_bytes((u_int8_t *) &cbcp, pkt, sizeof(cbcp_t)) == 0) ^ In file included from cbcp.c:26: In file included from ./cbcp.h:30: In file included from ./local.h:30: ./display.h:80:13: warning: inline function 'display_minimal_string' is not defined [-Wundefined-inline] inline void display_minimal_string (u_int8_t *); ^ cbcp.c:120:7: note: used here display_minimal_string("| CBCP "); ^ In file included from cbcp.c:26: In file included from ./cbcp.h:30: In file included from ./local.h:30: ./display.h:71:13: warning: inline function 'display_header_banner' is not defined [-Wundefined-inline] inline void display_header_banner (char *); ^ cbcp.c:126:7: note: used here display_header_banner("CBCP Header"); ^ In file included from cbcp.c:26: In file included from ./cbcp.h:30: In file included from ./local.h:30: ./display.h:75:13: warning: inline function 'display_strmap' is not defined [-Wundefined-inline] inline void display_strmap(char *, int, strmap_t *map); ^ cbcp.c:127:7: note: used here display_strmap("Code", cbcp.code, cbcp_code_map); ^ In file included from cbcp.c:26: In file included from ./cbcp.h:30: In file included from ./local.h:30: ./display.h:73:13: warning: inline function 'display' is not defined [-Wundefined-inline] inline void display (char *, u_int8_t *, u_int32_t, display_t); ^ cbcp.c:128:7: note: used here display("Identifier", &cbcp.identifier, 1, DISP_DEC); ^ In file included from cbcp.c:26: In file included from ./cbcp.h:30: In file included from ./local.h:30: ./display.h:79:13: warning: inline function 'display_minimal' is not defined [-Wundefined-inline] inline void display_minimal (u_int8_t *, u_int32_t, display_t); ^ cbcp.c:219:4: note: used here display_minimal(value, length-2, DISP_HEX); ^ In file included from cbcp.c:26: In file included from ./cbcp.h:30: In file included from ./local.h:33: ./hexbuffer.h:36:13: warning: inline function 'hexbuffer_flush' is not defined [-Wundefined-inline] inline void hexbuffer_flush(void); ^ cbcp.c:247:5: note: used here hexbuffer_flush(); ^ 16 warnings generated. if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -g -O2 -MT ccp.o -MD -MP -MF ".deps/ccp.Tpo" -c -o ccp.o ccp.c; \ then mv -f ".deps/ccp.Tpo" ".deps/ccp.Po"; else rm -f ".deps/ccp.Tpo"; exit 1; fi ccp.c:150:30: warning: passing 'char [7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("| CCP "); ^~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ccp.c:151:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(map2str(ccp_code_map, ccp.code)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ccp.c:152:30: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ccp.c:212:32: warning: passing 'char [3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(", "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ccp.c:214:32: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("("); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ccp.c:224:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(map2str(ccp_option_map, type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ccp.c:249:27: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ccp.c:266:31: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(")"); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ In file included from ccp.c:26: In file included from ./ccp.h:30: In file included from ./local.h:30: In file included from ./display.h:32: ./layers.h:42:16: warning: inline function 'set_layer' is not defined [-Wundefined-inline] inline void set_layer(layer_t); ^ ccp.c:129:3: note: used here set_layer(LAYER_DATALINK); ^ In file included from ccp.c:26: In file included from ./ccp.h:30: In file included from ./local.h:31: ./packet_manip.h:71:18: warning: inline function 'get_packet_bytes' is not defined [-Wundefined-inline] inline int get_packet_bytes(u_int8_t *, packet_t *, unsigned int); ^ ccp.c:135:7: note: used here if (get_packet_bytes((u_int8_t *) &ccp, pkt, sizeof(ccp_t)) == 0) ^ In file included from ccp.c:26: In file included from ./ccp.h:30: In file included from ./local.h:30: ./display.h:80:13: warning: inline function 'display_minimal_string' is not defined [-Wundefined-inline] inline void display_minimal_string (u_int8_t *); ^ ccp.c:150:7: note: used here display_minimal_string("| CCP "); ^ In file included from ccp.c:26: In file included from ./ccp.h:30: In file included from ./local.h:30: ./display.h:71:13: warning: inline function 'display_header_banner' is not defined [-Wundefined-inline] inline void display_header_banner (char *); ^ ccp.c:156:7: note: used here display_header_banner("CCP Header"); ^ In file included from ccp.c:26: In file included from ./ccp.h:30: In file included from ./local.h:30: ./display.h:75:13: warning: inline function 'display_strmap' is not defined [-Wundefined-inline] inline void display_strmap(char *, int, strmap_t *map); ^ ccp.c:157:7: note: used here display_strmap("Code", ccp.code, ccp_code_map); ^ In file included from ccp.c:26: In file included from ./ccp.h:30: In file included from ./local.h:30: ./display.h:73:13: warning: inline function 'display' is not defined [-Wundefined-inline] inline void display (char *, u_int8_t *, u_int32_t, display_t); ^ ccp.c:158:7: note: used here display("Identifier", &ccp.identifier, 1, DISP_DEC); ^ In file included from ccp.c:26: In file included from ./ccp.h:30: In file included from ./local.h:30: ./display.h:79:13: warning: inline function 'display_minimal' is not defined [-Wundefined-inline] inline void display_minimal (u_int8_t *, u_int32_t, display_t); ^ ccp.c:250:4: note: used here display_minimal(value, length-2, DISP_HEX); ^ In file included from ccp.c:26: In file included from ./ccp.h:30: In file included from ./local.h:30: In file included from ./display.h:31: ./utilities.h:35:15: warning: inline function 'my_malloc' is not defined [-Wundefined-inline] inline void * my_malloc(size_t); ^ ccp.c:285:23: note: used here data = (u_int8_t *) my_malloc(data_len); ^ In file included from ccp.c:26: In file included from ./ccp.h:30: In file included from ./local.h:30: In file included from ./display.h:31: ./utilities.h:36:15: warning: inline function 'my_free' is not defined [-Wundefined-inline] inline void my_free(void *); ^ ccp.c:290:7: note: used here my_free(data); ^ In file included from ccp.c:26: In file included from ./ccp.h:30: In file included from ./local.h:33: ./hexbuffer.h:36:13: warning: inline function 'hexbuffer_flush' is not defined [-Wundefined-inline] inline void hexbuffer_flush(void); ^ ccp.c:344:5: note: used here hexbuffer_flush(); ^ 18 warnings generated. if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -g -O2 -MT chap.o -MD -MP -MF ".deps/chap.Tpo" -c -o chap.o chap.c; \ then mv -f ".deps/chap.Tpo" ".deps/chap.Po"; else rm -f ".deps/chap.Tpo"; exit 1; fi chap.c:98:30: warning: passing 'char [8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("| CHAP "); ^~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ chap.c:149:31: warning: passing 'char [11]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("challenge "); ^~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ chap.c:151:31: warning: passing 'char [10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("response "); ^~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ chap.c:152:29: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("("); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ chap.c:154:29: warning: passing 'char [3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(", "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ chap.c:156:29: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(")"); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ chap.c:162:21: warning: passing 'char [5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string("Name", name); ^~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ chap.c:191:31: warning: passing 'char [9]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("success "); ^~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ chap.c:193:31: warning: passing 'char [9]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("failure "); ^~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ chap.c:194:29: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("("); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ chap.c:196:29: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(")"); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ chap.c:200:21: warning: passing 'char [8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string("Message", message); ^~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ In file included from chap.c:26: In file included from ./chap.h:30: In file included from ./local.h:30: In file included from ./display.h:32: ./layers.h:42:16: warning: inline function 'set_layer' is not defined [-Wundefined-inline] inline void set_layer(layer_t); ^ chap.c:77:3: note: used here set_layer(LAYER_DATALINK); ^ In file included from chap.c:26: In file included from ./chap.h:30: In file included from ./local.h:31: ./packet_manip.h:71:18: warning: inline function 'get_packet_bytes' is not defined [-Wundefined-inline] inline int get_packet_bytes(u_int8_t *, packet_t *, unsigned int); ^ chap.c:83:7: note: used here if (get_packet_bytes((u_int8_t *) &chap, pkt, sizeof(chap_t)) == 0) ^ In file included from chap.c:26: In file included from ./chap.h:30: In file included from ./local.h:30: ./display.h:80:13: warning: inline function 'display_minimal_string' is not defined [-Wundefined-inline] inline void display_minimal_string (u_int8_t *); ^ chap.c:98:7: note: used here display_minimal_string("| CHAP "); ^ In file included from chap.c:26: In file included from ./chap.h:30: In file included from ./local.h:30: ./display.h:71:13: warning: inline function 'display_header_banner' is not defined [-Wundefined-inline] inline void display_header_banner (char *); ^ chap.c:102:7: note: used here display_header_banner("CHAP Header"); ^ In file included from chap.c:26: In file included from ./chap.h:30: In file included from ./local.h:30: ./display.h:75:13: warning: inline function 'display_strmap' is not defined [-Wundefined-inline] inline void display_strmap(char *, int, strmap_t *map); ^ chap.c:103:7: note: used here display_strmap("Code", chap.code, chap_code_map); ^ In file included from chap.c:26: In file included from ./chap.h:30: In file included from ./local.h:30: ./display.h:73:13: warning: inline function 'display' is not defined [-Wundefined-inline] inline void display (char *, u_int8_t *, u_int32_t, display_t); ^ chap.c:104:7: note: used here display("Identifier", &chap.identifier, 1, DISP_DEC); ^ In file included from chap.c:26: In file included from ./chap.h:30: In file included from ./local.h:30: In file included from ./display.h:31: ./utilities.h:35:15: warning: inline function 'my_malloc' is not defined [-Wundefined-inline] inline void * my_malloc(size_t); ^ chap.c:127:23: note: used here value = (u_int8_t *) my_malloc(value_size); ^ In file included from chap.c:26: In file included from ./chap.h:30: In file included from ./local.h:30: In file included from ./display.h:31: ./utilities.h:36:15: warning: inline function 'my_free' is not defined [-Wundefined-inline] inline void my_free(void *); ^ chap.c:130:6: note: used here my_free(value); ^ In file included from chap.c:26: In file included from ./chap.h:30: In file included from ./local.h:30: ./display.h:79:13: warning: inline function 'display_minimal' is not defined [-Wundefined-inline] inline void display_minimal (u_int8_t *, u_int32_t, display_t); ^ chap.c:153:6: note: used here display_minimal(value, value_size, DISP_HEX); ^ In file included from chap.c:26: In file included from ./chap.h:30: In file included from ./local.h:30: ./display.h:74:13: warning: inline function 'display_string' is not defined [-Wundefined-inline] inline void display_string (u_int8_t *, u_int8_t *); ^ chap.c:162:6: note: used here display_string("Name", name); ^ 22 warnings generated. if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -g -O2 -MT datalink.o -MD -MP -MF ".deps/datalink.Tpo" -c -o datalink.o datalink.c; \ then mv -f ".deps/datalink.Tpo" ".deps/datalink.Po"; else rm -f ".deps/datalink.Tpo"; exit 1; fi datalink.c:180:30: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ datalink.c:185:27: warning: passing 'char [32]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(packet.timestamp); ^~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ datalink.c:186:27: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ In file included from datalink.c:29: In file included from ./ethernet.h:30: In file included from ./local.h:35: ./stats.h:58:13: warning: inline function 'stats_reset' is not defined [-Wundefined-inline] inline void stats_reset(void); ^ datalink.c:145:3: note: used here stats_reset(); ^ In file included from datalink.c:29: In file included from ./ethernet.h:30: In file included from ./local.h:35: ./stats.h:60:13: warning: inline function 'stats_unpause' is not defined [-Wundefined-inline] inline void stats_unpause(void); ^ datalink.c:146:3: note: used here stats_unpause(); ^ In file included from datalink.c:29: In file included from ./ethernet.h:30: In file included from ./local.h:30: In file included from ./display.h:31: ./utilities.h:35:15: warning: inline function 'my_malloc' is not defined [-Wundefined-inline] inline void * my_malloc(size_t); ^ datalink.c:152:21: note: used here packet.contents = my_malloc(captured_length); ^ In file included from datalink.c:29: In file included from ./ethernet.h:30: In file included from ./local.h:30: ./display.h:79:13: warning: inline function 'display_minimal' is not defined [-Wundefined-inline] inline void display_minimal (u_int8_t *, u_int32_t, display_t); ^ datalink.c:179:7: note: used here display_minimal((u_int8_t *) &count, 4, DISP_DEC); ^ In file included from datalink.c:29: In file included from ./ethernet.h:30: In file included from ./local.h:30: ./display.h:80:13: warning: inline function 'display_minimal_string' is not defined [-Wundefined-inline] inline void display_minimal_string (u_int8_t *); ^ datalink.c:180:7: note: used here display_minimal_string(" "); ^ In file included from datalink.c:29: In file included from ./ethernet.h:30: In file included from ./local.h:33: ./hexbuffer.h:37:13: warning: inline function 'hexbuffer_kill' is not defined [-Wundefined-inline] inline void hexbuffer_kill(void); ^ datalink.c:194:3: note: used here hexbuffer_kill(); ^ In file included from datalink.c:29: In file included from ./ethernet.h:30: In file included from ./local.h:30: In file included from ./display.h:32: ./layers.h:42:16: warning: inline function 'set_layer' is not defined [-Wundefined-inline] inline void set_layer(layer_t); ^ datalink.c:231:3: note: used here set_layer(LAYER_NONE); ^ In file included from datalink.c:29: In file included from ./ethernet.h:30: In file included from ./local.h:31: ./packet_manip.h:78:18: warning: inline function 'get_packet_apparentbytesleft' is not defined [-Wundefined-inline] inline u_int32_t get_packet_apparentbytesleft(packet_t *); ^ datalink.c:243:25: note: used here if (my_args->p && get_packet_apparentbytesleft(&packet)) ^ In file included from datalink.c:29: In file included from ./ethernet.h:30: In file included from ./local.h:31: ./packet_manip.h:82:18: warning: inline function 'packet_haspadding' is not defined [-Wundefined-inline] inline int packet_haspadding(packet_t *); ^ datalink.c:250:25: note: used here if (my_args->d && packet_haspadding(&packet)) ^ In file included from datalink.c:29: In file included from ./ethernet.h:30: In file included from ./local.h:30: ./display.h:83:13: warning: inline function 'display_minimal_cr' is not defined [-Wundefined-inline] inline void display_minimal_cr(void); ^ datalink.c:260:7: note: used here display_minimal_cr(); ^ In file included from datalink.c:29: In file included from ./ethernet.h:30: In file included from ./local.h:30: In file included from ./display.h:31: ./utilities.h:36:15: warning: inline function 'my_free' is not defined [-Wundefined-inline] inline void my_free(void *); ^ datalink.c:274:3: note: used here my_free(packet.contents); ^ 14 warnings generated. if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -g -O2 -MT dhcp.o -MD -MP -MF ".deps/dhcp.Tpo" -c -o dhcp.o dhcp.c; \ then mv -f ".deps/dhcp.Tpo" ".deps/dhcp.Po"; else rm -f ".deps/dhcp.Tpo"; exit 1; fi dhcp.c:164:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(map2str(dhcp_op_map, dhcp.op)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ dhcp.c:165:30: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ dhcp.c:186:20: warning: passing 'char [12]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_ipv4("Client addr", (u_int8_t *) &dhcp.ciaddr); ^~~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ dhcp.c:187:20: warning: passing 'char [10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_ipv4("Your addr", (u_int8_t *) &dhcp.yiaddr); ^~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ dhcp.c:188:20: warning: passing 'char [17]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_ipv4("Next server addr", (u_int8_t *) &dhcp.siaddr); ^~~~~~~~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ dhcp.c:189:20: warning: passing 'char [17]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_ipv4("Relay agent addr", (u_int8_t *) &dhcp.giaddr); ^~~~~~~~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ dhcp.c:268:19: warning: passing 'char [7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_ipv4(" Mask", (u_int8_t *) holder); ^~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ dhcp.c:295:16: warning: passing 'char [10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_ipv4(" Address", (u_int8_t *) holder); ^~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ dhcp.c:347:21: warning: passing 'char [10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string("Node type", holder); ^~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dhcp.c:347:34: warning: passing 'char [256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string("Node type", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dhcp.c:354:19: warning: passing 'char [10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_ipv4(" Address", (u_int8_t *) holder); ^~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ dhcp.c:358:31: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ dhcp.c:378:23: warning: passing 'char [15]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string(" Message type", holder); ^~~~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dhcp.c:378:41: warning: passing 'char [256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string(" Message type", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dhcp.c:381:26: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(map2str(dhcp_msgtype_map, msg_type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ dhcp.c:382:26: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ dhcp.c:391:19: warning: passing 'char [10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_ipv4(" Address", (u_int8_t *) holder); ^~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ dhcp.c:405:20: warning: passing 'char [9]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string(" Option", holder); ^~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dhcp.c:405:32: warning: passing 'char [256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string(" Option", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dhcp.c:467:23: warning: passing 'char [16]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string(" Hardware type", (u_int8_t *) holder); ^~~~~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dhcp.c:287:2: warning: unused label 'case_DHCP_OPTION_SWAPSERVER' [-Wunused-label] case_DHCP_OPTION_SWAPSERVER: /* 16 */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dhcp.c:286:2: warning: unused label 'case_DHCP_OPTION_RESLOCSERVER' [-Wunused-label] case_DHCP_OPTION_RESLOCSERVER: /* 11 */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dhcp.c:285:2: warning: unused label 'case_DHCP_OPTION_IMPRESSSERVER' [-Wunused-label] case_DHCP_OPTION_IMPRESSSERVER: /* 10 */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from dhcp.c:26: In file included from ./arp.h:30: In file included from ./local.h:30: In file included from ./display.h:32: ./layers.h:42:16: warning: inline function 'set_layer' is not defined [-Wundefined-inline] inline void set_layer(layer_t); ^ dhcp.c:135:3: note: used here set_layer(LAYER_APPLICATION); ^ In file included from dhcp.c:26: In file included from ./arp.h:30: In file included from ./local.h:31: ./packet_manip.h:71:18: warning: inline function 'get_packet_bytes' is not defined [-Wundefined-inline] inline int get_packet_bytes(u_int8_t *, packet_t *, unsigned int); ^ dhcp.c:141:7: note: used here if (get_packet_bytes((u_int8_t *) &dhcp, pkt, sizeof(dhcp_header_t)) == 0) ^ In file included from dhcp.c:26: In file included from ./arp.h:30: In file included from ./local.h:30: ./display.h:71:13: warning: inline function 'display_header_banner' is not defined [-Wundefined-inline] inline void display_header_banner (char *); ^ dhcp.c:154:5: note: used here display_header_banner("DHCP Header"); ^ In file included from dhcp.c:26: In file included from ./arp.h:30: In file included from ./local.h:30: ./display.h:80:13: warning: inline function 'display_minimal_string' is not defined [-Wundefined-inline] inline void display_minimal_string (u_int8_t *); ^ dhcp.c:164:7: note: used here display_minimal_string(map2str(dhcp_op_map, dhcp.op)); ^ In file included from dhcp.c:26: In file included from ./arp.h:30: In file included from ./local.h:30: ./display.h:73:13: warning: inline function 'display' is not defined [-Wundefined-inline] inline void display (char *, u_int8_t *, u_int32_t, display_t); ^ dhcp.c:169:7: note: used here display("Operation", (u_int8_t *) holder, strlen(holder), DISP_STRING); ^ In file included from dhcp.c:26: In file included from ./arp.h:30: In file included from ./local.h:30: ./display.h:77:13: warning: inline function 'display_ipv4' is not defined [-Wundefined-inline] inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ dhcp.c:186:7: note: used here display_ipv4("Client addr", (u_int8_t *) &dhcp.ciaddr); ^ In file included from dhcp.c:26: In file included from ./arp.h:30: In file included from ./local.h:31: ./packet_manip.h:70:18: warning: inline function 'look_packet_bytes' is not defined [-Wundefined-inline] inline int look_packet_bytes(u_int8_t *, packet_t *, unsigned int); ^ dhcp.c:211:7: note: used here if (look_packet_bytes((u_int8_t *) &cookie_holder, pkt, 4) == 0) ^ In file included from dhcp.c:26: In file included from ./arp.h:30: In file included from ./local.h:31: ./packet_manip.h:75:18: warning: inline function 'skip_packet_bytes' is not defined [-Wundefined-inline] inline int skip_packet_bytes(packet_t *, unsigned int); ^ dhcp.c:215:11: note: used here if (skip_packet_bytes(pkt, 4) == 0) ^ In file included from dhcp.c:26: In file included from ./arp.h:30: In file included from ./local.h:31: ./packet_manip.h:78:18: warning: inline function 'get_packet_apparentbytesleft' is not defined [-Wundefined-inline] inline u_int32_t get_packet_apparentbytesleft(packet_t *); ^ dhcp.c:224:10: note: used here while (get_packet_apparentbytesleft(pkt)) ^ In file included from dhcp.c:26: In file included from ./arp.h:30: In file included from ./local.h:30: ./display.h:74:13: warning: inline function 'display_string' is not defined [-Wundefined-inline] inline void display_string (u_int8_t *, u_int8_t *); ^ dhcp.c:347:6: note: used here display_string("Node type", holder); ^ In file included from dhcp.c:26: In file included from ./arp.h:30: In file included from ./local.h:30: ./display.h:81:13: warning: inline function 'display_minimal_ipv4' is not defined [-Wundefined-inline] inline void display_minimal_ipv4 (u_int8_t *); ^ dhcp.c:357:8: note: used here display_minimal_ipv4((u_int8_t *) holder); ^ In file included from dhcp.c:26: In file included from ./arp.h:30: In file included from ./local.h:33: ./hexbuffer.h:36:13: warning: inline function 'hexbuffer_flush' is not defined [-Wundefined-inline] inline void hexbuffer_flush(void); ^ dhcp.c:501:3: note: used here hexbuffer_flush(); ^ 35 warnings generated. if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -g -O2 -MT display.o -MD -MP -MF ".deps/display.Tpo" -c -o display.o display.c; \ then mv -f ".deps/display.Tpo" ".deps/display.Po"; else rm -f ".deps/display.Tpo"; exit 1; fi display.c:378:20: warning: passing 'u_int8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = strlen(ptr); ^~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ display.c:390:24: warning: passing 'u_int8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!isprint_str(ptr, len)) ^~~ ./utilities.h:32:33: note: passing argument to parameter here inline int isprint_str(char *, int); ^ display.c:431:35: warning: passing 'u_int8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal(content, strlen(content), DISP_STRING); ^~~~~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ display.c:446:34: warning: passing 'u_int8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] display(label, content, strlen(content), DISP_STRING_MULTILINE); ^~~~~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ display.c:446:11: warning: passing 'u_int8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] display(label, content, strlen(content), DISP_STRING_MULTILINE); ^~~~~ display.c:161:28: note: passing argument to parameter 'label' here inline void display(char * label, u_int8_t * content, u_int32_t length, ^ display.c:465:18: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string(label, holder); ^~~~~ display.c:444:39: note: passing argument to parameter 'label' here inline void display_string(u_int8_t * label, u_int8_t * content) ^ display.c:465:25: warning: passing 'char [64]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string(label, holder); ^~~~~~ display.c:444:57: note: passing argument to parameter 'content' here inline void display_string(u_int8_t * label, u_int8_t * content) ^ display.c:485:18: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string(label, holder); ^~~~~ display.c:444:39: note: passing argument to parameter 'label' here inline void display_string(u_int8_t * label, u_int8_t * content) ^ display.c:485:25: warning: passing 'char [64]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string(label, holder); ^~~~~~ display.c:444:57: note: passing argument to parameter 'content' here inline void display_string(u_int8_t * label, u_int8_t * content) ^ display.c:500:11: warning: passing 'u_int8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] display(label, addr, 4, DISP_DOTTEDDEC); ^~~~~ display.c:161:28: note: passing argument to parameter 'label' here inline void display(char * label, u_int8_t * content, u_int32_t length, ^ display.c:515:11: warning: passing 'u_int8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] display(label, addr, 16, DISP_HEXCOLONS4); ^~~~~ display.c:161:28: note: passing argument to parameter 'label' here inline void display(char * label, u_int8_t * content, u_int32_t length, ^ In file included from display.c:26: In file included from ./display.h:32: ./layers.h:44:16: warning: inline function 'check_layer' is not defined [-Wundefined-inline] inline int check_layer(void); ^ display.c:51:7: note: used here if (check_layer()) ^ In file included from display.c:26: In file included from ./display.h:31: ./utilities.h:35:15: warning: inline function 'my_malloc' is not defined [-Wundefined-inline] inline void * my_malloc(size_t); ^ display.c:246:27: note: used here temp = (u_int8_t *) my_malloc(length); ^ In file included from display.c:26: In file included from ./display.h:31: ./utilities.h:31:15: warning: inline function 'reverse_byte_order' is not defined [-Wundefined-inline] inline void reverse_byte_order(u_int8_t *, int); ^ display.c:249:7: note: used here reverse_byte_order(temp, length); ^ In file included from display.c:26: In file included from ./display.h:31: ./utilities.h:36:15: warning: inline function 'my_free' is not defined [-Wundefined-inline] inline void my_free(void *); ^ display.c:260:7: note: used here my_free(temp); ^ In file included from display.c:26: In file included from ./display.h:31: ./utilities.h:32:15: warning: inline function 'isprint_str' is not defined [-Wundefined-inline] inline int isprint_str(char *, int); ^ display.c:390:12: note: used here if (!isprint_str(ptr, len)) ^ 16 warnings generated. if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -g -O2 -MT dns.o -MD -MP -MF ".deps/dns.Tpo" -c -o dns.o dns.c; \ then mv -f ".deps/dns.Tpo" ".deps/dns.Po"; else rm -f ".deps/dns.Tpo"; exit 1; fi dns.c:145:27: warning: passing 'char [256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(holder); ^~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ dns.c:146:27: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ dns.c:150:19: warning: passing 'char [6]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string("Query", holder); ^~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:150:28: warning: passing 'char [256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string("Query", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:153:19: warning: passing 'char [13]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string(" Query type", holder); ^~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:153:35: warning: passing 'char [256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string(" Query type", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:156:19: warning: passing 'char [14]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string(" Query class", holder); ^~~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:156:36: warning: passing 'char [256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string(" Query class", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:219:25: warning: passing 'u_int8_t [64]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_ns_labels(pkt, resource_data); ^~~~~~~~~~~~~ ./ns_labels.h:54:40: note: passing argument to parameter here void parse_ns_labels(packet_t *, char *); ^ dns.c:240:31: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ dns.c:246:31: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ dns.c:251:19: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string(answer_type, holder); ^~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:251:32: warning: passing 'char [256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string(answer_type, holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:254:19: warning: passing 'char [13]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string(" Query type", holder); ^~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:254:35: warning: passing 'char [256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string(" Query type", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:257:19: warning: passing 'char [14]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string(" Query class", holder); ^~~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:257:36: warning: passing 'char [256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string(" Query class", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:264:21: warning: passing 'char [16]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_ipv4(" Resource data", (u_int8_t *) resource_data); ^~~~~~~~~~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ dns.c:268:21: warning: passing 'char [16]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_ipv6(" Resource data", (u_int8_t *) resource_data); ^~~~~~~~~~~~~~~~~ ./display.h:78:37: note: passing argument to parameter here inline void display_ipv6 (u_int8_t *, u_int8_t *); ^ dns.c:275:23: warning: passing 'char [16]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string(" Resource data", resource_data); ^~~~~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:351:30: warning: passing 'char [7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("| DNS "); ^~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ dns.c:352:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(map2str(dns_qrflag_map, f_qr)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ dns.c:353:30: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ dns.c:366:22: warning: passing 'char [20]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string("Flag query/response", holder); ^~~~~~~~~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:366:45: warning: passing 'char [256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string("Flag query/response", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:369:22: warning: passing 'char [12]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string("Flag opcode", holder); ^~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:369:37: warning: passing 'char [256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string("Flag opcode", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:377:22: warning: passing 'char [17]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string("Flag return code", holder); ^~~~~~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:377:42: warning: passing 'char [256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string("Flag return code", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ In file included from dns.c:26: In file included from ./dns.h:30: In file included from ./local.h:31: ./packet_manip.h:71:18: warning: inline function 'get_packet_bytes' is not defined [-Wundefined-inline] inline int get_packet_bytes(u_int8_t *, packet_t *, unsigned int); ^ dns.c:127:11: note: used here if (get_packet_bytes((u_int8_t *) &query_type, pkt, 2) == 0) ^ In file included from dns.c:26: In file included from ./dns.h:30: In file included from ./local.h:30: ./display.h:80:13: warning: inline function 'display_minimal_string' is not defined [-Wundefined-inline] inline void display_minimal_string (u_int8_t *); ^ dns.c:145:4: note: used here display_minimal_string(holder); ^ In file included from dns.c:26: In file included from ./dns.h:30: In file included from ./local.h:30: ./display.h:74:13: warning: inline function 'display_string' is not defined [-Wundefined-inline] inline void display_string (u_int8_t *, u_int8_t *); ^ dns.c:150:4: note: used here display_string("Query", holder); ^ In file included from dns.c:26: In file included from ./dns.h:30: In file included from ./local.h:30: ./display.h:81:13: warning: inline function 'display_minimal_ipv4' is not defined [-Wundefined-inline] inline void display_minimal_ipv4 (u_int8_t *); ^ dns.c:239:8: note: used here display_minimal_ipv4((u_int8_t *) resource_data); ^ In file included from dns.c:26: In file included from ./dns.h:30: In file included from ./local.h:30: ./display.h:82:13: warning: inline function 'display_minimal_ipv6' is not defined [-Wundefined-inline] inline void display_minimal_ipv6 (u_int8_t *); ^ dns.c:245:8: note: used here display_minimal_ipv6((u_int8_t *) resource_data); ^ In file included from dns.c:26: In file included from ./dns.h:30: In file included from ./local.h:30: ./display.h:73:13: warning: inline function 'display' is not defined [-Wundefined-inline] inline void display (char *, u_int8_t *, u_int32_t, display_t); ^ dns.c:258:4: note: used here display(" TTL", (u_int8_t *) &ttl, 4, DISP_DEC); ^ In file included from dns.c:26: In file included from ./dns.h:30: In file included from ./local.h:30: ./display.h:77:13: warning: inline function 'display_ipv4' is not defined [-Wundefined-inline] inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ dns.c:264:8: note: used here display_ipv4(" Resource data", (u_int8_t *) resource_data); ^ In file included from dns.c:26: In file included from ./dns.h:30: In file included from ./local.h:30: ./display.h:78:13: warning: inline function 'display_ipv6' is not defined [-Wundefined-inline] inline void display_ipv6 (u_int8_t *, u_int8_t *); ^ dns.c:268:8: note: used here display_ipv6(" Resource data", (u_int8_t *) resource_data); ^ In file included from dns.c:26: In file included from ./dns.h:30: In file included from ./local.h:30: In file included from ./display.h:32: ./layers.h:42:16: warning: inline function 'set_layer' is not defined [-Wundefined-inline] inline void set_layer(layer_t); ^ dns.c:305:3: note: used here set_layer(LAYER_APPLICATION); ^ In file included from dns.c:26: In file included from ./dns.h:30: In file included from ./local.h:31: ./packet_manip.h:79:18: warning: inline function 'set_packet_mark' is not defined [-Wundefined-inline] inline void set_packet_mark(packet_t *); ^ dns.c:312:3: note: used here set_packet_mark(pkt); ^ In file included from dns.c:26: In file included from ./dns.h:30: In file included from ./local.h:30: ./display.h:71:13: warning: inline function 'display_header_banner' is not defined [-Wundefined-inline] inline void display_header_banner (char *); ^ dns.c:358:7: note: used here display_header_banner("DNS Header"); ^ In file included from dns.c:26: In file included from ./dns.h:30: In file included from ./local.h:33: ./hexbuffer.h:36:13: warning: inline function 'hexbuffer_flush' is not defined [-Wundefined-inline] inline void hexbuffer_flush(void); ^ dns.c:400:3: note: used here hexbuffer_flush(); ^ 41 warnings generated. if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -g -O2 -MT dynports.o -MD -MP -MF ".deps/dynports.Tpo" -c -o dynports.o dynports.c; \ then mv -f ".deps/dynports.Tpo" ".deps/dynports.Po"; else rm -f ".deps/dynports.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -g -O2 -MT error.o -MD -MP -MF ".deps/error.Tpo" -c -o error.o error.c; \ then mv -f ".deps/error.Tpo" ".deps/error.Po"; else rm -f ".deps/error.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -g -O2 -MT esp.o -MD -MP -MF ".deps/esp.Tpo" -c -o esp.o esp.c; \ then mv -f ".deps/esp.Tpo" ".deps/esp.Po"; else rm -f ".deps/esp.Tpo"; exit 1; fi esp.c:79:30: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ In file included from esp.c:32: In file included from ./ip_protocols.h:29: In file included from ./ip.h:30: In file included from ./local.h:30: In file included from ./display.h:32: ./layers.h:42:16: warning: inline function 'set_layer' is not defined [-Wundefined-inline] inline void set_layer(layer_t); ^ esp.c:50:3: note: used here set_layer(LAYER_NETWORK); ^ In file included from esp.c:32: In file included from ./ip_protocols.h:29: In file included from ./ip.h:30: In file included from ./local.h:35: ./stats.h:56:13: warning: inline function 'stats_update' is not defined [-Wundefined-inline] inline void stats_update(int type); ^ esp.c:56:3: note: used here stats_update(STATS_ESP); ^ In file included from esp.c:32: In file included from ./ip_protocols.h:29: In file included from ./ip.h:30: In file included from ./local.h:31: ./packet_manip.h:71:18: warning: inline function 'get_packet_bytes' is not defined [-Wundefined-inline] inline int get_packet_bytes(u_int8_t *, packet_t *, unsigned int); ^ esp.c:62:7: note: used here if (get_packet_bytes((u_int8_t *) &esp, pkt, sizeof(esp_header_t)) == 0) ^ In file included from esp.c:32: In file included from ./ip_protocols.h:29: In file included from ./ip.h:30: In file included from ./local.h:30: ./display.h:79:13: warning: inline function 'display_minimal' is not defined [-Wundefined-inline] inline void display_minimal (u_int8_t *, u_int32_t, display_t); ^ esp.c:78:7: note: used here display_minimal((u_int8_t *) &esp.spi, 4, DISP_HEX); ^ In file included from esp.c:32: In file included from ./ip_protocols.h:29: In file included from ./ip.h:30: In file included from ./local.h:30: ./display.h:80:13: warning: inline function 'display_minimal_string' is not defined [-Wundefined-inline] inline void display_minimal_string (u_int8_t *); ^ esp.c:79:7: note: used here display_minimal_string(" "); ^ In file included from esp.c:32: In file included from ./ip_protocols.h:29: In file included from ./ip.h:30: In file included from ./local.h:30: ./display.h:71:13: warning: inline function 'display_header_banner' is not defined [-Wundefined-inline] inline void display_header_banner (char *); ^ esp.c:84:7: note: used here display_header_banner("ESP Header"); ^ In file included from esp.c:32: In file included from ./ip_protocols.h:29: In file included from ./ip.h:30: In file included from ./local.h:30: ./display.h:73:13: warning: inline function 'display' is not defined [-Wundefined-inline] inline void display (char *, u_int8_t *, u_int32_t, display_t); ^ esp.c:85:7: note: used here display("SPI", (u_int8_t *) &esp.spi, 4, DISP_HEX); ^ 8 warnings generated. if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -g -O2 -MT ethernet.o -MD -MP -MF ".deps/ethernet.Tpo" -c -o ethernet.o ethernet.c; \ then mv -f ".deps/ethernet.Tpo" ".deps/ethernet.Po"; else rm -f ".deps/ethernet.Tpo"; exit 1; fi ethernet.c:72:25: warning: passing 'char [5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("ETH "); ^~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ethernet.c:74:25: warning: passing 'char [7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("| ETH "); ^~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ethernet.c:76:30: warning: passing 'char [3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("->"); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ethernet.c:78:30: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ethernet.c:105:27: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("("); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ethernet.c:107:27: warning: passing 'char [3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(") "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ethernet.c:131:31: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("("); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ethernet.c:133:31: warning: passing 'char [3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(") "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ In file included from ethernet.c:26: In file included from ./ethernet.h:30: In file included from ./local.h:30: In file included from ./display.h:32: ./layers.h:42:16: warning: inline function 'set_layer' is not defined [-Wundefined-inline] inline void set_layer(layer_t); ^ ethernet.c:51:3: note: used here set_layer(LAYER_DATALINK); ^ In file included from ethernet.c:26: In file included from ./ethernet.h:30: In file included from ./local.h:31: ./packet_manip.h:71:18: warning: inline function 'get_packet_bytes' is not defined [-Wundefined-inline] inline int get_packet_bytes(u_int8_t *, packet_t *, unsigned int); ^ ethernet.c:57:7: note: used here if (get_packet_bytes((u_int8_t *) ð, pkt, 14) == 0) ^ In file included from ethernet.c:26: In file included from ./ethernet.h:30: In file included from ./local.h:30: ./display.h:80:13: warning: inline function 'display_minimal_string' is not defined [-Wundefined-inline] inline void display_minimal_string (u_int8_t *); ^ ethernet.c:72:2: note: used here display_minimal_string("ETH "); ^ In file included from ethernet.c:26: In file included from ./ethernet.h:30: In file included from ./local.h:30: ./display.h:79:13: warning: inline function 'display_minimal' is not defined [-Wundefined-inline] inline void display_minimal (u_int8_t *, u_int32_t, display_t); ^ ethernet.c:75:7: note: used here display_minimal((u_int8_t *) ð.src, 6, DISP_HEXCOLONS); ^ In file included from ethernet.c:26: In file included from ./ethernet.h:30: In file included from ./local.h:30: ./display.h:72:13: warning: inline function 'display_header_banner_ts' is not defined [-Wundefined-inline] inline void display_header_banner_ts(char *, char *); ^ ethernet.c:83:7: note: used here display_header_banner_ts("Ethernet", pkt->timestamp); ^ In file included from ethernet.c:26: In file included from ./ethernet.h:30: In file included from ./local.h:30: ./display.h:73:13: warning: inline function 'display' is not defined [-Wundefined-inline] inline void display (char *, u_int8_t *, u_int32_t, display_t); ^ ethernet.c:86:7: note: used here display("Hardware source", (u_int8_t *) ð.src, 6, DISP_HEXCOLONS); ^ In file included from ethernet.c:26: In file included from ./ethernet.h:30: In file included from ./local.h:30: ./display.h:76:13: warning: inline function 'display_strmap_hex' is not defined [-Wundefined-inline] inline void display_strmap_hex(char *, int, strmap_t *map); ^ ethernet.c:89:7: note: used here display_strmap_hex("Type / Length", eth.type, ethertype_map); ^ In file included from ethernet.c:26: In file included from ./ethernet.h:30: In file included from ./local.h:33: ./hexbuffer.h:36:13: warning: inline function 'hexbuffer_flush' is not defined [-Wundefined-inline] inline void hexbuffer_flush(void); ^ ethernet.c:94:3: note: used here hexbuffer_flush(); ^ 16 warnings generated. if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -g -O2 -MT ethertypes.o -MD -MP -MF ".deps/ethertypes.Tpo" -c -o ethertypes.o ethertypes.c; \ then mv -f ".deps/ethertypes.Tpo" ".deps/ethertypes.Po"; else rm -f ".deps/ethertypes.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -g -O2 -MT file.o -MD -MP -MF ".deps/file.Tpo" -c -o file.o file.c; \ then mv -f ".deps/file.Tpo" ".deps/file.Po"; else rm -f ".deps/file.Tpo"; exit 1; fi In file included from file.c:36: ./utilities.h:35:15: warning: inline function 'my_malloc' is not defined [-Wundefined-inline] inline void * my_malloc(size_t); ^ file.c:358:15: note: used here packet = my_malloc(header.inc_len+1); ^ In file included from file.c:36: ./utilities.h:36:15: warning: inline function 'my_free' is not defined [-Wundefined-inline] inline void my_free(void *); ^ file.c:380:6: note: used here my_free(packet); ^ 2 warnings generated. if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -g -O2 -MT ftpctrl.o -MD -MP -MF ".deps/ftpctrl.Tpo" -c -o ftpctrl.o ftpctrl.c; \ then mv -f ".deps/ftpctrl.Tpo" ".deps/ftpctrl.Po"; else rm -f ".deps/ftpctrl.Tpo"; exit 1; fi ftpctrl.c:61:26: warning: passing 'u_int8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = payload + strlen(payload); ^~~~~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ ftpctrl.c:91:27: warning: passing 'u_int8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(replycode_str, payload, 3); ^~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:760:58: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^ ftpctrl.c:97:31: warning: passing 'char [13]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("FTP control "); ^~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ftpctrl.c:98:31: warning: passing 'char [4]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(replycode_str); ^~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ftpctrl.c:104:23: warning: passing 'char [11]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string("Reply code", replycode_str); ^~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ ftpctrl.c:104:37: warning: passing 'char [4]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string("Reply code", replycode_str); ^~~~~~~~~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ ftpctrl.c:105:23: warning: passing 'char [6]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string("Reply", payload+4); ^~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ ftpctrl.c:113:31: warning: passing 'char [13]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("FTP control "); ^~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ftpctrl.c:119:23: warning: passing 'char [6]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string("Reply", payload); ^~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ ftpctrl.c:130:20: warning: passing 'u_int8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = strchr(payload, ' '); ^~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:399:25: note: expanded from macro 'strchr' : __builtin_strchr (s, c))) ^ ftpctrl.c:130:11: warning: assigning to 'u_int8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = strchr(payload, ' '); ^ ~~~~~~~~~~~~~~~~~~~~ ftpctrl.c:134:27: warning: passing 'u_int8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = payload + strlen(payload); ^~~~~~~ /usr/include/string.h:399:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ ftpctrl.c:141:12: warning: passing 'u_int8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(requestcode_str, payload, ptr - payload); ^~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:760:52: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^ ftpctrl.c:141:29: warning: passing 'u_int8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(requestcode_str, payload, ptr - payload); ^~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:760:58: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^ ftpctrl.c:147:27: warning: passing 'char [13]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("FTP control "); ^~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ftpctrl.c:149:34: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ ftpctrl.c:155:26: warning: passing 'char [13]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string("Request code", requestcode_str); ^~~~~~~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ ftpctrl.c:157:21: warning: passing 'char [8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string("Request", ptr+1); ^~~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ In file included from ftpctrl.c:26: In file included from ./ftpctrl.h:30: In file included from ./local.h:30: In file included from ./display.h:32: ./layers.h:42:16: warning: inline function 'set_layer' is not defined [-Wundefined-inline] inline void set_layer(layer_t); ^ ftpctrl.c:46:3: note: used here set_layer(LAYER_APPLICATION); ^ In file included from ftpctrl.c:26: In file included from ./ftpctrl.h:30: In file included from ./local.h:31: ./packet_manip.h:78:18: warning: inline function 'get_packet_apparentbytesleft' is not defined [-Wundefined-inline] inline u_int32_t get_packet_apparentbytesleft(packet_t *); ^ ftpctrl.c:49:10: note: used here size = get_packet_apparentbytesleft(pkt); ^ In file included from ftpctrl.c:26: In file included from ./ftpctrl.h:30: In file included from ./local.h:30: In file included from ./display.h:31: ./utilities.h:35:15: warning: inline function 'my_malloc' is not defined [-Wundefined-inline] inline void * my_malloc(size_t); ^ ftpctrl.c:52:26: note: used here payload = (u_int8_t *) my_malloc (size+1); ^ In file included from ftpctrl.c:26: In file included from ./ftpctrl.h:30: In file included from ./local.h:31: ./packet_manip.h:71:18: warning: inline function 'get_packet_bytes' is not defined [-Wundefined-inline] inline int get_packet_bytes(u_int8_t *, packet_t *, unsigned int); ^ ftpctrl.c:54:7: note: used here if (get_packet_bytes(payload, pkt, size) == 0) ^ In file included from ftpctrl.c:26: In file included from ./ftpctrl.h:30: In file included from ./local.h:30: In file included from ./display.h:31: ./utilities.h:36:15: warning: inline function 'my_free' is not defined [-Wundefined-inline] inline void my_free(void *); ^ ftpctrl.c:56:7: note: used here my_free(payload); ^ In file included from ftpctrl.c:26: In file included from ./ftpctrl.h:30: In file included from ./local.h:30: ./display.h:80:13: warning: inline function 'display_minimal_string' is not defined [-Wundefined-inline] inline void display_minimal_string (u_int8_t *); ^ ftpctrl.c:97:8: note: used here display_minimal_string("FTP control "); ^ In file included from ftpctrl.c:26: In file included from ./ftpctrl.h:30: In file included from ./local.h:30: ./display.h:71:13: warning: inline function 'display_header_banner' is not defined [-Wundefined-inline] inline void display_header_banner (char *); ^ ftpctrl.c:103:8: note: used here display_header_banner("FTP control"); ^ In file included from ftpctrl.c:26: In file included from ./ftpctrl.h:30: In file included from ./local.h:30: ./display.h:74:13: warning: inline function 'display_string' is not defined [-Wundefined-inline] inline void display_string (u_int8_t *, u_int8_t *); ^ ftpctrl.c:104:8: note: used here display_string("Reply code", replycode_str); ^ In file included from ftpctrl.c:26: In file included from ./ftpctrl.h:30: In file included from ./local.h:33: ./hexbuffer.h:36:13: warning: inline function 'hexbuffer_flush' is not defined [-Wundefined-inline] inline void hexbuffer_flush(void); ^ ftpctrl.c:168:3: note: used here hexbuffer_flush(); ^ 27 warnings generated. if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -g -O2 -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" -c -o getopt.o getopt.c; \ then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f ".deps/getopt.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -g -O2 -MT gre.o -MD -MP -MF ".deps/gre.Tpo" -c -o gre.o gre.c; \ then mv -f ".deps/gre.Tpo" ".deps/gre.Po"; else rm -f ".deps/gre.Tpo"; exit 1; fi gre.c:112:26: warning: passing 'char [10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("| GRE v0 "); ^~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ gre.c:181:26: warning: passing 'char [10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("| GRE v0 "); ^~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ gre.c:183:26: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ gre.c:318:29: warning: passing 'char [9]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("| GREv1 "); ^~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ gre.c:354:26: warning: passing 'char [5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("seq "); ^~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ gre.c:356:26: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ gre.c:371:26: warning: passing 'char [5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("ack "); ^~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ gre.c:373:26: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ gre.c:401:26: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("("); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ gre.c:403:26: warning: passing 'char [3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(") "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ In file included from gre.c:26: In file included from ./gre.h:30: In file included from ./local.h:30: In file included from ./display.h:32: ./layers.h:42:16: warning: inline function 'set_layer' is not defined [-Wundefined-inline] inline void set_layer(layer_t); ^ gre.c:50:3: note: used here set_layer(LAYER_NETWORK); ^ In file included from gre.c:26: In file included from ./gre.h:30: In file included from ./local.h:35: ./stats.h:56:13: warning: inline function 'stats_update' is not defined [-Wundefined-inline] inline void stats_update(int type); ^ gre.c:56:3: note: used here stats_update(STATS_GRE); ^ In file included from gre.c:26: In file included from ./gre.h:30: In file included from ./local.h:31: ./packet_manip.h:70:18: warning: inline function 'look_packet_bytes' is not defined [-Wundefined-inline] inline int look_packet_bytes(u_int8_t *, packet_t *, unsigned int); ^ gre.c:63:7: note: used here if (look_packet_bytes((u_int8_t *) &gre0, pkt, 2) == 0) ^ In file included from gre.c:26: In file included from ./gre.h:30: In file included from ./local.h:31: ./packet_manip.h:71:18: warning: inline function 'get_packet_bytes' is not defined [-Wundefined-inline] inline int get_packet_bytes(u_int8_t *, packet_t *, unsigned int); ^ gre.c:97:10: note: used here if (get_packet_bytes((u_int8_t *) &gre, pkt, ^ In file included from gre.c:26: In file included from ./gre.h:30: In file included from ./local.h:30: ./display.h:80:13: warning: inline function 'display_minimal_string' is not defined [-Wundefined-inline] inline void display_minimal_string (u_int8_t *); ^ gre.c:112:3: note: used here display_minimal_string("| GRE v0 "); ^ In file included from gre.c:26: In file included from ./gre.h:30: In file included from ./local.h:30: ./display.h:79:13: warning: inline function 'display_minimal' is not defined [-Wundefined-inline] inline void display_minimal (u_int8_t *, u_int32_t, display_t); ^ gre.c:113:3: note: used here display_minimal((u_int8_t *) &gre.protocol, 2, DISP_HEX); ^ In file included from gre.c:26: In file included from ./gre.h:30: In file included from ./local.h:30: ./display.h:71:13: warning: inline function 'display_header_banner' is not defined [-Wundefined-inline] inline void display_header_banner (char *); ^ gre.c:117:3: note: used here display_header_banner("GREv0 Header"); ^ In file included from gre.c:26: In file included from ./gre.h:30: In file included from ./local.h:30: ./display.h:73:13: warning: inline function 'display' is not defined [-Wundefined-inline] inline void display (char *, u_int8_t *, u_int32_t, display_t); ^ gre.c:118:3: note: used here display("C", &C, 1, DISP_DEC); ^ In file included from gre.c:26: In file included from ./gre.h:30: In file included from ./local.h:30: ./display.h:76:13: warning: inline function 'display_strmap_hex' is not defined [-Wundefined-inline] inline void display_strmap_hex(char *, int, strmap_t *map); ^ gre.c:120:3: note: used here display_strmap_hex("Protocol", gre.protocol, ^ In file included from gre.c:26: In file included from ./gre.h:30: In file included from ./local.h:33: ./hexbuffer.h:36:13: warning: inline function 'hexbuffer_flush' is not defined [-Wundefined-inline] inline void hexbuffer_flush(void); ^ gre.c:269:2: note: used here hexbuffer_flush(); ^ 20 warnings generated. if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -g -O2 -MT hexbuffer.o -MD -MP -MF ".deps/hexbuffer.Tpo" -c -o hexbuffer.o hexbuffer.c; \ then mv -f ".deps/hexbuffer.Tpo" ".deps/hexbuffer.Po"; else rm -f ".deps/hexbuffer.Tpo"; exit 1; fi hexbuffer.c:132:24: warning: passing 'u_int8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(temp_hexbuf+(i*3), TEMPBUFFER_SIZE-1,"%.2X ", ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ hexbuffer.c:136:26: warning: passing 'u_int8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(temp_charbuf+i, TEMPBUFFER_SIZE-1, "%c", ^~~~~~~~~~~~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ hexbuffer.c:139:26: warning: passing 'u_int8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snprintf(temp_charbuf+i, TEMPBUFFER_SIZE-1, "."); ^~~~~~~~~~~~~~ /usr/include/stdio.h:386:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ In file included from hexbuffer.c:26: In file included from ./hexbuffer.h:33: In file included from ./local.h:30: ./display.h:70:13: warning: inline function 'display_header_line' is not defined [-Wundefined-inline] inline void display_header_line (headerline_t); ^ hexbuffer.c:120:3: note: used here display_header_line(HEADERLINE_DOTS); ^ In file included from hexbuffer.c:26: In file included from ./hexbuffer.h:33: In file included from ./local.h:30: In file included from ./display.h:32: ./layers.h:44:16: warning: inline function 'check_layer' is not defined [-Wundefined-inline] inline int check_layer(void); ^ hexbuffer.c:144:12: note: used here if (!check_layer()) ^ 5 warnings generated. if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -g -O2 -MT http.o -MD -MP -MF ".deps/http.Tpo" -c -o http.o http.c; \ then mv -f ".deps/http.Tpo" ".deps/http.Po"; else rm -f ".deps/http.Tpo"; exit 1; fi http.c:65:29: warning: passing 'char [256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] len = get_packet_line(line, LINE_SIZE, pkt); ^~~~ ./packet_manip.h:73:44: note: passing argument to parameter here inline int get_packet_line(u_int8_t *, u_int32_t, packet_t *); ^ http.c:81:31: warning: passing 'char [256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(line); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ http.c:98:22: warning: passing 'char [7]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string("Header", line); ^~~~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ http.c:98:32: warning: passing 'char [256]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string("Header", line); ^~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ In file included from http.c:28: In file included from ./http.h:29: In file included from ./local.h:30: In file included from ./display.h:32: ./layers.h:42:16: warning: inline function 'set_layer' is not defined [-Wundefined-inline] inline void set_layer(layer_t); ^ http.c:57:3: note: used here set_layer(LAYER_APPLICATION); ^ In file included from http.c:28: In file included from ./http.h:29: In file included from ./local.h:30: ./display.h:71:13: warning: inline function 'display_header_banner' is not defined [-Wundefined-inline] inline void display_header_banner (char *); ^ http.c:61:5: note: used here display_header_banner("HTTP"); ^ In file included from http.c:28: In file included from ./http.h:29: In file included from ./local.h:31: ./packet_manip.h:73:18: warning: inline function 'get_packet_line' is not defined [-Wundefined-inline] inline int get_packet_line(u_int8_t *, u_int32_t, packet_t *); ^ http.c:65:13: note: used here len = get_packet_line(line, LINE_SIZE, pkt); ^ In file included from http.c:28: In file included from ./http.h:29: In file included from ./local.h:30: ./display.h:80:13: warning: inline function 'display_minimal_string' is not defined [-Wundefined-inline] inline void display_minimal_string (u_int8_t *); ^ http.c:81:8: note: used here display_minimal_string(line); ^ In file included from http.c:28: In file included from ./http.h:29: In file included from ./local.h:30: In file included from ./display.h:31: ./utilities.h:33:15: warning: inline function 'isspace_str' is not defined [-Wundefined-inline] inline int isspace_str(char *, int); ^ http.c:91:11: note: used here if (isspace_str(line, strlen(line))) ^ In file included from http.c:28: In file included from ./http.h:29: In file included from ./local.h:30: ./display.h:74:13: warning: inline function 'display_string' is not defined [-Wundefined-inline] inline void display_string (u_int8_t *, u_int8_t *); ^ http.c:98:7: note: used here display_string("Header", line); ^ In file included from http.c:28: In file included from ./http.h:29: In file included from ./local.h:33: ./hexbuffer.h:36:13: warning: inline function 'hexbuffer_flush' is not defined [-Wundefined-inline] inline void hexbuffer_flush(void); ^ http.c:109:3: note: used here hexbuffer_flush(); ^ 11 warnings generated. if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -g -O2 -MT iana.o -MD -MP -MF ".deps/iana.Tpo" -c -o iana.o iana.c; \ then mv -f ".deps/iana.Tpo" ".deps/iana.Po"; else rm -f ".deps/iana.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -g -O2 -MT icmp.o -MD -MP -MF ".deps/icmp.Tpo" -c -o icmp.o icmp.c; \ then mv -f ".deps/icmp.Tpo" ".deps/icmp.Po"; else rm -f ".deps/icmp.Tpo"; exit 1; fi icmp.c:161:30: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ icmp.c:204:32: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string ( " " ); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ icmp.c:210:20: warning: passing 'char [5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_ipv4("Mask", (u_int8_t *) &mask.mask); ^~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ icmp.c:273:27: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("("); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ icmp.c:275:27: warning: passing 'char [3]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(") "); ^~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ icmp.c:279:17: warning: passing 'char [8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_ipv4("Address", (u_int8_t *) &addr); ^~~~~~~~~ ./display.h:77:37: note: passing argument to parameter here inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ icmp.c:318:30: warning: passing 'char [8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("| ICMP "); ^~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ icmp.c:319:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(map2str(icmp_type_map, icmp.type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ icmp.c:320:30: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ icmp.c:324:27: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(map2str(icmp_du_map, icmp.code)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ icmp.c:328:27: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(map2str(icmp_timeexceeded_map, icmp.code)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ In file included from icmp.c:26: In file included from ./icmp.h:30: In file included from ./local.h:31: ./packet_manip.h:71:18: warning: inline function 'get_packet_bytes' is not defined [-Wundefined-inline] inline int get_packet_bytes(u_int8_t *, packet_t *, unsigned int); ^ icmp.c:144:7: note: used here if (get_packet_bytes((u_int8_t *) &echo, pkt, 4) == 0) ^ In file included from icmp.c:26: In file included from ./icmp.h:30: In file included from ./local.h:30: ./display.h:79:13: warning: inline function 'display_minimal' is not defined [-Wundefined-inline] inline void display_minimal (u_int8_t *, u_int32_t, display_t); ^ icmp.c:160:7: note: used here display_minimal((u_int8_t *) &echo.seqno, 2, DISP_DEC); ^ In file included from icmp.c:26: In file included from ./icmp.h:30: In file included from ./local.h:30: ./display.h:80:13: warning: inline function 'display_minimal_string' is not defined [-Wundefined-inline] inline void display_minimal_string (u_int8_t *); ^ icmp.c:161:7: note: used here display_minimal_string(" "); ^ In file included from icmp.c:26: In file included from ./icmp.h:30: In file included from ./local.h:30: ./display.h:73:13: warning: inline function 'display' is not defined [-Wundefined-inline] inline void display (char *, u_int8_t *, u_int32_t, display_t); ^ icmp.c:165:7: note: used here display("Identifier", (u_int8_t *) &echo.id, 2, DISP_DEC); ^ In file included from icmp.c:26: In file included from ./icmp.h:30: In file included from ./local.h:30: ./display.h:81:13: warning: inline function 'display_minimal_ipv4' is not defined [-Wundefined-inline] inline void display_minimal_ipv4 (u_int8_t *); ^ icmp.c:203:7: note: used here display_minimal_ipv4((u_int8_t *) &mask.mask); ^ In file included from icmp.c:26: In file included from ./icmp.h:30: In file included from ./local.h:30: ./display.h:77:13: warning: inline function 'display_ipv4' is not defined [-Wundefined-inline] inline void display_ipv4 (u_int8_t *, u_int8_t *); ^ icmp.c:210:7: note: used here display_ipv4("Mask", (u_int8_t *) &mask.mask); ^ In file included from icmp.c:26: In file included from ./icmp.h:30: In file included from ./local.h:30: In file included from ./display.h:32: ./layers.h:42:16: warning: inline function 'set_layer' is not defined [-Wundefined-inline] inline void set_layer(layer_t); ^ icmp.c:300:3: note: used here set_layer(LAYER_NETWORK); ^ In file included from icmp.c:26: In file included from ./icmp.h:30: In file included from ./local.h:35: ./stats.h:56:13: warning: inline function 'stats_update' is not defined [-Wundefined-inline] inline void stats_update(int type); ^ icmp.c:306:3: note: used here stats_update(STATS_ICMP); ^ In file included from icmp.c:26: In file included from ./icmp.h:30: In file included from ./local.h:30: ./display.h:71:13: warning: inline function 'display_header_banner' is not defined [-Wundefined-inline] inline void display_header_banner (char *); ^ icmp.c:366:7: note: used here display_header_banner("ICMP Header"); ^ In file included from icmp.c:26: In file included from ./icmp.h:30: In file included from ./local.h:33: ./hexbuffer.h:36:13: warning: inline function 'hexbuffer_flush' is not defined [-Wundefined-inline] inline void hexbuffer_flush(void); ^ icmp.c:410:4: note: used here hexbuffer_flush(); ^ In file included from icmp.c:26: In file included from ./icmp.h:30: In file included from ./local.h:31: ./packet_manip.h:78:18: warning: inline function 'get_packet_apparentbytesleft' is not defined [-Wundefined-inline] inline u_int32_t get_packet_apparentbytesleft(packet_t *); ^ icmp.c:469:11: note: used here if (get_packet_apparentbytesleft(pkt) >= 20) ^ 22 warnings generated. if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -Wstrict-prototypes -Wformat -g -O2 -MT icmpv6.o -MD -MP -MF ".deps/icmpv6.Tpo" -c -o icmpv6.o icmpv6.c; \ then mv -f ".deps/icmpv6.Tpo" ".deps/icmpv6.Po"; else rm -f ".deps/icmpv6.Tpo"; exit 1; fi icmpv6.c:114:30: warning: passing 'char [10]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string("| ICMPv6 "); ^~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ icmpv6.c:115:30: warning: passing 'char *' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(map2str(icmpv6_type_map, icmpv6.type)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ icmpv6.c:116:30: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ icmpv6.c:126:22: warning: passing 'char [5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string("Type", holder); ^~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ icmpv6.c:126:30: warning: passing 'char [64]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string("Type", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ icmpv6.c:134:19: warning: passing 'char [5]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string("Code", holder); ^~~~~~ ./display.h:74:39: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ icmpv6.c:134:27: warning: passing 'char [64]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_string("Code", holder); ^~~~~~ ./display.h:74:51: note: passing argument to parameter here inline void display_string (u_int8_t *, u_int8_t *); ^ icmpv6.c:208:10: error: void function 'dump_icmpv6' should not return a value [-Wreturn-type] return 0; ^ ~ icmpv6.c:216:27: warning: passing 'char [2]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_minimal_string(" "); ^~~ ./display.h:80:47: note: passing argument to parameter here inline void display_minimal_string (u_int8_t *); ^ icmpv6.c:219:15: warning: passing 'char [8]' to parameter of type 'u_int8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] display_ipv6("Address", (u_int8_t *) &v6addr); ^~~~~~~~~ ./display.h:78:37: note: passing argument to parameter here inline void display_ipv6 (u_int8_t *, u_int8_t *); ^ 9 warnings and 1 error generated. make[3]: *** [icmpv6.o] Error 1 Makefile:334: recipe for target 'icmpv6.o' failed make[3]: Leaving directory '/«PKGBUILDDIR»/src' make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 Makefile:216: recipe for target 'all-recursive' failed make[2]: Leaving directory '/«PKGBUILDDIR»' Makefile:154: recipe for target 'all' failed make[1]: Leaving directory '/«PKGBUILDDIR»' debian/rules:21: recipe for target 'build-stamp' failed ──────────────────────────────────────────────────────────────────────────────── Build finished at 20140617-1511 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Build Architecture: amd64 Build-Space: 2708 Build-Time: 13 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 12 Job: ipgrab_0.9.10-1 Machine Architecture: amd64 Package: ipgrab Package-Time: 58 Source-Version: 0.9.10-1 Space: 2708 Status: attempted Version: 0.9.10-1clang1 ──────────────────────────────────────────────────────────────────────────────── Finished at 20140617-1511 Build needed 00:00:58, 2708k disc space DC-Status: Failed 59.697409769s DC-Time-Estimation: 59.697409769 versus expected 174 (r/m: 1.9146993257043405 ; m: 59.697409769)