RUN: /usr/share/launchpad-buildd/slavebin/slave-prep ['slave-prep'] Forking launchpad-buildd slave process... Kernel version: Linux z13-023 4.4.0-78-generic #99-Ubuntu SMP Thu Apr 27 15:28:53 UTC 2017 s390x Buildd toolchain package versions: launchpad-buildd_145 python-lpbuildd_145 sbuild_0.67.0-2ubuntu7 dpkg-dev_1.18.4ubuntu1.2 python-debian_0.1.27ubuntu2 qemu-user-static_1:2.5+dfsg-5ubuntu10.11. Syncing the system clock with the buildd NTP service... 10 Jul 09:31:46 ntpdate[56276]: adjust time server 10.211.37.1 offset -0.000739 sec RUN: /usr/share/launchpad-buildd/slavebin/unpack-chroot ['unpack-chroot', 'PACKAGEBUILD-12891045', '/home/buildd/filecache-default/6fa5c2199508da5ee864769667103e5baa50a34d'] Unpacking chroot for build PACKAGEBUILD-12891045 RUN: /usr/share/launchpad-buildd/slavebin/mount-chroot ['mount-chroot', 'PACKAGEBUILD-12891045'] Mounting chroot for build PACKAGEBUILD-12891045 RUN: /usr/share/launchpad-buildd/slavebin/override-sources-list ['override-sources-list', 'PACKAGEBUILD-12891045', 'deb http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu artful main', 'deb http://ftpmaster.internal/ubuntu artful main restricted universe multiverse', 'deb http://ftpmaster.internal/ubuntu artful-security main restricted universe multiverse', 'deb http://ftpmaster.internal/ubuntu artful-updates main restricted universe multiverse'] Overriding sources.list in build-PACKAGEBUILD-12891045 RUN: /usr/share/launchpad-buildd/slavebin/add-trusted-keys ['add-trusted-keys', 'PACKAGEBUILD-12891045'] Adding trusted keys to build-PACKAGEBUILD-12891045 Warning: apt-key output should not be parsed (stdout is not a terminal) OK Warning: apt-key output should not be parsed (stdout is not a terminal) /etc/apt/trusted.gpg -------------------- pub rsa1024 2009-10-22 [SC] 60C3 1780 3A41 BA51 845E 371A 1E93 77A2 BA9E F27F uid [ unknown] Launchpad Toolchain builds /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-archive.gpg ------------------------------------------------------ pub rsa4096 2012-05-11 [SC] 790B C727 7767 219C 42C8 6F93 3B4F E6AC C0B2 1F32 uid [ unknown] Ubuntu Archive Automatic Signing Key (2012) /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg ------------------------------------------------------ pub rsa4096 2012-05-11 [SC] 8439 38DF 228D 22F7 B374 2BC0 D94A A3F0 EFE2 1092 uid [ unknown] Ubuntu CD Image Automatic Signing Key (2012) RUN: /usr/share/launchpad-buildd/slavebin/update-debian-chroot ['update-debian-chroot', 'PACKAGEBUILD-12891045', 's390x'] Updating debian chroot for build PACKAGEBUILD-12891045 Get:1 http://ftpmaster.internal/ubuntu artful InRelease [237 kB] Get:2 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu artful InRelease [15.4 kB] Get:3 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu artful/main s390x Packages [25.2 kB] Get:4 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu artful/main Translation-en [16.6 kB] Get:5 http://ftpmaster.internal/ubuntu artful-security InRelease [65.5 kB] Get:6 http://ftpmaster.internal/ubuntu artful-updates InRelease [65.5 kB] Get:7 http://ftpmaster.internal/ubuntu artful/main s390x Packages [1073 kB] Get:8 http://ftpmaster.internal/ubuntu artful/main Translation-en [555 kB] Get:9 http://ftpmaster.internal/ubuntu artful/restricted Translation-en [2724 B] Get:10 http://ftpmaster.internal/ubuntu artful/universe s390x Packages [7960 kB] Get:11 http://ftpmaster.internal/ubuntu artful/universe Translation-en [4768 kB] Get:12 http://ftpmaster.internal/ubuntu artful/multiverse s390x Packages [128 kB] Get:13 http://ftpmaster.internal/ubuntu artful/multiverse Translation-en [109 kB] Fetched 15.0 MB in 12s (1161 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following NEW packages will be installed: gcc-7-base The following packages will be upgraded: advancecomp apt apt-transport-https base-files bash binutils bsdutils ca-certificates cpp cpp-6 debianutils dmsetup dpkg dpkg-dev findutils g++ g++-6 gcc gcc-6 gcc-6-base libapparmor1 libapt-pkg5.0 libasn1-8-heimdal libatomic1 libaudit-common libaudit1 libblkid1 libcc1-0 libdevmapper1.02.1 libdpkg-perl libfdisk1 libgcc-6-dev libgcc1 libgcrypt20 libgnutls30 libgomp1 libgpg-error0 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libip4tc0 libitm1 libkmod2 libkrb5-26-heimdal libldap-2.4-2 libldap-common libmount1 libnpth0 libp11-kit0 libperl5.24 libpng16-16 libroken18-heimdal libselinux1 libsemanage-common libsemanage1 libsmartcols1 libsqlite3-0 libssl1.0.0 libstdc++-6-dev libstdc++6 libsystemd0 libtasn1-6 libudev1 libusb-0.1-4 libuuid1 libwind0-heimdal linux-libc-dev login mount openssl passwd perl perl-base perl-modules-5.24 systemd systemd-sysv tzdata util-linux 80 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 43.4 MB of archives. After this operation, 1507 kB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu artful/main s390x base-files s390x 9.6ubuntu101 [59.1 kB] Get:2 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu artful/main s390x gcc-7-base s390x 7.1.0-9ubuntu1 [18.8 kB] Get:3 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu artful/main s390x libgcc1 s390x 1:7.1.0-9ubuntu1 [25.2 kB] Get:4 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu artful/main s390x libstdc++6 s390x 7.1.0-9ubuntu1 [408 kB] Get:5 http://ftpmaster.internal/ubuntu artful/main s390x debianutils s390x 4.8.1.1 [85.8 kB] Get:6 http://ftpmaster.internal/ubuntu artful/main s390x bash s390x 4.4-5ubuntu1 [594 kB] Get:7 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu artful/main s390x binutils s390x 2.28.90.20170704-0ubuntu1 [1105 kB] Get:8 http://ftpmaster.internal/ubuntu artful/main s390x bsdutils s390x 1:2.29-1ubuntu3 [54.8 kB] Get:9 http://ftpmaster.internal/ubuntu artful/main s390x dpkg s390x 1.18.24ubuntu1 [1121 kB] Get:10 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu artful/main s390x libgomp1 s390x 7.1.0-9ubuntu1 [69.9 kB] Get:11 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu artful/main s390x libitm1 s390x 7.1.0-9ubuntu1 [26.9 kB] Get:12 http://ftpmaster.internal/ubuntu artful/main s390x findutils s390x 4.6.0+git+20170606-3 [288 kB] Get:13 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu artful/main s390x libatomic1 s390x 7.1.0-9ubuntu1 [8198 B] Get:14 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu artful/main s390x g++-6 s390x 6.4.0-1ubuntu2 [5841 kB] Get:15 http://ftpmaster.internal/ubuntu artful/main s390x login s390x 1:4.2-3.2ubuntu2 [302 kB] Get:16 http://ftpmaster.internal/ubuntu artful/main s390x util-linux s390x 2.29-1ubuntu3 [885 kB] Get:17 http://ftpmaster.internal/ubuntu artful/main s390x mount s390x 2.29-1ubuntu3 [126 kB] Get:18 http://ftpmaster.internal/ubuntu artful/main s390x libperl5.24 s390x 5.24.1-4ubuntu1 [3324 kB] Get:19 http://ftpmaster.internal/ubuntu artful/main s390x perl s390x 5.24.1-4ubuntu1 [219 kB] Get:20 http://ftpmaster.internal/ubuntu artful/main s390x perl-base s390x 5.24.1-4ubuntu1 [1272 kB] Get:21 http://ftpmaster.internal/ubuntu artful/main s390x perl-modules-5.24 all 5.24.1-4ubuntu1 [2663 kB] Get:22 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu artful/main s390x libstdc++-6-dev s390x 6.4.0-1ubuntu2 [1403 kB] Get:23 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu artful/main s390x gcc-6 s390x 6.4.0-1ubuntu2 [5692 kB] Get:24 http://ftpmaster.internal/ubuntu artful/main s390x libapt-pkg5.0 s390x 1.5~beta1 [732 kB] Get:25 http://ftpmaster.internal/ubuntu artful/main s390x apt-transport-https s390x 1.5~beta1 [32.1 kB] Get:26 http://ftpmaster.internal/ubuntu artful/main s390x libp11-kit0 s390x 0.23.7-2 [187 kB] Get:27 http://ftpmaster.internal/ubuntu artful/main s390x libtasn1-6 s390x 4.12-2 [33.9 kB] Get:28 http://ftpmaster.internal/ubuntu artful/main s390x libgnutls30 s390x 3.5.8-6ubuntu1 [591 kB] Get:29 http://ftpmaster.internal/ubuntu artful/main s390x apt s390x 1.5~beta1 [1076 kB] Get:30 http://ftpmaster.internal/ubuntu artful/main s390x libip4tc0 s390x 1.6.1-2ubuntu1 [19.4 kB] Get:31 http://ftpmaster.internal/ubuntu artful/main s390x libapparmor1 s390x 2.11.0-2ubuntu8 [29.0 kB] Get:32 http://ftpmaster.internal/ubuntu artful/main s390x libaudit-common all 1:2.7.7-1ubuntu1 [4118 B] Get:33 http://ftpmaster.internal/ubuntu artful/main s390x libaudit1 s390x 1:2.7.7-1ubuntu1 [36.7 kB] Get:34 http://ftpmaster.internal/ubuntu artful/main s390x libselinux1 s390x 2.6-3build1 [64.3 kB] Get:35 http://ftpmaster.internal/ubuntu artful/main s390x libsemanage-common all 2.6-2build1 [6738 B] Get:36 http://ftpmaster.internal/ubuntu artful/main s390x libsemanage1 s390x 2.6-2build1 [76.5 kB] Get:37 http://ftpmaster.internal/ubuntu artful/main s390x passwd s390x 1:4.2-3.2ubuntu2 [770 kB] Get:38 http://ftpmaster.internal/ubuntu artful/main s390x libuuid1 s390x 2.29-1ubuntu3 [14.9 kB] Get:39 http://ftpmaster.internal/ubuntu artful/main s390x libblkid1 s390x 2.29-1ubuntu3 [104 kB] Get:40 http://ftpmaster.internal/ubuntu artful/main s390x libgpg-error0 s390x 1.27-3 [35.2 kB] Get:41 http://ftpmaster.internal/ubuntu artful/main s390x libgcrypt20 s390x 1.7.8-2 [338 kB] Get:42 http://ftpmaster.internal/ubuntu artful/main s390x libkmod2 s390x 24-1ubuntu1 [36.7 kB] Get:43 http://ftpmaster.internal/ubuntu artful/main s390x libmount1 s390x 2.29-1ubuntu3 [111 kB] Get:44 http://ftpmaster.internal/ubuntu artful/main s390x systemd s390x 233-8ubuntu2 [2337 kB] Get:45 http://ftpmaster.internal/ubuntu artful/main s390x libsystemd0 s390x 233-8ubuntu2 [193 kB] Get:46 http://ftpmaster.internal/ubuntu artful/main s390x systemd-sysv s390x 233-8ubuntu2 [12.4 kB] Get:47 http://ftpmaster.internal/ubuntu artful/main s390x libfdisk1 s390x 2.29-1ubuntu3 [134 kB] Get:48 http://ftpmaster.internal/ubuntu artful/main s390x libsmartcols1 s390x 2.29-1ubuntu3 [65.8 kB] Get:49 http://ftpmaster.internal/ubuntu artful/main s390x libudev1 s390x 233-8ubuntu2 [53.5 kB] Get:50 http://ftpmaster.internal/ubuntu artful/main s390x libdevmapper1.02.1 s390x 2:1.02.137-2ubuntu2 [123 kB] Get:51 http://ftpmaster.internal/ubuntu artful/main s390x dmsetup s390x 2:1.02.137-2ubuntu2 [68.8 kB] Get:52 http://ftpmaster.internal/ubuntu artful/main s390x libroken18-heimdal s390x 7.1.0+dfsg-13 [39.1 kB] Get:53 http://ftpmaster.internal/ubuntu artful/main s390x libasn1-8-heimdal s390x 7.1.0+dfsg-13 [150 kB] Get:54 http://ftpmaster.internal/ubuntu artful/main s390x libheimbase1-heimdal s390x 7.1.0+dfsg-13 [27.4 kB] Get:55 http://ftpmaster.internal/ubuntu artful/main s390x libhcrypto4-heimdal s390x 7.1.0+dfsg-13 [83.5 kB] Get:56 http://ftpmaster.internal/ubuntu artful/main s390x libwind0-heimdal s390x 7.1.0+dfsg-13 [47.8 kB] Get:57 http://ftpmaster.internal/ubuntu artful/main s390x libhx509-5-heimdal s390x 7.1.0+dfsg-13 [99.6 kB] Get:58 http://ftpmaster.internal/ubuntu artful/main s390x libsqlite3-0 s390x 3.19.3-2 [463 kB] Get:59 http://ftpmaster.internal/ubuntu artful/main s390x libkrb5-26-heimdal s390x 7.1.0+dfsg-13 [191 kB] Get:60 http://ftpmaster.internal/ubuntu artful/main s390x libheimntlm0-heimdal s390x 7.1.0+dfsg-13 [14.5 kB] Get:61 http://ftpmaster.internal/ubuntu artful/main s390x libgssapi3-heimdal s390x 7.1.0+dfsg-13 [88.5 kB] Get:62 http://ftpmaster.internal/ubuntu artful/main s390x libldap-2.4-2 s390x 2.4.44+dfsg-7ubuntu1 [144 kB] Get:63 http://ftpmaster.internal/ubuntu artful/main s390x libldap-common all 2.4.44+dfsg-7ubuntu1 [16.4 kB] Get:64 http://ftpmaster.internal/ubuntu artful/main s390x libnpth0 s390x 1.5-2 [7448 B] Get:65 http://ftpmaster.internal/ubuntu artful/main s390x libssl1.0.0 s390x 1.0.2g-1ubuntu13 [773 kB] Get:66 http://ftpmaster.internal/ubuntu artful/main s390x tzdata all 2017b-2 [203 kB] Get:67 http://ftpmaster.internal/ubuntu artful/main s390x openssl s390x 1.0.2g-1ubuntu13 [476 kB] Get:68 http://ftpmaster.internal/ubuntu artful/main s390x ca-certificates all 20161130+nmu1 [186 kB] Get:69 http://ftpmaster.internal/ubuntu artful/main s390x libpng16-16 s390x 1.6.29-3 [169 kB] Get:70 http://ftpmaster.internal/ubuntu artful/main s390x advancecomp s390x 2.0-1 [183 kB] Get:71 http://ftpmaster.internal/ubuntu artful/main s390x cpp s390x 4:6.3.0-2ubuntu2 [27.5 kB] Get:72 http://ftpmaster.internal/ubuntu artful/main s390x dpkg-dev all 1.18.24ubuntu1 [608 kB] Get:73 http://ftpmaster.internal/ubuntu artful/main s390x libdpkg-perl all 1.18.24ubuntu1 [209 kB] Get:74 http://ftpmaster.internal/ubuntu artful/main s390x gcc s390x 4:6.3.0-2ubuntu2 [5252 B] Get:75 http://ftpmaster.internal/ubuntu artful/main s390x g++ s390x 4:6.3.0-2ubuntu2 [1488 B] Get:76 http://ftpmaster.internal/ubuntu artful/main s390x libusb-0.1-4 s390x 2:0.1.12-31 [16.4 kB] Get:77 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu artful/main s390x libgcc-6-dev s390x 6.4.0-1ubuntu2 [269 kB] Get:78 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu artful/main s390x libcc1-0 s390x 7.1.0-9ubuntu1 [37.6 kB] Get:79 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu artful/main s390x cpp-6 s390x 6.4.0-1ubuntu2 [5058 kB] Get:80 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu artful/main s390x gcc-6-base s390x 6.4.0-1ubuntu2 [17.3 kB] Get:81 http://ppa.launchpad.net/ubuntu-toolchain-r/ppa/ubuntu artful/main s390x linux-libc-dev s390x 4.11.0-10.15 [917 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 43.4 MB in 13s (3291 kB/s) (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12209 files and directories currently installed.) Preparing to unpack .../base-files_9.6ubuntu101_s390x.deb ... Unpacking base-files (9.6ubuntu101) over (9.6ubuntu99) ... Setting up base-files (9.6ubuntu101) ... Installing new version of config file /etc/update-motd.d/50-motd-news ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12209 files and directories currently installed.) Preparing to unpack .../debianutils_4.8.1.1_s390x.deb ... Unpacking debianutils (4.8.1.1) over (4.8.1) ... Setting up debianutils (4.8.1.1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12209 files and directories currently installed.) Preparing to unpack .../bash_4.4-5ubuntu1_s390x.deb ... Unpacking bash (4.4-5ubuntu1) over (4.4-2ubuntu1) ... Setting up bash (4.4-5ubuntu1) ... update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12209 files and directories currently installed.) Preparing to unpack .../bsdutils_1%3a2.29-1ubuntu3_s390x.deb ... Unpacking bsdutils (1:2.29-1ubuntu3) over (1:2.29-1ubuntu2) ... Setting up bsdutils (1:2.29-1ubuntu3) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12209 files and directories currently installed.) Preparing to unpack .../dpkg_1.18.24ubuntu1_s390x.deb ... Unpacking dpkg (1.18.24ubuntu1) over (1.18.23ubuntu4) ... Setting up dpkg (1.18.24ubuntu1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12209 files and directories currently installed.) Preparing to unpack .../findutils_4.6.0+git+20170606-3_s390x.deb ... Unpacking findutils (4.6.0+git+20170606-3) over (4.6.0+git+20161106-2) ... Setting up findutils (4.6.0+git+20170606-3) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12209 files and directories currently installed.) Preparing to unpack .../login_1%3a4.2-3.2ubuntu2_s390x.deb ... Unpacking login (1:4.2-3.2ubuntu2) over (1:4.2-3.2ubuntu1) ... Setting up login (1:4.2-3.2ubuntu2) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12209 files and directories currently installed.) Preparing to unpack .../util-linux_2.29-1ubuntu3_s390x.deb ... Unpacking util-linux (2.29-1ubuntu3) over (2.29-1ubuntu2) ... Setting up util-linux (2.29-1ubuntu3) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12209 files and directories currently installed.) Preparing to unpack .../mount_2.29-1ubuntu3_s390x.deb ... Unpacking mount (2.29-1ubuntu3) over (2.29-1ubuntu2) ... Setting up mount (2.29-1ubuntu3) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12209 files and directories currently installed.) Preparing to unpack .../libperl5.24_5.24.1-4ubuntu1_s390x.deb ... Unpacking libperl5.24:s390x (5.24.1-4ubuntu1) over (5.24.1-2ubuntu1) ... Preparing to unpack .../perl_5.24.1-4ubuntu1_s390x.deb ... Unpacking perl (5.24.1-4ubuntu1) over (5.24.1-2ubuntu1) ... Preparing to unpack .../perl-base_5.24.1-4ubuntu1_s390x.deb ... Unpacking perl-base (5.24.1-4ubuntu1) over (5.24.1-2ubuntu1) ... Setting up perl-base (5.24.1-4ubuntu1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12209 files and directories currently installed.) Preparing to unpack .../perl-modules-5.24_5.24.1-4ubuntu1_all.deb ... Unpacking perl-modules-5.24 (5.24.1-4ubuntu1) over (5.24.1-2ubuntu1) ... Selecting previously unselected package gcc-7-base:s390x. Preparing to unpack .../gcc-7-base_7.1.0-9ubuntu1_s390x.deb ... Unpacking gcc-7-base:s390x (7.1.0-9ubuntu1) ... Setting up gcc-7-base:s390x (7.1.0-9ubuntu1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12216 files and directories currently installed.) Preparing to unpack .../libgcc1_1%3a7.1.0-9ubuntu1_s390x.deb ... Unpacking libgcc1:s390x (1:7.1.0-9ubuntu1) over (1:6.3.0-14ubuntu3) ... Setting up libgcc1:s390x (1:7.1.0-9ubuntu1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12216 files and directories currently installed.) Preparing to unpack .../libstdc++6_7.1.0-9ubuntu1_s390x.deb ... Unpacking libstdc++6:s390x (7.1.0-9ubuntu1) over (6.3.0-14ubuntu3) ... Setting up libstdc++6:s390x (7.1.0-9ubuntu1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12216 files and directories currently installed.) Preparing to unpack .../libapt-pkg5.0_1.5~beta1_s390x.deb ... Unpacking libapt-pkg5.0:s390x (1.5~beta1) over (1.4.1ubuntu2) ... Setting up libapt-pkg5.0:s390x (1.5~beta1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12216 files and directories currently installed.) Preparing to unpack .../apt-transport-https_1.5~beta1_s390x.deb ... Unpacking apt-transport-https (1.5~beta1) over (1.4.1ubuntu2) ... Preparing to unpack .../libp11-kit0_0.23.7-2_s390x.deb ... Unpacking libp11-kit0:s390x (0.23.7-2) over (0.23.3-5) ... Setting up libp11-kit0:s390x (0.23.7-2) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12218 files and directories currently installed.) Preparing to unpack .../libtasn1-6_4.12-2_s390x.deb ... Unpacking libtasn1-6:s390x (4.12-2) over (4.10-1) ... Setting up libtasn1-6:s390x (4.12-2) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12218 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.5.8-6ubuntu1_s390x.deb ... Unpacking libgnutls30:s390x (3.5.8-6ubuntu1) over (3.5.6-4ubuntu4) ... Setting up libgnutls30:s390x (3.5.8-6ubuntu1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12218 files and directories currently installed.) Preparing to unpack .../apt_1.5~beta1_s390x.deb ... Unpacking apt (1.5~beta1) over (1.4.1ubuntu2) ... Setting up apt (1.5~beta1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12217 files and directories currently installed.) Preparing to unpack .../libip4tc0_1.6.1-2ubuntu1_s390x.deb ... Unpacking libip4tc0:s390x (1.6.1-2ubuntu1) over (1.6.0-3ubuntu2) ... Preparing to unpack .../libapparmor1_2.11.0-2ubuntu8_s390x.deb ... Unpacking libapparmor1:s390x (2.11.0-2ubuntu8) over (2.11.0-2ubuntu4) ... Preparing to unpack .../libaudit-common_1%3a2.7.7-1ubuntu1_all.deb ... Unpacking libaudit-common (1:2.7.7-1ubuntu1) over (1:2.6.6-1ubuntu1) ... Setting up libaudit-common (1:2.7.7-1ubuntu1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12217 files and directories currently installed.) Preparing to unpack .../libaudit1_1%3a2.7.7-1ubuntu1_s390x.deb ... Unpacking libaudit1:s390x (1:2.7.7-1ubuntu1) over (1:2.6.6-1ubuntu1) ... Setting up libaudit1:s390x (1:2.7.7-1ubuntu1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12217 files and directories currently installed.) Preparing to unpack .../libselinux1_2.6-3build1_s390x.deb ... Unpacking libselinux1:s390x (2.6-3build1) over (2.6-3) ... Setting up libselinux1:s390x (2.6-3build1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12217 files and directories currently installed.) Preparing to unpack .../libsemanage-common_2.6-2build1_all.deb ... Unpacking libsemanage-common (2.6-2build1) over (2.6-2) ... Setting up libsemanage-common (2.6-2build1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12217 files and directories currently installed.) Preparing to unpack .../libsemanage1_2.6-2build1_s390x.deb ... Unpacking libsemanage1:s390x (2.6-2build1) over (2.6-2) ... Setting up libsemanage1:s390x (2.6-2build1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12217 files and directories currently installed.) Preparing to unpack .../passwd_1%3a4.2-3.2ubuntu2_s390x.deb ... Unpacking passwd (1:4.2-3.2ubuntu2) over (1:4.2-3.2ubuntu1) ... Setting up passwd (1:4.2-3.2ubuntu2) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12217 files and directories currently installed.) Preparing to unpack .../libuuid1_2.29-1ubuntu3_s390x.deb ... Unpacking libuuid1:s390x (2.29-1ubuntu3) over (2.29-1ubuntu2) ... Setting up libuuid1:s390x (2.29-1ubuntu3) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12217 files and directories currently installed.) Preparing to unpack .../libblkid1_2.29-1ubuntu3_s390x.deb ... Unpacking libblkid1:s390x (2.29-1ubuntu3) over (2.29-1ubuntu2) ... Setting up libblkid1:s390x (2.29-1ubuntu3) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12217 files and directories currently installed.) Preparing to unpack .../libgpg-error0_1.27-3_s390x.deb ... Unpacking libgpg-error0:s390x (1.27-3) over (1.26-2) ... Setting up libgpg-error0:s390x (1.27-3) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12217 files and directories currently installed.) Preparing to unpack .../libgcrypt20_1.7.8-2_s390x.deb ... Unpacking libgcrypt20:s390x (1.7.8-2) over (1.7.6-1) ... Setting up libgcrypt20:s390x (1.7.8-2) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12217 files and directories currently installed.) Preparing to unpack .../libkmod2_24-1ubuntu1_s390x.deb ... Unpacking libkmod2:s390x (24-1ubuntu1) over (22-1.1ubuntu1) ... Preparing to unpack .../libmount1_2.29-1ubuntu3_s390x.deb ... Unpacking libmount1:s390x (2.29-1ubuntu3) over (2.29-1ubuntu2) ... Setting up libmount1:s390x (2.29-1ubuntu3) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12217 files and directories currently installed.) Preparing to unpack .../systemd_233-8ubuntu2_s390x.deb ... Unpacking systemd (233-8ubuntu2) over (232-21ubuntu3) ... dpkg: warning: unable to delete old directory '/etc/dbus-1/system.d': Directory not empty dpkg: warning: unable to delete old directory '/etc/dbus-1': Directory not empty Preparing to unpack .../libsystemd0_233-8ubuntu2_s390x.deb ... Unpacking libsystemd0:s390x (233-8ubuntu2) over (232-21ubuntu3) ... Setting up libsystemd0:s390x (233-8ubuntu2) ... Setting up libapparmor1:s390x (2.11.0-2ubuntu8) ... Setting up libip4tc0:s390x (1.6.1-2ubuntu1) ... Setting up libkmod2:s390x (24-1ubuntu1) ... Setting up systemd (233-8ubuntu2) ... Installing new version of config file /etc/systemd/resolved.conf ... addgroup: The group `systemd-journal' already exists as a system group. Exiting. Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.hostname1.conf ... Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.locale1.conf ... Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.login1.conf ... Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.network1.conf ... Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.resolve1.conf ... Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.systemd1.conf ... Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.timedate1.conf ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12243 files and directories currently installed.) Preparing to unpack .../systemd-sysv_233-8ubuntu2_s390x.deb ... Unpacking systemd-sysv (233-8ubuntu2) over (232-21ubuntu3) ... Preparing to unpack .../libfdisk1_2.29-1ubuntu3_s390x.deb ... Unpacking libfdisk1:s390x (2.29-1ubuntu3) over (2.29-1ubuntu2) ... Setting up libfdisk1:s390x (2.29-1ubuntu3) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12243 files and directories currently installed.) Preparing to unpack .../libsmartcols1_2.29-1ubuntu3_s390x.deb ... Unpacking libsmartcols1:s390x (2.29-1ubuntu3) over (2.29-1ubuntu2) ... Setting up libsmartcols1:s390x (2.29-1ubuntu3) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12243 files and directories currently installed.) Preparing to unpack .../libudev1_233-8ubuntu2_s390x.deb ... Unpacking libudev1:s390x (233-8ubuntu2) over (232-21ubuntu3) ... Setting up libudev1:s390x (233-8ubuntu2) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12243 files and directories currently installed.) Preparing to unpack .../00-libdevmapper1.02.1_2%3a1.02.137-2ubuntu2_s390x.deb ... Unpacking libdevmapper1.02.1:s390x (2:1.02.137-2ubuntu2) over (2:1.02.136-1ubuntu5) ... Preparing to unpack .../01-dmsetup_2%3a1.02.137-2ubuntu2_s390x.deb ... Unpacking dmsetup (2:1.02.137-2ubuntu2) over (2:1.02.136-1ubuntu5) ... Preparing to unpack .../02-libroken18-heimdal_7.1.0+dfsg-13_s390x.deb ... Unpacking libroken18-heimdal:s390x (7.1.0+dfsg-13) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../03-libasn1-8-heimdal_7.1.0+dfsg-13_s390x.deb ... Unpacking libasn1-8-heimdal:s390x (7.1.0+dfsg-13) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../04-libheimbase1-heimdal_7.1.0+dfsg-13_s390x.deb ... Unpacking libheimbase1-heimdal:s390x (7.1.0+dfsg-13) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../05-libhcrypto4-heimdal_7.1.0+dfsg-13_s390x.deb ... Unpacking libhcrypto4-heimdal:s390x (7.1.0+dfsg-13) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../06-libwind0-heimdal_7.1.0+dfsg-13_s390x.deb ... Unpacking libwind0-heimdal:s390x (7.1.0+dfsg-13) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../07-libhx509-5-heimdal_7.1.0+dfsg-13_s390x.deb ... Unpacking libhx509-5-heimdal:s390x (7.1.0+dfsg-13) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../08-libsqlite3-0_3.19.3-2_s390x.deb ... Unpacking libsqlite3-0:s390x (3.19.3-2) over (3.16.2-3) ... Preparing to unpack .../09-libkrb5-26-heimdal_7.1.0+dfsg-13_s390x.deb ... Unpacking libkrb5-26-heimdal:s390x (7.1.0+dfsg-13) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../10-libheimntlm0-heimdal_7.1.0+dfsg-13_s390x.deb ... Unpacking libheimntlm0-heimdal:s390x (7.1.0+dfsg-13) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../11-libgssapi3-heimdal_7.1.0+dfsg-13_s390x.deb ... Unpacking libgssapi3-heimdal:s390x (7.1.0+dfsg-13) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../12-libldap-2.4-2_2.4.44+dfsg-7ubuntu1_s390x.deb ... Unpacking libldap-2.4-2:s390x (2.4.44+dfsg-7ubuntu1) over (2.4.44+dfsg-4ubuntu1) ... Preparing to unpack .../13-libldap-common_2.4.44+dfsg-7ubuntu1_all.deb ... Unpacking libldap-common (2.4.44+dfsg-7ubuntu1) over (2.4.44+dfsg-4ubuntu1) ... Preparing to unpack .../14-libnpth0_1.5-2_s390x.deb ... Unpacking libnpth0:s390x (1.5-2) over (1.3-1) ... Preparing to unpack .../15-libssl1.0.0_1.0.2g-1ubuntu13_s390x.deb ... Unpacking libssl1.0.0:s390x (1.0.2g-1ubuntu13) over (1.0.2g-1ubuntu12) ... Preparing to unpack .../16-tzdata_2017b-2_all.deb ... Unpacking tzdata (2017b-2) over (2017b-1) ... Preparing to unpack .../17-openssl_1.0.2g-1ubuntu13_s390x.deb ... Unpacking openssl (1.0.2g-1ubuntu13) over (1.0.2g-1ubuntu12) ... Preparing to unpack .../18-ca-certificates_20161130+nmu1_all.deb ... Unpacking ca-certificates (20161130+nmu1) over (20161130) ... Preparing to unpack .../19-libpng16-16_1.6.29-3_s390x.deb ... Unpacking libpng16-16:s390x (1.6.29-3) over (1.6.29-2) ... Preparing to unpack .../20-advancecomp_2.0-1_s390x.deb ... Unpacking advancecomp (2.0-1) over (1.20-1) ... Preparing to unpack .../21-binutils_2.28.90.20170704-0ubuntu1_s390x.deb ... Unpacking binutils (2.28.90.20170704-0ubuntu1) over (2.28-4ubuntu1) ... Preparing to unpack .../22-libgomp1_7.1.0-9ubuntu1_s390x.deb ... Unpacking libgomp1:s390x (7.1.0-9ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../23-libitm1_7.1.0-9ubuntu1_s390x.deb ... Unpacking libitm1:s390x (7.1.0-9ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../24-libatomic1_7.1.0-9ubuntu1_s390x.deb ... Unpacking libatomic1:s390x (7.1.0-9ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../25-g++-6_6.4.0-1ubuntu2_s390x.deb ... Unpacking g++-6 (6.4.0-1ubuntu2) over (6.3.0-14ubuntu3) ... Preparing to unpack .../26-libstdc++-6-dev_6.4.0-1ubuntu2_s390x.deb ... Unpacking libstdc++-6-dev:s390x (6.4.0-1ubuntu2) over (6.3.0-14ubuntu3) ... Preparing to unpack .../27-gcc-6_6.4.0-1ubuntu2_s390x.deb ... Unpacking gcc-6 (6.4.0-1ubuntu2) over (6.3.0-14ubuntu3) ... Replacing files in old package cpp-6 (6.3.0-14ubuntu3) ... Preparing to unpack .../28-libgcc-6-dev_6.4.0-1ubuntu2_s390x.deb ... Unpacking libgcc-6-dev:s390x (6.4.0-1ubuntu2) over (6.3.0-14ubuntu3) ... Preparing to unpack .../29-libcc1-0_7.1.0-9ubuntu1_s390x.deb ... Unpacking libcc1-0:s390x (7.1.0-9ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../30-cpp-6_6.4.0-1ubuntu2_s390x.deb ... Unpacking cpp-6 (6.4.0-1ubuntu2) over (6.3.0-14ubuntu3) ... Preparing to unpack .../31-gcc-6-base_6.4.0-1ubuntu2_s390x.deb ... Unpacking gcc-6-base:s390x (6.4.0-1ubuntu2) over (6.3.0-14ubuntu3) ... Preparing to unpack .../32-cpp_4%3a6.3.0-2ubuntu2_s390x.deb ... Unpacking cpp (4:6.3.0-2ubuntu2) over (4:6.3.0-2ubuntu1) ... Preparing to unpack .../33-dpkg-dev_1.18.24ubuntu1_all.deb ... Unpacking dpkg-dev (1.18.24ubuntu1) over (1.18.23ubuntu4) ... Preparing to unpack .../34-libdpkg-perl_1.18.24ubuntu1_all.deb ... Unpacking libdpkg-perl (1.18.24ubuntu1) over (1.18.23ubuntu4) ... Preparing to unpack .../35-gcc_4%3a6.3.0-2ubuntu2_s390x.deb ... Removing old gcc doc directory. Unpacking gcc (4:6.3.0-2ubuntu2) over (4:6.3.0-2ubuntu1) ... Preparing to unpack .../36-g++_4%3a6.3.0-2ubuntu2_s390x.deb ... Unpacking g++ (4:6.3.0-2ubuntu2) over (4:6.3.0-2ubuntu1) ... Preparing to unpack .../37-libusb-0.1-4_2%3a0.1.12-31_s390x.deb ... Unpacking libusb-0.1-4:s390x (2:0.1.12-31) over (2:0.1.12-30) ... Preparing to unpack .../38-linux-libc-dev_4.11.0-10.15_s390x.deb ... Unpacking linux-libc-dev:s390x (4.11.0-10.15) over (4.10.0-20.22) ... Setting up libnpth0:s390x (1.5-2) ... Setting up libgomp1:s390x (7.1.0-9ubuntu1) ... Setting up libatomic1:s390x (7.1.0-9ubuntu1) ... Setting up perl-modules-5.24 (5.24.1-4ubuntu1) ... Setting up libperl5.24:s390x (5.24.1-4ubuntu1) ... Setting up libcc1-0:s390x (7.1.0-9ubuntu1) ... Setting up apt-transport-https (1.5~beta1) ... Setting up libssl1.0.0:s390x (1.0.2g-1ubuntu13) ... Setting up libpng16-16:s390x (1.6.29-3) ... Setting up libldap-common (2.4.44+dfsg-7ubuntu1) ... Setting up tzdata (2017b-2) ... Current default time zone: 'Etc/UTC' Local time is now: Mon Jul 10 09:32:27 UTC 2017. Universal Time is now: Mon Jul 10 09:32:27 UTC 2017. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up systemd-sysv (233-8ubuntu2) ... Setting up gcc-6-base:s390x (6.4.0-1ubuntu2) ... Setting up linux-libc-dev:s390x (4.11.0-10.15) ... Setting up advancecomp (2.0-1) ... Setting up libroken18-heimdal:s390x (7.1.0+dfsg-13) ... Setting up libdevmapper1.02.1:s390x (2:1.02.137-2ubuntu2) ... Setting up perl (5.24.1-4ubuntu1) ... Processing triggers for libc-bin (2.24-9ubuntu2) ... Setting up libheimbase1-heimdal:s390x (7.1.0+dfsg-13) ... Setting up openssl (1.0.2g-1ubuntu13) ... Setting up libsqlite3-0:s390x (3.19.3-2) ... Setting up dmsetup (2:1.02.137-2ubuntu2) ... Setting up binutils (2.28.90.20170704-0ubuntu1) ... Setting up cpp-6 (6.4.0-1ubuntu2) ... Setting up ca-certificates (20161130+nmu1) ... Updating certificates in /etc/ssl/certs... 0 added, 7 removed; done. Setting up libusb-0.1-4:s390x (2:0.1.12-31) ... Setting up libitm1:s390x (7.1.0-9ubuntu1) ... Setting up cpp (4:6.3.0-2ubuntu2) ... Setting up libgcc-6-dev:s390x (6.4.0-1ubuntu2) ... Setting up libstdc++-6-dev:s390x (6.4.0-1ubuntu2) ... Setting up libwind0-heimdal:s390x (7.1.0+dfsg-13) ... Setting up libasn1-8-heimdal:s390x (7.1.0+dfsg-13) ... Setting up libhcrypto4-heimdal:s390x (7.1.0+dfsg-13) ... Setting up libdpkg-perl (1.18.24ubuntu1) ... Setting up libhx509-5-heimdal:s390x (7.1.0+dfsg-13) ... Setting up gcc-6 (6.4.0-1ubuntu2) ... Setting up g++-6 (6.4.0-1ubuntu2) ... Setting up dpkg-dev (1.18.24ubuntu1) ... Setting up libkrb5-26-heimdal:s390x (7.1.0+dfsg-13) ... Setting up libheimntlm0-heimdal:s390x (7.1.0+dfsg-13) ... Setting up gcc (4:6.3.0-2ubuntu2) ... Setting up g++ (4:6.3.0-2ubuntu2) ... Setting up libgssapi3-heimdal:s390x (7.1.0+dfsg-13) ... Setting up libldap-2.4-2:s390x (2.4.44+dfsg-7ubuntu1) ... Processing triggers for libc-bin (2.24-9ubuntu2) ... Processing triggers for ca-certificates (20161130+nmu1) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. RUN: /usr/share/launchpad-buildd/slavebin/sbuild-package ['sbuild-package', 'PACKAGEBUILD-12891045', 's390x', 'artful', '-c', 'chroot:autobuild', '--arch=s390x', '--dist=artful', '--purge=never', '--nolog', 'irpas_0.10-6.dsc'] Initiating build PACKAGEBUILD-12891045 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 4.4.0-78-generic #99-Ubuntu SMP Thu Apr 27 15:28:53 UTC 2017 s390x sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on z13-023.buildd +==============================================================================+ | irpas 0.10-6 (s390x) 10 Jul 2017 09:32 | +==============================================================================+ Package: irpas Version: 0.10-6 Source Version: 0.10-6 Distribution: artful Machine Architecture: s390x Host Architecture: s390x Build Architecture: s390x I: NOTICE: Log filtering will replace 'build/irpas-r3Mv9h/irpas-0.10' with '<>' I: NOTICE: Log filtering will replace 'build/irpas-r3Mv9h' with '<>' I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-12891045/chroot-autobuild' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- irpas_0.10-6.dsc exists in .; copying to chroot Check architectures ------------------- Check dependencies ------------------ Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-3bFDUV/apt_archive/sbuild-build-depends-core-dummy.deb'. Ign:1 copy:/<>/resolver-3bFDUV/apt_archive ./ InRelease Get:2 copy:/<>/resolver-3bFDUV/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-3bFDUV/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-3bFDUV/apt_archive ./ Sources [214 B] Get:5 copy:/<>/resolver-3bFDUV/apt_archive ./ Packages [528 B] Fetched 2861 B in 0s (0 B/s) Reading package lists... 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 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 780 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-3bFDUV/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [780 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 780 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12251 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_s390x.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: debhelper (>= 9), libpcap-dev Filtered Build-Depends: debhelper (>= 9), libpcap-dev dpkg-deb: building package 'sbuild-build-depends-irpas-dummy' in '/<>/resolver-YgJX85/apt_archive/sbuild-build-depends-irpas-dummy.deb'. Ign:1 copy:/<>/resolver-YgJX85/apt_archive ./ InRelease Get:2 copy:/<>/resolver-YgJX85/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-YgJX85/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-YgJX85/apt_archive ./ Sources [214 B] Get:5 copy:/<>/resolver-YgJX85/apt_archive ./ Packages [533 B] Fetched 2866 B in 0s (0 B/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install irpas build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libfile-stripnondeterminism-perl libglib2.0-0 libicu57 libmagic-mgc libmagic1 libpcap-dev libpcap0.8 libpcap0.8-dev libpipeline1 libsigsegv2 libtimedate-perl libtool libxml2 m4 man-db po-debconf Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation dh-make gettext-doc libasprintf-dev libgettextpo-dev groff libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc less www-browser libmail-box-perl Recommended packages: curl | wget | lynx-cur libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs libltdl-dev xml-core libmail-sendmail-perl The following packages will be REMOVED: pkg-create-dbgsym* The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libfile-stripnondeterminism-perl libglib2.0-0 libicu57 libmagic-mgc libmagic1 libpcap-dev libpcap0.8 libpcap0.8-dev libpipeline1 libsigsegv2 libtimedate-perl libtool libxml2 m4 man-db po-debconf sbuild-build-depends-irpas-dummy 0 upgraded, 33 newly installed, 1 to remove and 0 not upgraded. Need to get 16.2 MB of archives. After this operation, 63.8 MB of additional disk space will be used. Get:1 copy:/<>/resolver-YgJX85/apt_archive ./ sbuild-build-depends-irpas-dummy 0.invalid.0 [786 B] Get:2 http://ftpmaster.internal/ubuntu artful/main s390x groff-base s390x 1.22.3-9 [1174 kB] Get:3 http://ftpmaster.internal/ubuntu artful/main s390x libbsd0 s390x 0.8.5-1 [41.0 kB] Get:4 http://ftpmaster.internal/ubuntu artful/main s390x bsdmainutils s390x 9.0.12ubuntu1 [179 kB] Get:5 http://ftpmaster.internal/ubuntu artful/main s390x libpipeline1 s390x 1.4.1-2 [24.8 kB] Get:6 http://ftpmaster.internal/ubuntu artful/main s390x man-db s390x 2.7.6.1-2 [887 kB] Get:7 http://ftpmaster.internal/ubuntu artful/main s390x libmagic-mgc s390x 1:5.30-1 [182 kB] Get:8 http://ftpmaster.internal/ubuntu artful/main s390x libmagic1 s390x 1:5.30-1 [66.8 kB] Get:9 http://ftpmaster.internal/ubuntu artful/main s390x file s390x 1:5.30-1 [21.9 kB] Get:10 http://ftpmaster.internal/ubuntu artful/main s390x gettext-base s390x 0.19.8.1-2ubuntu1 [47.7 kB] Get:11 http://ftpmaster.internal/ubuntu artful/main s390x libglib2.0-0 s390x 2.53.3-1 [1073 kB] Get:12 http://ftpmaster.internal/ubuntu artful/main s390x libicu57 s390x 57.1-6 [7484 kB] Get:13 http://ftpmaster.internal/ubuntu artful/main s390x libpcap0.8 s390x 1.8.1-3ubuntu1 [109 kB] Get:14 http://ftpmaster.internal/ubuntu artful/main s390x libxml2 s390x 2.9.4+dfsg1-2.2ubuntu1 [626 kB] Get:15 http://ftpmaster.internal/ubuntu artful/main s390x libsigsegv2 s390x 2.11-1 [12.6 kB] Get:16 http://ftpmaster.internal/ubuntu artful/main s390x m4 s390x 1.4.18-1 [195 kB] Get:17 http://ftpmaster.internal/ubuntu artful/main s390x autoconf all 2.69-10 [321 kB] Get:18 http://ftpmaster.internal/ubuntu artful/main s390x autotools-dev all 20161112.1 [39.5 kB] Get:19 http://ftpmaster.internal/ubuntu artful/main s390x automake all 1:1.15-6ubuntu1 [509 kB] Get:20 http://ftpmaster.internal/ubuntu artful/main s390x autopoint all 0.19.8.1-2ubuntu1 [411 kB] Get:21 http://ftpmaster.internal/ubuntu artful/main s390x libtool all 2.4.6-2 [194 kB] Get:22 http://ftpmaster.internal/ubuntu artful/main s390x dh-autoreconf all 14 [15.5 kB] Get:23 http://ftpmaster.internal/ubuntu artful/main s390x libarchive-zip-perl all 1.59-1 [84.0 kB] Get:24 http://ftpmaster.internal/ubuntu artful/main s390x libfile-stripnondeterminism-perl all 0.035-2 [13.3 kB] Get:25 http://ftpmaster.internal/ubuntu artful/main s390x libtimedate-perl all 2.3000-2 [37.5 kB] Get:26 http://ftpmaster.internal/ubuntu artful/main s390x dh-strip-nondeterminism all 0.035-2 [5018 B] Get:27 http://ftpmaster.internal/ubuntu artful/main s390x libcroco3 s390x 0.6.12-1 [74.7 kB] Get:28 http://ftpmaster.internal/ubuntu artful/main s390x gettext s390x 0.19.8.1-2ubuntu1 [1051 kB] Get:29 http://ftpmaster.internal/ubuntu artful/main s390x intltool-debian all 0.35.0+20060710.4 [24.9 kB] Get:30 http://ftpmaster.internal/ubuntu artful/main s390x po-debconf all 1.0.20 [232 kB] Get:31 http://ftpmaster.internal/ubuntu artful/main s390x debhelper all 10.4ubuntu3 [876 kB] Get:32 http://ftpmaster.internal/ubuntu artful/main s390x libpcap0.8-dev s390x 1.8.1-3ubuntu1 [211 kB] Get:33 http://ftpmaster.internal/ubuntu artful/main s390x libpcap-dev all 1.8.1-3ubuntu1 [3386 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 16.2 MB in 7s (2095 kB/s) (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12251 files and directories currently installed.) Removing pkg-create-dbgsym (0.73) ... Selecting previously unselected package groff-base. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12242 files and directories currently installed.) Preparing to unpack .../00-groff-base_1.22.3-9_s390x.deb ... Unpacking groff-base (1.22.3-9) ... Selecting previously unselected package libbsd0:s390x. Preparing to unpack .../01-libbsd0_0.8.5-1_s390x.deb ... Unpacking libbsd0:s390x (0.8.5-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../02-bsdmainutils_9.0.12ubuntu1_s390x.deb ... Unpacking bsdmainutils (9.0.12ubuntu1) ... Selecting previously unselected package libpipeline1:s390x. Preparing to unpack .../03-libpipeline1_1.4.1-2_s390x.deb ... Unpacking libpipeline1:s390x (1.4.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../04-man-db_2.7.6.1-2_s390x.deb ... Unpacking man-db (2.7.6.1-2) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../05-libmagic-mgc_1%3a5.30-1_s390x.deb ... Unpacking libmagic-mgc (1:5.30-1) ... Selecting previously unselected package libmagic1:s390x. Preparing to unpack .../06-libmagic1_1%3a5.30-1_s390x.deb ... Unpacking libmagic1:s390x (1:5.30-1) ... Selecting previously unselected package file. Preparing to unpack .../07-file_1%3a5.30-1_s390x.deb ... Unpacking file (1:5.30-1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../08-gettext-base_0.19.8.1-2ubuntu1_s390x.deb ... Unpacking gettext-base (0.19.8.1-2ubuntu1) ... Selecting previously unselected package libglib2.0-0:s390x. Preparing to unpack .../09-libglib2.0-0_2.53.3-1_s390x.deb ... Unpacking libglib2.0-0:s390x (2.53.3-1) ... Selecting previously unselected package libicu57:s390x. Preparing to unpack .../10-libicu57_57.1-6_s390x.deb ... Unpacking libicu57:s390x (57.1-6) ... Selecting previously unselected package libpcap0.8:s390x. Preparing to unpack .../11-libpcap0.8_1.8.1-3ubuntu1_s390x.deb ... Unpacking libpcap0.8:s390x (1.8.1-3ubuntu1) ... Selecting previously unselected package libxml2:s390x. Preparing to unpack .../12-libxml2_2.9.4+dfsg1-2.2ubuntu1_s390x.deb ... Unpacking libxml2:s390x (2.9.4+dfsg1-2.2ubuntu1) ... Selecting previously unselected package libsigsegv2:s390x. Preparing to unpack .../13-libsigsegv2_2.11-1_s390x.deb ... Unpacking libsigsegv2:s390x (2.11-1) ... Selecting previously unselected package m4. Preparing to unpack .../14-m4_1.4.18-1_s390x.deb ... Unpacking m4 (1.4.18-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../15-autoconf_2.69-10_all.deb ... Unpacking autoconf (2.69-10) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../16-autotools-dev_20161112.1_all.deb ... Unpacking autotools-dev (20161112.1) ... Selecting previously unselected package automake. Preparing to unpack .../17-automake_1%3a1.15-6ubuntu1_all.deb ... Unpacking automake (1:1.15-6ubuntu1) ... Selecting previously unselected package autopoint. Preparing to unpack .../18-autopoint_0.19.8.1-2ubuntu1_all.deb ... Unpacking autopoint (0.19.8.1-2ubuntu1) ... Selecting previously unselected package libtool. Preparing to unpack .../19-libtool_2.4.6-2_all.deb ... Unpacking libtool (2.4.6-2) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../20-dh-autoreconf_14_all.deb ... Unpacking dh-autoreconf (14) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../21-libarchive-zip-perl_1.59-1_all.deb ... Unpacking libarchive-zip-perl (1.59-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../22-libfile-stripnondeterminism-perl_0.035-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.035-2) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../23-libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../24-dh-strip-nondeterminism_0.035-2_all.deb ... Unpacking dh-strip-nondeterminism (0.035-2) ... Selecting previously unselected package libcroco3:s390x. Preparing to unpack .../25-libcroco3_0.6.12-1_s390x.deb ... Unpacking libcroco3:s390x (0.6.12-1) ... Selecting previously unselected package gettext. Preparing to unpack .../26-gettext_0.19.8.1-2ubuntu1_s390x.deb ... Unpacking gettext (0.19.8.1-2ubuntu1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../27-intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../28-po-debconf_1.0.20_all.deb ... Unpacking po-debconf (1.0.20) ... Selecting previously unselected package debhelper. Preparing to unpack .../29-debhelper_10.4ubuntu3_all.deb ... Unpacking debhelper (10.4ubuntu3) ... Selecting previously unselected package libpcap0.8-dev. Preparing to unpack .../30-libpcap0.8-dev_1.8.1-3ubuntu1_s390x.deb ... Unpacking libpcap0.8-dev (1.8.1-3ubuntu1) ... Selecting previously unselected package libpcap-dev. Preparing to unpack .../31-libpcap-dev_1.8.1-3ubuntu1_all.deb ... Unpacking libpcap-dev (1.8.1-3ubuntu1) ... Selecting previously unselected package sbuild-build-depends-irpas-dummy. Preparing to unpack .../32-sbuild-build-depends-irpas-dummy_0.invalid.0_s390x.deb ... Unpacking sbuild-build-depends-irpas-dummy (0.invalid.0) ... Setting up libarchive-zip-perl (1.59-1) ... Setting up libtimedate-perl (2.3000-2) ... Setting up libsigsegv2:s390x (2.11-1) ... Setting up groff-base (1.22.3-9) ... Setting up libglib2.0-0:s390x (2.53.3-1) ... No schema files found: doing nothing. Setting up gettext-base (0.19.8.1-2ubuntu1) ... Setting up libpipeline1:s390x (1.4.1-2) ... Setting up m4 (1.4.18-1) ... Setting up libicu57:s390x (57.1-6) ... Setting up libbsd0:s390x (0.8.5-1) ... Setting up libxml2:s390x (2.9.4+dfsg1-2.2ubuntu1) ... Setting up libmagic-mgc (1:5.30-1) ... Setting up libmagic1:s390x (1:5.30-1) ... Setting up libcroco3:s390x (0.6.12-1) ... Processing triggers for libc-bin (2.24-9ubuntu2) ... Setting up autotools-dev (20161112.1) ... Setting up bsdmainutils (9.0.12ubuntu1) ... 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 autopoint (0.19.8.1-2ubuntu1) ... Setting up libpcap0.8:s390x (1.8.1-3ubuntu1) ... Setting up libfile-stripnondeterminism-perl (0.035-2) ... Setting up gettext (0.19.8.1-2ubuntu1) ... Setting up libpcap0.8-dev (1.8.1-3ubuntu1) ... Setting up autoconf (2.69-10) ... Setting up file (1:5.30-1) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up automake (1:1.15-6ubuntu1) ... update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode Setting up libpcap-dev (1.8.1-3ubuntu1) ... Setting up man-db (2.7.6.1-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libtool (2.4.6-2) ... Setting up po-debconf (1.0.20) ... Setting up dh-autoreconf (14) ... Setting up dh-strip-nondeterminism (0.035-2) ... Setting up debhelper (10.4ubuntu3) ... Setting up sbuild-build-depends-irpas-dummy (0.invalid.0) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14178 files and directories currently installed.) Purging configuration files for pkg-create-dbgsym (0.73) ... Processing triggers for libc-bin (2.24-9ubuntu2) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.4.0-78-generic s390x (s390x) Toolchain package versions: binutils_2.28.90.20170704-0ubuntu1 dpkg-dev_1.18.24ubuntu1 g++-6_6.4.0-1ubuntu2 gcc-6_6.4.0-1ubuntu2 libc6-dev_2.24-9ubuntu2 libstdc++-6-dev_6.4.0-1ubuntu2 libstdc++6_7.1.0-9ubuntu1 linux-libc-dev_4.11.0-10.15 Package versions: adduser_3.113+nmu3ubuntu5 advancecomp_2.0-1 apt_1.5~beta1 apt-transport-https_1.5~beta1 autoconf_2.69-10 automake_1:1.15-6ubuntu1 autopoint_0.19.8.1-2ubuntu1 autotools-dev_20161112.1 base-files_9.6ubuntu101 base-passwd_3.5.43 bash_4.4-5ubuntu1 binutils_2.28.90.20170704-0ubuntu1 bsdmainutils_9.0.12ubuntu1 bsdutils_1:2.29-1ubuntu3 build-essential_12.1ubuntu2 bzip2_1.0.6-8.1 ca-certificates_20161130+nmu1 coreutils_8.26-3ubuntu3 cpp_4:6.3.0-2ubuntu2 cpp-6_6.4.0-1ubuntu2 dash_0.5.8-2.3ubuntu1 debconf_1.5.60ubuntu1 debhelper_10.4ubuntu3 debianutils_4.8.1.1 dh-autoreconf_14 dh-strip-nondeterminism_0.035-2 diffutils_1:3.5-3 dmsetup_2:1.02.137-2ubuntu2 dpkg_1.18.24ubuntu1 dpkg-dev_1.18.24ubuntu1 e2fslibs_1.43.4-2 e2fsprogs_1.43.4-2 fakeroot_1.21-1ubuntu2 file_1:5.30-1 findutils_4.6.0+git+20170606-3 g++_4:6.3.0-2ubuntu2 g++-6_6.4.0-1ubuntu2 gcc_4:6.3.0-2ubuntu2 gcc-6_6.4.0-1ubuntu2 gcc-6-base_6.4.0-1ubuntu2 gcc-7-base_7.1.0-9ubuntu1 gettext_0.19.8.1-2ubuntu1 gettext-base_0.19.8.1-2ubuntu1 gnupg_2.1.15-1ubuntu7 gnupg-agent_2.1.15-1ubuntu7 gpgv_2.1.15-1ubuntu7 grep_2.27-2 groff-base_1.22.3-9 gzip_1.6-5ubuntu1 hostname_3.18 init_1.47 init-system-helpers_1.47 initscripts_2.88dsf-59.3ubuntu2 insserv_1.14.0-5ubuntu3 intltool-debian_0.35.0+20060710.4 libacl1_2.2.52-3build1 libapparmor1_2.11.0-2ubuntu8 libapt-pkg5.0_1.5~beta1 libarchive-zip-perl_1.59-1 libasn1-8-heimdal_7.1.0+dfsg-13 libassuan0_2.4.3-2 libatomic1_7.1.0-9ubuntu1 libattr1_1:2.4.47-2build1 libaudit-common_1:2.7.7-1ubuntu1 libaudit1_1:2.7.7-1ubuntu1 libblkid1_2.29-1ubuntu3 libbsd0_0.8.5-1 libbz2-1.0_1.0.6-8.1 libc-bin_2.24-9ubuntu2 libc-dev-bin_2.24-9ubuntu2 libc6_2.24-9ubuntu2 libc6-dev_2.24-9ubuntu2 libcap-ng0_0.7.7-3 libcap2_1:2.25-1 libcc1-0_7.1.0-9ubuntu1 libcomerr2_1.43.4-2 libcroco3_0.6.12-1 libcryptsetup4_2:1.7.2-0ubuntu1 libcurl3-gnutls_7.52.1-5ubuntu1 libdb5.3_5.3.28-12 libdebconfclient0_0.213ubuntu1 libdevmapper1.02.1_2:1.02.137-2ubuntu2 libdpkg-perl_1.18.24ubuntu1 libfakeroot_1.21-1ubuntu2 libfdisk1_2.29-1ubuntu3 libffi6_3.2.1-6 libfile-stripnondeterminism-perl_0.035-2 libgcc-6-dev_6.4.0-1ubuntu2 libgcc1_1:7.1.0-9ubuntu1 libgcrypt20_1.7.8-2 libgdbm3_1.8.3-14 libglib2.0-0_2.53.3-1 libgmp10_2:6.1.2+dfsg-1 libgnutls30_3.5.8-6ubuntu1 libgomp1_7.1.0-9ubuntu1 libgpg-error0_1.27-3 libgssapi-krb5-2_1.15-2 libgssapi3-heimdal_7.1.0+dfsg-13 libhcrypto4-heimdal_7.1.0+dfsg-13 libheimbase1-heimdal_7.1.0+dfsg-13 libheimntlm0-heimdal_7.1.0+dfsg-13 libhogweed4_3.3-1 libhx509-5-heimdal_7.1.0+dfsg-13 libicu57_57.1-6 libidn11_1.33-1 libidn2-0_0.16-1 libip4tc0_1.6.1-2ubuntu1 libisl15_0.18-1 libitm1_7.1.0-9ubuntu1 libk5crypto3_1.15-2 libkeyutils1_1.5.9-9ubuntu1 libkmod2_24-1ubuntu1 libkrb5-26-heimdal_7.1.0+dfsg-13 libkrb5-3_1.15-2 libkrb5support0_1.15-2 libksba8_1.3.5-2 libldap-2.4-2_2.4.44+dfsg-7ubuntu1 libldap-common_2.4.44+dfsg-7ubuntu1 liblockfile-bin_1.14-1 liblockfile1_1.14-1 liblz4-1_0.0~r131-2ubuntu2 liblzma5_5.2.2-1.2 libmagic-mgc_1:5.30-1 libmagic1_1:5.30-1 libmount1_2.29-1ubuntu3 libmpc3_1.0.3-1 libmpfr4_3.1.5-1 libncurses5_6.0+20160625-1ubuntu1 libncursesw5_6.0+20160625-1ubuntu1 libnettle6_3.3-1 libnpth0_1.5-2 libp11-kit0_0.23.7-2 libpam-modules_1.1.8-3.2ubuntu3 libpam-modules-bin_1.1.8-3.2ubuntu3 libpam-runtime_1.1.8-3.2ubuntu3 libpam0g_1.1.8-3.2ubuntu3 libpcap-dev_1.8.1-3ubuntu1 libpcap0.8_1.8.1-3ubuntu1 libpcap0.8-dev_1.8.1-3ubuntu1 libpcre3_2:8.39-3 libperl5.24_5.24.1-4ubuntu1 libpipeline1_1.4.1-2 libpng16-16_1.6.29-3 libprocps6_2:3.3.12-1ubuntu2 libpsl5_0.17.0-4 libreadline7_7.0-0ubuntu2 libroken18-heimdal_7.1.0+dfsg-13 librtmp1_2.4+20151223.gitfa8646d.1-1 libsasl2-2_2.1.27~101-g0780600+dfsg-2ubuntu1 libsasl2-modules-db_2.1.27~101-g0780600+dfsg-2ubuntu1 libseccomp2_2.3.1-2.1ubuntu1 libselinux1_2.6-3build1 libsemanage-common_2.6-2build1 libsemanage1_2.6-2build1 libsepol1_2.6-2 libsigsegv2_2.11-1 libslang2_2.3.1-5ubuntu1 libsmartcols1_2.29-1ubuntu3 libsqlite3-0_3.19.3-2 libss2_1.43.4-2 libssl1.0.0_1.0.2g-1ubuntu13 libstdc++-6-dev_6.4.0-1ubuntu2 libstdc++6_7.1.0-9ubuntu1 libsystemd0_233-8ubuntu2 libtasn1-6_4.12-2 libtimedate-perl_2.3000-2 libtinfo5_6.0+20160625-1ubuntu1 libtool_2.4.6-2 libudev1_233-8ubuntu2 libunistring0_0.9.3-5.2ubuntu1 libusb-0.1-4_2:0.1.12-31 libustr-1.0-1_1.0.4-6 libuuid1_2.29-1ubuntu3 libwind0-heimdal_7.1.0+dfsg-13 libxml2_2.9.4+dfsg1-2.2ubuntu1 linux-libc-dev_4.11.0-10.15 lockfile-progs_0.1.17build1 login_1:4.2-3.2ubuntu2 lsb-base_9.20160110ubuntu5 m4_1.4.18-1 make_4.1-9.1 man-db_2.7.6.1-2 mawk_1.3.3-17ubuntu2 mount_2.29-1ubuntu3 multiarch-support_2.24-9ubuntu2 ncurses-base_6.0+20160625-1ubuntu1 ncurses-bin_6.0+20160625-1ubuntu1 openssl_1.0.2g-1ubuntu13 optipng_0.7.6-1build1 passwd_1:4.2-3.2ubuntu2 patch_2.7.5-1build1 perl_5.24.1-4ubuntu1 perl-base_5.24.1-4ubuntu1 perl-modules-5.24_5.24.1-4ubuntu1 pinentry-curses_1.0.0-2 pkgbinarymangler_131 po-debconf_1.0.20 policyrcd-script-zg2_0.1-3 procps_2:3.3.12-1ubuntu2 readline-common_7.0-0ubuntu2 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-irpas-dummy_0.invalid.0 sed_4.4-1 sensible-utils_0.0.9 systemd_233-8ubuntu2 systemd-sysv_233-8ubuntu2 sysv-rc_2.88dsf-59.3ubuntu2 sysvinit-utils_2.88dsf-59.8git1 tar_1.29b-1.1 tzdata_2017b-2 ubuntu-keyring_2016.10.27 util-linux_2.29-1ubuntu3 xz-utils_5.2.2-1.2 zlib1g_1:1.2.11.dfsg-0ubuntu1 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: Signature made Mon Jul 4 14:03:37 2016 UTC gpgv: using RSA key gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./irpas_0.10-6.dsc dpkg-source: info: extracting irpas in irpas-0.10 dpkg-source: info: unpacking irpas_0.10.orig.tar.gz dpkg-source: info: unpacking irpas_0.10-6.debian.tar.xz dpkg-source: info: applying fix-makefile.patch dpkg-source: info: applying use-debian-libpcap.patch dpkg-source: info: applying add-missing-header.patch dpkg-source: info: applying comment-out-endif.patch dpkg-source: info: applying fix-spelling-error.patch Check disc space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=parallel=4 HOME=/home/buildd LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd MAIL=/var/mail/buildd OLDPWD=/ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD=/<> SHELL=/bin/sh SUDO_COMMAND=/usr/sbin/chroot /<> su buildd -s /bin/sh -c cd '/<>' && 'env' SUDO_GID=2501 SUDO_UID=2001 SUDO_USER=buildd TERM=unknown USER=buildd USERNAME=root dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package irpas dpkg-buildpackage: info: source version 0.10-6 dpkg-buildpackage: info: source distribution unstable dpkg-source --before-build irpas-0.10 dpkg-buildpackage: info: host architecture s390x fakeroot debian/rules clean dh clean dh_testdir dh_auto_clean make -j1 realclean make[1]: Entering directory '/<>' rm -f packets.o cdp.o igrp.o ass_v1.o irdp.o irdpresponder.o itrace.o tctrace.o protos.o netmask.o file2cable.o dfkaa.o netenum.o hsrp.o icmp_redirect.o timestamp.o dhcpx.o enum.o libpackets.a cdp igrp ass irdp irdpresponder itrace tctrace protos inetmask file2cable dfkaa netenum hsrp icmp_redirect timestamp dhcpx make[1]: Leaving directory '/<>' dh_clean debian/rules build-arch dh build-arch dh_testdir -a dh_update_autotools_config -a dh_auto_configure -a dh_auto_build -a make -j1 make[1]: Entering directory '/<>' gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -Wunused -Wmissing-prototypes -I. -Wdate-time -D_FORTIFY_SOURCE=2 -c cdp.c In file included from cdp.c:26:0: protocols.h:129:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:236:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t edition __attribute__ ((packed)); ^~~~~~~~ protocols.h:251:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t destination[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:252:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t delay[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:253:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t bandwith[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:255:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:256:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:257:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:296:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:297:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:304:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[56] {aka unsigned char[56]}’ [-Wattributes] u_int8_t data[56] __attribute__ ((packed)); ^~~~~~~~ protocols.h:308:5: warning: ‘packed’ attribute ignored for field of type ‘icmphdr_t {aka struct }’ [-Wattributes] icmphdr_t icmp __attribute__ ((packed)); ^~~~~~~~~ protocols.h:309:5: warning: ‘packed’ attribute ignored for field of type ‘icmp_echohdr_t {aka struct }’ [-Wattributes] icmp_echohdr_t echo __attribute__ ((packed)); ^~~~~~~~~~~~~~ protocols.h:315:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t mask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:327:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t num_addr __attribute__ ((packed)); ^~~~~~~~ protocols.h:328:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t addrsize __attribute__ ((packed)); ^~~~~~~~ protocols.h:333:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t addr[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:338:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:339:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:345:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:346:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:348:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t gateway[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:349:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[28] {aka unsigned char[28]}’ [-Wattributes] u_int8_t headerdata[28] __attribute__ ((packed)); ^~~~~~~~ protocols.h:366:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:367:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:369:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t source[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:370:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t area[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:373:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[8] {aka unsigned char[8]}’ [-Wattributes] u_int8_t authdata[8] __attribute__ ((packed)); ^~~~~~~~ protocols.h:377:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:379:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t options __attribute__ ((packed)); ^~~~~~~~ protocols.h:380:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t priority __attribute__ ((packed)); ^~~~~~~~ protocols.h:381:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t dead_interval[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:382:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t designated[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:383:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t backup[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:393:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:394:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_type __attribute__ ((packed)); ^~~~~~~~ protocols.h:395:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:397:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t root_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:398:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t root_path_cost[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:400:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t bridge_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:424:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:425:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t opcode __attribute__ ((packed)); ^~~~~~~~ protocols.h:436:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:437:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:438:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:439:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:445:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k1 __attribute__ ((packed)); ^~~~~~~~ protocols.h:446:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k2 __attribute__ ((packed)); ^~~~~~~~ protocols.h:447:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k3 __attribute__ ((packed)); ^~~~~~~~ protocols.h:448:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k4 __attribute__ ((packed)); ^~~~~~~~ protocols.h:449:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k5 __attribute__ ((packed)); ^~~~~~~~ protocols.h:450:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reseved __attribute__ ((packed)); ^~~~~~~~ protocols.h:457:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:458:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t origrouter[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:463:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t external_link __attribute__ ((packed)); ^~~~~~~~ protocols.h:464:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:467:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:468:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:469:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:470:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:472:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:479:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:485:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:488:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:489:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:490:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:491:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:493:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:500:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:511:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:512:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:519:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:525:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:526:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:533:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:534:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:535:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:542:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[16] {aka unsigned char[16]}’ [-Wattributes] u_int8_t auth[16] __attribute__ ((packed)); ^~~~~~~~ protocols.h:594:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t msgtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:595:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:596:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwalen __attribute__ ((packed)); ^~~~~~~~ protocols.h:597:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hops __attribute__ ((packed)); ^~~~~~~~ protocols.h:605:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[16] {aka unsigned char[16]}’ [-Wattributes] u_char chaddr[16] __attribute__ ((packed)); ^~~~~~ protocols.h:606:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[64] {aka unsigned char[64]}’ [-Wattributes] u_char sname[64] __attribute__ ((packed)); ^~~~~~ protocols.h:607:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[128] {aka unsigned char[128]}’ [-Wattributes] u_char file[128] __attribute__ ((packed)); ^~~~~~ protocols.h:608:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t cookie[4] __attribute__ ((packed)); ^~~~~~~~ In file included from cdp.c:13:0: cdp.c: In function ‘mk_flood_cdp’: cdp.c:274:34: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] cdp_prt->length=htons(strlen(my_portid)+2*sizeof(u_int16_t)); ^ In file included from cdp.c:12:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ cdp.c:275:47: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] memcpy(&(cdp_prt->port),&my_portid,strlen(my_portid)); ^~~~~~~~~ In file included from cdp.c:12:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ cdp.c:280:10: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] strlen(my_portid)))); ^~~~~~~~~ In file included from cdp.c:12:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘u_char * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^~~~~~ gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -Wunused -Wmissing-prototypes -I. -Wdate-time -D_FORTIFY_SOURCE=2 -c packets.c In file included from packets.c:22:0: ./protocols.h:129:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:236:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t edition __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:251:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t destination[3] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:252:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t delay[3] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:253:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t bandwith[3] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:255:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:256:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:257:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:296:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:297:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:304:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[56] {aka unsigned char[56]}’ [-Wattributes] u_int8_t data[56] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:308:5: warning: ‘packed’ attribute ignored for field of type ‘icmphdr_t {aka struct }’ [-Wattributes] icmphdr_t icmp __attribute__ ((packed)); ^~~~~~~~~ ./protocols.h:309:5: warning: ‘packed’ attribute ignored for field of type ‘icmp_echohdr_t {aka struct }’ [-Wattributes] icmp_echohdr_t echo __attribute__ ((packed)); ^~~~~~~~~~~~~~ ./protocols.h:315:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t mask[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:327:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t num_addr __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:328:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t addrsize __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:333:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t addr[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:338:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:339:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:345:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:346:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:348:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t gateway[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:349:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[28] {aka unsigned char[28]}’ [-Wattributes] u_int8_t headerdata[28] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:366:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:367:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:369:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t source[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:370:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t area[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:373:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[8] {aka unsigned char[8]}’ [-Wattributes] u_int8_t authdata[8] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:377:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:379:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t options __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:380:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t priority __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:381:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t dead_interval[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:382:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t designated[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:383:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t backup[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:393:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:394:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_type __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:395:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_flags __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:397:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t root_id[6] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:398:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t root_path_cost[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:400:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t bridge_id[6] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:424:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:425:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t opcode __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:436:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmaj __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:437:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmin __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:438:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmaj __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:439:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmin __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:445:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k1 __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:446:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k2 __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:447:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k3 __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:448:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k4 __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:449:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k5 __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:450:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reseved __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:457:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:458:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t origrouter[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:463:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t external_link __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:464:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t flags __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:467:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:468:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:469:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:470:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:472:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:479:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:485:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:488:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:489:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:490:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:491:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:493:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:500:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:511:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:512:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:519:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:525:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:526:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:533:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:534:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:535:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:542:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[16] {aka unsigned char[16]}’ [-Wattributes] u_int8_t auth[16] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:594:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t msgtype __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:595:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwtype __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:596:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwalen __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:597:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hops __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:605:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[16] {aka unsigned char[16]}’ [-Wattributes] u_char chaddr[16] __attribute__ ((packed)); ^~~~~~ ./protocols.h:606:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[64] {aka unsigned char[64]}’ [-Wattributes] u_char sname[64] __attribute__ ((packed)); ^~~~~~ ./protocols.h:607:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[128] {aka unsigned char[128]}’ [-Wattributes] u_char file[128] __attribute__ ((packed)); ^~~~~~ ./protocols.h:608:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t cookie[4] __attribute__ ((packed)); ^~~~~~~~ packets.c: In function ‘icmp_ping’: packets.c:95:7: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] &addrsize))>=0) { ^ In file included from /usr/include/s390x-linux-gnu/sys/socket.h:280:0, from /usr/include/netinet/in.h:23, from packets.c:17: /usr/include/s390x-linux-gnu/bits/socket2.h:64:1: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’ recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ packets.c: In function ‘sendpack_eth’: packets.c:351:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __DEBUG__ ^~~~~~~~~ gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -Wunused -Wmissing-prototypes -I. -Wdate-time -D_FORTIFY_SOURCE=2 -c enum.c In file included from enum.c:20:0: ./protocols.h:129:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:236:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t edition __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:251:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t destination[3] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:252:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t delay[3] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:253:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t bandwith[3] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:255:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:256:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:257:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:296:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:297:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:304:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[56] {aka unsigned char[56]}’ [-Wattributes] u_int8_t data[56] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:308:5: warning: ‘packed’ attribute ignored for field of type ‘icmphdr_t {aka struct }’ [-Wattributes] icmphdr_t icmp __attribute__ ((packed)); ^~~~~~~~~ ./protocols.h:309:5: warning: ‘packed’ attribute ignored for field of type ‘icmp_echohdr_t {aka struct }’ [-Wattributes] icmp_echohdr_t echo __attribute__ ((packed)); ^~~~~~~~~~~~~~ ./protocols.h:315:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t mask[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:327:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t num_addr __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:328:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t addrsize __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:333:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t addr[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:338:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:339:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:345:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:346:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:348:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t gateway[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:349:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[28] {aka unsigned char[28]}’ [-Wattributes] u_int8_t headerdata[28] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:366:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:367:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:369:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t source[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:370:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t area[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:373:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[8] {aka unsigned char[8]}’ [-Wattributes] u_int8_t authdata[8] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:377:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:379:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t options __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:380:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t priority __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:381:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t dead_interval[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:382:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t designated[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:383:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t backup[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:393:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:394:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_type __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:395:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_flags __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:397:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t root_id[6] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:398:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t root_path_cost[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:400:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t bridge_id[6] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:424:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:425:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t opcode __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:436:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmaj __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:437:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmin __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:438:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmaj __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:439:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmin __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:445:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k1 __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:446:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k2 __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:447:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k3 __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:448:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k4 __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:449:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k5 __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:450:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reseved __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:457:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:458:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t origrouter[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:463:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t external_link __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:464:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t flags __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:467:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:468:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:469:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:470:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:472:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:479:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:485:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:488:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:489:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:490:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:491:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:493:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:500:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:511:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:512:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:519:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:525:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:526:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:533:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:534:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:535:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:542:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[16] {aka unsigned char[16]}’ [-Wattributes] u_int8_t auth[16] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:594:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t msgtype __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:595:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwtype __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:596:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwalen __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:597:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hops __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:605:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[16] {aka unsigned char[16]}’ [-Wattributes] u_char chaddr[16] __attribute__ ((packed)); ^~~~~~ ./protocols.h:606:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[64] {aka unsigned char[64]}’ [-Wattributes] u_char sname[64] __attribute__ ((packed)); ^~~~~~ ./protocols.h:607:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[128] {aka unsigned char[128]}’ [-Wattributes] u_char file[128] __attribute__ ((packed)); ^~~~~~ ./protocols.h:608:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t cookie[4] __attribute__ ((packed)); ^~~~~~~~ enum.c: In function ‘enumerate’: enum.c:222:4: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] &addrsize))>=0) { ^ In file included from /usr/include/s390x-linux-gnu/sys/socket.h:280:0, from /usr/include/netinet/in.h:23, from enum.c:10: /usr/include/s390x-linux-gnu/bits/socket2.h:64:1: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’ recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ enum.c:278:2: warning: ‘sfd’ may be used uninitialized in this function [-Wmaybe-uninitialized] close(sfd); ^~~~~~~~~~ ar rcs libpackets.a packets.o enum.o gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -L. -o cdp cdp.o -lpackets gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -Wunused -Wmissing-prototypes -I. -Wdate-time -D_FORTIFY_SOURCE=2 -c igrp.c In file included from igrp.c:28:0: protocols.h:129:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:236:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t edition __attribute__ ((packed)); ^~~~~~~~ protocols.h:251:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t destination[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:252:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t delay[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:253:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t bandwith[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:255:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:256:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:257:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:296:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:297:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:304:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[56] {aka unsigned char[56]}’ [-Wattributes] u_int8_t data[56] __attribute__ ((packed)); ^~~~~~~~ protocols.h:308:5: warning: ‘packed’ attribute ignored for field of type ‘icmphdr_t {aka struct }’ [-Wattributes] icmphdr_t icmp __attribute__ ((packed)); ^~~~~~~~~ protocols.h:309:5: warning: ‘packed’ attribute ignored for field of type ‘icmp_echohdr_t {aka struct }’ [-Wattributes] icmp_echohdr_t echo __attribute__ ((packed)); ^~~~~~~~~~~~~~ protocols.h:315:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t mask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:327:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t num_addr __attribute__ ((packed)); ^~~~~~~~ protocols.h:328:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t addrsize __attribute__ ((packed)); ^~~~~~~~ protocols.h:333:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t addr[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:338:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:339:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:345:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:346:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:348:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t gateway[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:349:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[28] {aka unsigned char[28]}’ [-Wattributes] u_int8_t headerdata[28] __attribute__ ((packed)); ^~~~~~~~ protocols.h:366:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:367:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:369:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t source[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:370:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t area[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:373:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[8] {aka unsigned char[8]}’ [-Wattributes] u_int8_t authdata[8] __attribute__ ((packed)); ^~~~~~~~ protocols.h:377:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:379:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t options __attribute__ ((packed)); ^~~~~~~~ protocols.h:380:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t priority __attribute__ ((packed)); ^~~~~~~~ protocols.h:381:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t dead_interval[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:382:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t designated[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:383:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t backup[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:393:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:394:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_type __attribute__ ((packed)); ^~~~~~~~ protocols.h:395:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:397:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t root_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:398:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t root_path_cost[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:400:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t bridge_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:424:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:425:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t opcode __attribute__ ((packed)); ^~~~~~~~ protocols.h:436:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:437:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:438:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:439:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:445:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k1 __attribute__ ((packed)); ^~~~~~~~ protocols.h:446:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k2 __attribute__ ((packed)); ^~~~~~~~ protocols.h:447:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k3 __attribute__ ((packed)); ^~~~~~~~ protocols.h:448:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k4 __attribute__ ((packed)); ^~~~~~~~ protocols.h:449:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k5 __attribute__ ((packed)); ^~~~~~~~ protocols.h:450:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reseved __attribute__ ((packed)); ^~~~~~~~ protocols.h:457:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:458:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t origrouter[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:463:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t external_link __attribute__ ((packed)); ^~~~~~~~ protocols.h:464:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:467:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:468:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:469:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:470:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:472:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:479:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:485:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:488:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:489:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:490:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:491:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:493:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:500:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:511:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:512:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:519:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:525:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:526:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:533:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:534:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:535:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:542:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[16] {aka unsigned char[16]}’ [-Wattributes] u_int8_t auth[16] __attribute__ ((packed)); ^~~~~~~~ protocols.h:594:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t msgtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:595:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:596:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwalen __attribute__ ((packed)); ^~~~~~~~ protocols.h:597:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hops __attribute__ ((packed)); ^~~~~~~~ protocols.h:605:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[16] {aka unsigned char[16]}’ [-Wattributes] u_char chaddr[16] __attribute__ ((packed)); ^~~~~~ protocols.h:606:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[64] {aka unsigned char[64]}’ [-Wattributes] u_char sname[64] __attribute__ ((packed)); ^~~~~~ protocols.h:607:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[128] {aka unsigned char[128]}’ [-Wattributes] u_char file[128] __attribute__ ((packed)); ^~~~~~ protocols.h:608:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t cookie[4] __attribute__ ((packed)); ^~~~~~~~ igrp.c: In function ‘send_table’: igrp.c:188:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] printf("Routing table size (%d octets) is to large for one packet\n" ^ gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -L. -o igrp igrp.o -lpackets gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -Wunused -Wmissing-prototypes -I. -Wdate-time -D_FORTIFY_SOURCE=2 -c ass_v1.c In file included from ass_v1.c:25:0: protocols.h:129:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:236:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t edition __attribute__ ((packed)); ^~~~~~~~ protocols.h:251:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t destination[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:252:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t delay[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:253:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t bandwith[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:255:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:256:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:257:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:296:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:297:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:304:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[56] {aka unsigned char[56]}’ [-Wattributes] u_int8_t data[56] __attribute__ ((packed)); ^~~~~~~~ protocols.h:308:5: warning: ‘packed’ attribute ignored for field of type ‘icmphdr_t {aka struct }’ [-Wattributes] icmphdr_t icmp __attribute__ ((packed)); ^~~~~~~~~ protocols.h:309:5: warning: ‘packed’ attribute ignored for field of type ‘icmp_echohdr_t {aka struct }’ [-Wattributes] icmp_echohdr_t echo __attribute__ ((packed)); ^~~~~~~~~~~~~~ protocols.h:315:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t mask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:327:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t num_addr __attribute__ ((packed)); ^~~~~~~~ protocols.h:328:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t addrsize __attribute__ ((packed)); ^~~~~~~~ protocols.h:333:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t addr[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:338:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:339:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:345:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:346:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:348:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t gateway[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:349:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[28] {aka unsigned char[28]}’ [-Wattributes] u_int8_t headerdata[28] __attribute__ ((packed)); ^~~~~~~~ protocols.h:366:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:367:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:369:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t source[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:370:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t area[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:373:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[8] {aka unsigned char[8]}’ [-Wattributes] u_int8_t authdata[8] __attribute__ ((packed)); ^~~~~~~~ protocols.h:377:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:379:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t options __attribute__ ((packed)); ^~~~~~~~ protocols.h:380:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t priority __attribute__ ((packed)); ^~~~~~~~ protocols.h:381:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t dead_interval[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:382:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t designated[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:383:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t backup[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:393:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:394:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_type __attribute__ ((packed)); ^~~~~~~~ protocols.h:395:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:397:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t root_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:398:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t root_path_cost[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:400:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t bridge_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:424:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:425:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t opcode __attribute__ ((packed)); ^~~~~~~~ protocols.h:436:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:437:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:438:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:439:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:445:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k1 __attribute__ ((packed)); ^~~~~~~~ protocols.h:446:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k2 __attribute__ ((packed)); ^~~~~~~~ protocols.h:447:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k3 __attribute__ ((packed)); ^~~~~~~~ protocols.h:448:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k4 __attribute__ ((packed)); ^~~~~~~~ protocols.h:449:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k5 __attribute__ ((packed)); ^~~~~~~~ protocols.h:450:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reseved __attribute__ ((packed)); ^~~~~~~~ protocols.h:457:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:458:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t origrouter[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:463:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t external_link __attribute__ ((packed)); ^~~~~~~~ protocols.h:464:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:467:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:468:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:469:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:470:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:472:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:479:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:485:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:488:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:489:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:490:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:491:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:493:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:500:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:511:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:512:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:519:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:525:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:526:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:533:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:534:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:535:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:542:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[16] {aka unsigned char[16]}’ [-Wattributes] u_int8_t auth[16] __attribute__ ((packed)); ^~~~~~~~ protocols.h:594:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t msgtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:595:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:596:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwalen __attribute__ ((packed)); ^~~~~~~~ protocols.h:597:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hops __attribute__ ((packed)); ^~~~~~~~ protocols.h:605:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[16] {aka unsigned char[16]}’ [-Wattributes] u_char chaddr[16] __attribute__ ((packed)); ^~~~~~ protocols.h:606:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[64] {aka unsigned char[64]}’ [-Wattributes] u_char sname[64] __attribute__ ((packed)); ^~~~~~ protocols.h:607:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[128] {aka unsigned char[128]}’ [-Wattributes] u_char file[128] __attribute__ ((packed)); ^~~~~~ protocols.h:608:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t cookie[4] __attribute__ ((packed)); ^~~~~~~~ ass_v1.c: In function ‘add_route’: ass_v1.c:1684:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] c_ospf->dead=ntohl(*((u_int32_t *)&(ospfl->dead_interval))); ^~~~~~ ass_v1.c:1755:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ntohl(*((u_int32_t *)&(cdprec->value))); ^~~~~ ass_v1.c:1769:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] c_cdp->vlan=ntohs(*((u_int16_t*)&(cdprec->value))); ^~~~~ ass_v1.c: In function ‘print_results’: ass_v1.c:1864:6: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (c_cdp->portid!=NULL); ^~ ass_v1.c:1865:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ printf("\t%13s%17s %s\n"," ","Port ID",c_cdp->portid); ^~~~~~ gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -L. -o ass ass_v1.o -lpackets -lpcap gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -Wunused -Wmissing-prototypes -I. -Wdate-time -D_FORTIFY_SOURCE=2 -c irdp.c In file included from irdp.c:27:0: protocols.h:129:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:236:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t edition __attribute__ ((packed)); ^~~~~~~~ protocols.h:251:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t destination[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:252:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t delay[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:253:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t bandwith[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:255:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:256:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:257:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:296:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:297:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:304:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[56] {aka unsigned char[56]}’ [-Wattributes] u_int8_t data[56] __attribute__ ((packed)); ^~~~~~~~ protocols.h:308:5: warning: ‘packed’ attribute ignored for field of type ‘icmphdr_t {aka struct }’ [-Wattributes] icmphdr_t icmp __attribute__ ((packed)); ^~~~~~~~~ protocols.h:309:5: warning: ‘packed’ attribute ignored for field of type ‘icmp_echohdr_t {aka struct }’ [-Wattributes] icmp_echohdr_t echo __attribute__ ((packed)); ^~~~~~~~~~~~~~ protocols.h:315:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t mask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:327:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t num_addr __attribute__ ((packed)); ^~~~~~~~ protocols.h:328:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t addrsize __attribute__ ((packed)); ^~~~~~~~ protocols.h:333:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t addr[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:338:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:339:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:345:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:346:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:348:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t gateway[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:349:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[28] {aka unsigned char[28]}’ [-Wattributes] u_int8_t headerdata[28] __attribute__ ((packed)); ^~~~~~~~ protocols.h:366:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:367:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:369:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t source[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:370:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t area[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:373:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[8] {aka unsigned char[8]}’ [-Wattributes] u_int8_t authdata[8] __attribute__ ((packed)); ^~~~~~~~ protocols.h:377:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:379:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t options __attribute__ ((packed)); ^~~~~~~~ protocols.h:380:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t priority __attribute__ ((packed)); ^~~~~~~~ protocols.h:381:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t dead_interval[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:382:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t designated[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:383:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t backup[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:393:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:394:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_type __attribute__ ((packed)); ^~~~~~~~ protocols.h:395:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:397:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t root_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:398:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t root_path_cost[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:400:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t bridge_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:424:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:425:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t opcode __attribute__ ((packed)); ^~~~~~~~ protocols.h:436:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:437:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:438:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:439:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:445:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k1 __attribute__ ((packed)); ^~~~~~~~ protocols.h:446:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k2 __attribute__ ((packed)); ^~~~~~~~ protocols.h:447:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k3 __attribute__ ((packed)); ^~~~~~~~ protocols.h:448:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k4 __attribute__ ((packed)); ^~~~~~~~ protocols.h:449:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k5 __attribute__ ((packed)); ^~~~~~~~ protocols.h:450:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reseved __attribute__ ((packed)); ^~~~~~~~ protocols.h:457:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:458:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t origrouter[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:463:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t external_link __attribute__ ((packed)); ^~~~~~~~ protocols.h:464:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:467:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:468:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:469:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:470:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:472:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:479:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:485:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:488:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:489:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:490:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:491:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:493:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:500:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:511:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:512:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:519:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:525:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:526:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:533:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:534:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:535:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:542:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[16] {aka unsigned char[16]}’ [-Wattributes] u_int8_t auth[16] __attribute__ ((packed)); ^~~~~~~~ protocols.h:594:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t msgtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:595:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:596:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwalen __attribute__ ((packed)); ^~~~~~~~ protocols.h:597:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hops __attribute__ ((packed)); ^~~~~~~~ protocols.h:605:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[16] {aka unsigned char[16]}’ [-Wattributes] u_char chaddr[16] __attribute__ ((packed)); ^~~~~~ protocols.h:606:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[64] {aka unsigned char[64]}’ [-Wattributes] u_char sname[64] __attribute__ ((packed)); ^~~~~~ protocols.h:607:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[128] {aka unsigned char[128]}’ [-Wattributes] u_char file[128] __attribute__ ((packed)); ^~~~~~ protocols.h:608:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t cookie[4] __attribute__ ((packed)); ^~~~~~~~ gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -L. -o irdp irdp.o -lpackets gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -Wunused -Wmissing-prototypes -I. -Wdate-time -D_FORTIFY_SOURCE=2 -c irdpresponder.c In file included from irdpresponder.c:30:0: protocols.h:129:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:236:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t edition __attribute__ ((packed)); ^~~~~~~~ protocols.h:251:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t destination[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:252:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t delay[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:253:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t bandwith[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:255:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:256:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:257:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:296:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:297:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:304:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[56] {aka unsigned char[56]}’ [-Wattributes] u_int8_t data[56] __attribute__ ((packed)); ^~~~~~~~ protocols.h:308:5: warning: ‘packed’ attribute ignored for field of type ‘icmphdr_t {aka struct }’ [-Wattributes] icmphdr_t icmp __attribute__ ((packed)); ^~~~~~~~~ protocols.h:309:5: warning: ‘packed’ attribute ignored for field of type ‘icmp_echohdr_t {aka struct }’ [-Wattributes] icmp_echohdr_t echo __attribute__ ((packed)); ^~~~~~~~~~~~~~ protocols.h:315:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t mask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:327:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t num_addr __attribute__ ((packed)); ^~~~~~~~ protocols.h:328:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t addrsize __attribute__ ((packed)); ^~~~~~~~ protocols.h:333:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t addr[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:338:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:339:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:345:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:346:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:348:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t gateway[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:349:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[28] {aka unsigned char[28]}’ [-Wattributes] u_int8_t headerdata[28] __attribute__ ((packed)); ^~~~~~~~ protocols.h:366:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:367:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:369:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t source[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:370:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t area[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:373:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[8] {aka unsigned char[8]}’ [-Wattributes] u_int8_t authdata[8] __attribute__ ((packed)); ^~~~~~~~ protocols.h:377:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:379:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t options __attribute__ ((packed)); ^~~~~~~~ protocols.h:380:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t priority __attribute__ ((packed)); ^~~~~~~~ protocols.h:381:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t dead_interval[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:382:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t designated[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:383:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t backup[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:393:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:394:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_type __attribute__ ((packed)); ^~~~~~~~ protocols.h:395:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:397:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t root_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:398:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t root_path_cost[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:400:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t bridge_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:424:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:425:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t opcode __attribute__ ((packed)); ^~~~~~~~ protocols.h:436:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:437:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:438:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:439:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:445:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k1 __attribute__ ((packed)); ^~~~~~~~ protocols.h:446:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k2 __attribute__ ((packed)); ^~~~~~~~ protocols.h:447:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k3 __attribute__ ((packed)); ^~~~~~~~ protocols.h:448:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k4 __attribute__ ((packed)); ^~~~~~~~ protocols.h:449:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k5 __attribute__ ((packed)); ^~~~~~~~ protocols.h:450:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reseved __attribute__ ((packed)); ^~~~~~~~ protocols.h:457:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:458:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t origrouter[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:463:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t external_link __attribute__ ((packed)); ^~~~~~~~ protocols.h:464:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:467:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:468:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:469:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:470:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:472:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:479:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:485:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:488:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:489:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:490:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:491:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:493:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:500:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:511:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:512:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:519:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:525:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:526:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:533:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:534:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:535:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:542:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[16] {aka unsigned char[16]}’ [-Wattributes] u_int8_t auth[16] __attribute__ ((packed)); ^~~~~~~~ protocols.h:594:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t msgtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:595:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:596:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwalen __attribute__ ((packed)); ^~~~~~~~ protocols.h:597:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hops __attribute__ ((packed)); ^~~~~~~~ protocols.h:605:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[16] {aka unsigned char[16]}’ [-Wattributes] u_char chaddr[16] __attribute__ ((packed)); ^~~~~~ protocols.h:606:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[64] {aka unsigned char[64]}’ [-Wattributes] u_char sname[64] __attribute__ ((packed)); ^~~~~~ protocols.h:607:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[128] {aka unsigned char[128]}’ [-Wattributes] u_char file[128] __attribute__ ((packed)); ^~~~~~ protocols.h:608:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t cookie[4] __attribute__ ((packed)); ^~~~~~~~ gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -L. -o irdpresponder irdpresponder.o -lpackets -lpcap gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -Wunused -Wmissing-prototypes -I. -Wdate-time -D_FORTIFY_SOURCE=2 -c itrace.c In file included from itrace.c:24:0: protocols.h:129:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:236:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t edition __attribute__ ((packed)); ^~~~~~~~ protocols.h:251:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t destination[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:252:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t delay[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:253:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t bandwith[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:255:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:256:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:257:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:296:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:297:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:304:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[56] {aka unsigned char[56]}’ [-Wattributes] u_int8_t data[56] __attribute__ ((packed)); ^~~~~~~~ protocols.h:308:5: warning: ‘packed’ attribute ignored for field of type ‘icmphdr_t {aka struct }’ [-Wattributes] icmphdr_t icmp __attribute__ ((packed)); ^~~~~~~~~ protocols.h:309:5: warning: ‘packed’ attribute ignored for field of type ‘icmp_echohdr_t {aka struct }’ [-Wattributes] icmp_echohdr_t echo __attribute__ ((packed)); ^~~~~~~~~~~~~~ protocols.h:315:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t mask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:327:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t num_addr __attribute__ ((packed)); ^~~~~~~~ protocols.h:328:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t addrsize __attribute__ ((packed)); ^~~~~~~~ protocols.h:333:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t addr[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:338:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:339:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:345:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:346:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:348:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t gateway[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:349:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[28] {aka unsigned char[28]}’ [-Wattributes] u_int8_t headerdata[28] __attribute__ ((packed)); ^~~~~~~~ protocols.h:366:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:367:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:369:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t source[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:370:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t area[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:373:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[8] {aka unsigned char[8]}’ [-Wattributes] u_int8_t authdata[8] __attribute__ ((packed)); ^~~~~~~~ protocols.h:377:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:379:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t options __attribute__ ((packed)); ^~~~~~~~ protocols.h:380:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t priority __attribute__ ((packed)); ^~~~~~~~ protocols.h:381:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t dead_interval[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:382:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t designated[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:383:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t backup[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:393:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:394:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_type __attribute__ ((packed)); ^~~~~~~~ protocols.h:395:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:397:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t root_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:398:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t root_path_cost[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:400:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t bridge_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:424:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:425:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t opcode __attribute__ ((packed)); ^~~~~~~~ protocols.h:436:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:437:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:438:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:439:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:445:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k1 __attribute__ ((packed)); ^~~~~~~~ protocols.h:446:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k2 __attribute__ ((packed)); ^~~~~~~~ protocols.h:447:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k3 __attribute__ ((packed)); ^~~~~~~~ protocols.h:448:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k4 __attribute__ ((packed)); ^~~~~~~~ protocols.h:449:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k5 __attribute__ ((packed)); ^~~~~~~~ protocols.h:450:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reseved __attribute__ ((packed)); ^~~~~~~~ protocols.h:457:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:458:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t origrouter[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:463:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t external_link __attribute__ ((packed)); ^~~~~~~~ protocols.h:464:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:467:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:468:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:469:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:470:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:472:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:479:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:485:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:488:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:489:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:490:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:491:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:493:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:500:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:511:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:512:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:519:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:525:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:526:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:533:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:534:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:535:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:542:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[16] {aka unsigned char[16]}’ [-Wattributes] u_int8_t auth[16] __attribute__ ((packed)); ^~~~~~~~ protocols.h:594:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t msgtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:595:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:596:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwalen __attribute__ ((packed)); ^~~~~~~~ protocols.h:597:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hops __attribute__ ((packed)); ^~~~~~~~ protocols.h:605:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[16] {aka unsigned char[16]}’ [-Wattributes] u_char chaddr[16] __attribute__ ((packed)); ^~~~~~ protocols.h:606:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[64] {aka unsigned char[64]}’ [-Wattributes] u_char sname[64] __attribute__ ((packed)); ^~~~~~ protocols.h:607:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[128] {aka unsigned char[128]}’ [-Wattributes] u_char file[128] __attribute__ ((packed)); ^~~~~~ protocols.h:608:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t cookie[4] __attribute__ ((packed)); ^~~~~~~~ itrace.c: In function ‘main’: itrace.c:221:8: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] &addrsize))>=0) { ^ In file included from /usr/include/s390x-linux-gnu/sys/socket.h:280:0, from /usr/include/netinet/in.h:23, from itrace.c:13: /usr/include/s390x-linux-gnu/bits/socket2.h:64:1: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’ recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ itrace.c:263:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] printf("Should be %d, is %d\n", ^ gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -L. -o itrace itrace.o -lpackets gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -Wunused -Wmissing-prototypes -I. -Wdate-time -D_FORTIFY_SOURCE=2 -c tctrace.c In file included from tctrace.c:24:0: protocols.h:129:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:236:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t edition __attribute__ ((packed)); ^~~~~~~~ protocols.h:251:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t destination[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:252:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t delay[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:253:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t bandwith[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:255:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:256:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:257:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:296:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:297:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:304:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[56] {aka unsigned char[56]}’ [-Wattributes] u_int8_t data[56] __attribute__ ((packed)); ^~~~~~~~ protocols.h:308:5: warning: ‘packed’ attribute ignored for field of type ‘icmphdr_t {aka struct }’ [-Wattributes] icmphdr_t icmp __attribute__ ((packed)); ^~~~~~~~~ protocols.h:309:5: warning: ‘packed’ attribute ignored for field of type ‘icmp_echohdr_t {aka struct }’ [-Wattributes] icmp_echohdr_t echo __attribute__ ((packed)); ^~~~~~~~~~~~~~ protocols.h:315:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t mask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:327:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t num_addr __attribute__ ((packed)); ^~~~~~~~ protocols.h:328:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t addrsize __attribute__ ((packed)); ^~~~~~~~ protocols.h:333:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t addr[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:338:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:339:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:345:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:346:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:348:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t gateway[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:349:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[28] {aka unsigned char[28]}’ [-Wattributes] u_int8_t headerdata[28] __attribute__ ((packed)); ^~~~~~~~ protocols.h:366:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:367:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:369:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t source[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:370:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t area[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:373:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[8] {aka unsigned char[8]}’ [-Wattributes] u_int8_t authdata[8] __attribute__ ((packed)); ^~~~~~~~ protocols.h:377:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:379:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t options __attribute__ ((packed)); ^~~~~~~~ protocols.h:380:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t priority __attribute__ ((packed)); ^~~~~~~~ protocols.h:381:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t dead_interval[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:382:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t designated[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:383:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t backup[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:393:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:394:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_type __attribute__ ((packed)); ^~~~~~~~ protocols.h:395:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:397:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t root_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:398:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t root_path_cost[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:400:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t bridge_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:424:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:425:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t opcode __attribute__ ((packed)); ^~~~~~~~ protocols.h:436:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:437:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:438:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:439:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:445:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k1 __attribute__ ((packed)); ^~~~~~~~ protocols.h:446:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k2 __attribute__ ((packed)); ^~~~~~~~ protocols.h:447:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k3 __attribute__ ((packed)); ^~~~~~~~ protocols.h:448:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k4 __attribute__ ((packed)); ^~~~~~~~ protocols.h:449:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k5 __attribute__ ((packed)); ^~~~~~~~ protocols.h:450:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reseved __attribute__ ((packed)); ^~~~~~~~ protocols.h:457:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:458:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t origrouter[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:463:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t external_link __attribute__ ((packed)); ^~~~~~~~ protocols.h:464:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:467:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:468:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:469:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:470:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:472:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:479:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:485:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:488:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:489:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:490:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:491:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:493:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:500:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:511:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:512:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:519:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:525:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:526:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:533:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:534:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:535:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:542:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[16] {aka unsigned char[16]}’ [-Wattributes] u_int8_t auth[16] __attribute__ ((packed)); ^~~~~~~~ protocols.h:594:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t msgtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:595:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:596:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwalen __attribute__ ((packed)); ^~~~~~~~ protocols.h:597:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hops __attribute__ ((packed)); ^~~~~~~~ protocols.h:605:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[16] {aka unsigned char[16]}’ [-Wattributes] u_char chaddr[16] __attribute__ ((packed)); ^~~~~~ protocols.h:606:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[64] {aka unsigned char[64]}’ [-Wattributes] u_char sname[64] __attribute__ ((packed)); ^~~~~~ protocols.h:607:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[128] {aka unsigned char[128]}’ [-Wattributes] u_char file[128] __attribute__ ((packed)); ^~~~~~ protocols.h:608:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t cookie[4] __attribute__ ((packed)); ^~~~~~~~ tctrace.c: In function ‘main’: tctrace.c:256:8: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] &addrsize))>=0) { ^ In file included from /usr/include/s390x-linux-gnu/sys/socket.h:280:0, from /usr/include/netinet/in.h:23, from tctrace.c:13: /usr/include/s390x-linux-gnu/bits/socket2.h:64:1: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’ recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ tctrace.c:302:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] printf("Should be %d, is %d\n", ^ tctrace.c:354:8: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] &addrsize))>=sizeof(tcphdr_t)+sizeof(iphdr_t)) { ^ In file included from /usr/include/s390x-linux-gnu/sys/socket.h:280:0, from /usr/include/netinet/in.h:23, from tctrace.c:13: /usr/include/s390x-linux-gnu/bits/socket2.h:64:1: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’ recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ tctrace.c:359:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] printf("FUCK: %d %d\n",rc, ^ gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -L. -o tctrace tctrace.o -lpackets gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -Wunused -Wmissing-prototypes -I. -Wdate-time -D_FORTIFY_SOURCE=2 -c protos.c In file included from protos.c:25:0: protocols.h:129:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:236:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t edition __attribute__ ((packed)); ^~~~~~~~ protocols.h:251:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t destination[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:252:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t delay[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:253:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t bandwith[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:255:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:256:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:257:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:296:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:297:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:304:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[56] {aka unsigned char[56]}’ [-Wattributes] u_int8_t data[56] __attribute__ ((packed)); ^~~~~~~~ protocols.h:308:5: warning: ‘packed’ attribute ignored for field of type ‘icmphdr_t {aka struct }’ [-Wattributes] icmphdr_t icmp __attribute__ ((packed)); ^~~~~~~~~ protocols.h:309:5: warning: ‘packed’ attribute ignored for field of type ‘icmp_echohdr_t {aka struct }’ [-Wattributes] icmp_echohdr_t echo __attribute__ ((packed)); ^~~~~~~~~~~~~~ protocols.h:315:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t mask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:327:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t num_addr __attribute__ ((packed)); ^~~~~~~~ protocols.h:328:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t addrsize __attribute__ ((packed)); ^~~~~~~~ protocols.h:333:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t addr[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:338:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:339:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:345:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:346:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:348:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t gateway[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:349:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[28] {aka unsigned char[28]}’ [-Wattributes] u_int8_t headerdata[28] __attribute__ ((packed)); ^~~~~~~~ protocols.h:366:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:367:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:369:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t source[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:370:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t area[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:373:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[8] {aka unsigned char[8]}’ [-Wattributes] u_int8_t authdata[8] __attribute__ ((packed)); ^~~~~~~~ protocols.h:377:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:379:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t options __attribute__ ((packed)); ^~~~~~~~ protocols.h:380:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t priority __attribute__ ((packed)); ^~~~~~~~ protocols.h:381:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t dead_interval[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:382:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t designated[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:383:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t backup[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:393:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:394:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_type __attribute__ ((packed)); ^~~~~~~~ protocols.h:395:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:397:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t root_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:398:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t root_path_cost[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:400:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t bridge_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:424:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:425:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t opcode __attribute__ ((packed)); ^~~~~~~~ protocols.h:436:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:437:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:438:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:439:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:445:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k1 __attribute__ ((packed)); ^~~~~~~~ protocols.h:446:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k2 __attribute__ ((packed)); ^~~~~~~~ protocols.h:447:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k3 __attribute__ ((packed)); ^~~~~~~~ protocols.h:448:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k4 __attribute__ ((packed)); ^~~~~~~~ protocols.h:449:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k5 __attribute__ ((packed)); ^~~~~~~~ protocols.h:450:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reseved __attribute__ ((packed)); ^~~~~~~~ protocols.h:457:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:458:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t origrouter[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:463:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t external_link __attribute__ ((packed)); ^~~~~~~~ protocols.h:464:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:467:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:468:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:469:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:470:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:472:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:479:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:485:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:488:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:489:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:490:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:491:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:493:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:500:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:511:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:512:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:519:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:525:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:526:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:533:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:534:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:535:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:542:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[16] {aka unsigned char[16]}’ [-Wattributes] u_int8_t auth[16] __attribute__ ((packed)); ^~~~~~~~ protocols.h:594:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t msgtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:595:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:596:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwalen __attribute__ ((packed)); ^~~~~~~~ protocols.h:597:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hops __attribute__ ((packed)); ^~~~~~~~ protocols.h:605:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[16] {aka unsigned char[16]}’ [-Wattributes] u_char chaddr[16] __attribute__ ((packed)); ^~~~~~ protocols.h:606:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[64] {aka unsigned char[64]}’ [-Wattributes] u_char sname[64] __attribute__ ((packed)); ^~~~~~ protocols.h:607:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[128] {aka unsigned char[128]}’ [-Wattributes] u_char file[128] __attribute__ ((packed)); ^~~~~~ protocols.h:608:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t cookie[4] __attribute__ ((packed)); ^~~~~~~~ protos.c: In function ‘recv_icmp’: protos.c:287:7: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] &addrsize)>0) { ^ In file included from /usr/include/s390x-linux-gnu/sys/socket.h:280:0, from /usr/include/netinet/in.h:23, from protos.c:13: /usr/include/s390x-linux-gnu/bits/socket2.h:64:1: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’ recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ protos.c: In function ‘create_target_list’: protos.c:679:7: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] &addrsize))>=0) { ^ In file included from /usr/include/s390x-linux-gnu/sys/socket.h:280:0, from /usr/include/netinet/in.h:23, from protos.c:13: /usr/include/s390x-linux-gnu/bits/socket2.h:64:1: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’ recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -L. -o protos protos.o -lpackets gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -Wunused -Wmissing-prototypes -I. -Wdate-time -D_FORTIFY_SOURCE=2 -c netmask.c In file included from netmask.c:24:0: protocols.h:129:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:236:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t edition __attribute__ ((packed)); ^~~~~~~~ protocols.h:251:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t destination[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:252:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t delay[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:253:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t bandwith[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:255:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:256:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:257:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:296:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:297:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:304:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[56] {aka unsigned char[56]}’ [-Wattributes] u_int8_t data[56] __attribute__ ((packed)); ^~~~~~~~ protocols.h:308:5: warning: ‘packed’ attribute ignored for field of type ‘icmphdr_t {aka struct }’ [-Wattributes] icmphdr_t icmp __attribute__ ((packed)); ^~~~~~~~~ protocols.h:309:5: warning: ‘packed’ attribute ignored for field of type ‘icmp_echohdr_t {aka struct }’ [-Wattributes] icmp_echohdr_t echo __attribute__ ((packed)); ^~~~~~~~~~~~~~ protocols.h:315:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t mask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:327:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t num_addr __attribute__ ((packed)); ^~~~~~~~ protocols.h:328:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t addrsize __attribute__ ((packed)); ^~~~~~~~ protocols.h:333:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t addr[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:338:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:339:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:345:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:346:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:348:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t gateway[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:349:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[28] {aka unsigned char[28]}’ [-Wattributes] u_int8_t headerdata[28] __attribute__ ((packed)); ^~~~~~~~ protocols.h:366:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:367:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:369:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t source[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:370:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t area[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:373:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[8] {aka unsigned char[8]}’ [-Wattributes] u_int8_t authdata[8] __attribute__ ((packed)); ^~~~~~~~ protocols.h:377:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:379:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t options __attribute__ ((packed)); ^~~~~~~~ protocols.h:380:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t priority __attribute__ ((packed)); ^~~~~~~~ protocols.h:381:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t dead_interval[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:382:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t designated[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:383:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t backup[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:393:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:394:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_type __attribute__ ((packed)); ^~~~~~~~ protocols.h:395:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:397:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t root_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:398:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t root_path_cost[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:400:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t bridge_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:424:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:425:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t opcode __attribute__ ((packed)); ^~~~~~~~ protocols.h:436:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:437:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:438:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:439:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:445:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k1 __attribute__ ((packed)); ^~~~~~~~ protocols.h:446:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k2 __attribute__ ((packed)); ^~~~~~~~ protocols.h:447:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k3 __attribute__ ((packed)); ^~~~~~~~ protocols.h:448:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k4 __attribute__ ((packed)); ^~~~~~~~ protocols.h:449:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k5 __attribute__ ((packed)); ^~~~~~~~ protocols.h:450:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reseved __attribute__ ((packed)); ^~~~~~~~ protocols.h:457:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:458:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t origrouter[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:463:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t external_link __attribute__ ((packed)); ^~~~~~~~ protocols.h:464:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:467:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:468:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:469:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:470:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:472:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:479:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:485:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:488:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:489:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:490:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:491:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:493:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:500:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:511:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:512:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:519:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:525:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:526:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:533:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:534:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:535:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:542:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[16] {aka unsigned char[16]}’ [-Wattributes] u_int8_t auth[16] __attribute__ ((packed)); ^~~~~~~~ protocols.h:594:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t msgtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:595:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:596:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwalen __attribute__ ((packed)); ^~~~~~~~ protocols.h:597:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hops __attribute__ ((packed)); ^~~~~~~~ protocols.h:605:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[16] {aka unsigned char[16]}’ [-Wattributes] u_char chaddr[16] __attribute__ ((packed)); ^~~~~~ protocols.h:606:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[64] {aka unsigned char[64]}’ [-Wattributes] u_char sname[64] __attribute__ ((packed)); ^~~~~~ protocols.h:607:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[128] {aka unsigned char[128]}’ [-Wattributes] u_char file[128] __attribute__ ((packed)); ^~~~~~ protocols.h:608:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t cookie[4] __attribute__ ((packed)); ^~~~~~~~ netmask.c: In function ‘main’: netmask.c:147:7: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] &addrsize))>=0) { ^ In file included from /usr/include/s390x-linux-gnu/sys/socket.h:280:0, from /usr/include/netinet/in.h:23, from netmask.c:13: /usr/include/s390x-linux-gnu/bits/socket2.h:64:1: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’ recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ netmask.c:54:23: warning: variable ‘respond’ set but not used [-Wunused-but-set-variable] int rc,addrsize,respond=0; ^~~~~~~ netmask.c:49:15: warning: variable ‘ip’ set but not used [-Wunused-but-set-variable] iphdr_t *ip; ^~ gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -L. -o inetmask netmask.o -lpackets gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -Wunused -Wmissing-prototypes -I. -Wdate-time -D_FORTIFY_SOURCE=2 -c file2cable.c In file included from file2cable.c:26:0: protocols.h:129:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:236:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t edition __attribute__ ((packed)); ^~~~~~~~ protocols.h:251:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t destination[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:252:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t delay[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:253:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t bandwith[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:255:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:256:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:257:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:296:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:297:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:304:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[56] {aka unsigned char[56]}’ [-Wattributes] u_int8_t data[56] __attribute__ ((packed)); ^~~~~~~~ protocols.h:308:5: warning: ‘packed’ attribute ignored for field of type ‘icmphdr_t {aka struct }’ [-Wattributes] icmphdr_t icmp __attribute__ ((packed)); ^~~~~~~~~ protocols.h:309:5: warning: ‘packed’ attribute ignored for field of type ‘icmp_echohdr_t {aka struct }’ [-Wattributes] icmp_echohdr_t echo __attribute__ ((packed)); ^~~~~~~~~~~~~~ protocols.h:315:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t mask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:327:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t num_addr __attribute__ ((packed)); ^~~~~~~~ protocols.h:328:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t addrsize __attribute__ ((packed)); ^~~~~~~~ protocols.h:333:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t addr[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:338:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:339:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:345:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:346:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:348:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t gateway[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:349:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[28] {aka unsigned char[28]}’ [-Wattributes] u_int8_t headerdata[28] __attribute__ ((packed)); ^~~~~~~~ protocols.h:366:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:367:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:369:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t source[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:370:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t area[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:373:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[8] {aka unsigned char[8]}’ [-Wattributes] u_int8_t authdata[8] __attribute__ ((packed)); ^~~~~~~~ protocols.h:377:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:379:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t options __attribute__ ((packed)); ^~~~~~~~ protocols.h:380:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t priority __attribute__ ((packed)); ^~~~~~~~ protocols.h:381:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t dead_interval[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:382:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t designated[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:383:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t backup[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:393:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:394:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_type __attribute__ ((packed)); ^~~~~~~~ protocols.h:395:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:397:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t root_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:398:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t root_path_cost[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:400:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t bridge_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:424:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:425:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t opcode __attribute__ ((packed)); ^~~~~~~~ protocols.h:436:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:437:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:438:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:439:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:445:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k1 __attribute__ ((packed)); ^~~~~~~~ protocols.h:446:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k2 __attribute__ ((packed)); ^~~~~~~~ protocols.h:447:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k3 __attribute__ ((packed)); ^~~~~~~~ protocols.h:448:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k4 __attribute__ ((packed)); ^~~~~~~~ protocols.h:449:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k5 __attribute__ ((packed)); ^~~~~~~~ protocols.h:450:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reseved __attribute__ ((packed)); ^~~~~~~~ protocols.h:457:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:458:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t origrouter[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:463:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t external_link __attribute__ ((packed)); ^~~~~~~~ protocols.h:464:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:467:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:468:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:469:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:470:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:472:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:479:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:485:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:488:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:489:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:490:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:491:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:493:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:500:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:511:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:512:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:519:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:525:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:526:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:533:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:534:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:535:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:542:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[16] {aka unsigned char[16]}’ [-Wattributes] u_int8_t auth[16] __attribute__ ((packed)); ^~~~~~~~ protocols.h:594:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t msgtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:595:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:596:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwalen __attribute__ ((packed)); ^~~~~~~~ protocols.h:597:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hops __attribute__ ((packed)); ^~~~~~~~ protocols.h:605:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[16] {aka unsigned char[16]}’ [-Wattributes] u_char chaddr[16] __attribute__ ((packed)); ^~~~~~ protocols.h:606:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[64] {aka unsigned char[64]}’ [-Wattributes] u_char sname[64] __attribute__ ((packed)); ^~~~~~ protocols.h:607:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[128] {aka unsigned char[128]}’ [-Wattributes] u_char file[128] __attribute__ ((packed)); ^~~~~~ protocols.h:608:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t cookie[4] __attribute__ ((packed)); ^~~~~~~~ file2cable.c: In function ‘main’: file2cable.c:85:2: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(fd,buffer,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -L. -o file2cable file2cable.o -lpackets gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -Wunused -Wmissing-prototypes -I. -Wdate-time -D_FORTIFY_SOURCE=2 -c dfkaa.c In file included from dfkaa.c:30:0: ./protocols.h:129:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:236:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t edition __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:251:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t destination[3] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:252:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t delay[3] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:253:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t bandwith[3] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:255:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:256:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:257:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:296:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:297:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:304:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[56] {aka unsigned char[56]}’ [-Wattributes] u_int8_t data[56] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:308:5: warning: ‘packed’ attribute ignored for field of type ‘icmphdr_t {aka struct }’ [-Wattributes] icmphdr_t icmp __attribute__ ((packed)); ^~~~~~~~~ ./protocols.h:309:5: warning: ‘packed’ attribute ignored for field of type ‘icmp_echohdr_t {aka struct }’ [-Wattributes] icmp_echohdr_t echo __attribute__ ((packed)); ^~~~~~~~~~~~~~ ./protocols.h:315:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t mask[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:327:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t num_addr __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:328:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t addrsize __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:333:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t addr[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:338:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:339:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:345:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:346:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:348:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t gateway[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:349:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[28] {aka unsigned char[28]}’ [-Wattributes] u_int8_t headerdata[28] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:366:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:367:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:369:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t source[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:370:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t area[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:373:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[8] {aka unsigned char[8]}’ [-Wattributes] u_int8_t authdata[8] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:377:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:379:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t options __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:380:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t priority __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:381:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t dead_interval[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:382:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t designated[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:383:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t backup[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:393:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:394:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_type __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:395:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_flags __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:397:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t root_id[6] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:398:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t root_path_cost[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:400:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t bridge_id[6] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:424:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:425:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t opcode __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:436:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmaj __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:437:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmin __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:438:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmaj __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:439:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmin __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:445:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k1 __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:446:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k2 __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:447:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k3 __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:448:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k4 __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:449:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k5 __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:450:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reseved __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:457:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:458:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t origrouter[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:463:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t external_link __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:464:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t flags __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:467:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:468:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:469:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:470:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:472:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:479:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:485:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:488:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:489:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:490:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:491:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:493:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:500:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:511:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:512:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:519:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:525:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:526:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:533:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:534:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:535:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:542:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[16] {aka unsigned char[16]}’ [-Wattributes] u_int8_t auth[16] __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:594:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t msgtype __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:595:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwtype __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:596:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwalen __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:597:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hops __attribute__ ((packed)); ^~~~~~~~ ./protocols.h:605:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[16] {aka unsigned char[16]}’ [-Wattributes] u_char chaddr[16] __attribute__ ((packed)); ^~~~~~ ./protocols.h:606:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[64] {aka unsigned char[64]}’ [-Wattributes] u_char sname[64] __attribute__ ((packed)); ^~~~~~ ./protocols.h:607:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[128] {aka unsigned char[128]}’ [-Wattributes] u_char file[128] __attribute__ ((packed)); ^~~~~~ ./protocols.h:608:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t cookie[4] __attribute__ ((packed)); ^~~~~~~~ dfkaa.c:36:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[2] {aka unsigned char[2]}’ [-Wattributes] u_int8_t protover[2] __attribute__ ((packed)); ^~~~~~~~ dfkaa.c:38:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t magic[4] __attribute__ ((packed)); ^~~~~~~~ dfkaa.c:42:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t ipaddr[4] __attribute__ ((packed)); ^~~~~~~~ dfkaa.c:43:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ dfkaa.c:44:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t serial[4] __attribute__ ((packed)); ^~~~~~~~ dfkaa.c:45:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t macaddr[6] __attribute__ ((packed)); ^~~~~~~~ dfkaa.c:46:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t group __attribute__ ((packed)); ^~~~~~~~ dfkaa.c:51:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t devtype __attribute__ ((packed)); ^~~~~~~~ dfkaa.c:52:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t flag __attribute__ ((packed)); ^~~~~~~~ dfkaa.c:53:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[16] {aka unsigned char[16]}’ [-Wattributes] u_int8_t name[16] __attribute__ ((packed)); ^~~~~~~~ dfkaa.c:54:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[1] {aka unsigned char[1]}’ [-Wattributes] u_int8_t sep1[1] __attribute__ ((packed)); ^~~~~~~~ dfkaa.c:55:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[20] {aka unsigned char[20]}’ [-Wattributes] u_int8_t password[20] __attribute__ ((packed)); ^~~~~~~~ dfkaa.c:56:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[1] {aka unsigned char[1]}’ [-Wattributes] u_int8_t sep2[1] __attribute__ ((packed)); ^~~~~~~~ dfkaa.c:57:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[1] {aka unsigned char[1]}’ [-Wattributes] u_int8_t unknown[1] __attribute__ ((packed)); ^~~~~~~~ dfkaa.c: In function ‘print_adp’: dfkaa.c:436:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] printf("\tADP version:\t%d\n",*((u_int16_t *)&(a->protover))); ^~~~~~ dfkaa.c:448:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] printf("\tSerial number:\t%d\n",ntohl(*((u_int32_t *)&(a->serial)))); ^~~~~~ gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -L. -o dfkaa dfkaa.o -lpackets gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -Wunused -Wmissing-prototypes -I. -Wdate-time -D_FORTIFY_SOURCE=2 -c netenum.c gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -L. -o netenum netenum.o -lpackets gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -Wunused -Wmissing-prototypes -I. -Wdate-time -D_FORTIFY_SOURCE=2 -c hsrp.c In file included from hsrp.c:23:0: protocols.h:129:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:236:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t edition __attribute__ ((packed)); ^~~~~~~~ protocols.h:251:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t destination[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:252:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t delay[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:253:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t bandwith[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:255:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:256:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:257:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:296:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:297:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:304:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[56] {aka unsigned char[56]}’ [-Wattributes] u_int8_t data[56] __attribute__ ((packed)); ^~~~~~~~ protocols.h:308:5: warning: ‘packed’ attribute ignored for field of type ‘icmphdr_t {aka struct }’ [-Wattributes] icmphdr_t icmp __attribute__ ((packed)); ^~~~~~~~~ protocols.h:309:5: warning: ‘packed’ attribute ignored for field of type ‘icmp_echohdr_t {aka struct }’ [-Wattributes] icmp_echohdr_t echo __attribute__ ((packed)); ^~~~~~~~~~~~~~ protocols.h:315:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t mask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:327:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t num_addr __attribute__ ((packed)); ^~~~~~~~ protocols.h:328:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t addrsize __attribute__ ((packed)); ^~~~~~~~ protocols.h:333:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t addr[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:338:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:339:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:345:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:346:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:348:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t gateway[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:349:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[28] {aka unsigned char[28]}’ [-Wattributes] u_int8_t headerdata[28] __attribute__ ((packed)); ^~~~~~~~ protocols.h:366:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:367:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:369:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t source[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:370:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t area[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:373:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[8] {aka unsigned char[8]}’ [-Wattributes] u_int8_t authdata[8] __attribute__ ((packed)); ^~~~~~~~ protocols.h:377:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:379:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t options __attribute__ ((packed)); ^~~~~~~~ protocols.h:380:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t priority __attribute__ ((packed)); ^~~~~~~~ protocols.h:381:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t dead_interval[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:382:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t designated[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:383:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t backup[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:393:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:394:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_type __attribute__ ((packed)); ^~~~~~~~ protocols.h:395:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:397:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t root_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:398:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t root_path_cost[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:400:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t bridge_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:424:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:425:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t opcode __attribute__ ((packed)); ^~~~~~~~ protocols.h:436:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:437:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:438:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:439:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:445:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k1 __attribute__ ((packed)); ^~~~~~~~ protocols.h:446:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k2 __attribute__ ((packed)); ^~~~~~~~ protocols.h:447:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k3 __attribute__ ((packed)); ^~~~~~~~ protocols.h:448:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k4 __attribute__ ((packed)); ^~~~~~~~ protocols.h:449:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k5 __attribute__ ((packed)); ^~~~~~~~ protocols.h:450:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reseved __attribute__ ((packed)); ^~~~~~~~ protocols.h:457:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:458:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t origrouter[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:463:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t external_link __attribute__ ((packed)); ^~~~~~~~ protocols.h:464:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:467:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:468:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:469:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:470:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:472:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:479:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:485:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:488:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:489:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:490:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:491:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:493:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:500:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:511:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:512:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:519:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:525:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:526:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:533:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:534:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:535:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:542:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[16] {aka unsigned char[16]}’ [-Wattributes] u_int8_t auth[16] __attribute__ ((packed)); ^~~~~~~~ protocols.h:594:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t msgtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:595:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:596:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwalen __attribute__ ((packed)); ^~~~~~~~ protocols.h:597:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hops __attribute__ ((packed)); ^~~~~~~~ protocols.h:605:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[16] {aka unsigned char[16]}’ [-Wattributes] u_char chaddr[16] __attribute__ ((packed)); ^~~~~~ protocols.h:606:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[64] {aka unsigned char[64]}’ [-Wattributes] u_char sname[64] __attribute__ ((packed)); ^~~~~~ protocols.h:607:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[128] {aka unsigned char[128]}’ [-Wattributes] u_char file[128] __attribute__ ((packed)); ^~~~~~ protocols.h:608:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t cookie[4] __attribute__ ((packed)); ^~~~~~~~ gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -L. -o hsrp hsrp.o -lpackets gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -Wunused -Wmissing-prototypes -I. -Wdate-time -D_FORTIFY_SOURCE=2 -c icmp_redirect.c In file included from icmp_redirect.c:22:0: protocols.h:129:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:236:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t edition __attribute__ ((packed)); ^~~~~~~~ protocols.h:251:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t destination[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:252:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t delay[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:253:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t bandwith[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:255:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:256:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:257:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:296:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:297:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:304:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[56] {aka unsigned char[56]}’ [-Wattributes] u_int8_t data[56] __attribute__ ((packed)); ^~~~~~~~ protocols.h:308:5: warning: ‘packed’ attribute ignored for field of type ‘icmphdr_t {aka struct }’ [-Wattributes] icmphdr_t icmp __attribute__ ((packed)); ^~~~~~~~~ protocols.h:309:5: warning: ‘packed’ attribute ignored for field of type ‘icmp_echohdr_t {aka struct }’ [-Wattributes] icmp_echohdr_t echo __attribute__ ((packed)); ^~~~~~~~~~~~~~ protocols.h:315:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t mask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:327:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t num_addr __attribute__ ((packed)); ^~~~~~~~ protocols.h:328:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t addrsize __attribute__ ((packed)); ^~~~~~~~ protocols.h:333:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t addr[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:338:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:339:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:345:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:346:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:348:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t gateway[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:349:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[28] {aka unsigned char[28]}’ [-Wattributes] u_int8_t headerdata[28] __attribute__ ((packed)); ^~~~~~~~ protocols.h:366:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:367:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:369:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t source[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:370:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t area[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:373:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[8] {aka unsigned char[8]}’ [-Wattributes] u_int8_t authdata[8] __attribute__ ((packed)); ^~~~~~~~ protocols.h:377:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:379:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t options __attribute__ ((packed)); ^~~~~~~~ protocols.h:380:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t priority __attribute__ ((packed)); ^~~~~~~~ protocols.h:381:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t dead_interval[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:382:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t designated[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:383:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t backup[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:393:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:394:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_type __attribute__ ((packed)); ^~~~~~~~ protocols.h:395:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:397:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t root_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:398:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t root_path_cost[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:400:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t bridge_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:424:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:425:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t opcode __attribute__ ((packed)); ^~~~~~~~ protocols.h:436:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:437:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:438:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:439:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:445:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k1 __attribute__ ((packed)); ^~~~~~~~ protocols.h:446:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k2 __attribute__ ((packed)); ^~~~~~~~ protocols.h:447:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k3 __attribute__ ((packed)); ^~~~~~~~ protocols.h:448:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k4 __attribute__ ((packed)); ^~~~~~~~ protocols.h:449:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k5 __attribute__ ((packed)); ^~~~~~~~ protocols.h:450:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reseved __attribute__ ((packed)); ^~~~~~~~ protocols.h:457:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:458:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t origrouter[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:463:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t external_link __attribute__ ((packed)); ^~~~~~~~ protocols.h:464:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:467:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:468:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:469:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:470:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:472:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:479:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:485:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:488:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:489:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:490:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:491:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:493:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:500:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:511:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:512:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:519:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:525:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:526:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:533:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:534:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:535:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:542:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[16] {aka unsigned char[16]}’ [-Wattributes] u_int8_t auth[16] __attribute__ ((packed)); ^~~~~~~~ protocols.h:594:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t msgtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:595:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:596:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwalen __attribute__ ((packed)); ^~~~~~~~ protocols.h:597:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hops __attribute__ ((packed)); ^~~~~~~~ protocols.h:605:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[16] {aka unsigned char[16]}’ [-Wattributes] u_char chaddr[16] __attribute__ ((packed)); ^~~~~~ protocols.h:606:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[64] {aka unsigned char[64]}’ [-Wattributes] u_char sname[64] __attribute__ ((packed)); ^~~~~~ protocols.h:607:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[128] {aka unsigned char[128]}’ [-Wattributes] u_char file[128] __attribute__ ((packed)); ^~~~~~ protocols.h:608:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t cookie[4] __attribute__ ((packed)); ^~~~~~~~ icmp_redirect.c: In function ‘free_cons’: icmp_redirect.c:462:13: warning: pointer targets in passing argument 1 of ‘ctime’ differ in signedness [-Wpointer-sign] ctime(&(fanchor->t))); ^ In file included from icmp_redirect.c:20:0: /usr/include/time.h:264:14: note: expected ‘const time_t * {aka const long int *}’ but argument is of type ‘long unsigned int *’ extern char *ctime (const time_t *__timer) __THROW; ^~~~~ gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -L. -o icmp_redirect icmp_redirect.o -lpackets -lpcap gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -Wunused -Wmissing-prototypes -I. -Wdate-time -D_FORTIFY_SOURCE=2 -c timestamp.c In file included from timestamp.c:24:0: protocols.h:129:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:236:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t edition __attribute__ ((packed)); ^~~~~~~~ protocols.h:251:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t destination[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:252:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t delay[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:253:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t bandwith[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:255:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:256:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:257:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:296:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:297:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:304:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[56] {aka unsigned char[56]}’ [-Wattributes] u_int8_t data[56] __attribute__ ((packed)); ^~~~~~~~ protocols.h:308:5: warning: ‘packed’ attribute ignored for field of type ‘icmphdr_t {aka struct }’ [-Wattributes] icmphdr_t icmp __attribute__ ((packed)); ^~~~~~~~~ protocols.h:309:5: warning: ‘packed’ attribute ignored for field of type ‘icmp_echohdr_t {aka struct }’ [-Wattributes] icmp_echohdr_t echo __attribute__ ((packed)); ^~~~~~~~~~~~~~ protocols.h:315:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t mask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:327:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t num_addr __attribute__ ((packed)); ^~~~~~~~ protocols.h:328:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t addrsize __attribute__ ((packed)); ^~~~~~~~ protocols.h:333:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t addr[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:338:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:339:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:345:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:346:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:348:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t gateway[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:349:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[28] {aka unsigned char[28]}’ [-Wattributes] u_int8_t headerdata[28] __attribute__ ((packed)); ^~~~~~~~ protocols.h:366:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:367:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:369:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t source[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:370:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t area[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:373:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[8] {aka unsigned char[8]}’ [-Wattributes] u_int8_t authdata[8] __attribute__ ((packed)); ^~~~~~~~ protocols.h:377:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:379:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t options __attribute__ ((packed)); ^~~~~~~~ protocols.h:380:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t priority __attribute__ ((packed)); ^~~~~~~~ protocols.h:381:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t dead_interval[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:382:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t designated[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:383:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t backup[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:393:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:394:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_type __attribute__ ((packed)); ^~~~~~~~ protocols.h:395:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:397:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t root_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:398:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t root_path_cost[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:400:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t bridge_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:424:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:425:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t opcode __attribute__ ((packed)); ^~~~~~~~ protocols.h:436:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:437:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:438:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:439:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:445:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k1 __attribute__ ((packed)); ^~~~~~~~ protocols.h:446:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k2 __attribute__ ((packed)); ^~~~~~~~ protocols.h:447:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k3 __attribute__ ((packed)); ^~~~~~~~ protocols.h:448:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k4 __attribute__ ((packed)); ^~~~~~~~ protocols.h:449:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k5 __attribute__ ((packed)); ^~~~~~~~ protocols.h:450:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reseved __attribute__ ((packed)); ^~~~~~~~ protocols.h:457:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:458:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t origrouter[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:463:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t external_link __attribute__ ((packed)); ^~~~~~~~ protocols.h:464:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:467:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:468:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:469:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:470:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:472:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:479:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:485:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:488:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:489:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:490:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:491:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:493:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:500:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:511:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:512:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:519:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:525:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:526:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:533:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:534:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:535:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:542:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[16] {aka unsigned char[16]}’ [-Wattributes] u_int8_t auth[16] __attribute__ ((packed)); ^~~~~~~~ protocols.h:594:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t msgtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:595:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:596:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwalen __attribute__ ((packed)); ^~~~~~~~ protocols.h:597:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hops __attribute__ ((packed)); ^~~~~~~~ protocols.h:605:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[16] {aka unsigned char[16]}’ [-Wattributes] u_char chaddr[16] __attribute__ ((packed)); ^~~~~~ protocols.h:606:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[64] {aka unsigned char[64]}’ [-Wattributes] u_char sname[64] __attribute__ ((packed)); ^~~~~~ protocols.h:607:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[128] {aka unsigned char[128]}’ [-Wattributes] u_char file[128] __attribute__ ((packed)); ^~~~~~ protocols.h:608:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t cookie[4] __attribute__ ((packed)); ^~~~~~~~ timestamp.c: In function ‘main’: timestamp.c:147:7: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] &addrsize))>=0) { ^ In file included from /usr/include/s390x-linux-gnu/sys/socket.h:280:0, from /usr/include/netinet/in.h:23, from timestamp.c:13: /usr/include/s390x-linux-gnu/bits/socket2.h:64:1: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’ recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ timestamp.c:54:23: warning: variable ‘respond’ set but not used [-Wunused-but-set-variable] int rc,addrsize,respond=0; ^~~~~~~ timestamp.c:49:15: warning: variable ‘ip’ set but not used [-Wunused-but-set-variable] iphdr_t *ip; ^~ gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -L. -o timestamp timestamp.o -lpackets gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -Wunused -Wmissing-prototypes -I. -Wdate-time -D_FORTIFY_SOURCE=2 -c dhcpx.c In file included from dhcpx.c:24:0: protocols.h:129:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:236:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t edition __attribute__ ((packed)); ^~~~~~~~ protocols.h:251:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t destination[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:252:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t delay[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:253:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t bandwith[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:255:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:256:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:257:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:296:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:297:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:304:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[56] {aka unsigned char[56]}’ [-Wattributes] u_int8_t data[56] __attribute__ ((packed)); ^~~~~~~~ protocols.h:308:5: warning: ‘packed’ attribute ignored for field of type ‘icmphdr_t {aka struct }’ [-Wattributes] icmphdr_t icmp __attribute__ ((packed)); ^~~~~~~~~ protocols.h:309:5: warning: ‘packed’ attribute ignored for field of type ‘icmp_echohdr_t {aka struct }’ [-Wattributes] icmp_echohdr_t echo __attribute__ ((packed)); ^~~~~~~~~~~~~~ protocols.h:315:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t mask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:327:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t num_addr __attribute__ ((packed)); ^~~~~~~~ protocols.h:328:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t addrsize __attribute__ ((packed)); ^~~~~~~~ protocols.h:333:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t addr[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:338:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:339:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:345:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:346:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t code __attribute__ ((packed)); ^~~~~~~~ protocols.h:348:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t gateway[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:349:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[28] {aka unsigned char[28]}’ [-Wattributes] u_int8_t headerdata[28] __attribute__ ((packed)); ^~~~~~~~ protocols.h:366:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:367:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t type __attribute__ ((packed)); ^~~~~~~~ protocols.h:369:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t source[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:370:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t area[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:373:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[8] {aka unsigned char[8]}’ [-Wattributes] u_int8_t authdata[8] __attribute__ ((packed)); ^~~~~~~~ protocols.h:377:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:379:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t options __attribute__ ((packed)); ^~~~~~~~ protocols.h:380:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t priority __attribute__ ((packed)); ^~~~~~~~ protocols.h:381:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t dead_interval[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:382:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t designated[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:383:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t backup[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:393:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:394:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_type __attribute__ ((packed)); ^~~~~~~~ protocols.h:395:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t BPDU_flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:397:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t root_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:398:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t root_path_cost[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:400:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[6] {aka unsigned char[6]}’ [-Wattributes] u_int8_t bridge_id[6] __attribute__ ((packed)); ^~~~~~~~ protocols.h:424:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:425:4: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t opcode __attribute__ ((packed)); ^~~~~~~~ protocols.h:436:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:437:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t iosmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:438:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmaj __attribute__ ((packed)); ^~~~~~~~ protocols.h:439:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t eigrpmin __attribute__ ((packed)); ^~~~~~~~ protocols.h:445:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k1 __attribute__ ((packed)); ^~~~~~~~ protocols.h:446:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k2 __attribute__ ((packed)); ^~~~~~~~ protocols.h:447:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k3 __attribute__ ((packed)); ^~~~~~~~ protocols.h:448:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k4 __attribute__ ((packed)); ^~~~~~~~ protocols.h:449:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t k5 __attribute__ ((packed)); ^~~~~~~~ protocols.h:450:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reseved __attribute__ ((packed)); ^~~~~~~~ protocols.h:457:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:458:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t origrouter[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:463:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t external_link __attribute__ ((packed)); ^~~~~~~~ protocols.h:464:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t flags __attribute__ ((packed)); ^~~~~~~~ protocols.h:467:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:468:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:469:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:470:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:472:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:479:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:485:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:488:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[3] {aka unsigned char[3]}’ [-Wattributes] u_int8_t mtu[3] __attribute__ ((packed)); ^~~~~~~~ protocols.h:489:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hopcount __attribute__ ((packed)); ^~~~~~~~ protocols.h:490:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t reliability __attribute__ ((packed)); ^~~~~~~~ protocols.h:491:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t load __attribute__ ((packed)); ^~~~~~~~ protocols.h:493:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t prefix_length __attribute__ ((packed)); ^~~~~~~~ protocols.h:500:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t dest __attribute__ ((packed)); ^~~~~~~~ protocols.h:511:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:512:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:519:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:525:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t command __attribute__ ((packed)); ^~~~~~~~ protocols.h:526:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t version __attribute__ ((packed)); ^~~~~~~~ protocols.h:533:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t address[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:534:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t netmask[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:535:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t nexthop[4] __attribute__ ((packed)); ^~~~~~~~ protocols.h:542:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[16] {aka unsigned char[16]}’ [-Wattributes] u_int8_t auth[16] __attribute__ ((packed)); ^~~~~~~~ protocols.h:594:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t msgtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:595:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwtype __attribute__ ((packed)); ^~~~~~~~ protocols.h:596:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hwalen __attribute__ ((packed)); ^~~~~~~~ protocols.h:597:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t {aka unsigned char}’ [-Wattributes] u_int8_t hops __attribute__ ((packed)); ^~~~~~~~ protocols.h:605:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[16] {aka unsigned char[16]}’ [-Wattributes] u_char chaddr[16] __attribute__ ((packed)); ^~~~~~ protocols.h:606:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[64] {aka unsigned char[64]}’ [-Wattributes] u_char sname[64] __attribute__ ((packed)); ^~~~~~ protocols.h:607:5: warning: ‘packed’ attribute ignored for field of type ‘u_char[128] {aka unsigned char[128]}’ [-Wattributes] u_char file[128] __attribute__ ((packed)); ^~~~~~ protocols.h:608:5: warning: ‘packed’ attribute ignored for field of type ‘u_int8_t[4] {aka unsigned char[4]}’ [-Wattributes] u_int8_t cookie[4] __attribute__ ((packed)); ^~~~~~~~ dhcpx.c: In function ‘main’: dhcpx.c:202:33: warning: pointer targets in passing argument 1 of ‘construct_arp_frame’ differ in signedness [-Wpointer-sign] rawpacket=construct_arp_frame(&flen,&(cfg.dest)); ^ dhcpx.c:107:9: note: expected ‘int *’ but argument is of type ‘unsigned int *’ u_char *construct_arp_frame(int *fsize, struct in_addr *dest); ^~~~~~~~~~~~~~~~~~~ dhcpx.c:224:46: warning: pointer targets in passing argument 1 of ‘construct_dhcp_discover_frame’ differ in signedness [-Wpointer-sign] rawpacket=construct_dhcp_discover_frame(&flen,NULL,NULL); ^ dhcpx.c:108:9: note: expected ‘int *’ but argument is of type ‘unsigned int *’ u_char *construct_dhcp_discover_frame(int *fsize, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dhcpx.c: In function ‘evaluate_packet’: dhcpx.c:356:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] dhcp_renew=(unsigned long)ntohl( ^~~~~~~~~~ dhcpx.c: In function ‘server_request_lease’: dhcpx.c:895:41: warning: pointer targets in passing argument 1 of ‘construct_dhcp_discover_frame’ differ in signedness [-Wpointer-sign] frame=construct_dhcp_discover_frame(&flen,&(s->addr),l); ^ dhcpx.c:448:9: note: expected ‘int *’ but argument is of type ‘unsigned int *’ u_char *construct_dhcp_discover_frame(int *fsize, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dhcpx.c: In function ‘server_age_leases’: dhcpx.c:919:7: warning: pointer targets in passing argument 1 of ‘construct_dhcp_request_frame’ differ in signedness [-Wpointer-sign] &flen,(struct in_addr *)&(s->addr.s_addr),l); ^ dhcpx.c:572:9: note: expected ‘int *’ but argument is of type ‘unsigned int *’ u_char *construct_dhcp_request_frame(int *fsize, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dhcpx.c: In function ‘server_bind_leases’: dhcpx.c:994:7: warning: pointer targets in passing argument 1 of ‘construct_dhcp_request_frame’ differ in signedness [-Wpointer-sign] &flen,(struct in_addr *)&(s->addr.s_addr),l); ^ dhcpx.c:572:9: note: expected ‘int *’ but argument is of type ‘unsigned int *’ u_char *construct_dhcp_request_frame(int *fsize, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dhcpx.c: In function ‘evaluate_packet’: dhcpx.c:381:7: warning: ‘dhcp_renew’ may be used uninitialized in this function [-Wmaybe-uninitialized] server_update_lease(&serverid, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (u_char *)&(dhcp->chaddr),xid, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &clientip,dhcp_renew,LEASE_STAT_ACTIVE); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -L. -o dhcpx dhcpx.o -lpackets -lpcap make[1]: Leaving directory '/<>' dh_auto_test -a create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-arch dh binary-arch create-stamp debian/debhelper-build-stamp dh_testroot -a dh_prep -a dh_auto_install -a make -j1 install DESTDIR=/<>/debian/irpas AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/<>' install -d /<>/debian/irpas/usr/sbin/ install cdp igrp ass irdp irdpresponder itrace tctrace protos inetmask file2cable dfkaa netenum hsrp icmp_redirect timestamp dhcpx /<>/debian/irpas/usr/sbin/ make[1]: Leaving directory '/<>' dh_installdocs -a dh_installchangelogs -a dh_installman -a dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_fixperms -a dh_missing -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a INFO: pkgstriptranslations version 131 pkgstriptranslations: processing irpas-dbgsym (in debian/.debhelper/irpas/dbgsym-root); do_strip: , oemstrip: pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: processing control file: debian/.debhelper/irpas/dbgsym-root/DEBIAN/control, package irpas-dbgsym, directory debian/.debhelper/irpas/dbgsym-root pkgstripfiles: Running PNG optimization (using 4 cpus) for package irpas-dbgsym ... pkgstripfiles: No PNG files. dpkg-deb: building package 'irpas-dbgsym' in 'debian/.debhelper/scratch-space/build-irpas/irpas-dbgsym_0.10-6_s390x.deb'. Renaming irpas-dbgsym_0.10-6_s390x.deb to irpas-dbgsym_0.10-6_s390x.ddeb INFO: pkgstriptranslations version 131 pkgstriptranslations: processing irpas (in debian/irpas); do_strip: , oemstrip: pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: processing control file: debian/irpas/DEBIAN/control, package irpas, directory debian/irpas pkgstripfiles: Running PNG optimization (using 4 cpus) for package irpas ... pkgstripfiles: No PNG files. dpkg-deb: building package 'irpas' in '../irpas_0.10-6_s390x.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any -mLaunchpad Build Daemon >../irpas_0.10-6_s390x.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build irpas-0.10 dpkg-buildpackage: info: binary-only upload (no source included) -------------------------------------------------------------------------------- Build finished at 20170710-0932 Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Post Build Chroot | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ irpas_0.10-6_s390x.changes: --------------------------- Format: 1.8 Date: Mon, 04 Jul 2016 16:01:01 +0200 Source: irpas Binary: irpas Architecture: s390x Version: 0.10-6 Distribution: artful Urgency: medium Maintainer: Launchpad Build Daemon Changed-By: Raphaël Hertzog Description: irpas - Internetwork Routing Protocol Attack Suite Changes: irpas (0.10-6) unstable; urgency=medium . * Team upload. * Add "XS-Autobuild: yes" to allow automatic build on the build daemons. Checksums-Sha1: a03b0e41a31295c87ebb9ea7a3551103f9813623 234684 irpas-dbgsym_0.10-6_s390x.ddeb 1717af232663268da83dc4e7550cb894aafde114 4860 irpas_0.10-6_s390x.buildinfo 305940b7bdeb0082be71bc2911bb61e56653c810 60176 irpas_0.10-6_s390x.deb Checksums-Sha256: bc8872c83c54909c66346697d4ad35e09550d1f0ab64b21d57673bb9f1a7b892 234684 irpas-dbgsym_0.10-6_s390x.ddeb b7b6c26afe6a4ef50f959a73a9c2cd16308b6927cc4daa3399d25cfd8d7b62b6 4860 irpas_0.10-6_s390x.buildinfo 1c226790770108ce95d7dc75a4417ed0a0482fe23bbe8c1b7d853f17428cf913 60176 irpas_0.10-6_s390x.deb Files: 754a88451c0520cd16222a1e969587a0 234684 non-free/debug extra irpas-dbgsym_0.10-6_s390x.ddeb c18a8a175ba2b934deafcef24e981a34 4860 non-free/net optional irpas_0.10-6_s390x.buildinfo 74d0207adea16a3a3b3fa3a3d3658a94 60176 non-free/net optional irpas_0.10-6_s390x.deb +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ irpas_0.10-6_s390x.deb ---------------------- new debian package, version 2.0. size 60176 bytes: control archive=1836 bytes. 1550 bytes, 37 lines control 1672 bytes, 29 lines md5sums Package: irpas Version: 0.10-6 Architecture: s390x Maintainer: Ubuntu Developers Original-Maintainer: Debian Security Tools Packaging Team Installed-Size: 336 Depends: libc6 (>= 2.4), libpcap0.8 (>= 0.9.8) Section: non-free/net Priority: optional Homepage: http://www.phenoelit.org/fr/tools.html Description: Internetwork Routing Protocol Attack Suite This package contains a collection of programs used for advanced network operations, testing, and debugging. . CDP and the route injectors can be useful in a production network. Several other tools are useful for security and firewall testing. Finally some tools such as netenum are useful for general admin scripting. . Like all powerful tools, it could cause great damage, so be careful. . * cdp - Cisco discovery protocol packet sender * igrp - IGRP route injector * ass - Autonomous system scanner * irdp - IRDP sender * irdpresponder - IRDP responder * itrace - ICMP based traceroute * tctrace - TCP SYN based traceroute * protos - ICMP based port scanner * netmask - Asks for netmask via ICMP * file2cable - Dumps any binary file direct to ethernet * dfkaa - Troubleshoot devices formerly known as Ascend (Pipeline, etc) * netenum - Ping scanner designed for shell scripts * hsrp - HSRP failover tester * icmp_redirect - ICMP redirection system * timestamp - ICMP timestamp requester * dhcpx - DHCP server "exerciser" drwxr-xr-x root/root 0 2016-07-04 14:01 ./ drwxr-xr-x root/root 0 2016-07-04 14:01 ./usr/ drwxr-xr-x root/root 0 2016-07-04 14:01 ./usr/sbin/ -rwxr-xr-x root/root 30720 2016-07-04 14:01 ./usr/sbin/ass -rwxr-xr-x root/root 18440 2016-07-04 14:01 ./usr/sbin/cdp -rwxr-xr-x root/root 22600 2016-07-04 14:01 ./usr/sbin/dfkaa -rwxr-xr-x root/root 22528 2016-07-04 14:01 ./usr/sbin/dhcpx -rwxr-xr-x root/root 14336 2016-07-04 14:01 ./usr/sbin/file2cable -rwxr-xr-x root/root 14336 2016-07-04 14:01 ./usr/sbin/hsrp -rwxr-xr-x root/root 18432 2016-07-04 14:01 ./usr/sbin/icmp_redirect -rwxr-xr-x root/root 18432 2016-07-04 14:01 ./usr/sbin/igrp -rwxr-xr-x root/root 14336 2016-07-04 14:01 ./usr/sbin/inetmask -rwxr-xr-x root/root 14336 2016-07-04 14:01 ./usr/sbin/irdp -rwxr-xr-x root/root 18432 2016-07-04 14:01 ./usr/sbin/irdpresponder -rwxr-xr-x root/root 14336 2016-07-04 14:01 ./usr/sbin/itrace -rwxr-xr-x root/root 18432 2016-07-04 14:01 ./usr/sbin/netenum -rwxr-xr-x root/root 43080 2016-07-04 14:01 ./usr/sbin/protos -rwxr-xr-x root/root 14336 2016-07-04 14:01 ./usr/sbin/tctrace -rwxr-xr-x root/root 14336 2016-07-04 14:01 ./usr/sbin/timestamp drwxr-xr-x root/root 0 2016-07-04 14:01 ./usr/share/ drwxr-xr-x root/root 0 2016-07-04 14:01 ./usr/share/doc/ drwxr-xr-x root/root 0 2016-07-04 14:01 ./usr/share/doc/irpas/ -rw-r--r-- root/root 173 2016-07-04 14:01 ./usr/share/doc/irpas/README.Debian -rw-r--r-- root/root 55 2016-07-04 14:01 ./usr/share/doc/irpas/TODO.Debian -rw-r--r-- root/root 1098 2016-07-04 14:01 ./usr/share/doc/irpas/changelog.Debian.gz -rw-r--r-- root/root 1836 2016-07-04 14:01 ./usr/share/doc/irpas/copyright drwxr-xr-x root/root 0 2016-07-04 14:01 ./usr/share/man/ drwxr-xr-x root/root 0 2016-07-04 14:01 ./usr/share/man/man1/ -rw-r--r-- root/root 2349 2016-07-04 14:01 ./usr/share/man/man1/ass.1.gz -rw-r--r-- root/root 2420 2016-07-04 14:01 ./usr/share/man/man1/cdp.1.gz -rw-r--r-- root/root 779 2016-07-04 14:01 ./usr/share/man/man1/file2cable.1.gz -rw-r--r-- root/root 1557 2016-07-04 14:01 ./usr/share/man/man1/igrp.1.gz -rw-r--r-- root/root 617 2016-07-04 14:01 ./usr/share/man/man1/inetmask.1.gz -rw-r--r-- root/root 734 2016-07-04 14:01 ./usr/share/man/man1/irdp.1.gz -rw-r--r-- root/root 736 2016-07-04 14:01 ./usr/share/man/man1/irdpresponder.1.gz -rw-r--r-- root/root 886 2016-07-04 14:01 ./usr/share/man/man1/itrace.1.gz -rw-r--r-- root/root 954 2016-07-04 14:01 ./usr/share/man/man1/tctrace.1.gz +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Not removing build depends: as requested Keeping session: +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: s390x Build-Space: 4092 Build-Time: 8 Distribution: artful Host Architecture: s390x Install-Time: 15 Job: irpas_0.10-6.dsc Machine Architecture: s390x Package: irpas Package-Time: 23 Source-Version: 0.10-6 Space: 4092 Status: successful Version: 0.10-6 -------------------------------------------------------------------------------- Finished at 20170710-0932 Build needed 00:00:23, 4092k disc space RUN: /usr/share/launchpad-buildd/slavebin/scan-for-processes ['scan-for-processes', 'PACKAGEBUILD-12891045'] Scanning for processes to kill in build /home/buildd/build-PACKAGEBUILD-12891045/chroot-autobuild... RUN: /usr/share/launchpad-buildd/slavebin/umount-chroot ['umount-chroot', 'PACKAGEBUILD-12891045'] Unmounting chroot for build PACKAGEBUILD-12891045... RUN: /usr/share/launchpad-buildd/slavebin/remove-build ['remove-build', 'PACKAGEBUILD-12891045'] Removing build PACKAGEBUILD-12891045