Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rpld.spec'], chrootPath='/var/lib/mock/f29-build-26174-13591/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/rpld-1.8-0.27.beta1.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rpld.spec'], chrootPath='/var/lib/mock/f29-build-26174-13591/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yApVNf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpld-1.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/rpld-1.8-beta-1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rpld-1.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (rpld_1.8beta1-6.diff.gz):' Patch #0 (rpld_1.8beta1-6.diff.gz): + /usr/bin/gzip -dc /builddir/build/SOURCES/rpld_1.8beta1-6.diff.gz + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 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 + echo 'Patch #1 (rpld-1.8-makefile.patch):' Patch #1 (rpld-1.8-makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.esyKpv + umask 022 + cd /builddir/build/BUILD + cd rpld-1.8 + make 'OPT=-fPIE -pie -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' -j4 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' -j4 gcc -fPIE -pie -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o protocol.o protocol.c gcc -fPIE -pie -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rpld.o rpld.c gcc -fPIE -pie -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o util.o util.c gcc -fPIE -pie -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rpl.o rpl.c BUILDSTDERR: util.c: In function 'ethtoa': BUILDSTDERR: util.c:65:29: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: len += sprintf (ethtoaret + len, "%02x", *(p++)); BUILDSTDERR: ~~~~~~~~~~^~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from project.h:71, BUILDSTDERR: from util.c:53: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: ^~~~~ BUILDSTDERR: util.c:68:31: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: len += sprintf (ethtoaret + len, ":%02x", *(p++)); BUILDSTDERR: ~~~~~~~~~~^~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from project.h:71, BUILDSTDERR: from util.c:53: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: ^~~~~ BUILDSTDERR: util.c: In function 'daemonize': BUILDSTDERR: util.c:97:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] BUILDSTDERR: exit (1); BUILDSTDERR: ^~~~ BUILDSTDERR: util.c:97:7: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: util.c:97:7: note: include '' or provide a declaration of 'exit' BUILDSTDERR: util.c:54:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: util.c:97:7: BUILDSTDERR: exit (1); BUILDSTDERR: ^~~~ BUILDSTDERR: At top level: BUILDSTDERR: util.c:23:13: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char rcsid[] = "$Id: util.c,v 1.9 2001/11/01 15:24:26 root Exp $"; BUILDSTDERR: ^~~~~ BUILDSTDERR: protocol.c:166:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: file_data_frame (struct llcdrv *lld, struct client *c) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: protocol.c: In function 'file_data_frame': BUILDSTDERR: protocol.c:174:5: warning: 'return' with no value, in function returning non-void BUILDSTDERR: return; BUILDSTDERR: ^~~~~~ BUILDSTDERR: rpld.c: In function 'usage': BUILDSTDERR: protocol.c:166:1: note: declared here BUILDSTDERR: file_data_frame (struct llcdrv *lld, struct client *c) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: rpld.c:149:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] BUILDSTDERR: exit (1); BUILDSTDERR: ^~~~ BUILDSTDERR: rpld.c:149:3: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: rpld.c:149:3: note: include '' or provide a declaration of 'exit' BUILDSTDERR: rpld.c:116:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: rpld.c:149:3: BUILDSTDERR: exit (1); BUILDSTDERR: ^~~~ BUILDSTDERR: protocol.c:171:7: warning: unused variable 'addr' [-Wunused-variable] BUILDSTDERR: u32 addr = 0x10000; BUILDSTDERR: ^~~~ BUILDSTDERR: protocol.c: In function 'send_file_frame': BUILDSTDERR: protocol.c:219:21: warning: unused variable 'out' [-Wunused-variable] BUILDSTDERR: struct rpl_packet out; BUILDSTDERR: ^~~ BUILDSTDERR: protocol.c: In function 'rpl_packet_recvd_callback': BUILDSTDERR: protocol.c:264:62: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] BUILDSTDERR: syslog (LOG_ERR, "Incomplete FIND frame 0x%x vs 0x%x\n", BUILDSTDERR: ~^ BUILDSTDERR: %lx BUILDSTDERR: rpld.c: In function 'main': BUILDSTDERR: protocol.c:277:66: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] BUILDSTDERR: "Incomplete SEND.FILE.REQUEST frame 0x%x vs 0x%x\n", BUILDSTDERR: ~^ BUILDSTDERR: %lx BUILDSTDERR: rpld.c:185:27: warning: implicit declaration of function 'strtol'; did you mean 'strtok'? [-Wimplicit-function-declaration] BUILDSTDERR: rpl_sap = strtol (optarg + 2, NULL, 16); BUILDSTDERR: ^~~~~~ BUILDSTDERR: strtok BUILDSTDERR: rpld.c:244:50: warning: pointer targets in passing argument 4 of 'lld->recv' differ in signedness [-Wpointer-sign] BUILDSTDERR: len = lld->recv (lld, buf, sizeof (buf), smac, NULL, &tv); BUILDSTDERR: ^~~~ BUILDSTDERR: rpld.c:244:50: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: rpld.c:158:18: warning: unused variable 'h' [-Wunused-variable] BUILDSTDERR: struct llchdr *h = (struct llchdr *) buf; BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: protocol.c:19:13: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char rcsid[] = BUILDSTDERR: ^~~~~ BUILDSTDERR: At top level: BUILDSTDERR: rpld.c:19:13: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char rcsid[] = "$Id: rpld.c,v 1.35 2001/11/01 15:30:29 root Exp $"; BUILDSTDERR: ^~~~~ BUILDSTDERR: rpl.c: In function 'rpl_token': BUILDSTDERR: rpl.c:73:26: warning: implicit declaration of function 'ntohl' [-Wimplicit-function-declaration] BUILDSTDERR: p->themightyzero = ntohl (*(u32 *) pp); BUILDSTDERR: ^~~~~ BUILDSTDERR: rpl.c:89:21: warning: implicit declaration of function 'ntohs' [-Wimplicit-function-declaration] BUILDSTDERR: p->framelen = ntohs (*(u16 *) pp); BUILDSTDERR: ^~~~~ BUILDSTDERR: rpl.c:66:7: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i; BUILDSTDERR: ^ BUILDSTDERR: rpl.c: In function 'rpl_frag': BUILDSTDERR: rpl.c:157:28: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: syslog (LOG_ERR, "Unexpected end of packet", s); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rpl.c: In function 'write_short': BUILDSTDERR: rpl.c:188:20: warning: implicit declaration of function 'htons' [-Wimplicit-function-declaration] BUILDSTDERR: *((u16 *) ptr) = htons (v); BUILDSTDERR: ^~~~~ BUILDSTDERR: rpl.c: In function 'write_long': BUILDSTDERR: rpl.c:195:20: warning: implicit declaration of function 'htonl' [-Wimplicit-function-declaration] BUILDSTDERR: *((u32 *) ptr) = htonl (v); BUILDSTDERR: ^~~~~ BUILDSTDERR: rpl.c: In function 'send_found_frame': BUILDSTDERR: rpl.c:273:66: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] BUILDSTDERR: syslog (LOG_ERR, "FOUND packet: doesn't match RE case %x!=%x", BUILDSTDERR: ~^ BUILDSTDERR: %lx BUILDSTDERR: rpl.c: In function 'send_file_data_frame': BUILDSTDERR: rpl.c:334:70: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] BUILDSTDERR: syslog (LOG_ERR, "FILE.DATA packet: doesn't match RE case %x!=%x", BUILDSTDERR: ~^ BUILDSTDERR: %lx gcc -fPIE -pie -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o client.o client.c BUILDSTDERR: At top level: BUILDSTDERR: rpl.c:20:13: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char rcsid[] = "$Id: rpl.c,v 1.13 2001/11/01 15:23:59 root Exp $"; BUILDSTDERR: ^~~~~ BUILDSTDERR: protocol.c: In function 'file_data_frame': BUILDSTDERR: protocol.c:212:10: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: return (i); BUILDSTDERR: ^ gcc -fPIE -pie -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o config.o config.c BUILDSTDERR: client.c:395:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: clients_check_status () BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: client.c:415:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: client_dispatch (struct llcdrv *lld) BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: client.c: In function 'cache_locally': BUILDSTDERR: client.c:145:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (fd, f->data, len); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ gcc -fPIE -pie -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o llc-nit.o llc-nit.c BUILDSTDERR: client.c: In function 'clients_check_status': BUILDSTDERR: client.c:413:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: client.c: In function 'client_dispatch': BUILDSTDERR: client.c:429:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: client.c:19:13: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char rcsid[] = "$Id: client.c,v 1.34 2001/11/01 15:30:29 root Exp $"; BUILDSTDERR: ^~~~~ BUILDSTDERR: config.c: In function 'do_linux_kernel': BUILDSTDERR: config.c:141:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] BUILDSTDERR: exit (1); BUILDSTDERR: ^~~~ BUILDSTDERR: config.c:141:7: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: config.c:141:7: note: include '' or provide a declaration of 'exit' BUILDSTDERR: config.c:112:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: config.c:141:7: BUILDSTDERR: exit (1); BUILDSTDERR: ^~~~ BUILDSTDERR: config.c:147:7: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: exit (1); BUILDSTDERR: ^~~~ BUILDSTDERR: config.c:147:7: note: include '' or provide a declaration of 'exit' BUILDSTDERR: config.c: In function 'parse_config': BUILDSTDERR: config.c:192:7: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: exit (1); BUILDSTDERR: ^~~~ BUILDSTDERR: config.c:192:7: note: include '' or provide a declaration of 'exit' BUILDSTDERR: config.c:197:3: warning: implicit declaration of function 'yyparse'; did you mean 'pause'? [-Wimplicit-function-declaration] BUILDSTDERR: yyparse (); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: pause BUILDSTDERR: At top level: BUILDSTDERR: config.c:19:13: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char rcsid[] = "$Id: config.c,v 1.27 2001/11/01 15:30:29 root Exp $"; BUILDSTDERR: ^~~~~ gcc -fPIE -pie -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rpld_conf.tab.o rpld_conf.tab.c gcc -fPIE -pie -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection ana.c linux-nit.c -o ana cp rpld.conf.man rpld.conf.5 cp rpld.man rpld.8 gcc -fPIE -pie -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rpld_conf.yy.o rpld_conf.yy.c BUILDSTDERR: linux-nit.c: In function 'get_hwaddr': BUILDSTDERR: linux-nit.c:125:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] BUILDSTDERR: exit (-1); BUILDSTDERR: ^~~~ BUILDSTDERR: linux-nit.c:125:7: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: linux-nit.c:125:7: note: include '' or provide a declaration of 'exit' BUILDSTDERR: linux-nit.c:85:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: linux-nit.c:125:7: BUILDSTDERR: exit (-1); BUILDSTDERR: ^~~~ BUILDSTDERR: linux-nit.c: In function 'nit_open': BUILDSTDERR: linux-nit.c:187:22: warning: implicit declaration of function 'htons' [-Wimplicit-function-declaration] BUILDSTDERR: sll.sll_protocol = htons (ETH_P_802_2); BUILDSTDERR: ^~~~~ BUILDSTDERR: linux-nit.c:204:15: warning: pointer targets in passing argument 1 of 'get_hwaddr' differ in signedness [-Wpointer-sign] BUILDSTDERR: get_hwaddr (name, n->mac); BUILDSTDERR: ^~~~ BUILDSTDERR: linux-nit.c:107:1: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: get_hwaddr (unsigned char *name, unsigned char *addr) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: linux-nit.c: In function 'nit_send': BUILDSTDERR: linux-nit.c:229:16: warning: unused variable 'iov' [-Wunused-variable] BUILDSTDERR: struct iovec iov; BUILDSTDERR: ^~~ BUILDSTDERR: linux-nit.c: In function 'nit_recv': BUILDSTDERR: linux-nit.c:301:66: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] BUILDSTDERR: recvfrom (n->fd, buf, len, 0, (struct sockaddr *) &from, &fromlen); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/socket.h:269, BUILDSTDERR: from linux-nit.c:79: BUILDSTDERR: /usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: ana.c:71:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: dump_hex (unsigned char *pp, int pl) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: ana.c:79:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: dump_hexa (unsigned char *pp, int pl) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ana.c:91:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: ana_token (int s, unsigned char *pp, int pl) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ana.c: In function 'ana_token': BUILDSTDERR: ana.c:99:7: warning: 'return' with no value, in function returning non-void BUILDSTDERR: return; BUILDSTDERR: ^~~~~~ BUILDSTDERR: ana.c:91:1: note: declared here BUILDSTDERR: ana_token (int s, unsigned char *pp, int pl) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ana.c:103:7: warning: 'return' with no value, in function returning non-void BUILDSTDERR: return; BUILDSTDERR: ^~~~~~ BUILDSTDERR: ana.c:91:1: note: declared here BUILDSTDERR: ana_token (int s, unsigned char *pp, int pl) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ana.c:106:7: warning: 'return' with no value, in function returning non-void BUILDSTDERR: return; BUILDSTDERR: ^~~~~~ BUILDSTDERR: ana.c:91:1: note: declared here BUILDSTDERR: ana_token (int s, unsigned char *pp, int pl) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ana.c:109:7: warning: 'return' with no value, in function returning non-void BUILDSTDERR: return; BUILDSTDERR: ^~~~~~ BUILDSTDERR: ana.c:91:1: note: declared here BUILDSTDERR: ana_token (int s, unsigned char *pp, int pl) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ana.c:112:7: warning: 'return' with no value, in function returning non-void BUILDSTDERR: return; BUILDSTDERR: ^~~~~~ BUILDSTDERR: ana.c:91:1: note: declared here BUILDSTDERR: ana_token (int s, unsigned char *pp, int pl) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ana.c:116:7: warning: 'return' with no value, in function returning non-void BUILDSTDERR: return; BUILDSTDERR: ^~~~~~ BUILDSTDERR: ana.c:91:1: note: declared here BUILDSTDERR: ana_token (int s, unsigned char *pp, int pl) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ana.c:119:7: warning: 'return' with no value, in function returning non-void BUILDSTDERR: return; BUILDSTDERR: ^~~~~~ BUILDSTDERR: ana.c:91:1: note: declared here BUILDSTDERR: ana_token (int s, unsigned char *pp, int pl) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ana.c:122:7: warning: 'return' with no value, in function returning non-void BUILDSTDERR: return; BUILDSTDERR: ^~~~~~ BUILDSTDERR: ana.c:91:1: note: declared here BUILDSTDERR: ana_token (int s, unsigned char *pp, int pl) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ana.c:127:7: warning: 'return' with no value, in function returning non-void BUILDSTDERR: return; BUILDSTDERR: ^~~~~~ BUILDSTDERR: ana.c:91:1: note: declared here BUILDSTDERR: ana_token (int s, unsigned char *pp, int pl) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ana.c:144:7: warning: 'return' with no value, in function returning non-void BUILDSTDERR: return; BUILDSTDERR: ^~~~~~ BUILDSTDERR: ana.c:91:1: note: declared here BUILDSTDERR: ana_token (int s, unsigned char *pp, int pl) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ana.c:93:7: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i; BUILDSTDERR: ^ BUILDSTDERR: ana.c: In function 'ana_frag': BUILDSTDERR: ana.c:167:11: warning: 'return' with no value, in function returning non-void BUILDSTDERR: return; BUILDSTDERR: ^~~~~~ BUILDSTDERR: ana.c:155:1: note: declared here BUILDSTDERR: ana_frag (unsigned char *pp, int pl) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: ana.c: In function 'main': BUILDSTDERR: ana.c:224:43: warning: implicit declaration of function 'ntohs' [-Wimplicit-function-declaration] BUILDSTDERR: pbuf[1], pbuf[2], plen, ntohs (*(short *) &pbuf[3])); BUILDSTDERR: ^~~~~ BUILDSTDERR: ana.c:227:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: pptr = pbuf; BUILDSTDERR: ^ BUILDSTDERR: ana.c:232:21: warning: pointer targets in passing argument 1 of 'dump_hex' differ in signedness [-Wpointer-sign] BUILDSTDERR: dump_hex (pptr, plen); BUILDSTDERR: ^~~~ BUILDSTDERR: ana.c:71:1: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: dump_hex (unsigned char *pp, int pl) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: ana.c:236:31: warning: pointer targets in passing argument 1 of 'pull_short' differ in signedness [-Wpointer-sign] BUILDSTDERR: switch (pull_short (pptr)) BUILDSTDERR: ^~~~ BUILDSTDERR: ana.c:43:1: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: pull_short (unsigned char *c) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ana.c:251:49: warning: pointer targets in passing argument 1 of 'pull_short' differ in signedness [-Wpointer-sign] BUILDSTDERR: printf (" 0x%04x ?:", pull_short (pptr)); BUILDSTDERR: ^~~~ BUILDSTDERR: ana.c:43:1: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: pull_short (unsigned char *c) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: ana.c:257:25: warning: pointer targets in passing argument 1 of 'ana_frag' differ in signedness [-Wpointer-sign] BUILDSTDERR: s = ana_frag (pptr, plen); BUILDSTDERR: ^~~~ BUILDSTDERR: ana.c:155:1: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: ana_frag (unsigned char *pp, int pl) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: ana.c:264:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] BUILDSTDERR: exit (0); BUILDSTDERR: ^~~~ BUILDSTDERR: ana.c:264:3: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: ana.c:264:3: note: include '' or provide a declaration of 'exit' BUILDSTDERR: ana.c:36:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: ana.c:264:3: BUILDSTDERR: exit (0); BUILDSTDERR: ^~~~ BUILDSTDERR: ana.c:186:10: warning: variable 's' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i, s; BUILDSTDERR: ^ BUILDSTDERR: ana.c:186:7: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i, s; BUILDSTDERR: ^ BUILDSTDERR: ana.c: In function 'dump_hex': BUILDSTDERR: ana.c:77:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: ana.c: In function 'dump_hexa': BUILDSTDERR: ana.c:89:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: ana.c:4:14: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char *rcsid = "$Id: ana.c,v 1.5 2000/09/26 03:48:23 root Exp $"; BUILDSTDERR: ^~~~~ BUILDSTDERR: rpld_conf.y: In function 'process_thing': BUILDSTDERR: rpld_conf.y:189:105: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:230:11: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: } else THROW_ERROR("Unknown top-level parameter block"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:230:11: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: } else THROW_ERROR("Unknown top-level parameter block"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: rpld_conf.y:134:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: rpld_conf.y:189:105: BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:230:11: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: } else THROW_ERROR("Unknown top-level parameter block"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:244:11: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: } else THROW_ERROR("Only a FILE parameter block can be included in a HOST block"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:244:11: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: } else THROW_ERROR("Only a FILE parameter block can be included in a HOST block"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:250:4: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: exit(1); BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:250:4: note: include '' or provide a declaration of 'exit' BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:263:22: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (!ci.have_mac) THROW_ERROR("Must specify an ethernet (MAC) address for host"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:263:22: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (!ci.have_mac) THROW_ERROR("Must specify an ethernet (MAC) address for host"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:264:32: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else if (!ci.have_run_addr) THROW_ERROR("Must specify an initial execute address for host"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:264:32: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else if (!ci.have_run_addr) THROW_ERROR("Must specify an initial execute address for host"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:265:29: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else if (!ci.have_files) THROW_ERROR("Must specify at least one file to load for host"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:265:29: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else if (!ci.have_files) THROW_ERROR("Must specify at least one file to load for host"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:278:24: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (!cfi.have_path) THROW_ERROR("Must specify a path for file"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:278:24: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (!cfi.have_path) THROW_ERROR("Must specify a path for file"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:279:34: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else if (!cfi.have_load_addr) THROW_ERROR("Must specify a load address for file"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:279:34: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else if (!cfi.have_load_addr) THROW_ERROR("Must specify a load address for file"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:299:4: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: THROW_ERROR("Unknown directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:299:4: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: THROW_ERROR("Unknown directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:303:25: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (ci.have_pacing) THROW_ERROR("Directive nospew incompatible with pacing "); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:303:25: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (ci.have_pacing) THROW_ERROR("Directive nospew incompatible with pacing "); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:304:25: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (ci.have_nospew) THROW_ERROR("Repeated directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:304:25: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (ci.have_nospew) THROW_ERROR("Repeated directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:307:11: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: } else THROW_ERROR("Unknown directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:307:11: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: } else THROW_ERROR("Unknown directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:310:25: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (!cfi.have_path) THROW_ERROR("A path to a valid kernel must precede linux"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:310:25: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (!cfi.have_path) THROW_ERROR("A path to a valid kernel must precede linux"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:318:4: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: THROW_ERROR("Unknown directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:318:4: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: THROW_ERROR("Unknown directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:320:10: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: } else THROW_ERROR("Unknown directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:320:10: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: } else THROW_ERROR("Unknown directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:326:4: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: THROW_ERROR("Unknown directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:326:4: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: THROW_ERROR("Unknown directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:331:6: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: THROW_ERROR("Directive must be followed by a (partial or complete) ethernet address"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:331:6: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: THROW_ERROR("Directive must be followed by a (partial or complete) ethernet address"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:332:27: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else if (ci.have_mac) THROW_ERROR("Repeated directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:332:27: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else if (ci.have_mac) THROW_ERROR("Repeated directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:347:25: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (type != NUMBER) THROW_ERROR("Directive must be followed by a memory address"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:347:25: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (type != NUMBER) THROW_ERROR("Directive must be followed by a memory address"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:348:35: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else if (ci.have_run_addr==2) THROW_ERROR("Repeated directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:348:35: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else if (ci.have_run_addr==2) THROW_ERROR("Repeated directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:355:25: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (type != NUMBER) THROW_ERROR("Directive must be followed by an integer "); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:355:25: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (type != NUMBER) THROW_ERROR("Directive must be followed by an integer "); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:356:33: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else if (ci.have_blocksize) THROW_ERROR("Repeated directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:356:33: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else if (ci.have_blocksize) THROW_ERROR("Repeated directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:363:25: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (type != NUMBER) THROW_ERROR("Directive must be followed by an integer "); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:363:25: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (type != NUMBER) THROW_ERROR("Directive must be followed by an integer "); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:364:33: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else if (ci.have_framesize) THROW_ERROR("Repeated directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:364:33: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else if (ci.have_framesize) THROW_ERROR("Repeated directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:371:25: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (type != NUMBER) THROW_ERROR("Directive must be followed by an integer "); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:371:25: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (type != NUMBER) THROW_ERROR("Directive must be followed by an integer "); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:372:25: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (ci.have_nospew) THROW_ERROR("Directive pacing incompatible with nospew "); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:372:25: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (ci.have_nospew) THROW_ERROR("Directive pacing incompatible with nospew "); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:373:25: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (ci.have_pacing) THROW_ERROR("Repeated directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:373:25: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (ci.have_pacing) THROW_ERROR("Repeated directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:377:9: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else THROW_ERROR("Unknown directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:377:9: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else THROW_ERROR("Unknown directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:381:23: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (type != TEXT) THROW_ERROR("Directive must be followed by a filename"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:381:23: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (type != TEXT) THROW_ERROR("Directive must be followed by a filename"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:382:29: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else if (cfi.have_path) THROW_ERROR("Repeated directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:382:29: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else if (cfi.have_path) THROW_ERROR("Repeated directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:390:25: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (type != NUMBER) THROW_ERROR("Directive must be followed by a memory address"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:390:25: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (type != NUMBER) THROW_ERROR("Directive must be followed by a memory address"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:391:34: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else if (cfi.have_load_addr) THROW_ERROR("Repeated directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:391:34: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else if (cfi.have_load_addr) THROW_ERROR("Repeated directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:399:25: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (type != NUMBER) THROW_ERROR("Directive must be followed by a memory address"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:399:25: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (type != NUMBER) THROW_ERROR("Directive must be followed by a memory address"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:400:31: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else if (cfi.have_offset) THROW_ERROR("Repeated directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:400:31: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else if (cfi.have_offset) THROW_ERROR("Repeated directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:408:25: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (type != NUMBER) THROW_ERROR("Directive must be followed by a memory address"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:408:25: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: if (type != NUMBER) THROW_ERROR("Directive must be followed by a memory address"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:409:31: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else if (cfi.have_length) THROW_ERROR("Repeated directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:409:31: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else if (cfi.have_length) THROW_ERROR("Repeated directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:415:9: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else THROW_ERROR("Unknown directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:415:9: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: else THROW_ERROR("Unknown directive"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:419:12: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: default: THROW_ERROR("Mistake"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: #define THROW_ERROR(a) do { fprintf(stderr, "rpld: config line %d: %s near `%s'\n", lineno, (a), name); exit(1); } while(0) BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:419:12: note: in expansion of macro 'THROW_ERROR' BUILDSTDERR: default: THROW_ERROR("Mistake"); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:211:2: warning: case value '257' not in enumerated type 'THING' {aka 'enum '} [-Wswitch] BUILDSTDERR: case BLOCK_START: BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.y:255:2: warning: case value '258' not in enumerated type 'THING' {aka 'enum '} [-Wswitch] BUILDSTDERR: case BLOCK_END: BUILDSTDERR: ^~~~ BUILDSTDERR: rpld_conf.yy.c:1343:16: warning: 'input' defined but not used [-Wunused-function] BUILDSTDERR: static int input (void) BUILDSTDERR: ^~~~~ BUILDSTDERR: rpld_conf.yy.c:1300:17: warning: 'yyunput' defined but not used [-Wunused-function] BUILDSTDERR: static void yyunput (int c, char * yy_bp ) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: rpld_conf.lex:79:13: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char rcsid[]="$Id: rpld_conf.lex,v 1.7 2001/11/01 15:23:59 root Exp $"; BUILDSTDERR: ^~~~~ BUILDSTDERR: rpld_conf.tab.c: In function 'yyparse': BUILDSTDERR: rpld_conf.tab.c:71:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] BUILDSTDERR: # define YYLEX yylex() BUILDSTDERR: ^~~~~ BUILDSTDERR: rpld_conf.tab.c:627:18: note: in expansion of macro 'YYLEX' BUILDSTDERR: yychar = YYLEX; BUILDSTDERR: ^~~~~ BUILDSTDERR: At top level: BUILDSTDERR: rpld_conf.y:81:13: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char rcsid[]="$Id: rpld_conf.y,v 1.8 2001/11/01 15:23:59 root Exp $"; BUILDSTDERR: ^~~~~ BUILDSTDERR: linux-nit.c: In function 'get_hwaddr': BUILDSTDERR: linux-nit.c:125:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] BUILDSTDERR: exit (-1); BUILDSTDERR: ^~~~ BUILDSTDERR: linux-nit.c:125:7: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: linux-nit.c:125:7: note: include '' or provide a declaration of 'exit' BUILDSTDERR: linux-nit.c:85:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: linux-nit.c:125:7: BUILDSTDERR: exit (-1); BUILDSTDERR: ^~~~ BUILDSTDERR: linux-nit.c: In function 'nit_open': BUILDSTDERR: linux-nit.c:187:22: warning: implicit declaration of function 'htons' [-Wimplicit-function-declaration] BUILDSTDERR: sll.sll_protocol = htons (ETH_P_802_2); BUILDSTDERR: ^~~~~ BUILDSTDERR: linux-nit.c:204:15: warning: pointer targets in passing argument 1 of 'get_hwaddr' differ in signedness [-Wpointer-sign] BUILDSTDERR: get_hwaddr (name, n->mac); BUILDSTDERR: ^~~~ BUILDSTDERR: linux-nit.c:107:1: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: get_hwaddr (unsigned char *name, unsigned char *addr) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: linux-nit.c: In function 'nit_send': BUILDSTDERR: linux-nit.c:229:16: warning: unused variable 'iov' [-Wunused-variable] BUILDSTDERR: struct iovec iov; BUILDSTDERR: ^~~ BUILDSTDERR: linux-nit.c: In function 'nit_recv': BUILDSTDERR: linux-nit.c:301:66: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] BUILDSTDERR: recvfrom (n->fd, buf, len, 0, (struct sockaddr *) &from, &fromlen); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/socket.h:269, BUILDSTDERR: from linux-nit.c:79: BUILDSTDERR: /usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, BUILDSTDERR: ^~~~~~~~ gcc -fPIE -pie -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.q2svDi + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64 + cd rpld-1.8 + mkdir -p /builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64/usr/sbin /builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64/usr/share/man/man8 /builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64/usr/share/man/man5 + make install DESTDIR=/builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64 BINMODE=755 MANMODE=644 install -c -m 755 rpld /builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64/usr/sbin install -c -m 644 rpld.8 /builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64/usr/share/man/man8/rpld.8 install -c -m 644 rpld.conf.5 /builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64/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.27.beta1.fc29.riscv64 -type f -name '*.la' -exec rm -f '{}' ';' + install -d /builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64/etc/sysconfig + install -m 0644 /builddir/build/SOURCES/rpld.sysconfig /builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64/etc/sysconfig/rpld + install -d /builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64/usr/lib/systemd/system + install -m 0644 /builddir/build/SOURCES/rpld.service /builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64/usr/lib/systemd/system/rpld.service + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.8-0.27.beta1.fc29 --unique-debug-suffix -1.8-0.27.beta1.fc29.riscv64 --unique-debug-src-base rpld-1.8-0.27.beta1.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rpld-1.8 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64/usr/sbin/rpld extracting debug info from /builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64/usr/sbin/rpld /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 285 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: rpld-1.8-0.27.beta1.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.arzfIk + umask 022 + cd /builddir/build/BUILD + cd rpld-1.8 + DOCDIR=/builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64/usr/share/doc/rpld + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64/usr/share/doc/rpld + cp -pr README /builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64/usr/share/doc/rpld + cp -pr LICENSE /builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64/usr/share/doc/rpld + cp -pr INSTALL /builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64/usr/share/doc/rpld + cp -pr rpld.conf.sample /builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64/usr/share/doc/rpld + exit 0 Provides: rpld = 1.8-0.27.beta1.fc29 rpld(riscv-64) = 1.8-0.27.beta1.fc29 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: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: rpld-debugsource-1.8-0.27.beta1.fc29.riscv64 Provides: rpld-debugsource = 1.8-0.27.beta1.fc29 rpld-debugsource(riscv-64) = 1.8-0.27.beta1.fc29 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.27.beta1.fc29.riscv64 Provides: debuginfo(build-id) = d51fe85d947d13756f9c2e66b3705d9a7c39ee44 rpld-debuginfo = 1.8-0.27.beta1.fc29 rpld-debuginfo(riscv-64) = 1.8-0.27.beta1.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rpld-debugsource(riscv-64) = 1.8-0.27.beta1.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64 Wrote: /builddir/build/RPMS/rpld-1.8-0.27.beta1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/rpld-debugsource-1.8-0.27.beta1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/rpld-debuginfo-1.8-0.27.beta1.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8xdAzS + umask 022 + cd /builddir/build/BUILD + cd rpld-1.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rpld-1.8-0.27.beta1.fc29.riscv64 + exit 0 Child return code was: 0