DC-Build-Header: sniffit 0.3.7.beta-17 / 2013-07-18 04:24:29 +0000 DC-Task: source:sniffit version:0.3.7.beta-17 architecture:any chroot:unstable esttime:49 logfile:/tmp/sniffit_0.3.7.beta-17_unstable_clang.log modes:binary-only: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 " sniffit_0.3.7.beta-17' sbuild (Debian sbuild) 0.63.2 (18 Aug 2012) on ip-10-235-5-15.ec2.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ sniffit 0.3.7.beta-17clang1 (amd64) 18 Jul 2013 04:24 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: sniffit Version: 0.3.7.beta-17clang1 Source Version: 0.3.7.beta-17 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 I: NOTICE: Log filtering will replace 'build/sniffit-R9Xb2y/sniffit-0.3.7.beta' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/sniffit-R9Xb2y' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-6e487b0a-3aee-44b1-9968-dce5eeedbb71' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Get:1 http://localhost:9999 unstable InRelease [204 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 2013-07-13-2032.15.pdiff [23.1 kB] Get:6 http://localhost:9999 unstable/main amd64 2013-07-13-2032.15.pdiff [16.9 kB] Get:7 http://localhost:9999 unstable/main 2013-07-13-2032.15.pdiff [23.1 kB] Get:8 http://localhost:9999 unstable/main 2013-07-13-2032.15.pdiff [1809 B] Get:9 http://localhost:9999 unstable/main amd64 2013-07-13-2032.15.pdiff [16.9 kB] Get:10 http://localhost:9999 unstable/main 2013-07-14-0231.07.pdiff [12.9 kB] Get:11 http://localhost:9999 unstable/main 2013-07-13-2032.15.pdiff [1809 B] Get:12 http://localhost:9999 unstable/main amd64 2013-07-14-0231.07.pdiff [14.9 kB] Get:13 http://localhost:9999 unstable/main 2013-07-14-0231.07.pdiff [12.9 kB] Get:14 http://localhost:9999 unstable/main 2013-07-14-0231.07.pdiff [1384 B] Get:15 http://localhost:9999 unstable/main amd64 2013-07-14-0231.07.pdiff [14.9 kB] Get:16 http://localhost:9999 unstable/main 2013-07-14-0832.16.pdiff [4670 B] Get:17 http://localhost:9999 unstable/main 2013-07-14-0231.07.pdiff [1384 B] Get:18 http://localhost:9999 unstable/main amd64 2013-07-14-0832.16.pdiff [1624 B] Get:19 http://localhost:9999 unstable/main 2013-07-14-0832.16.pdiff [4670 B] Get:20 http://localhost:9999 unstable/main 2013-07-14-0832.16.pdiff [337 B] Get:21 http://localhost:9999 unstable/main amd64 2013-07-14-0832.16.pdiff [1624 B] Get:22 http://localhost:9999 unstable/main 2013-07-14-1431.18.pdiff [11.4 kB] Get:23 http://localhost:9999 unstable/main 2013-07-14-0832.16.pdiff [337 B] Get:24 http://localhost:9999 unstable/main amd64 2013-07-14-1431.18.pdiff [8223 B] Get:25 http://localhost:9999 unstable/main 2013-07-14-1431.18.pdiff [11.4 kB] Get:26 http://localhost:9999 unstable/main 2013-07-14-1431.18.pdiff [887 B] Get:27 http://localhost:9999 unstable/main amd64 2013-07-14-1431.18.pdiff [8223 B] Get:28 http://localhost:9999 unstable/main 2013-07-14-2031.21.pdiff [9038 B] Get:29 http://localhost:9999 unstable/main 2013-07-14-1431.18.pdiff [887 B] Get:30 http://localhost:9999 unstable/main amd64 2013-07-14-2031.21.pdiff [9955 B] Get:31 http://localhost:9999 unstable/main 2013-07-14-2031.21.pdiff [9038 B] Get:32 http://localhost:9999 unstable/main 2013-07-14-2031.21.pdiff [2736 B] Get:33 http://localhost:9999 unstable/main amd64 2013-07-14-2031.21.pdiff [9955 B] Get:34 http://localhost:9999 unstable/main 2013-07-15-0229.01.pdiff [9715 B] Get:35 http://localhost:9999 unstable/main 2013-07-14-2031.21.pdiff [2736 B] Get:36 http://localhost:9999 unstable/main amd64 2013-07-15-0229.01.pdiff [12.7 kB] Get:37 http://localhost:9999 unstable/main 2013-07-15-0229.01.pdiff [9715 B] Get:38 http://localhost:9999 unstable/main 2013-07-15-0229.01.pdiff [2239 B] Get:39 http://localhost:9999 unstable/main amd64 2013-07-15-0229.01.pdiff [12.7 kB] Get:40 http://localhost:9999 unstable/main 2013-07-15-0830.19.pdiff [3273 B] Get:41 http://localhost:9999 unstable/main 2013-07-15-0229.01.pdiff [2239 B] Get:42 http://localhost:9999 unstable/main amd64 2013-07-15-0830.19.pdiff [3964 B] Get:43 http://localhost:9999 unstable/main 2013-07-15-0830.19.pdiff [3273 B] Get:44 http://localhost:9999 unstable/main 2013-07-15-0830.19.pdiff [1357 B] Get:45 http://localhost:9999 unstable/main amd64 2013-07-15-0830.19.pdiff [3964 B] Get:46 http://localhost:9999 unstable/main 2013-07-15-1432.36.pdiff [5326 B] Get:47 http://localhost:9999 unstable/main 2013-07-15-0830.19.pdiff [1357 B] Get:48 http://localhost:9999 unstable/main amd64 2013-07-15-1432.36.pdiff [9809 B] Get:49 http://localhost:9999 unstable/main 2013-07-15-1432.36.pdiff [5326 B] Get:50 http://localhost:9999 unstable/main 2013-07-15-1432.36.pdiff [322 B] Get:51 http://localhost:9999 unstable/main amd64 2013-07-15-1432.36.pdiff [9809 B] Get:52 http://localhost:9999 unstable/main 2013-07-15-2031.50.pdiff [12.2 kB] Get:53 http://localhost:9999 unstable/main 2013-07-15-1432.36.pdiff [322 B] Get:54 http://localhost:9999 unstable/main amd64 2013-07-15-2031.50.pdiff [24.4 kB] Get:55 http://localhost:9999 unstable/main 2013-07-15-2031.50.pdiff [12.2 kB] Get:56 http://localhost:9999 unstable/main 2013-07-15-2031.50.pdiff [537 B] Get:57 http://localhost:9999 unstable/main amd64 2013-07-15-2031.50.pdiff [24.4 kB] Get:58 http://localhost:9999 unstable/main 2013-07-16-0233.12.pdiff [14.8 kB] Get:59 http://localhost:9999 unstable/main 2013-07-15-2031.50.pdiff [537 B] Get:60 http://localhost:9999 unstable/main amd64 2013-07-16-0233.12.pdiff [49.5 kB] Get:61 http://localhost:9999 unstable/main 2013-07-16-0233.12.pdiff [14.8 kB] Get:62 http://localhost:9999 unstable/main 2013-07-16-0233.12.pdiff [3247 B] Get:63 http://localhost:9999 unstable/main amd64 2013-07-16-0233.12.pdiff [49.5 kB] Get:64 http://localhost:9999 unstable/main 2013-07-16-0834.41.pdiff [7447 B] Get:65 http://localhost:9999 unstable/main 2013-07-16-0233.12.pdiff [3247 B] Get:66 http://localhost:9999 unstable/main amd64 2013-07-16-0834.41.pdiff [4493 B] Get:67 http://localhost:9999 unstable/main 2013-07-16-0834.41.pdiff [7447 B] Get:68 http://localhost:9999 unstable/main 2013-07-16-0834.41.pdiff [5852 B] Get:69 http://localhost:9999 unstable/main amd64 2013-07-16-0834.41.pdiff [4493 B] Get:70 http://localhost:9999 unstable/main 2013-07-16-1433.54.pdiff [21.2 kB] Get:71 http://localhost:9999 unstable/main 2013-07-16-0834.41.pdiff [5852 B] Get:72 http://localhost:9999 unstable/main amd64 2013-07-16-1433.54.pdiff [19.3 kB] Get:73 http://localhost:9999 unstable/main 2013-07-16-1433.54.pdiff [21.2 kB] Get:74 http://localhost:9999 unstable/main 2013-07-16-1433.54.pdiff [1941 B] Get:75 http://localhost:9999 unstable/main amd64 2013-07-16-1433.54.pdiff [19.3 kB] Get:76 http://localhost:9999 unstable/main 2013-07-16-2046.09.pdiff [19.4 kB] Get:77 http://localhost:9999 unstable/main 2013-07-16-1433.54.pdiff [1941 B] Get:78 http://localhost:9999 unstable/main amd64 2013-07-16-2046.09.pdiff [18.4 kB] Get:79 http://localhost:9999 unstable/main 2013-07-16-2046.09.pdiff [19.4 kB] Get:80 http://localhost:9999 unstable/main 2013-07-16-2046.09.pdiff [465 B] Get:81 http://localhost:9999 unstable/main amd64 2013-07-16-2046.09.pdiff [18.4 kB] Get:82 http://localhost:9999 unstable/main 2013-07-17-0233.52.pdiff [6503 B] Get:83 http://localhost:9999 unstable/main 2013-07-16-2046.09.pdiff [465 B] Get:84 http://localhost:9999 unstable/main amd64 2013-07-17-0233.52.pdiff [10.9 kB] Get:85 http://localhost:9999 unstable/main 2013-07-17-0233.52.pdiff [6503 B] Get:86 http://localhost:9999 unstable/main 2013-07-17-0233.52.pdiff [2433 B] Get:87 http://localhost:9999 unstable/main amd64 2013-07-17-0233.52.pdiff [10.9 kB] Get:88 http://localhost:9999 unstable/main 2013-07-17-0833.19.pdiff [6945 B] Get:89 http://localhost:9999 unstable/main 2013-07-17-0233.52.pdiff [2433 B] Get:90 http://localhost:9999 unstable/main amd64 2013-07-17-0833.19.pdiff [7401 B] Get:91 http://localhost:9999 unstable/main 2013-07-17-0833.19.pdiff [6945 B] Get:92 http://localhost:9999 unstable/main 2013-07-17-0833.19.pdiff [1349 B] Get:93 http://localhost:9999 unstable/main amd64 2013-07-17-0833.19.pdiff [7401 B] Get:94 http://localhost:9999 unstable/main 2013-07-17-1433.06.pdiff [6373 B] Get:95 http://localhost:9999 unstable/main 2013-07-17-0833.19.pdiff [1349 B] Get:96 http://localhost:9999 unstable/main amd64 2013-07-17-1433.06.pdiff [16.6 kB] Get:97 http://localhost:9999 unstable/main 2013-07-17-1433.06.pdiff [6373 B] Get:98 http://localhost:9999 unstable/main 2013-07-17-1433.06.pdiff [629 B] Get:99 http://localhost:9999 unstable/main amd64 2013-07-17-1433.06.pdiff [16.6 kB] Get:100 http://localhost:9999 unstable/main 2013-07-17-2032.34.pdiff [12.2 kB] Get:101 http://localhost:9999 unstable/main 2013-07-17-1433.06.pdiff [629 B] Get:102 http://localhost:9999 unstable/main amd64 2013-07-17-2032.34.pdiff [16.8 kB] Get:103 http://localhost:9999 unstable/main 2013-07-17-2032.34.pdiff [12.2 kB] Get:104 http://localhost:9999 unstable/main 2013-07-17-2032.34.pdiff [1150 B] Get:105 http://localhost:9999 unstable/main amd64 2013-07-17-2032.34.pdiff [16.8 kB] Get:106 http://localhost:9999 unstable/main 2013-07-17-2032.34.pdiff [1150 B] Fetched 689 kB in 1min 3s (10.9 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: apt cpp-4.7 gcc-4.7 gcc-4.7-base initscripts libapt-pkg4.12 libgcc-4.7-dev linux-libc-dev sysv-rc sysvinit sysvinit-utils 11 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 17.3 MB of archives. After this operation, 45.1 kB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main sysvinit amd64 2.88dsf-43 [134 kB] Get:2 http://localhost:9999/debian/ unstable/main libapt-pkg4.12 amd64 0.9.9.2 [928 kB] Get:3 http://localhost:9999/debian/ unstable/main apt amd64 0.9.9.2 [1327 kB] Get:4 http://localhost:9999/debian/ unstable/main sysv-rc all 2.88dsf-43 [80.5 kB] Get:5 http://localhost:9999/debian/ unstable/main sysvinit-utils amd64 2.88dsf-43 [103 kB] Get:6 http://localhost:9999/debian/ unstable/main initscripts amd64 2.88dsf-43 [87.2 kB] Get:7 http://localhost:9999/debian/ unstable/main gcc-4.7 amd64 4.7.3-6 [5819 kB] Get:8 http://localhost:9999/debian/ unstable/main cpp-4.7 amd64 4.7.3-6 [5385 kB] Get:9 http://localhost:9999/debian/ unstable/main libgcc-4.7-dev amd64 4.7.3-6 [2465 kB] Get:10 http://localhost:9999/debian/ unstable/main gcc-4.7-base amd64 4.7.3-6 [149 kB] Get:11 http://localhost:9999/debian/ unstable/main linux-libc-dev amd64 3.10.1-1 [869 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 17.3 MB in 0s (25.3 MB/s) (Reading database ... 13844 files and directories currently installed.) Preparing to replace sysvinit 2.88dsf-41 (using .../sysvinit_2.88dsf-43_amd64.deb) ... Unpacking replacement sysvinit ... Setting up sysvinit (2.88dsf-43) ... Not restarting sysvinit (Reading database ... 13844 files and directories currently installed.) Preparing to replace libapt-pkg4.12:amd64 0.9.9.1 (using .../libapt-pkg4.12_0.9.9.2_amd64.deb) ... Unpacking replacement libapt-pkg4.12:amd64 ... Setting up libapt-pkg4.12:amd64 (0.9.9.2) ... Processing triggers for libc-bin ... (Reading database ... 13844 files and directories currently installed.) Preparing to replace apt 0.9.9.1 (using .../archives/apt_0.9.9.2_amd64.deb) ... Unpacking replacement apt ... Setting up apt (0.9.9.2) ... gpg: key B98321F9: "Squeeze Stable Release Key " not changed gpg: key 473041FA: "Debian Archive Automatic Signing Key (6.0/squeeze) " not changed gpg: key 65FFB764: "Wheezy Stable Release Key " not changed gpg: key 46925553: "Debian Archive Automatic Signing Key (7.0/wheezy) " not changed gpg: Total number processed: 4 gpg: unchanged: 4 (Reading database ... 13844 files and directories currently installed.) Preparing to replace sysv-rc 2.88dsf-41 (using .../sysv-rc_2.88dsf-43_all.deb) ... Unpacking replacement sysv-rc ... Preparing to replace sysvinit-utils 2.88dsf-41 (using .../sysvinit-utils_2.88dsf-43_amd64.deb) ... Unpacking replacement sysvinit-utils ... Setting up sysvinit-utils (2.88dsf-43) ... Setting up sysv-rc (2.88dsf-43) ... (Reading database ... 13844 files and directories currently installed.) Preparing to replace initscripts 2.88dsf-41 (using .../initscripts_2.88dsf-43_amd64.deb) ... Removing unmodified and obsolete conffile /etc/init.d/mtab.sh ... Unpacking replacement initscripts ... Setting up initscripts (2.88dsf-43) ... Installing new version of config file /etc/init.d/bootmisc.sh ... Installing new version of config file /etc/init.d/checkfs.sh ... Installing new version of config file /etc/init.d/checkroot.sh ... Installing new version of config file /etc/init.d/checkroot-bootclean.sh ... Installing new version of config file /etc/init.d/mountdevsubfs.sh ... Installing new version of config file /etc/init.d/mountkernfs.sh ... Installing new version of config file /etc/init.d/rmnologin ... Installing new version of config file /etc/network/if-up.d/mountnfs ... (Reading database ... 13843 files and directories currently installed.) Preparing to replace gcc-4.7 4.7.3-5 (using .../gcc-4.7_4.7.3-6_amd64.deb) ... Unpacking replacement gcc-4.7 ... Preparing to replace cpp-4.7 4.7.3-5 (using .../cpp-4.7_4.7.3-6_amd64.deb) ... Unpacking replacement cpp-4.7 ... Preparing to replace libgcc-4.7-dev:amd64 4.7.3-5 (using .../libgcc-4.7-dev_4.7.3-6_amd64.deb) ... Unpacking replacement libgcc-4.7-dev:amd64 ... Preparing to replace gcc-4.7-base:amd64 4.7.3-5 (using .../gcc-4.7-base_4.7.3-6_amd64.deb) ... Unpacking replacement gcc-4.7-base:amd64 ... Preparing to replace linux-libc-dev:amd64 3.9.8-1 (using .../linux-libc-dev_3.10.1-1_amd64.deb) ... Unpacking replacement linux-libc-dev:amd64 ... Setting up gcc-4.7-base:amd64 (4.7.3-6) ... Setting up cpp-4.7 (4.7.3-6) ... Setting up libgcc-4.7-dev:amd64 (4.7.3-6) ... Setting up gcc-4.7 (4.7.3-6) ... Setting up linux-libc-dev:amd64 (3.10.1-1) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ 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 231 kB of source archives. Get:1 http://localhost:9999/debian/ unstable/main sniffit 0.3.7.beta-17 (dsc) [1449 B] Get:2 http://localhost:9999/debian/ unstable/main sniffit 0.3.7.beta-17 (tar) [212 kB] Get:3 http://localhost:9999/debian/ unstable/main sniffit 0.3.7.beta-17 (diff) [17.1 kB] Fetched 231 kB in 0s (840 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' Install of clang + 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.3 Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libclang-common-3.3-dev libclang1-3.3 libffi6 libllvm3.3 libobjc-4.7-dev libobjc4 libstdc++6-4.7-dev Suggested packages: libstdc++6-4.7-doc Recommended packages: llvm-3.3-dev python The following NEW packages will be installed: clang-3.3 libclang-common-3.3-dev libclang1-3.3 libffi6 libllvm3.3 libobjc-4.7-dev libobjc4 libstdc++6-4.7-dev 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded. Need to get 27.2 MB of archives. After this operation, 80.8 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libffi6 amd64 3.0.13-4 [21.6 kB] Get:2 http://localhost:9999/debian/ unstable/main libllvm3.3 amd64 1:3.3-3 [8575 kB] Get:3 http://localhost:9999/debian/ unstable/main libobjc4 amd64 4.8.1-6 [160 kB] Get:4 http://localhost:9999/debian/ unstable/main libstdc++6-4.7-dev amd64 4.7.3-6 [1694 kB] Get:5 http://localhost:9999/debian/ unstable/main libobjc-4.7-dev amd64 4.7.3-6 [719 kB] Get:6 http://localhost:9999/debian/ unstable/main libclang-common-3.3-dev amd64 1:3.3-3 [574 kB] Get:7 http://localhost:9999/debian/ unstable/main libclang1-3.3 amd64 1:3.3-3 [4579 kB] Get:8 http://localhost:9999/debian/ unstable/main clang-3.3 amd64 1:3.3-3 [10.9 MB] debconf: delaying package configuration, since apt-utils is not installed Fetched 27.2 MB in 1s (25.6 MB/s) Selecting previously unselected package libffi6:amd64. (Reading database ... 13846 files and directories currently installed.) Unpacking libffi6:amd64 (from .../libffi6_3.0.13-4_amd64.deb) ... Selecting previously unselected package libllvm3.3:amd64. Unpacking libllvm3.3:amd64 (from .../libllvm3.3_1%3a3.3-3_amd64.deb) ... Selecting previously unselected package libobjc4:amd64. Unpacking libobjc4:amd64 (from .../libobjc4_4.8.1-6_amd64.deb) ... Selecting previously unselected package libstdc++6-4.7-dev:amd64. Unpacking libstdc++6-4.7-dev:amd64 (from .../libstdc++6-4.7-dev_4.7.3-6_amd64.deb) ... Selecting previously unselected package libobjc-4.7-dev:amd64. Unpacking libobjc-4.7-dev:amd64 (from .../libobjc-4.7-dev_4.7.3-6_amd64.deb) ... Selecting previously unselected package libclang-common-3.3-dev. Unpacking libclang-common-3.3-dev (from .../libclang-common-3.3-dev_1%3a3.3-3_amd64.deb) ... Selecting previously unselected package libclang1-3.3. Unpacking libclang1-3.3 (from .../libclang1-3.3_1%3a3.3-3_amd64.deb) ... Selecting previously unselected package clang-3.3. Unpacking clang-3.3 (from .../clang-3.3_1%3a3.3-3_amd64.deb) ... Setting up libffi6:amd64 (3.0.13-4) ... Setting up libllvm3.3:amd64 (1:3.3-3) ... Setting up libobjc4:amd64 (4.8.1-6) ... Setting up libstdc++6-4.7-dev:amd64 (4.7.3-6) ... Setting up libobjc-4.7-dev:amd64 (4.7.3-6) ... Setting up libclang-common-3.3-dev (1:3.3-3) ... Setting up libclang1-3.3 (1:3.3-3) ... Setting up clang-3.3 (1:3.3-3) ... Processing triggers for libc-bin ... + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSIONS='4.6 4.7 4.8' + 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 + 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 + 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 + cd - /«BUILDDIR» + echo 'Block the installation of new gcc version' Block the installation of new gcc version + dpkg --set-selections + echo 'gcc-4.6 hold' + dpkg --set-selections + echo 'cpp-4.6 hold' + dpkg --set-selections + echo 'g++-4.6 hold' + dpkg --set-selections + echo 'gcc-4.7 hold' + dpkg --set-selections + echo 'cpp-4.7 hold' + dpkg --set-selections + echo 'g++-4.7 hold' + dpkg --set-selections + echo 'gcc-4.8 hold' + dpkg --set-selections + echo 'cpp-4.8 hold' + dpkg --set-selections + echo 'g++-4.8 hold' + echo 'Check if gcc, g++ & cpp are actually clang' Check if gcc, g++ & cpp are actually clang + grep clang + gcc --version + grep clang + cpp --version + grep clang + g++ --version 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-KYDtsZ/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/710 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 ... 14701 files and directories currently installed.) Unpacking sbuild-build-depends-core-dummy (from .../sbuild-build-depends-core-dummy.deb) ... 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 (>= 8), libpcap-dev, libncurses5-dev, autotools-dev, automake 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 (>= 8), libpcap-dev, libncurses5-dev, autotools-dev, automake dpkg-deb: building package `sbuild-build-depends-sniffit-dummy' in `/«BUILDDIR»/resolver-BT6Dg2/apt_archive/sbuild-build-depends-sniffit-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install sniffit build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: autoconf automake autotools-dev bsdmainutils debhelper file gettext gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libglib2.0-0 libmagic1 libncurses5-dev libpcap-dev libpcap0.8 libpcap0.8-dev libpipeline1 libsigsegv2 libtinfo-dev libunistring0 libxml2 m4 man-db po-debconf Suggested packages: autoconf2.13 autoconf-archive gnu-standards autoconf-doc libtool wamerican wordlist whois vacation dh-make gettext-doc groff ncurses-doc less www-browser libmail-box-perl Recommended packages: curl wget lynx-cur autopoint libasprintf-dev libgettextpo-dev libglib2.0-data shared-mime-info xml-core libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autotools-dev bsdmainutils debhelper file gettext gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libglib2.0-0 libmagic1 libncurses5-dev libpcap-dev libpcap0.8 libpcap0.8-dev libpipeline1 libsigsegv2 libtinfo-dev libunistring0 libxml2 m4 man-db po-debconf sbuild-build-depends-sniffit-dummy 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. Need to get 11.3 MB/11.3 MB of archives. After this operation, 31.3 MB of additional disk space will be used. Get:1 http://localhost:9999/debian/ unstable/main libpipeline1 amd64 1.2.4-1 [41.0 kB] Get:2 http://localhost:9999/debian/ unstable/main groff-base amd64 1.22.2-3 [747 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.5-2 [976 kB] Get:5 http://localhost:9999/debian/ unstable/main libasprintf0c2 amd64 0.18.3-1 [29.6 kB] Get:6 http://localhost:9999/debian/ unstable/main libmagic1 amd64 1:5.14-2 [216 kB] Get:7 http://localhost:9999/debian/ unstable/main libxml2 amd64 2.9.1+dfsg1-2 [911 kB] Get:8 http://localhost:9999/debian/ unstable/main libglib2.0-0 amd64 2.36.3-3 [2048 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.4.0-2 [143 kB] Get:11 http://localhost:9999/debian/ unstable/main libsigsegv2 amd64 2.10-2 [29.8 kB] Get:12 http://localhost:9999/debian/ unstable/main libunistring0 amd64 0.9.3-5 [434 kB] Get:13 http://localhost:9999/debian/ unstable/main file amd64 1:5.14-2 [54.0 kB] Get:14 http://localhost:9999/debian/ unstable/main gettext-base amd64 0.18.3-1 [161 kB] Get:15 http://localhost:9999/debian/ unstable/main m4 amd64 1.4.16-5 [260 kB] Get:16 http://localhost:9999/debian/ unstable/main autoconf all 2.69-1 [589 kB] Get:17 http://localhost:9999/debian/ unstable/main autotools-dev all 20130515.1 [73.0 kB] Get:18 http://localhost:9999/debian/ unstable/main automake all 1:1.13.3-1 [758 kB] Get:19 http://localhost:9999/debian/ unstable/main gettext amd64 0.18.3-1 [1898 kB] Get:20 http://localhost:9999/debian/ unstable/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:21 http://localhost:9999/debian/ unstable/main po-debconf all 1.0.16+nmu2 [224 kB] Get:22 http://localhost:9999/debian/ unstable/main debhelper all 9.20130630 [710 kB] Get:23 http://localhost:9999/debian/ unstable/main libtinfo-dev amd64 5.9+20130608-1 [108 kB] Get:24 http://localhost:9999/debian/ unstable/main libncurses5-dev amd64 5.9+20130608-1 [222 kB] Get:25 http://localhost:9999/debian/ unstable/main libpcap0.8-dev amd64 1.4.0-2 [265 kB] Get:26 http://localhost:9999/debian/ unstable/main libpcap-dev all 1.4.0-2 [22.6 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 11.3 MB in 0s (19.0 MB/s) Selecting previously unselected package libpipeline1:amd64. (Reading database ... 14701 files and directories currently installed.) Unpacking libpipeline1:amd64 (from .../libpipeline1_1.2.4-1_amd64.deb) ... Selecting previously unselected package groff-base. Unpacking groff-base (from .../groff-base_1.22.2-3_amd64.deb) ... Selecting previously unselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_9.0.5_amd64.deb) ... Selecting previously unselected package man-db. Unpacking man-db (from .../man-db_2.6.5-2_amd64.deb) ... Selecting previously unselected package libasprintf0c2:amd64. Unpacking libasprintf0c2:amd64 (from .../libasprintf0c2_0.18.3-1_amd64.deb) ... Selecting previously unselected package libmagic1:amd64. Unpacking libmagic1:amd64 (from .../libmagic1_1%3a5.14-2_amd64.deb) ... Selecting previously unselected package libxml2:amd64. Unpacking libxml2:amd64 (from .../libxml2_2.9.1+dfsg1-2_amd64.deb) ... Selecting previously unselected package libglib2.0-0:amd64. Unpacking libglib2.0-0:amd64 (from .../libglib2.0-0_2.36.3-3_amd64.deb) ... Selecting previously unselected package libcroco3:amd64. Unpacking libcroco3:amd64 (from .../libcroco3_0.6.8-2_amd64.deb) ... Selecting previously unselected package libpcap0.8:amd64. Unpacking libpcap0.8:amd64 (from .../libpcap0.8_1.4.0-2_amd64.deb) ... Selecting previously unselected package libsigsegv2:amd64. Unpacking libsigsegv2:amd64 (from .../libsigsegv2_2.10-2_amd64.deb) ... Selecting previously unselected package libunistring0:amd64. Unpacking libunistring0:amd64 (from .../libunistring0_0.9.3-5_amd64.deb) ... Selecting previously unselected package file. Unpacking file (from .../file_1%3a5.14-2_amd64.deb) ... Selecting previously unselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.18.3-1_amd64.deb) ... Selecting previously unselected package m4. Unpacking m4 (from .../archives/m4_1.4.16-5_amd64.deb) ... Selecting previously unselected package autoconf. Unpacking autoconf (from .../autoconf_2.69-1_all.deb) ... Selecting previously unselected package autotools-dev. Unpacking autotools-dev (from .../autotools-dev_20130515.1_all.deb) ... Selecting previously unselected package automake. Unpacking automake (from .../automake_1%3a1.13.3-1_all.deb) ... Selecting previously unselected package gettext. Unpacking gettext (from .../gettext_0.18.3-1_amd64.deb) ... Selecting previously unselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously unselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.16+nmu2_all.deb) ... Selecting previously unselected package debhelper. Unpacking debhelper (from .../debhelper_9.20130630_all.deb) ... Selecting previously unselected package libtinfo-dev:amd64. Unpacking libtinfo-dev:amd64 (from .../libtinfo-dev_5.9+20130608-1_amd64.deb) ... Selecting previously unselected package libncurses5-dev:amd64. Unpacking libncurses5-dev:amd64 (from .../libncurses5-dev_5.9+20130608-1_amd64.deb) ... Selecting previously unselected package libpcap0.8-dev. Unpacking libpcap0.8-dev (from .../libpcap0.8-dev_1.4.0-2_amd64.deb) ... Selecting previously unselected package libpcap-dev. Unpacking libpcap-dev (from .../libpcap-dev_1.4.0-2_all.deb) ... Selecting previously unselected package sbuild-build-depends-sniffit-dummy. Unpacking sbuild-build-depends-sniffit-dummy (from .../sbuild-build-depends-sniffit-dummy.deb) ... Setting up libpipeline1:amd64 (1.2.4-1) ... Setting up groff-base (1.22.2-3) ... 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.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libasprintf0c2:amd64 (0.18.3-1) ... Setting up libmagic1:amd64 (1:5.14-2) ... Setting up libxml2:amd64 (2.9.1+dfsg1-2) ... Setting up libglib2.0-0:amd64 (2.36.3-3) ... No schema files found: doing nothing. Setting up libcroco3:amd64 (0.6.8-2) ... Setting up libpcap0.8:amd64 (1.4.0-2) ... Setting up libsigsegv2:amd64 (2.10-2) ... Setting up libunistring0:amd64 (0.9.3-5) ... Setting up file (1:5.14-2) ... Setting up gettext-base (0.18.3-1) ... Setting up m4 (1.4.16-5) ... Setting up autoconf (2.69-1) ... Setting up autotools-dev (20130515.1) ... Setting up automake (1:1.13.3-1) ... update-alternatives: using /usr/bin/automake-1.13 to provide /usr/bin/automake (automake) in auto mode Setting up gettext (0.18.3-1) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2) ... Setting up debhelper (9.20130630) ... Setting up libtinfo-dev:amd64 (5.9+20130608-1) ... Setting up libncurses5-dev:amd64 (5.9+20130608-1) ... Setting up libpcap0.8-dev (1.4.0-2) ... Setting up libpcap-dev (1.4.0-2) ... Setting up sbuild-build-depends-sniffit-dummy (0.invalid.0) ... Processing triggers for libc-bin ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 2.6.32-5-xen-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.23.52.20130620-1 dpkg-dev_1.16.10 g++-4.6_4.6.4-4 g++-4.8_4.8.1-6 gcc-4.6_4.6.4-4 gcc-4.7_4.7.3-6 gcc-4.8_4.8.1-6 libc6-dev_2.17-7 libstdc++-4.8-dev_4.8.1-6 libstdc++6_4.8.1-6 libstdc++6-4.6-dev_4.6.4-4 libstdc++6-4.7-dev_4.7.3-6 linux-libc-dev_3.10.1-1 Package versions: apt_0.9.9.2 autoconf_2.69-1 automake_1:1.13.3-1 autotools-dev_20130515.1 base-files_7.2 base-passwd_3.5.26 bash_4.2+dfsg-1 binutils_2.23.52.20130620-1 bsdmainutils_9.0.5 bsdutils_1:2.20.1-5.5 build-essential_11.6 bzip2_1.0.6-4 clang-3.3_1:3.3-3 coreutils_8.20-3 cpp_4:4.8.1-2 cpp-4.6_4.6.4-4 cpp-4.7_4.7.3-6 cpp-4.8_4.8.1-6 dash_0.5.7-3 debconf_1.5.50 debconf-i18n_1.5.50 debfoster_2.7-1.2 debhelper_9.20130630 debian-archive-keyring_2012.4 debianutils_4.3.4 diffutils_1:3.2-8 dpkg_1.16.10 dpkg-dev_1.16.10 e2fslibs_1.42.8-1 e2fsprogs_1.42.8-1 fakeroot_1.19-2 file_1:5.14-2 findutils_4.4.2-6 g++_4:4.8.1-2 g++-4.6_4.6.4-4 g++-4.8_4.8.1-6 gcc_4:4.8.1-2 gcc-4.4-base_4.4.7-4 gcc-4.5-base_4.5.4-1 gcc-4.6_4.6.4-4 gcc-4.6-base_4.6.4-4 gcc-4.7_4.7.3-6 gcc-4.7-base_4.7.3-6 gcc-4.8_4.8.1-6 gcc-4.8-base_4.8.1-6 gettext_0.18.3-1 gettext-base_0.18.3-1 gnupg_1.4.12-7 gpgv_1.4.12-7 grep_2.14-2 groff-base_1.22.2-3 gzip_1.6-1 hostname_3.13 initscripts_2.88dsf-43 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.1 libacl1_2.2.52-1 libapt-pkg4.12_0.9.9.2 libasan0_4.8.1-6 libasprintf0c2_0.18.3-1 libatomic1_4.8.1-6 libattr1_1:2.4.47-1 libblkid1_2.20.1-5.5 libbz2-1.0_1.0.6-4 libc-bin_2.17-7 libc-dev-bin_2.17-7 libc6_2.17-7 libc6-dev_2.17-7 libcap2_1:2.22-1.2 libclang-common-3.3-dev_1:3.3-3 libclang1-3.3_1:3.3-3 libclass-isa-perl_0.36-5 libcloog-isl4_0.18.0-2 libcloog-ppl1_0.16.1-3 libcomerr2_1.42.8-1 libcroco3_0.6.8-2 libdb5.1_5.1.29-6 libdpkg-perl_1.16.10 libffi6_3.0.13-4 libfile-fcntllock-perl_0.14-2 libgc1c2_1:7.2d-5 libgcc-4.7-dev_4.7.3-6 libgcc-4.8-dev_4.8.1-6 libgcc1_1:4.8.1-6 libgdbm3_1.8.3-12 libglib2.0-0_2.36.3-3 libgmp10_2:5.1.2+dfsg-2 libgmpxx4ldbl_2:5.1.2+dfsg-2 libgomp1_4.8.1-6 libgpm2_1.20.4-6.1 libisl10_0.11.2-1 libitm1_4.8.1-6 libllvm3.3_1:3.3-3 liblocale-gettext-perl_1.05-7+b1 liblzma5_5.1.1alpha+20120614-2 libmagic1_1:5.14-2 libmount1_2.20.1-5.5 libmpc2_0.9-4 libmpc3_1.0.1-1 libmpfr4_3.1.1-1 libncurses5_5.9+20130608-1 libncurses5-dev_5.9+20130608-1 libobjc-4.7-dev_4.7.3-6 libobjc4_4.8.1-6 libpam-modules_1.1.3-9 libpam-modules-bin_1.1.3-9 libpam-runtime_1.1.3-9 libpam0g_1.1.3-9 libpcap-dev_1.4.0-2 libpcap0.8_1.4.0-2 libpcap0.8-dev_1.4.0-2 libpcre3_1:8.31-2 libpipeline1_1.2.4-1 libppl-c4_1:1.0-7 libppl12_1:1.0-7 libquadmath0_4.8.1-6 libreadline6_6.2+dfsg-0.1 libselinux1_2.1.13-2 libsemanage-common_2.1.10-2 libsemanage1_2.1.10-2 libsepol1_2.1.9-2 libsigsegv2_2.10-2 libslang2_2.2.4-15 libss2_1.42.8-1 libstdc++-4.8-dev_4.8.1-6 libstdc++6_4.8.1-6 libstdc++6-4.6-dev_4.6.4-4 libstdc++6-4.7-dev_4.7.3-6 libswitch-perl_2.16-2 libtext-charwidth-perl_0.04-7+b1 libtext-iconv-perl_1.7-5 libtext-wrapi18n-perl_0.06-7 libtimedate-perl_1.2000-1 libtinfo-dev_5.9+20130608-1 libtinfo5_5.9+20130608-1 libtsan0_4.8.1-6 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-23.2 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5.5 libxml2_2.9.1+dfsg1-2 linux-libc-dev_3.10.1-1 login_1:4.1.5.1-1 lsb-base_4.1+Debian12 m4_1.4.16-5 make_3.81-8.2 man-db_2.6.5-2 mawk_1.3.3-17 mount_2.20.1-5.5 multiarch-support_2.17-7 ncurses-base_5.9+20130608-1 ncurses-bin_5.9+20130608-1 passwd_1:4.1.5.1-1 patch_2.7.1-3 perl_5.14.2-21 perl-base_5.14.2-21 perl-modules_5.14.2-21 po-debconf_1.0.16+nmu2 readline-common_6.2+dfsg-0.1 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-sniffit-dummy_0.invalid.0 sed_4.2.2-1 sensible-utils_0.0.9 sudo_1.8.5p2-1+nmu1 sysv-rc_2.88dsf-43 sysvinit_2.88dsf-43 sysvinit-utils_2.88dsf-43 tar_1.26+dfsg-6 tzdata_2013c-2 ucf_3.0027+nmu1 util-linux_2.20.1-5.5 vim_2:7.3.923-3 vim-common_2:7.3.923-3 vim-runtime_2:7.3.923-3 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 Sep 17 16:58:24 2012 UTC using RSA key ID EED3BC0D gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./sniffit_0.3.7.beta-17.dsc dpkg-source: info: extracting sniffit in sniffit-0.3.7.beta dpkg-source: info: unpacking sniffit_0.3.7.beta.orig.tar.gz dpkg-source: info: unpacking sniffit_0.3.7.beta-17.debian.tar.gz dpkg-source: info: applying 01_diffpatch.patch dpkg-source: info: applying 02_headers.patch dpkg-source: info: applying 03_fixmanpages.patch dpkg-source: info: applying 04_sniffit+kbsd.patch dpkg-source: info: applying 05_fix_segfaults_on_amd64_bts644978.patch dpkg-source: info: applying use-dpkg-buildflags.patch dpkg-source: info: applying fixspelling.patch Check disc space ──────────────── Sufficient free space for build Hack binNMU version ─────────────────── Created changelog entry for binNMU version 0.3.7.beta-17clang1 User Environment ──────────────── 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-6e487b0a-3aee-44b1-9968-dce5eeedbb71 SCHROOT_UID=1000 SCHROOT_USER=user SHELL=/bin/sh USER=user dpkg-buildpackage ───────────────── dpkg-buildpackage: source package sniffit dpkg-buildpackage: source version 0.3.7.beta-17clang1 dpkg-source --before-build sniffit-0.3.7.beta dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh clean dh_testdir dh_auto_clean dh_clean debian/rules build-arch dh build-arch dh_testdir -a debian/rules override_dh_auto_configure make[1]: Entering directory `/«PKGBUILDDIR»' automake --force-missing --add-missing --copy || true automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in: error: no proper invocation of AM_INIT_AUTOMAKE was found. configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE, configure.in: that aclocal.m4 is present in the top-level directory, configure.in: and that aclocal.m4 was recently regenerated (using aclocal) automake: error: no 'Makefile.am' found for any configure output cd libpcap && automake --force-missing --add-missing --copy && cd .. || true automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:19: warning: AC_REQUIRE: `AC_PROG_CC' was expanded before it was required configure.in:19: http://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required ../../lib/autoconf/c.m4:429: AC_LANG_COMPILER(C) is expanded from... ../../lib/autoconf/lang.m4:329: AC_LANG_COMPILER_REQUIRE is expanded from... ../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2614: AC_TRY_COMPILE is expanded from... aclocal.m4:45: AC_LBL_C_INIT is expanded from... configure.in:19: the top level configure.in: error: no proper invocation of AM_INIT_AUTOMAKE was found. configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE, configure.in: that aclocal.m4 is present in the top-level directory, configure.in: and that aclocal.m4 was recently regenerated (using aclocal) automake: error: no 'Makefile.am' found for any configure output dh_auto_configure creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wl,-z,relro) works... yes checking whether the C compiler (gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wl,-z,relro) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for main in -lncurses... yes checking for ncurses.h... /usr/include/ncurses.h checking for shmget... yes checking for atexit... yes checking size of unsigned short int... 2 checking size of unsigned long int... 8 unsigned long is NOT 4 bytes... hmmm... checking size of unsigned int... 4 checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking build system type... x86_64-pc-linux-gnu updating cache ./config.cache creating ./config.status creating Makefile configuring in libpcap running /bin/sh ./configure --build=x86_64-linux-gnu --prefix=/usr '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var '--libexecdir=${prefix}/lib/sniffit' --disable-maintainer-mode --disable-dependency-tracking --cache-file=.././config.cache --srcdir=. loading cache .././config.cache checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking build system type... x86_64-pc-linux-gnu checking for gcc... (cached) gcc checking whether the C compiler (gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wl,-z,relro) works... yes checking whether the C compiler (gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wl,-z,relro) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes ./configure: 892: test: -gt: unexpected operator checking gcc version... checking how to run the C preprocessor... gcc -E checking for malloc.h... yes checking for sys/ioccom.h... no checking for sys/sockio.h... no checking for ANSI ioctl definitions... yes checking for ether_hostton... yes checking for strerror... yes checking packet capture type... linux checking for net/if_arp.h... yes checking Linux kernel version... 2 checking for flex... no checking for bison... no checking for ranlib... ranlib checking if sockaddr struct has sa_len member... no checking if unaligned accesses fail... no rm: cannot remove 'net': Is a directory checking for a BSD compatible install... /usr/bin/install -c updating cache .././config.cache creating ./config.status creating Makefile make[1]: Leaving directory `/«PKGBUILDDIR»' dh_auto_build -a make[1]: Entering directory `/«PKGBUILDDIR»' gcc -O2 -c -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security sn_packets.c -I./libpcap -L./libpcap -DHAVE_LIBNCURSES=1 -DHAVE_NCURSES_H=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 clang: warning: argument unused during compilation: '-L./libpcap' sn_packets.c:68:15: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'unsigned short *' [-Wincompatible-pointer-types] if(in_cksum((sp+PROTO_HEAD),unwrapped->IP_len) != IPhead.checksum) ^~~~~~~~~~~~~~~ sn_packets.c:14:41: note: passing argument to parameter 'addr' here unsigned short in_cksum(unsigned short *addr,int len) ^ 1 warning generated. gcc -O2 -c -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security sn_generation.c -I./libpcap -L./libpcap -DHAVE_LIBNCURSES=1 -DHAVE_NCURSES_H=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 clang: warning: argument unused during compilation: '-L./libpcap' sn_generation.c:66:1: warning: implicit declaration of function 'input_field' is invalid in C99 [-Wimplicit-function-declaration] input_field(msg,NULL,0); ^ sn_generation.c:67:1: warning: implicit declaration of function 'forced_refresh' is invalid in C99 [-Wimplicit-function-declaration] forced_refresh(); ^ sn_generation.c:205:22: warning: implicit declaration of function 'in_cksum' is invalid in C99 [-Wimplicit-function-declaration] sp_help_ip->checksum=in_cksum((unsigned short *) (sp->buffer), ^ 3 warnings generated. gcc -O2 -c -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security sn_interface.c -I./libpcap -L./libpcap -DHAVE_LIBNCURSES=1 -DHAVE_NCURSES_H=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 clang: warning: argument unused during compilation: '-L./libpcap' sn_interface.c:195:3: warning: incompatible pointer types assigning to 'unsigned char *' from '_32_bit *' (aka 'unsigned int *') [-Wincompatible-pointer-types] ad=&(mask->source_ip); ^~~~~~~~~~~~~~~~~~~ sn_interface.c:201:3: warning: incompatible pointer types assigning to 'unsigned char *' from '_32_bit *' (aka 'unsigned int *') [-Wincompatible-pointer-types] ad=&(mask->destination_ip); ^~~~~~~~~~~~~~~~~~~~~~~~ sn_interface.c:470:8: warning: implicit declaration of function 'isprint' is invalid in C99 [-Wimplicit-function-declaration] isprint(*(connection_data+i))? ^ 3 warnings generated. gcc -O2 -c -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security sn_cfgfile.c -I./libpcap -L./libpcap -DHAVE_LIBNCURSES=1 -DHAVE_NCURSES_H=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 clang: warning: argument unused during compilation: '-L./libpcap' sn_cfgfile.c:125:7: warning: implicit declaration of function 'isalnum' is invalid in C99 [-Wimplicit-function-declaration] if( (isalnum(string[i]))||(string[i]=='.') ) ^ sn_cfgfile.c:144:8: warning: implicit declaration of function 'iscntrl' is invalid in C99 [-Wimplicit-function-declaration] if( !(iscntrl(string[i])) && !(isspace(string[i])) ) ^ sn_cfgfile.c:144:33: warning: implicit declaration of function 'isspace' is invalid in C99 [-Wimplicit-function-declaration] if( !(iscntrl(string[i])) && !(isspace(string[i])) ) ^ sn_cfgfile.c:164:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] digit=(char *)&hostnr; ^~~~~~~~~~~~~~~~ sn_cfgfile.c:228:22: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(help->host,dot_notation); ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string3.h:102:33: note: passing argument to parameter '__dest' here __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct ^ sn_cfgfile.c:244:15: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(help->host, clean_string(strtok(NULL," "))); ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string3.h:102:33: note: passing argument to parameter '__dest' here __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct ^ sn_cfgfile.c:259:15: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(help->host,dot_notation); ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string3.h:102:33: note: passing argument to parameter '__dest' here __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct ^ sn_cfgfile.c:275:15: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(help->host, clean_string(strtok(NULL," "))); ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string3.h:102:33: note: passing argument to parameter '__dest' here __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct ^ sn_cfgfile.c:291:15: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(help->host,dot_notation); ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string3.h:102:33: note: passing argument to parameter '__dest' here __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct ^ sn_cfgfile.c:292:15: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(helpp->host,dot_notation); ^~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string3.h:102:33: note: passing argument to parameter '__dest' here __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct ^ sn_cfgfile.c:315:15: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(help->host, field); ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string3.h:102:33: note: passing argument to parameter '__dest' here __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct ^ sn_cfgfile.c:316:15: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(helpp->host, field); ^~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string3.h:102:33: note: passing argument to parameter '__dest' here __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct ^ sn_cfgfile.c:337:15: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(help->host,dot_notation); ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string3.h:102:33: note: passing argument to parameter '__dest' here __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct ^ sn_cfgfile.c:353:15: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(help->host, clean_string(strtok(NULL," "))); ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string3.h:102:33: note: passing argument to parameter '__dest' here __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct ^ sn_cfgfile.c:368:15: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(help->host,dot_notation); ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string3.h:102:33: note: passing argument to parameter '__dest' here __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct ^ sn_cfgfile.c:384:15: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(help->host, clean_string(strtok(NULL," "))); ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string3.h:102:33: note: passing argument to parameter '__dest' here __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct ^ sn_cfgfile.c:400:15: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(help->host,dot_notation); ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string3.h:102:33: note: passing argument to parameter '__dest' here __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct ^ sn_cfgfile.c:401:15: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(helpp->host,dot_notation); ^~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string3.h:102:33: note: passing argument to parameter '__dest' here __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct ^ sn_cfgfile.c:423:15: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(help->host, field); ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string3.h:102:33: note: passing argument to parameter '__dest' here __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct ^ sn_cfgfile.c:424:15: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(helpp->host, field); ^~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string3.h:102:33: note: passing argument to parameter '__dest' here __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct ^ sn_cfgfile.c:452:2: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result] fgets(lineptr,259,cfgfile); ^~~~~ ~~~~~~~~~~~~~~~~~~~ 21 warnings generated. gcc -O2 -c -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security sn_logfile.c -I./libpcap -L./libpcap -DHAVE_LIBNCURSES=1 -DHAVE_NCURSES_H=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 clang: warning: argument unused during compilation: '-L./libpcap' sn_logfile.c:96:8: warning: incompatible pointer to integer conversion passing 'FILE *' (aka 'struct _IO_FILE *') to parameter of type 'int' [-Wint-conversion] fchmod(LogFILE, S_IWUSR|S_IRUSR); ^~~~~~~ /usr/include/x86_64-linux-gnu/sys/stat.h:298:24: note: passing argument to parameter '__fd' here extern int fchmod (int __fd, __mode_t __mode) __THROW; ^ 1 warning generated. gcc -O2 -c -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security sn_resolv.c -I./libpcap -L./libpcap -DHAVE_LIBNCURSES=1 -DHAVE_NCURSES_H=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 clang: warning: argument unused during compilation: '-L./libpcap' gcc -D_FORTIFY_SOURCE=2 -O2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wl,-z,relro -o sniffit sniffit.0.3.7.c sn_packets.o sn_generation.o sn_interface.o sn_cfgfile.o sn_logfile.o sn_resolv.o -I./libpcap -L./libpcap -lpcap -lncurses -DHAVE_LIBNCURSES=1 -DHAVE_NCURSES_H=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 In file included from sniffit.0.3.7.c:35: In file included from ./sn_plugins.h:23: ./dns_plugin.plug:87:12: warning: incompatible pointer types assigning to 'struct PL_DNS_header *' from 'struct DNS_header *' [-Wincompatible-pointer-types] dns_dnshead= (struct DNS_header *) (dns_buffer+udp_start+sizeof(struct UDP_header)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dns_plugin.plug:122:25: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] dec_pos=PL_DNS_decode(dns_p,dec_pos,NULL,0); ^~~~~ ./dns_plugin.plug:30:25: note: passing argument to parameter 'buf' here int PL_DNS_decode(char *buf, int start_pos,char *string, int start_string) ^ ./dns_plugin.plug:142:25: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] dec_pos=PL_DNS_decode(dns_p,dec_pos,NULL,0); ^~~~~ ./dns_plugin.plug:30:25: note: passing argument to parameter 'buf' here int PL_DNS_decode(char *buf, int start_pos,char *string, int start_string) ^ sniffit.0.3.7.c:127:22: warning: implicit declaration of function 'isupper' is invalid in C99 [-Wimplicit-function-declaration] *(string + i) = (isupper (*(string + i)) ? tolower (*(string + i)) : *(string + i)); ^ sniffit.0.3.7.c:127:48: warning: implicit declaration of function 'tolower' is invalid in C99 [-Wimplicit-function-declaration] *(string + i) = (isupper (*(string + i)) ? tolower (*(string + i)) : *(string + i)); ^ sniffit.0.3.7.c:386:11: warning: implicit declaration of function 'isprint' is invalid in C99 [-Wimplicit-function-declaration] if (isprint (data[i])) ^ sniffit.0.3.7.c:546:21: warning: '&&' within '||' [-Wlogical-op-parentheses] if (MODE == DEST && ipaddr != iphead.destination /* -t */ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.0.3.7.c:546:21: note: place parentheses around the '&&' expression to silence this warning if (MODE == DEST && ipaddr != iphead.destination /* -t */ ^ ( ) sniffit.0.3.7.c:548:23: warning: '&&' within '||' [-Wlogical-op-parentheses] MODE == SOURCE && ipaddr != iphead.source /* -s */ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.0.3.7.c:548:23: note: place parentheses around the '&&' expression to silence this warning MODE == SOURCE && ipaddr != iphead.source /* -s */ ^ ( ) sniffit.0.3.7.c:551:8: warning: '&&' within '||' [-Wlogical-op-parentheses] && ipaddr != iphead.source ^~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.0.3.7.c:551:8: note: place parentheses around the '&&' expression to silence this warning && ipaddr != iphead.source ^ sniffit.0.3.7.c:565:25: warning: '&&' within '||' [-Wlogical-op-parentheses] if (MODE == DEST && (strncmp (wc_dest, IP, n_s) != 0) /* -t */ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.0.3.7.c:565:25: note: place parentheses around the '&&' expression to silence this warning if (MODE == DEST && (strncmp (wc_dest, IP, n_s) != 0) /* -t */ ^ ( ) sniffit.0.3.7.c:567:20: warning: '&&' within '||' [-Wlogical-op-parentheses] MODE == SOURCE && (strncmp (wc_so, IP, n_s) != 0) /* -s */ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.0.3.7.c:567:20: note: place parentheses around the '&&' expression to silence this warning MODE == SOURCE && (strncmp (wc_so, IP, n_s) != 0) /* -s */ ^ ( ) sniffit.0.3.7.c:570:18: warning: '&&' within '||' [-Wlogical-op-parentheses] && (strncmp (wc_so, IP, n_s) != 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.0.3.7.c:570:18: note: place parentheses around the '&&' expression to silence this warning && (strncmp (wc_so, IP, n_s) != 0) ^ sniffit.0.3.7.c:602:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:803:74: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ sniffit.0.3.7.c:602:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:806:31: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:602:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:810:30: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:602:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:813:39: note: expanded from macro 'strcmp' && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^ sniffit.0.3.7.c:602:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:815:33: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:602:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:817:30: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ sniffit.0.3.7.c:611:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:920:41: note: expanded from macro 'strncmp' (__extension__ (__builtin_constant_p (n) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:611:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:922:38: note: expanded from macro 'strncmp' && strlen (s1) < ((size_t) (n))) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:611:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:924:17: note: expanded from macro 'strncmp' && strlen (s2) < ((size_t) (n)))) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:611:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:924:34: note: expanded from macro 'strncmp' && strlen (s2) < ((size_t) (n)))) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:611:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:803:74: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ sniffit.0.3.7.c:611:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:806:31: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:611:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:810:30: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:611:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:813:39: note: expanded from macro 'strcmp' && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^ sniffit.0.3.7.c:611:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:815:33: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:611:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:817:30: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ sniffit.0.3.7.c:611:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:42: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:611:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:38: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/string.h:143:51: note: passing argument to parameter '__s2' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ sniffit.0.3.7.c:641:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_dest, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:803:74: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ sniffit.0.3.7.c:641:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_dest, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:806:31: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:641:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_dest, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:810:30: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:641:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_dest, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:813:39: note: expanded from macro 'strcmp' && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^ sniffit.0.3.7.c:641:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_dest, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:815:33: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:641:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_dest, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:817:30: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ sniffit.0.3.7.c:650:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:920:41: note: expanded from macro 'strncmp' (__extension__ (__builtin_constant_p (n) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:650:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:922:38: note: expanded from macro 'strncmp' && strlen (s1) < ((size_t) (n))) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:650:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:924:17: note: expanded from macro 'strncmp' && strlen (s2) < ((size_t) (n)))) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:650:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:924:34: note: expanded from macro 'strncmp' && strlen (s2) < ((size_t) (n)))) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:650:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:803:74: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ sniffit.0.3.7.c:650:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:806:31: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:650:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:810:30: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:650:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:813:39: note: expanded from macro 'strcmp' && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^ sniffit.0.3.7.c:650:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:815:33: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:650:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:817:30: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ sniffit.0.3.7.c:650:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:42: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:650:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:38: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/string.h:143:51: note: passing argument to parameter '__s2' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ sniffit.0.3.7.c:680:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:803:74: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ sniffit.0.3.7.c:680:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:806:31: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:680:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:810:30: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:680:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:813:39: note: expanded from macro 'strcmp' && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^ sniffit.0.3.7.c:680:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:815:33: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:680:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:817:30: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ sniffit.0.3.7.c:689:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:803:74: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ sniffit.0.3.7.c:689:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:806:31: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:689:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:810:30: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:689:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:813:39: note: expanded from macro 'strcmp' && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^ sniffit.0.3.7.c:689:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:815:33: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:689:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:817:30: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ sniffit.0.3.7.c:720:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:920:41: note: expanded from macro 'strncmp' (__extension__ (__builtin_constant_p (n) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:720:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:922:38: note: expanded from macro 'strncmp' && strlen (s1) < ((size_t) (n))) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:720:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:924:17: note: expanded from macro 'strncmp' && strlen (s2) < ((size_t) (n)))) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:720:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:924:34: note: expanded from macro 'strncmp' && strlen (s2) < ((size_t) (n)))) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:720:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:803:74: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ sniffit.0.3.7.c:720:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:806:31: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:720:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:810:30: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:720:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:813:39: note: expanded from macro 'strcmp' && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^ sniffit.0.3.7.c:720:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:815:33: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:720:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:817:30: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ sniffit.0.3.7.c:720:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:42: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:720:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:38: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/string.h:143:51: note: passing argument to parameter '__s2' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ sniffit.0.3.7.c:729:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:920:41: note: expanded from macro 'strncmp' (__extension__ (__builtin_constant_p (n) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:729:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:922:38: note: expanded from macro 'strncmp' && strlen (s1) < ((size_t) (n))) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:729:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:924:17: note: expanded from macro 'strncmp' && strlen (s2) < ((size_t) (n)))) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:729:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:924:34: note: expanded from macro 'strncmp' && strlen (s2) < ((size_t) (n)))) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:729:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:803:74: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ sniffit.0.3.7.c:729:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:806:31: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:729:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:810:30: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:729:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:813:39: note: expanded from macro 'strcmp' && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^ sniffit.0.3.7.c:729:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:815:33: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:729:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:817:30: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ sniffit.0.3.7.c:729:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:42: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:729:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:38: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/string.h:143:51: note: passing argument to parameter '__s2' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ sniffit.0.3.7.c:842:21: warning: '&&' within '||' [-Wlogical-op-parentheses] if (MODE == DEST && ipaddr != iphead.destination /* -t */ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.0.3.7.c:842:21: note: place parentheses around the '&&' expression to silence this warning if (MODE == DEST && ipaddr != iphead.destination /* -t */ ^ ( ) sniffit.0.3.7.c:844:23: warning: '&&' within '||' [-Wlogical-op-parentheses] MODE == SOURCE && ipaddr != iphead.source /* -s */ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.0.3.7.c:844:23: note: place parentheses around the '&&' expression to silence this warning MODE == SOURCE && ipaddr != iphead.source /* -s */ ^ ( ) sniffit.0.3.7.c:847:8: warning: '&&' within '||' [-Wlogical-op-parentheses] && ipaddr != iphead.source ^~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.0.3.7.c:847:8: note: place parentheses around the '&&' expression to silence this warning && ipaddr != iphead.source ^ sniffit.0.3.7.c:858:25: warning: '&&' within '||' [-Wlogical-op-parentheses] if (MODE == DEST && (strncmp (wc_dest, IP, n_s) != 0) /* -t */ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.0.3.7.c:858:25: note: place parentheses around the '&&' expression to silence this warning if (MODE == DEST && (strncmp (wc_dest, IP, n_s) != 0) /* -t */ ^ ( ) sniffit.0.3.7.c:860:20: warning: '&&' within '||' [-Wlogical-op-parentheses] MODE == SOURCE && (strncmp (wc_so, IP, n_s) != 0) /* -s */ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.0.3.7.c:860:20: note: place parentheses around the '&&' expression to silence this warning MODE == SOURCE && (strncmp (wc_so, IP, n_s) != 0) /* -s */ ^ ( ) sniffit.0.3.7.c:863:5: warning: '&&' within '||' [-Wlogical-op-parentheses] && (strncmp (wc_so, IP, n_s) != 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.0.3.7.c:863:5: note: place parentheses around the '&&' expression to silence this warning && (strncmp (wc_so, IP, n_s) != 0) ^ sniffit.0.3.7.c:893:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:803:74: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ sniffit.0.3.7.c:893:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:806:31: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:893:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:810:30: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:893:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:813:39: note: expanded from macro 'strcmp' && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^ sniffit.0.3.7.c:893:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:815:33: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:893:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:817:30: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ sniffit.0.3.7.c:904:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:920:41: note: expanded from macro 'strncmp' (__extension__ (__builtin_constant_p (n) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:904:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:922:38: note: expanded from macro 'strncmp' && strlen (s1) < ((size_t) (n))) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:904:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:924:17: note: expanded from macro 'strncmp' && strlen (s2) < ((size_t) (n)))) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:904:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:924:34: note: expanded from macro 'strncmp' && strlen (s2) < ((size_t) (n)))) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:904:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:803:74: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ sniffit.0.3.7.c:904:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:806:31: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:904:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:810:30: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:904:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:813:39: note: expanded from macro 'strcmp' && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^ sniffit.0.3.7.c:904:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:815:33: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:904:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:817:30: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ sniffit.0.3.7.c:904:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:42: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:904:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:38: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/string.h:143:51: note: passing argument to parameter '__s2' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ sniffit.0.3.7.c:934:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_dest, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:803:74: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ sniffit.0.3.7.c:934:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_dest, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:806:31: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:934:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_dest, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:810:30: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:934:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_dest, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:813:39: note: expanded from macro 'strcmp' && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^ sniffit.0.3.7.c:934:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_dest, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:815:33: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:934:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_dest, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:817:30: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ sniffit.0.3.7.c:945:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:920:41: note: expanded from macro 'strncmp' (__extension__ (__builtin_constant_p (n) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:945:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:922:38: note: expanded from macro 'strncmp' && strlen (s1) < ((size_t) (n))) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:945:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:924:17: note: expanded from macro 'strncmp' && strlen (s2) < ((size_t) (n)))) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:945:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:924:34: note: expanded from macro 'strncmp' && strlen (s2) < ((size_t) (n)))) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:945:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:803:74: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ sniffit.0.3.7.c:945:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:806:31: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:945:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:810:30: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:945:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:813:39: note: expanded from macro 'strcmp' && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^ sniffit.0.3.7.c:945:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:815:33: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:945:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:817:30: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ sniffit.0.3.7.c:945:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:42: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:945:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:38: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/string.h:143:51: note: passing argument to parameter '__s2' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ sniffit.0.3.7.c:973:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:803:74: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ sniffit.0.3.7.c:973:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:806:31: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:973:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:810:30: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:973:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:813:39: note: expanded from macro 'strcmp' && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^ sniffit.0.3.7.c:973:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:815:33: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:973:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:817:30: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ sniffit.0.3.7.c:982:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:803:74: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ sniffit.0.3.7.c:982:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:806:31: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:982:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:810:30: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:982:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:813:39: note: expanded from macro 'strcmp' && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^ sniffit.0.3.7.c:982:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:815:33: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:982:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp (wc_so, str_IP) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:817:30: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ sniffit.0.3.7.c:1010:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:920:41: note: expanded from macro 'strncmp' (__extension__ (__builtin_constant_p (n) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:1010:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:922:38: note: expanded from macro 'strncmp' && strlen (s1) < ((size_t) (n))) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:1010:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:924:17: note: expanded from macro 'strncmp' && strlen (s2) < ((size_t) (n)))) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:1010:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:924:34: note: expanded from macro 'strncmp' && strlen (s2) < ((size_t) (n)))) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:1010:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:803:74: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ sniffit.0.3.7.c:1010:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:806:31: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:1010:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:810:30: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:1010:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:813:39: note: expanded from macro 'strcmp' && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^ sniffit.0.3.7.c:1010:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:815:33: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:1010:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:817:30: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ sniffit.0.3.7.c:1010:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:42: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:1010:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:38: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/string.h:143:51: note: passing argument to parameter '__s2' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ sniffit.0.3.7.c:1019:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:920:41: note: expanded from macro 'strncmp' (__extension__ (__builtin_constant_p (n) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:1019:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:922:38: note: expanded from macro 'strncmp' && strlen (s1) < ((size_t) (n))) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:1019:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:924:17: note: expanded from macro 'strncmp' && strlen (s2) < ((size_t) (n)))) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:1019:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:924:34: note: expanded from macro 'strncmp' && strlen (s2) < ((size_t) (n)))) \ ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:1019:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:803:74: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^ sniffit.0.3.7.c:1019:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:806:31: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:1019:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:810:30: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:1019:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:813:39: note: expanded from macro 'strcmp' && (__s2_len = __builtin_strlen (s2), __s2_len < 4) \ ^ sniffit.0.3.7.c:1019:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:815:33: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^ sniffit.0.3.7.c:1019:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:19: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/x86_64-linux-gnu/bits/string2.h:817:30: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^ sniffit.0.3.7.c:1019:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:42: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/string.h:395:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sniffit.0.3.7.c:1019:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) ^~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:925:38: note: expanded from macro 'strncmp' ? strcmp (s1, s2) : strncmp (s1, s2, n))) ^ /usr/include/string.h:143:51: note: passing argument to parameter '__s2' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ sniffit.0.3.7.c:1096:5: error: non-void function 'packethandler' should return a value [-Wreturn-type] return; /* Packet is broken */ ^ sniffit.0.3.7.c:1103:5: error: non-void function 'packethandler' should return a value [-Wreturn-type] return; /* Packet is not for us */ ^ sniffit.0.3.7.c:1107:43: warning: incompatible pointer types passing 'const struct packetheader *' to parameter of type 'const struct pcap_pkthdr *' [-Wincompatible-pointer-types] pcap_dump((unsigned char *) dev_dump, p_header, sp); ^~~~~~~~ ./libpcap/pcap.h:132:52: note: passing argument to parameter here void pcap_dump(u_char *, const struct pcap_pkthdr *, const u_char *); ^ sniffit.0.3.7.c:1108:5: error: non-void function 'packethandler' should return a value [-Wreturn-type] return; ^ sniffit.0.3.7.c:1189:3: error: non-void function 'packethandler' should return a value [-Wreturn-type] return; ^ sniffit.0.3.7.c:1193:3: error: non-void function 'packethandler' should return a value [-Wreturn-type] return; ^ sniffit.0.3.7.c:1259:7: error: non-void function 'packethandler' should return a value [-Wreturn-type] return; ^ In file included from sniffit.0.3.7.c:1270: ./sn_analyse.c:13:2: error: non-void function 'packethandler' should return a value [-Wreturn-type] return; ^ ./sn_analyse.c:29:3: error: non-void function 'packethandler' should return a value [-Wreturn-type] return; ^ ./sn_analyse.c:43:30: error: non-void function 'packethandler' should return a value [-Wreturn-type] if((dummy&FIN)||(dummy&RST)) return; /* needed, cauz entry don't exist */ ^ ./sn_analyse.c:53:51: warning: passing 'const unsigned char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] sbuf_update(dummy_pointer,ntohl(tcphead.seq_nr),data,info.DATA_len); ^~~~ sniffit.0.3.7.c:413:13: note: passing argument to parameter 'data' here char *data, int len) ^ In file included from sniffit.0.3.7.c:1270: ./sn_analyse.c:83:52: warning: passing 'const unsigned char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] record_buf(dummy_pointer,ntohl(tcphead.seq_nr),data,info.DATA_len,0); ^~~~ sniffit.0.3.7.c:358:12: note: passing argument to parameter 'data' here char *data, int len, int type) ^ In file included from sniffit.0.3.7.c:1270: ./sn_analyse.c:95:54: warning: passing 'const unsigned char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] record_buf(dummy_pointer,ntohl(tcphead.seq_nr),data,info.DATA_len,0); ^~~~ sniffit.0.3.7.c:358:12: note: passing argument to parameter 'data' here char *data, int len, int type) ^ In file included from sniffit.0.3.7.c:1270: ./sn_analyse.c:117:51: warning: passing 'const unsigned char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] sbuf_update(dummy_pointer,ntohl(tcphead.seq_nr),data,info.DATA_len); ^~~~ sniffit.0.3.7.c:413:13: note: passing argument to parameter 'data' here char *data, int len) ^ In file included from sniffit.0.3.7.c:1270: ./sn_analyse.c:157:22: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(workbuf1,data,len); ^~~~ /usr/include/x86_64-linux-gnu/bits/string3.h:117:65: note: passing argument to parameter '__src' here __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ /usr/include/x86_64-linux-gnu/sys/cdefs.h:58:59: note: expanded from macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct ^ In file included from sniffit.0.3.7.c:1270: ./sn_analyse.c:200:1: error: non-void function 'packethandler' should return a value [-Wreturn-type] return; ^ ./sn_analyse.c:201:1: error: non-void function 'packethandler' should return a value [-Wreturn-type] return; /* DON'T FORGET THEM!!!! */ ^ sniffit.0.3.7.c:1339:7: error: non-void function 'packethandler' should return a value [-Wreturn-type] return; ^ sniffit.0.3.7.c:1372:7: error: non-void function 'packethandler' should return a value [-Wreturn-type] return; ^ In file included from sniffit.0.3.7.c:1458: ./sn_conn_desc.c:24:12: warning: implicit declaration of function 'isalnum' is invalid in C99 [-Wimplicit-function-declaration] if( (isalnum(data[i]) || ispunct(data[i]) || data[i]==' ')&&(j<(*DESC_LEN)-1) ) ^ ./sn_conn_desc.c:24:32: warning: implicit declaration of function 'ispunct' is invalid in C99 [-Wimplicit-function-declaration] if( (isalnum(data[i]) || ispunct(data[i]) || data[i]==' ')&&(j<(*DESC_LEN)-1) ) ^ ./sn_conn_desc.c:27:15: warning: implicit declaration of function 'isspace' is invalid in C99 [-Wimplicit-function-declaration] {if( (isspace(data[i]) && data[i]!=' ')&&(j<(*DESC_LEN)-1) ) ^ sniffit.0.3.7.c:1485:5: error: non-void function 'interactive_packethandler' should return a value [-Wreturn-type] return; /* Packet is broken */ ^ sniffit.0.3.7.c:1487:5: error: non-void function 'interactive_packethandler' should return a value [-Wreturn-type] return; /* Packet is not for us */ ^ sniffit.0.3.7.c:1522:20: warning: incompatible pointer types passing 'void (void)' to parameter of type '__sighandler_t' (aka 'void (*)(int)') [-Wincompatible-pointer-types] signal (SIGINT, my_exit); /* gracefull termination in different ways */ ^~~~~~~ /usr/include/signal.h:102:57: note: passing argument to parameter '__handler' here extern __sighandler_t signal (int __sig, __sighandler_t __handler) ^ sniffit.0.3.7.c:1523:20: warning: incompatible pointer types passing 'void (void)' to parameter of type '__sighandler_t' (aka 'void (*)(int)') [-Wincompatible-pointer-types] signal (SIGHUP, my_exit); ^~~~~~~ /usr/include/signal.h:102:57: note: passing argument to parameter '__handler' here extern __sighandler_t signal (int __sig, __sighandler_t __handler) ^ sniffit.0.3.7.c:1524:20: warning: incompatible pointer types passing 'void (void)' to parameter of type '__sighandler_t' (aka 'void (*)(int)') [-Wincompatible-pointer-types] signal (SIGTERM, my_exit); ^~~~~~~ /usr/include/signal.h:102:57: note: passing argument to parameter '__handler' here extern __sighandler_t signal (int __sig, __sighandler_t __handler) ^ sniffit.0.3.7.c:1758:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if((dev_desc=pcap_open_offline(DUMPfile,ebuf))==NULL) ^~~~~~~~ ./libpcap/pcap.h:105:39: note: passing argument to parameter here pcap_t *pcap_open_offline(const char *, char *); ^ sniffit.0.3.7.c:1796:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ sniffit.0.3.7.c:1800:20: warning: extra tokens at end of #ifdef directive [-Wextra-tokens] #ifdef PLUGIN0_INIT() ^ // sniffit.0.3.7.c:1804:20: warning: extra tokens at end of #ifdef directive [-Wextra-tokens] #ifdef PLUGIN1_INIT() ^ // sniffit.0.3.7.c:1808:20: warning: extra tokens at end of #ifdef directive [-Wextra-tokens] #ifdef PLUGIN2_INIT() ^ // sniffit.0.3.7.c:1812:20: warning: extra tokens at end of #ifdef directive [-Wextra-tokens] #ifdef PLUGIN3_INIT() ^ // sniffit.0.3.7.c:1816:20: warning: extra tokens at end of #ifdef directive [-Wextra-tokens] #ifdef PLUGIN4_INIT() ^ // sniffit.0.3.7.c:1820:20: warning: extra tokens at end of #ifdef directive [-Wextra-tokens] #ifdef PLUGIN5_INIT() ^ // sniffit.0.3.7.c:1824:20: warning: extra tokens at end of #ifdef directive [-Wextra-tokens] #ifdef PLUGIN6_INIT() ^ // sniffit.0.3.7.c:1828:20: warning: extra tokens at end of #ifdef directive [-Wextra-tokens] #ifdef PLUGIN7_INIT() ^ // sniffit.0.3.7.c:1832:20: warning: extra tokens at end of #ifdef directive [-Wextra-tokens] #ifdef PLUGIN8_INIT() ^ // sniffit.0.3.7.c:1836:20: warning: extra tokens at end of #ifdef directive [-Wextra-tokens] #ifdef PLUGIN9_INIT() ^ // sniffit.0.3.7.c:1867:18: warning: incompatible pointer types assigning to 'int *' from 'char *' [-Wincompatible-pointer-types] DATAlength = timing + sizeof (int); ^ ~~~~~~~~~~~~~~~~~~~~~ sniffit.0.3.7.c:1868:23: warning: incompatible pointer types assigning to 'char *' from 'int *' [-Wincompatible-pointer-types] connection_data = DATAlength + sizeof (int); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.0.3.7.c:1869:18: warning: incompatible pointer types assigning to 'int *' from 'char *' [-Wincompatible-pointer-types] LISTlength = connection_data + LENGTH_OF_INTERPROC_DATA; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.0.3.7.c:1870:12: warning: incompatible pointer types assigning to 'struct snif_mask *' from 'int *' [-Wincompatible-pointer-types] mask = LISTlength + sizeof (int); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.0.3.7.c:1871:26: warning: incompatible pointer types assigning to 'char *' from 'struct snif_mask *' [-Wincompatible-pointer-types] logged_connections = mask + sizeof (struct snif_mask); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.0.3.7.c:1874:25: warning: incompatible pointer types assigning to 'unsigned int *' from 'char *' [-Wincompatible-pointer-types] TCP_nr_of_packets = running_connections + (sizeof (struct shared_conn_data) * CONNECTION_CAPACITY); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.0.3.7.c:1875:28: warning: incompatible pointer types assigning to 'unsigned long *' from 'unsigned int *' [-Wincompatible-pointer-types] TCP_bytes_in_packets = TCP_nr_of_packets + sizeof (int); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.0.3.7.c:1876:26: warning: incompatible pointer types assigning to 'unsigned int *' from 'unsigned long *' [-Wincompatible-pointer-types] ICMP_nr_of_packets = TCP_bytes_in_packets + sizeof (unsigned long); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.0.3.7.c:1878:28: warning: incompatible pointer types assigning to 'unsigned long *' from 'unsigned int *' [-Wincompatible-pointer-types] UDP_bytes_in_packets = UDP_nr_of_packets + sizeof (int); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.0.3.7.c:1879:24: warning: incompatible pointer types assigning to 'unsigned int *' from 'unsigned long *' [-Wincompatible-pointer-types] IP_nr_of_packets = UDP_bytes_in_packets + sizeof (unsigned long); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.0.3.7.c:1880:16: warning: assigning to 'int *' from 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] DESC_LEN = IP_nr_of_packets + sizeof (int); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.0.3.7.c:1894:11: warning: incompatible pointer types passing 'pcap_handler (char *, const struct packetheader *, const unsigned char *)' to parameter of type 'pcap_handler' (aka 'void (*)(u_char *, const struct pcap_pkthdr *, const u_char *)') [-Wincompatible-pointer-types] interactive_packethandler, NULL) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./libpcap/pcap.h:107:42: note: passing argument to parameter here int pcap_loop(pcap_t *, int, pcap_handler, u_char *); ^ sniffit.0.3.7.c:1921:47: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if((dev_dump=pcap_dump_open(dev_desc, DUMPfile))==NULL) ^~~~~~~~ ./libpcap/pcap.h:130:53: note: passing argument to parameter here pcap_dumper_t *pcap_dump_open(pcap_t *, const char *); ^ sniffit.0.3.7.c:1927:41: warning: incompatible pointer types passing 'pcap_handler (unsigned char *, const struct packetheader *, const unsigned char *)' to parameter of type 'pcap_handler' (aka 'void (*)(u_char *, const struct pcap_pkthdr *, const u_char *)') [-Wincompatible-pointer-types] switch (pcap_loop (dev_desc, CNT, packethandler, (unsigned char *) &ipaddr)) ^~~~~~~~~~~~~ ./libpcap/pcap.h:107:42: note: passing argument to parameter here int pcap_loop(pcap_t *, int, pcap_handler, u_char *); ^ 200 warnings and 15 errors generated. make[1]: *** [sniffit] Error 1 make[1]: Leaving directory `/«PKGBUILDDIR»' dh_auto_build: make -j1 returned exit code 2 make: *** [build-arch] Error 2 dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20130718-0426 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Build Architecture: amd64 Build-Space: 2216 Build-Time: 17 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 9 Job: sniffit_0.3.7.beta-17 Machine Architecture: amd64 Package: sniffit Package-Time: 113 Source-Version: 0.3.7.beta-17 Space: 2216 Status: attempted Version: 0.3.7.beta-17clang1 ──────────────────────────────────────────────────────────────────────────────── Finished at 20130718-0426 Build needed 00:01:53, 2216k disc space DC-Status: Failed 113.58023297s DC-Time-Estimation: 113.58023297 versus expected 49 (r/m: 1.3179639381632653 ; m: 49.0)