Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/rpld.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1672266501.986545/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0c073_0e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0c073_0e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e1ab1ac8c0bd4471971129a7b1522748', '-D', '/var/lib/mock/fedora-rawhide-s390x-1672266501.986545/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0c073_0e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/rpld.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/rpld-1.8-0.36.beta1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/rpld.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1672266501.986545/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0c073_0e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0c073_0e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5ad5ea443a724881945327e8db9aab67', '-D', '/var/lib/mock/fedora-rawhide-s390x-1672266501.986545/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0c073_0e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/rpld.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dp9fje + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpld-1.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rpld-1.8-beta-1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rpld-1.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (rpld_1.8beta1-6.diff.gz): + echo 'Patch #0 (rpld_1.8beta1-6.diff.gz):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/rpld_1.8beta1-6.diff.gz patching file debian/patches/002_target_dirs.patch patching file debian/patches/001_multiline_fix.patch patching file debian/patches/004_mac_address_range_fix.patch patching file debian/patches/003_avoid_makedepend.patch patching file debian/compat patching file debian/README.Debian patching file debian/watch patching file debian/dirs patching file debian/rules patching file debian/init.d patching file debian/init-default patching file debian/changelog patching file debian/control patching file debian/copyright + for I in debian/patches/* + patch -p1 -i debian/patches/001_multiline_fix.patch patching file rpld_conf.y + for I in debian/patches/* + patch -p1 -i debian/patches/002_target_dirs.patch patching file Makefile + for I in debian/patches/* + patch -p1 -i debian/patches/003_avoid_makedepend.patch patching file Makefile + for I in debian/patches/* + patch -p1 -i debian/patches/004_mac_address_range_fix.patch patching file client.c patching file rpld_conf.lex Patch #1 (rpld-1.8-makefile.patch): + echo 'Patch #1 (rpld-1.8-makefile.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.P1sV0t + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rpld-1.8 + make 'OPT=-fPIE -pie -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' -j2 yacc -d -b rpld_conf rpld_conf.y gcc -MM protocol.c rpld.c util.c rpl.c client.c config.c llc-nit.c linux-nit.c > .depend Now type make again to build rpld + make 'OPT=-fPIE -pie -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' -j2 gcc -fPIE -pie -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -c -o protocol.o protocol.c gcc -fPIE -pie -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rpld.o rpld.c protocol.c:166:1: warning: return type defaults to 'int' [-Wimplicit-int] 166 | file_data_frame (struct llcdrv *lld, struct client *c) | ^~~~~~~~~~~~~~~ protocol.c: In function 'file_data_frame': protocol.c:174:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 174 | return; | ^~~~~~ protocol.c:166:1: note: declared here 166 | file_data_frame (struct llcdrv *lld, struct client *c) | ^~~~~~~~~~~~~~~ protocol.c:171:7: warning: unused variable 'addr' [-Wunused-variable] 171 | u32 addr = 0x10000; | ^~~~ protocol.c: In function 'send_file_frame': protocol.c:219:21: warning: unused variable 'out' [-Wunused-variable] 219 | struct rpl_packet out; | ^~~ protocol.c: In function 'rpl_packet_recvd_callback': protocol.c:264:62: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] 264 | syslog (LOG_ERR, "Incomplete FIND frame 0x%x vs 0x%x\n", | ~^ | | | unsigned int | %lx protocol.c:277:66: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] 277 | "Incomplete SEND.FILE.REQUEST frame 0x%x vs 0x%x\n", | ~^ | | | unsigned int | %lx protocol.c: At top level: protocol.c:19:13: warning: 'rcsid' defined but not used [-Wunused-variable] 19 | static char rcsid[] = | ^~~~~ rpld.c: In function 'usage': rpld.c:149:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 149 | exit (1); | ^~~~ rpld.c:116:1: note: include '' or provide a declaration of 'exit' 115 | #include "project.h" +++ |+#include 116 | rpld.c:149:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 149 | exit (1); | ^~~~ rpld.c:149:3: note: include '' or provide a declaration of 'exit' rpld.c: In function 'main': rpld.c:185:27: warning: implicit declaration of function 'strtol'; did you mean 'strtok'? [-Wimplicit-function-declaration] 185 | rpl_sap = strtol (optarg + 2, NULL, 16); | ^~~~~~ | strtok rpld.c:244:50: warning: pointer targets in passing argument 4 of 'lld->recv' differ in signedness [-Wpointer-sign] 244 | len = lld->recv (lld, buf, sizeof (buf), smac, NULL, &tv); | ^~~~ | | | char * rpld.c:244:50: note: expected 'unsigned char *' but argument is of type 'char *' rpld.c:158:18: warning: unused variable 'h' [-Wunused-variable] 158 | struct llchdr *h = (struct llchdr *) buf; | ^ rpld.c: At top level: rpld.c:19:13: warning: 'rcsid' defined but not used [-Wunused-variable] 19 | static char rcsid[] = "$Id: rpld.c,v 1.35 2001/11/01 15:30:29 root Exp $"; | ^~~~~ protocol.c: In function 'file_data_frame': protocol.c:212:10: warning: 'i' may be used uninitialized [-Wmaybe-uninitialized] 212 | return (i); | ^ protocol.c:169:7: note: 'i' was declared here 169 | int i; | ^ gcc -fPIE -pie -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -c -o util.o util.c gcc -fPIE -pie -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rpl.o rpl.c util.c: In function 'ethtoa': util.c:65:29: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 65 | len += sprintf (ethtoaret + len, "%02x", *(p++)); | ~~~~~~~~~~^~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from project.h:71, from util.c:53: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ util.c:68:31: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 68 | len += sprintf (ethtoaret + len, ":%02x", *(p++)); | ~~~~~~~~~~^~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ util.c: In function 'daemonize': util.c:97:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 97 | exit (1); | ^~~~ util.c:54:1: note: include '' or provide a declaration of 'exit' 53 | #include "project.h" +++ |+#include 54 | util.c:97:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 97 | exit (1); | ^~~~ util.c:97:7: note: include '' or provide a declaration of 'exit' util.c: At top level: util.c:23:13: warning: 'rcsid' defined but not used [-Wunused-variable] 23 | static char rcsid[] = "$Id: util.c,v 1.9 2001/11/01 15:24:26 root Exp $"; | ^~~~~ gcc -fPIE -pie -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -c -o client.o client.c rpl.c: In function 'rpl_token': rpl.c:73:26: warning: implicit declaration of function 'ntohl' [-Wimplicit-function-declaration] 73 | p->themightyzero = ntohl (*(u32 *) pp); | ^~~~~ rpl.c:89:21: warning: implicit declaration of function 'ntohs' [-Wimplicit-function-declaration] 89 | p->framelen = ntohs (*(u16 *) pp); | ^~~~~ rpl.c:66:7: warning: unused variable 'i' [-Wunused-variable] 66 | int i; | ^ rpl.c: In function 'rpl_frag': rpl.c:157:28: warning: too many arguments for format [-Wformat-extra-args] 157 | syslog (LOG_ERR, "Unexpected end of packet", s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rpl.c: In function 'write_short': rpl.c:188:20: warning: implicit declaration of function 'htons' [-Wimplicit-function-declaration] 188 | *((u16 *) ptr) = htons (v); | ^~~~~ rpl.c: In function 'write_long': rpl.c:195:20: warning: implicit declaration of function 'htonl' [-Wimplicit-function-declaration] 195 | *((u32 *) ptr) = htonl (v); | ^~~~~ rpl.c: In function 'send_found_frame': rpl.c:273:66: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] 273 | syslog (LOG_ERR, "FOUND packet: doesn't match RE case %x!=%x", | ~^ | | | unsigned int | %lx rpl.c: In function 'send_file_data_frame': rpl.c:334:70: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] 334 | syslog (LOG_ERR, "FILE.DATA packet: doesn't match RE case %x!=%x", | ~^ | | | unsigned int | %lx rpl.c: At top level: rpl.c:20:13: warning: 'rcsid' defined but not used [-Wunused-variable] 20 | static char rcsid[] = "$Id: rpl.c,v 1.13 2001/11/01 15:23:59 root Exp $"; | ^~~~~ client.c:395:1: warning: return type defaults to 'int' [-Wimplicit-int] 395 | clients_check_status () | ^~~~~~~~~~~~~~~~~~~~ client.c:415:1: warning: return type defaults to 'int' [-Wimplicit-int] 415 | client_dispatch (struct llcdrv *lld) | ^~~~~~~~~~~~~~~ client.c: In function 'cache_locally': client.c:145:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 145 | read (fd, f->data, len); | ^~~~~~~~~~~~~~~~~~~~~~~ client.c: In function 'clients_check_status': client.c:413:1: warning: control reaches end of non-void function [-Wreturn-type] 413 | } | ^ client.c: In function 'client_dispatch': client.c:429:1: warning: control reaches end of non-void function [-Wreturn-type] 429 | } | ^ client.c: At top level: client.c:19:13: warning: 'rcsid' defined but not used [-Wunused-variable] 19 | static char rcsid[] = "$Id: client.c,v 1.34 2001/11/01 15:30:29 root Exp $"; | ^~~~~ gcc -fPIE -pie -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -c -o config.o config.c gcc -fPIE -pie -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -c -o llc-nit.o llc-nit.c config.c: In function 'do_linux_kernel': config.c:141:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 141 | exit (1); | ^~~~ config.c:112:1: note: include '' or provide a declaration of 'exit' 111 | #include "rpld_conf.tab.h" +++ |+#include 112 | config.c:141:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 141 | exit (1); | ^~~~ config.c:141:7: note: include '' or provide a declaration of 'exit' config.c:147:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 147 | exit (1); | ^~~~ config.c:147:7: note: include '' or provide a declaration of 'exit' config.c: In function 'parse_config': config.c:192:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 192 | exit (1); | ^~~~ config.c:192:7: note: include '' or provide a declaration of 'exit' config.c:197:3: warning: implicit declaration of function 'yyparse'; did you mean 'pause'? [-Wimplicit-function-declaration] 197 | yyparse (); | ^~~~~~~ | pause config.c: At top level: config.c:19:13: warning: 'rcsid' defined but not used [-Wunused-variable] 19 | static char rcsid[] = "$Id: config.c,v 1.27 2001/11/01 15:30:29 root Exp $"; | ^~~~~ gcc -fPIE -pie -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -c -o linux-nit.o linux-nit.c lex -orpld_conf.yy.c rpld_conf.lex gcc -fPIE -pie -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rpld_conf.tab.o rpld_conf.tab.c linux-nit.c: In function 'get_hwaddr': linux-nit.c:125:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 125 | exit (-1); | ^~~~ linux-nit.c:85:1: note: include '' or provide a declaration of 'exit' 84 | #include +++ |+#include 85 | linux-nit.c:125:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 125 | exit (-1); | ^~~~ linux-nit.c:125:7: note: include '' or provide a declaration of 'exit' linux-nit.c: In function 'nit_open': linux-nit.c:187:22: warning: implicit declaration of function 'htons' [-Wimplicit-function-declaration] 187 | sll.sll_protocol = htons (ETH_P_802_2); | ^~~~~ linux-nit.c:204:15: warning: pointer targets in passing argument 1 of 'get_hwaddr' differ in signedness [-Wpointer-sign] 204 | get_hwaddr (name, n->mac); | ^~~~ | | | char * linux-nit.c:107:28: note: expected 'unsigned char *' but argument is of type 'char *' 107 | get_hwaddr (unsigned char *name, unsigned char *addr) | ~~~~~~~~~~~~~~~^~~~ linux-nit.c: In function 'nit_send': linux-nit.c:229:16: warning: unused variable 'iov' [-Wunused-variable] 229 | struct iovec iov; | ^~~ linux-nit.c: In function 'nit_recv': linux-nit.c:301:66: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 301 | recvfrom (n->fd, buf, len, 0, (struct sockaddr *) &from, &fromlen); | ^~~~~~~~ | | | int * In file included from /usr/include/sys/socket.h:343, from linux-nit.c:79: /usr/include/bits/socket2.h:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ rpld_conf.y: In function 'process_thing': rpld_conf.y:189:106: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:230:32: note: in expansion of macro 'THROW_ERROR' 230 | } else THROW_ERROR("Unknown top-level parameter block"); | ^~~~~~~~~~~ rpld_conf.y:84:1: note: include '' or provide a declaration of 'exit' 83 | #include "project.h" +++ |+#include 84 | rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:230:32: note: in expansion of macro 'THROW_ERROR' 230 | } else THROW_ERROR("Unknown top-level parameter block"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:230:32: note: in expansion of macro 'THROW_ERROR' 230 | } else THROW_ERROR("Unknown top-level parameter block"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:244:32: note: in expansion of macro 'THROW_ERROR' 244 | } else THROW_ERROR("Only a FILE parameter block can be included in a HOST block"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:244:32: note: in expansion of macro 'THROW_ERROR' 244 | } else THROW_ERROR("Only a FILE parameter block can be included in a HOST block"); | ^~~~~~~~~~~ rpld_conf.y:250:25: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 250 | exit(1); | ^~~~ rpld_conf.y:250:25: note: include '' or provide a declaration of 'exit' rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:263:43: note: in expansion of macro 'THROW_ERROR' 263 | if (!ci.have_mac) THROW_ERROR("Must specify an ethernet (MAC) address for host"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:263:43: note: in expansion of macro 'THROW_ERROR' 263 | if (!ci.have_mac) THROW_ERROR("Must specify an ethernet (MAC) address for host"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:264:53: note: in expansion of macro 'THROW_ERROR' 264 | else if (!ci.have_run_addr) THROW_ERROR("Must specify an initial execute address for host"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:264:53: note: in expansion of macro 'THROW_ERROR' 264 | else if (!ci.have_run_addr) THROW_ERROR("Must specify an initial execute address for host"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:265:50: note: in expansion of macro 'THROW_ERROR' 265 | else if (!ci.have_files) THROW_ERROR("Must specify at least one file to load for host"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:265:50: note: in expansion of macro 'THROW_ERROR' 265 | else if (!ci.have_files) THROW_ERROR("Must specify at least one file to load for host"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:278:45: note: in expansion of macro 'THROW_ERROR' 278 | if (!cfi.have_path) THROW_ERROR("Must specify a path for file"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:278:45: note: in expansion of macro 'THROW_ERROR' 278 | if (!cfi.have_path) THROW_ERROR("Must specify a path for file"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:279:55: note: in expansion of macro 'THROW_ERROR' 279 | else if (!cfi.have_load_addr) THROW_ERROR("Must specify a load address for file"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:279:55: note: in expansion of macro 'THROW_ERROR' 279 | else if (!cfi.have_load_addr) THROW_ERROR("Must specify a load address for file"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:299:25: note: in expansion of macro 'THROW_ERROR' 299 | THROW_ERROR("Unknown directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:299:25: note: in expansion of macro 'THROW_ERROR' 299 | THROW_ERROR("Unknown directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:303:53: note: in expansion of macro 'THROW_ERROR' 303 | if (ci.have_pacing) THROW_ERROR("Directive nospew incompatible with pacing "); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:303:53: note: in expansion of macro 'THROW_ERROR' 303 | if (ci.have_pacing) THROW_ERROR("Directive nospew incompatible with pacing "); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:304:53: note: in expansion of macro 'THROW_ERROR' 304 | if (ci.have_nospew) THROW_ERROR("Repeated directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:304:53: note: in expansion of macro 'THROW_ERROR' 304 | if (ci.have_nospew) THROW_ERROR("Repeated directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:307:32: note: in expansion of macro 'THROW_ERROR' 307 | } else THROW_ERROR("Unknown directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:307:32: note: in expansion of macro 'THROW_ERROR' 307 | } else THROW_ERROR("Unknown directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:310:53: note: in expansion of macro 'THROW_ERROR' 310 | if (!cfi.have_path) THROW_ERROR("A path to a valid kernel must precede linux"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:310:53: note: in expansion of macro 'THROW_ERROR' 310 | if (!cfi.have_path) THROW_ERROR("A path to a valid kernel must precede linux"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:318:25: note: in expansion of macro 'THROW_ERROR' 318 | THROW_ERROR("Unknown directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:318:25: note: in expansion of macro 'THROW_ERROR' 318 | THROW_ERROR("Unknown directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:320:24: note: in expansion of macro 'THROW_ERROR' 320 | } else THROW_ERROR("Unknown directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:320:24: note: in expansion of macro 'THROW_ERROR' 320 | } else THROW_ERROR("Unknown directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:326:25: note: in expansion of macro 'THROW_ERROR' 326 | THROW_ERROR("Unknown directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:326:25: note: in expansion of macro 'THROW_ERROR' 326 | THROW_ERROR("Unknown directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:331:41: note: in expansion of macro 'THROW_ERROR' 331 | THROW_ERROR("Directive must be followed by a (partial or complete) ethernet address"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:331:41: note: in expansion of macro 'THROW_ERROR' 331 | THROW_ERROR("Directive must be followed by a (partial or complete) ethernet address"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:332:55: note: in expansion of macro 'THROW_ERROR' 332 | else if (ci.have_mac) THROW_ERROR("Repeated directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:332:55: note: in expansion of macro 'THROW_ERROR' 332 | else if (ci.have_mac) THROW_ERROR("Repeated directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:347:53: note: in expansion of macro 'THROW_ERROR' 347 | if (type != NUMBER) THROW_ERROR("Directive must be followed by a memory address"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:347:53: note: in expansion of macro 'THROW_ERROR' 347 | if (type != NUMBER) THROW_ERROR("Directive must be followed by a memory address"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:348:63: note: in expansion of macro 'THROW_ERROR' 348 | else if (ci.have_run_addr==2) THROW_ERROR("Repeated directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:348:63: note: in expansion of macro 'THROW_ERROR' 348 | else if (ci.have_run_addr==2) THROW_ERROR("Repeated directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:355:53: note: in expansion of macro 'THROW_ERROR' 355 | if (type != NUMBER) THROW_ERROR("Directive must be followed by an integer "); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:355:53: note: in expansion of macro 'THROW_ERROR' 355 | if (type != NUMBER) THROW_ERROR("Directive must be followed by an integer "); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:356:61: note: in expansion of macro 'THROW_ERROR' 356 | else if (ci.have_blocksize) THROW_ERROR("Repeated directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:356:61: note: in expansion of macro 'THROW_ERROR' 356 | else if (ci.have_blocksize) THROW_ERROR("Repeated directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:363:53: note: in expansion of macro 'THROW_ERROR' 363 | if (type != NUMBER) THROW_ERROR("Directive must be followed by an integer "); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:363:53: note: in expansion of macro 'THROW_ERROR' 363 | if (type != NUMBER) THROW_ERROR("Directive must be followed by an integer "); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:364:61: note: in expansion of macro 'THROW_ERROR' 364 | else if (ci.have_framesize) THROW_ERROR("Repeated directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:364:61: note: in expansion of macro 'THROW_ERROR' 364 | else if (ci.have_framesize) THROW_ERROR("Repeated directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:371:53: note: in expansion of macro 'THROW_ERROR' 371 | if (type != NUMBER) THROW_ERROR("Directive must be followed by an integer "); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:371:53: note: in expansion of macro 'THROW_ERROR' 371 | if (type != NUMBER) THROW_ERROR("Directive must be followed by an integer "); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:372:53: note: in expansion of macro 'THROW_ERROR' 372 | if (ci.have_nospew) THROW_ERROR("Directive pacing incompatible with nospew "); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:372:53: note: in expansion of macro 'THROW_ERROR' 372 | if (ci.have_nospew) THROW_ERROR("Directive pacing incompatible with nospew "); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:373:53: note: in expansion of macro 'THROW_ERROR' 373 | if (ci.have_pacing) THROW_ERROR("Repeated directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:373:53: note: in expansion of macro 'THROW_ERROR' 373 | if (ci.have_pacing) THROW_ERROR("Repeated directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:377:30: note: in expansion of macro 'THROW_ERROR' 377 | else THROW_ERROR("Unknown directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:377:30: note: in expansion of macro 'THROW_ERROR' 377 | else THROW_ERROR("Unknown directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:381:51: note: in expansion of macro 'THROW_ERROR' 381 | if (type != TEXT) THROW_ERROR("Directive must be followed by a filename"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:381:51: note: in expansion of macro 'THROW_ERROR' 381 | if (type != TEXT) THROW_ERROR("Directive must be followed by a filename"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:382:57: note: in expansion of macro 'THROW_ERROR' 382 | else if (cfi.have_path) THROW_ERROR("Repeated directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:382:57: note: in expansion of macro 'THROW_ERROR' 382 | else if (cfi.have_path) THROW_ERROR("Repeated directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:390:53: note: in expansion of macro 'THROW_ERROR' 390 | if (type != NUMBER) THROW_ERROR("Directive must be followed by a memory address"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:390:53: note: in expansion of macro 'THROW_ERROR' 390 | if (type != NUMBER) THROW_ERROR("Directive must be followed by a memory address"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:391:62: note: in expansion of macro 'THROW_ERROR' 391 | else if (cfi.have_load_addr) THROW_ERROR("Repeated directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:391:62: note: in expansion of macro 'THROW_ERROR' 391 | else if (cfi.have_load_addr) THROW_ERROR("Repeated directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:399:53: note: in expansion of macro 'THROW_ERROR' 399 | if (type != NUMBER) THROW_ERROR("Directive must be followed by a memory address"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:399:53: note: in expansion of macro 'THROW_ERROR' 399 | if (type != NUMBER) THROW_ERROR("Directive must be followed by a memory address"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:400:59: note: in expansion of macro 'THROW_ERROR' 400 | else if (cfi.have_offset) THROW_ERROR("Repeated directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:400:59: note: in expansion of macro 'THROW_ERROR' 400 | else if (cfi.have_offset) THROW_ERROR("Repeated directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:408:53: note: in expansion of macro 'THROW_ERROR' 408 | if (type != NUMBER) THROW_ERROR("Directive must be followed by a memory address"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:408:53: note: in expansion of macro 'THROW_ERROR' 408 | if (type != NUMBER) THROW_ERROR("Directive must be followed by a memory address"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:409:59: note: in expansion of macro 'THROW_ERROR' 409 | else if (cfi.have_length) THROW_ERROR("Repeated directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:409:59: note: in expansion of macro 'THROW_ERROR' 409 | else if (cfi.have_length) THROW_ERROR("Repeated directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:415:30: note: in expansion of macro 'THROW_ERROR' 415 | else THROW_ERROR("Unknown directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:415:30: note: in expansion of macro 'THROW_ERROR' 415 | else THROW_ERROR("Unknown directive"); | ^~~~~~~~~~~ rpld_conf.y:189:106: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:419:26: note: in expansion of macro 'THROW_ERROR' 419 | default: THROW_ERROR("Mistake"); | ^~~~~~~~~~~ rpld_conf.y:189:106: note: include '' or provide a declaration of 'exit' 189 | #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) | ^~~~ rpld_conf.y:419:26: note: in expansion of macro 'THROW_ERROR' 419 | default: THROW_ERROR("Mistake"); | ^~~~~~~~~~~ rpld_conf.y:211:9: warning: case value '257' not in enumerated type 'THING' [-Wswitch] 211 | case BLOCK_START: | ^~~~ rpld_conf.y:255:9: warning: case value '258' not in enumerated type 'THING' [-Wswitch] 255 | case BLOCK_END: | ^~~~ rpld_conf.y: At top level: rpld_conf.y:81:13: warning: 'rcsid' defined but not used [-Wunused-variable] 81 | static char rcsid[]="$Id: rpld_conf.y,v 1.8 2001/11/01 15:23:59 root Exp $"; | ^~~~~ gcc -fPIE -pie -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ana.c linux-nit.c -o ana ana.c:71:1: warning: return type defaults to 'int' [-Wimplicit-int] 71 | dump_hex (unsigned char *pp, int pl) | ^~~~~~~~ ana.c:79:1: warning: return type defaults to 'int' [-Wimplicit-int] 79 | dump_hexa (unsigned char *pp, int pl) | ^~~~~~~~~ ana.c:91:1: warning: return type defaults to 'int' [-Wimplicit-int] 91 | ana_token (int s, unsigned char *pp, int pl) | ^~~~~~~~~ ana.c: In function 'ana_token': ana.c:99:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 99 | return; | ^~~~~~ ana.c:91:1: note: declared here 91 | ana_token (int s, unsigned char *pp, int pl) | ^~~~~~~~~ ana.c:103:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 103 | return; | ^~~~~~ ana.c:91:1: note: declared here 91 | ana_token (int s, unsigned char *pp, int pl) | ^~~~~~~~~ ana.c:106:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 106 | return; | ^~~~~~ ana.c:91:1: note: declared here 91 | ana_token (int s, unsigned char *pp, int pl) | ^~~~~~~~~ ana.c:109:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 109 | return; | ^~~~~~ ana.c:91:1: note: declared here 91 | ana_token (int s, unsigned char *pp, int pl) | ^~~~~~~~~ ana.c:112:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 112 | return; | ^~~~~~ ana.c:91:1: note: declared here 91 | ana_token (int s, unsigned char *pp, int pl) | ^~~~~~~~~ ana.c:116:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 116 | return; | ^~~~~~ ana.c:91:1: note: declared here 91 | ana_token (int s, unsigned char *pp, int pl) | ^~~~~~~~~ ana.c:119:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 119 | return; | ^~~~~~ ana.c:91:1: note: declared here 91 | ana_token (int s, unsigned char *pp, int pl) | ^~~~~~~~~ ana.c:122:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 122 | return; | ^~~~~~ ana.c:91:1: note: declared here 91 | ana_token (int s, unsigned char *pp, int pl) | ^~~~~~~~~ ana.c:127:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 127 | return; | ^~~~~~ ana.c:91:1: note: declared here 91 | ana_token (int s, unsigned char *pp, int pl) | ^~~~~~~~~ ana.c:144:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 144 | return; | ^~~~~~ ana.c:91:1: note: declared here 91 | ana_token (int s, unsigned char *pp, int pl) | ^~~~~~~~~ ana.c:93:7: warning: unused variable 'i' [-Wunused-variable] 93 | int i; | ^ ana.c: In function 'ana_frag': ana.c:167:11: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 167 | return; | ^~~~~~ ana.c:155:1: note: declared here 155 | ana_frag (unsigned char *pp, int pl) | ^~~~~~~~ ana.c: In function 'main': ana.c:224:43: warning: implicit declaration of function 'ntohs' [-Wimplicit-function-declaration] 224 | pbuf[1], pbuf[2], plen, ntohs (*(short *) &pbuf[3])); | ^~~~~ ana.c:227:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 227 | pptr = pbuf; | ^ ana.c:232:21: warning: pointer targets in passing argument 1 of 'dump_hex' differ in signedness [-Wpointer-sign] 232 | dump_hex (pptr, plen); | ^~~~ | | | char * ana.c:71:26: note: expected 'unsigned char *' but argument is of type 'char *' 71 | dump_hex (unsigned char *pp, int pl) | ~~~~~~~~~~~~~~~^~ ana.c:236:31: warning: pointer targets in passing argument 1 of 'pull_short' differ in signedness [-Wpointer-sign] 236 | switch (pull_short (pptr)) | ^~~~ | | | char * ana.c:43:28: note: expected 'unsigned char *' but argument is of type 'char *' 43 | pull_short (unsigned char *c) | ~~~~~~~~~~~~~~~^ ana.c:251:49: warning: pointer targets in passing argument 1 of 'pull_short' differ in signedness [-Wpointer-sign] 251 | printf (" 0x%04x ?:", pull_short (pptr)); | ^~~~ | | | char * ana.c:43:28: note: expected 'unsigned char *' but argument is of type 'char *' 43 | pull_short (unsigned char *c) | ~~~~~~~~~~~~~~~^ ana.c:257:25: warning: pointer targets in passing argument 1 of 'ana_frag' differ in signedness [-Wpointer-sign] 257 | s = ana_frag (pptr, plen); | ^~~~ | | | char * ana.c:155:26: note: expected 'unsigned char *' but argument is of type 'char *' 155 | ana_frag (unsigned char *pp, int pl) | ~~~~~~~~~~~~~~~^~ ana.c:264:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 264 | exit (0); | ^~~~ ana.c:36:1: note: include '' or provide a declaration of 'exit' 35 | #include "nit.h" +++ |+#include 36 | ana.c:264:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 264 | exit (0); | ^~~~ ana.c:264:3: note: include '' or provide a declaration of 'exit' ana.c:186:10: warning: variable 's' set but not used [-Wunused-but-set-variable] 186 | int i, s; | ^ ana.c:186:7: warning: unused variable 'i' [-Wunused-variable] 186 | int i, s; | ^ ana.c: In function 'dump_hex': ana.c:77:1: warning: control reaches end of non-void function [-Wreturn-type] 77 | } | ^ ana.c: In function 'dump_hexa': ana.c:89:1: warning: control reaches end of non-void function [-Wreturn-type] 89 | } | ^ ana.c: At top level: ana.c:4:14: warning: 'rcsid' defined but not used [-Wunused-variable] 4 | static char *rcsid = "$Id: ana.c,v 1.5 2000/09/26 03:48:23 root Exp $"; | ^~~~~ cp rpld.conf.man rpld.conf.5 cp rpld.man rpld.8 gcc -fPIE -pie -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rpld_conf.yy.o rpld_conf.yy.c rpld_conf.yy.c:1337:16: warning: 'input' defined but not used [-Wunused-function] 1337 | #else | ^ rpld_conf.yy.c:1294:17: warning: 'yyunput' defined but not used [-Wunused-function] 1294 | | ^ rpld_conf.lex:79:13: warning: 'rcsid' defined but not used [-Wunused-variable] 79 | static char rcsid[]="$Id: rpld_conf.lex,v 1.7 2001/11/01 15:23:59 root Exp $"; | ^~~~~ linux-nit.c: In function 'get_hwaddr': linux-nit.c:125:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 125 | exit (-1); | ^~~~ linux-nit.c:85:1: note: include '' or provide a declaration of 'exit' 84 | #include +++ |+#include 85 | linux-nit.c:125:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 125 | exit (-1); | ^~~~ linux-nit.c:125:7: note: include '' or provide a declaration of 'exit' linux-nit.c: In function 'nit_open': linux-nit.c:187:22: warning: implicit declaration of function 'htons' [-Wimplicit-function-declaration] 187 | sll.sll_protocol = htons (ETH_P_802_2); | ^~~~~ linux-nit.c:204:15: warning: pointer targets in passing argument 1 of 'get_hwaddr' differ in signedness [-Wpointer-sign] 204 | get_hwaddr (name, n->mac); | ^~~~ | | | char * linux-nit.c:107:28: note: expected 'unsigned char *' but argument is of type 'char *' 107 | get_hwaddr (unsigned char *name, unsigned char *addr) | ~~~~~~~~~~~~~~~^~~~ linux-nit.c: In function 'nit_send': linux-nit.c:229:16: warning: unused variable 'iov' [-Wunused-variable] 229 | struct iovec iov; | ^~~ linux-nit.c: In function 'nit_recv': linux-nit.c:301:66: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 301 | recvfrom (n->fd, buf, len, 0, (struct sockaddr *) &from, &fromlen); | ^~~~~~~~ | | | int * In file included from /usr/include/sys/socket.h:343, from linux-nit.c:79: /usr/include/bits/socket2.h:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ gcc -fPIE -pie -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -o rpld protocol.o rpld.o util.o rpl.o client.o config.o llc-nit.o linux-nit.o rpld_conf.yy.o rpld_conf.tab.o Now type make install to install rpld or make nics to assemble the adapter utilities or make realtime to capture and analyse RPL traffic + mv LICENCE LICENSE + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7GxSwH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpld-1.8-0.36.beta1.fc38.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpld-1.8-0.36.beta1.fc38.s390x ++ dirname /builddir/build/BUILDROOT/rpld-1.8-0.36.beta1.fc38.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpld-1.8-0.36.beta1.fc38.s390x + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rpld-1.8 + mkdir -p /builddir/build/BUILDROOT/rpld-1.8-0.36.beta1.fc38.s390x/usr/sbin /builddir/build/BUILDROOT/rpld-1.8-0.36.beta1.fc38.s390x/usr/share/man/man8 /builddir/build/BUILDROOT/rpld-1.8-0.36.beta1.fc38.s390x/usr/share/man/man5 + make install DESTDIR=/builddir/build/BUILDROOT/rpld-1.8-0.36.beta1.fc38.s390x BINMODE=755 MANMODE=644 install -c -m 755 rpld /builddir/build/BUILDROOT/rpld-1.8-0.36.beta1.fc38.s390x/usr/sbin install -c -m 644 rpld.8 /builddir/build/BUILDROOT/rpld-1.8-0.36.beta1.fc38.s390x/usr/share/man/man8/rpld.8 install -c -m 644 rpld.conf.5 /builddir/build/BUILDROOT/rpld-1.8-0.36.beta1.fc38.s390x/usr/share/man/man5/rpld.conf.5 you can find a sample configuration file in this directory called rpld.conf.sample your config file should be placed in /etc/rpld.conf + find /builddir/build/BUILDROOT/rpld-1.8-0.36.beta1.fc38.s390x -type f -name '*.la' -exec rm -f '{}' ';' + install -d /builddir/build/BUILDROOT/rpld-1.8-0.36.beta1.fc38.s390x/etc/sysconfig + install -m 0644 /builddir/build/SOURCES/rpld.sysconfig /builddir/build/BUILDROOT/rpld-1.8-0.36.beta1.fc38.s390x/etc/sysconfig/rpld + install -d /builddir/build/BUILDROOT/rpld-1.8-0.36.beta1.fc38.s390x/usr/lib/systemd/system + install -m 0644 /builddir/build/SOURCES/rpld.service /builddir/build/BUILDROOT/rpld-1.8-0.36.beta1.fc38.s390x/usr/lib/systemd/system/rpld.service + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.8-0.36.beta1.fc38 --unique-debug-suffix -1.8-0.36.beta1.fc38.s390x --unique-debug-src-base rpld-1.8-0.36.beta1.fc38.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rpld-1.8 extracting debug info from /builddir/build/BUILDROOT/rpld-1.8-0.36.beta1.fc38.s390x/usr/sbin/rpld original debug info size: 148kB, size after compression: 136kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 342 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: rpld-1.8-0.36.beta1.fc38.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qBn0Mk + umask 022 + cd /builddir/build/BUILD + cd rpld-1.8 + DOCDIR=/builddir/build/BUILDROOT/rpld-1.8-0.36.beta1.fc38.s390x/usr/share/doc/rpld + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rpld-1.8-0.36.beta1.fc38.s390x/usr/share/doc/rpld + cp -pr README /builddir/build/BUILDROOT/rpld-1.8-0.36.beta1.fc38.s390x/usr/share/doc/rpld + cp -pr LICENSE /builddir/build/BUILDROOT/rpld-1.8-0.36.beta1.fc38.s390x/usr/share/doc/rpld + cp -pr INSTALL /builddir/build/BUILDROOT/rpld-1.8-0.36.beta1.fc38.s390x/usr/share/doc/rpld + cp -pr rpld.conf.sample /builddir/build/BUILDROOT/rpld-1.8-0.36.beta1.fc38.s390x/usr/share/doc/rpld + RPM_EC=0 ++ jobs -p + exit 0 Provides: rpld = 1.8-0.36.beta1.fc38 rpld(s390-64) = 1.8-0.36.beta1.fc38 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) rtld(GNU_HASH) Processing files: rpld-debugsource-1.8-0.36.beta1.fc38.s390x Provides: rpld-debugsource = 1.8-0.36.beta1.fc38 rpld-debugsource(s390-64) = 1.8-0.36.beta1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rpld-debuginfo-1.8-0.36.beta1.fc38.s390x Provides: debuginfo(build-id) = c4f107e936335a91af43d660e6256d57f6726e8b rpld-debuginfo = 1.8-0.36.beta1.fc38 rpld-debuginfo(s390-64) = 1.8-0.36.beta1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rpld-debugsource(s390-64) = 1.8-0.36.beta1.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rpld-1.8-0.36.beta1.fc38.s390x Wrote: /builddir/build/RPMS/rpld-debuginfo-1.8-0.36.beta1.fc38.s390x.rpm Wrote: /builddir/build/RPMS/rpld-debugsource-1.8-0.36.beta1.fc38.s390x.rpm Wrote: /builddir/build/RPMS/rpld-1.8-0.36.beta1.fc38.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YVsHey + umask 022 + cd /builddir/build/BUILD + cd rpld-1.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rpld-1.8-0.36.beta1.fc38.s390x + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.coXhT9 + umask 022 + cd /builddir/build/BUILD + rm -rf rpld-1.8 rpld-1.8.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0