Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rpld.spec'], chrootPath='/var/lib/mock/f31-build-86160-31646/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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 setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/rpld-1.8-0.29.beta1.fc31.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/f31-build-86160-31646/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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 setting SOURCE_DATE_EPOCH=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dZEKnV + 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):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + /usr/bin/gzip -dc /builddir/build/SOURCES/rpld_1.8beta1-6.diff.gz + for I in debian/patches/* + patch -p1 -i debian/patches/001_multiline_fix.patch + for I in debian/patches/* + patch -p1 -i debian/patches/002_target_dirs.patch + for I in debian/patches/* + patch -p1 -i debian/patches/003_avoid_makedepend.patch + for I in debian/patches/* + patch -p1 -i debian/patches/004_mac_address_range_fix.patch + echo 'Patch #1 (rpld-1.8-makefile.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (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 patching file rpld_conf.y patching file Makefile patching file Makefile patching file client.c patching file rpld_conf.lex Patch #1 (rpld-1.8-makefile.patch): patching file Makefile Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VbtoPV + 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 + 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 BUILDSTDERR: util.c: In function 'ethtoa': BUILDSTDERR: rpl.c: In function 'rpl_token': BUILDSTDERR: rpl.c:73:26: warning: implicit declaration of function 'ntohl' [-Wimplicit-function-declaration] BUILDSTDERR: 73 | p->themightyzero = ntohl (*(u32 *) pp); BUILDSTDERR: | ^~~~~ BUILDSTDERR: util.c:65:29: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 65 | len += sprintf (ethtoaret + len, "%02x", *(p++)); BUILDSTDERR: | ~~~~~~~~~~^~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: rpl.c:89:21: warning: implicit declaration of function 'ntohs' [-Wimplicit-function-declaration] BUILDSTDERR: 89 | p->framelen = ntohs (*(u16 *) pp); BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/features.h:450, 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: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: rpl.c:66:7: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 66 | 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: 157 | syslog (LOG_ERR, "Unexpected end of packet", s); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: util.c:68:31: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 68 | len += sprintf (ethtoaret + len, ":%02x", *(p++)); BUILDSTDERR: | ~~~~~~~~~~^~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, 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: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: protocol.c:166:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 166 | file_data_frame (struct llcdrv *lld, struct client *c) BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: rpl.c: In function 'write_short': BUILDSTDERR: rpl.c:188:20: warning: implicit declaration of function 'htons' [-Wimplicit-function-declaration] BUILDSTDERR: 188 | *((u16 *) ptr) = htons (v); BUILDSTDERR: | ^~~~~ BUILDSTDERR: protocol.c: In function 'file_data_frame': BUILDSTDERR: protocol.c:174:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 174 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: protocol.c:166:1: note: declared here BUILDSTDERR: 166 | file_data_frame (struct llcdrv *lld, struct client *c) BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: rpl.c: In function 'write_long': BUILDSTDERR: rpl.c:195:20: warning: implicit declaration of function 'htonl' [-Wimplicit-function-declaration] BUILDSTDERR: 195 | *((u32 *) ptr) = htonl (v); BUILDSTDERR: | ^~~~~ BUILDSTDERR: protocol.c:171:7: warning: unused variable 'addr' [-Wunused-variable] BUILDSTDERR: 171 | u32 addr = 0x10000; BUILDSTDERR: | ^~~~ BUILDSTDERR: util.c: In function 'daemonize': BUILDSTDERR: util.c:97:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] BUILDSTDERR: 97 | exit (1); BUILDSTDERR: | ^~~~ BUILDSTDERR: util.c:97:7: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: protocol.c: In function 'send_file_frame': BUILDSTDERR: protocol.c:219:21: warning: unused variable 'out' [-Wunused-variable] BUILDSTDERR: 219 | struct rpl_packet out; BUILDSTDERR: | ^~~ BUILDSTDERR: util.c:54:1: note: include '' or provide a declaration of 'exit' BUILDSTDERR: 53 | #include "project.h" BUILDSTDERR: +++ |+#include BUILDSTDERR: 54 | 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: 273 | syslog (LOG_ERR, "FOUND packet: doesn't match RE case %x!=%x", BUILDSTDERR: | ~^ BUILDSTDERR: | | BUILDSTDERR: | unsigned int BUILDSTDERR: | %lx 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: 264 | syslog (LOG_ERR, "Incomplete FIND frame 0x%x vs 0x%x\n", BUILDSTDERR: | ~^ BUILDSTDERR: | | BUILDSTDERR: | unsigned int BUILDSTDERR: | %lx BUILDSTDERR: protocol.c:277:66: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] BUILDSTDERR: 277 | "Incomplete SEND.FILE.REQUEST frame 0x%x vs 0x%x\n", BUILDSTDERR: | ~^ BUILDSTDERR: | | BUILDSTDERR: | unsigned int 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: 334 | syslog (LOG_ERR, "FILE.DATA packet: doesn't match RE case %x!=%x", BUILDSTDERR: | ~^ BUILDSTDERR: | | BUILDSTDERR: | unsigned int BUILDSTDERR: | %lx BUILDSTDERR: rpld.c: In function 'usage': BUILDSTDERR: rpld.c:149:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] BUILDSTDERR: 149 | exit (1); BUILDSTDERR: | ^~~~ BUILDSTDERR: rpld.c:149:3: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: rpld.c:116:1: note: include '' or provide a declaration of 'exit' BUILDSTDERR: 115 | #include "project.h" BUILDSTDERR: +++ |+#include BUILDSTDERR: 116 | BUILDSTDERR: rpld.c: In function 'main': BUILDSTDERR: rpld.c:185:27: warning: implicit declaration of function 'strtol'; did you mean 'strtok'? [-Wimplicit-function-declaration] BUILDSTDERR: 185 | rpl_sap = strtol (optarg + 2, NULL, 16); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | strtok BUILDSTDERR: At top level: BUILDSTDERR: util.c:23:13: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: 23 | static char rcsid[] = "$Id: util.c,v 1.9 2001/11/01 15:24:26 root Exp $"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: rpld.c:244:50: warning: pointer targets in passing argument 4 of 'lld->recv' differ in signedness [-Wpointer-sign] BUILDSTDERR: 244 | len = lld->recv (lld, buf, sizeof (buf), smac, NULL, &tv); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: rpld.c:244:50: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: At top level: BUILDSTDERR: protocol.c:19:13: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: 19 | static char rcsid[] = BUILDSTDERR: | ^~~~~ BUILDSTDERR: rpld.c:158:18: warning: unused variable 'h' [-Wunused-variable] BUILDSTDERR: 158 | struct llchdr *h = (struct llchdr *) buf; BUILDSTDERR: | ^ BUILDSTDERR: At top level: BUILDSTDERR: rpl.c:20:13: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: 20 | static char rcsid[] = "$Id: rpl.c,v 1.13 2001/11/01 15:23:59 root Exp $"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: At top level: BUILDSTDERR: rpld.c:19:13: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: 19 | static char rcsid[] = "$Id: rpld.c,v 1.35 2001/11/01 15:30:29 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: 212 | return (i); BUILDSTDERR: | ^ BUILDSTDERR: client.c:395:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 395 | clients_check_status () BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: client.c:415:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 415 | 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: 145 | read (fd, f->data, len); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: client.c: In function 'clients_check_status': BUILDSTDERR: client.c:413:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 413 | } BUILDSTDERR: | ^ BUILDSTDERR: client.c: In function 'client_dispatch': BUILDSTDERR: client.c:429:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 429 | } BUILDSTDERR: | ^ BUILDSTDERR: At top level: BUILDSTDERR: client.c:19:13: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: 19 | 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: 141 | exit (1); BUILDSTDERR: | ^~~~ BUILDSTDERR: config.c:141:7: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: config.c:112:1: note: include '' or provide a declaration of 'exit' BUILDSTDERR: 111 | #include "rpld_conf.tab.h" BUILDSTDERR: +++ |+#include BUILDSTDERR: 112 | BUILDSTDERR: config.c:147:7: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: 147 | 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: 192 | 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: 197 | yyparse (); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | pause BUILDSTDERR: At top level: BUILDSTDERR: config.c:19:13: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: 19 | static char rcsid[] = "$Id: config.c,v 1.27 2001/11/01 15:30:29 root Exp $"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: linux-nit.c: In function 'get_hwaddr': BUILDSTDERR: ana.c:71:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 71 | dump_hex (unsigned char *pp, int pl) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: ana.c:79:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 79 | dump_hexa (unsigned char *pp, int pl) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ana.c:91:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 91 | 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 [-Wreturn-type] BUILDSTDERR: 99 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ana.c:91:1: note: declared here BUILDSTDERR: 91 | 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 [-Wreturn-type] BUILDSTDERR: 103 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ana.c:91:1: note: declared here BUILDSTDERR: 91 | 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 [-Wreturn-type] BUILDSTDERR: 106 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ana.c:91:1: note: declared here BUILDSTDERR: 91 | 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 [-Wreturn-type] BUILDSTDERR: 109 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ana.c:91:1: note: declared here BUILDSTDERR: 91 | 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 [-Wreturn-type] BUILDSTDERR: 112 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ana.c:91:1: note: declared here BUILDSTDERR: 91 | ana_token (int s, unsigned char *pp, int pl) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: linux-nit.c:125:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] BUILDSTDERR: 125 | exit (-1); BUILDSTDERR: | ^~~~ BUILDSTDERR: linux-nit.c:125:7: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: ana.c:116:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 116 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ana.c:91:1: note: declared here BUILDSTDERR: 91 | 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 [-Wreturn-type] BUILDSTDERR: 119 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ana.c:91:1: note: declared here BUILDSTDERR: 91 | ana_token (int s, unsigned char *pp, int pl) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: linux-nit.c:85:1: note: include '' or provide a declaration of 'exit' BUILDSTDERR: 84 | #include BUILDSTDERR: +++ |+#include BUILDSTDERR: 85 | BUILDSTDERR: ana.c:122:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 122 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ana.c:91:1: note: declared here BUILDSTDERR: 91 | 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 [-Wreturn-type] BUILDSTDERR: 127 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ana.c:91:1: note: declared here BUILDSTDERR: 91 | 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 [-Wreturn-type] BUILDSTDERR: 144 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ana.c:91:1: note: declared here BUILDSTDERR: 91 | ana_token (int s, unsigned char *pp, int pl) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ana.c:93:7: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 93 | 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 [-Wreturn-type] BUILDSTDERR: 167 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ana.c:155:1: note: declared here BUILDSTDERR: 155 | 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: 224 | 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: 227 | pptr = pbuf; 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: 187 | sll.sll_protocol = htons (ETH_P_802_2); BUILDSTDERR: | ^~~~~ BUILDSTDERR: ana.c:232:21: warning: pointer targets in passing argument 1 of 'dump_hex' differ in signedness [-Wpointer-sign] BUILDSTDERR: 232 | dump_hex (pptr, plen); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ana.c:71:26: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 71 | 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: 236 | switch (pull_short (pptr)) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ana.c:43:28: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 43 | pull_short (unsigned char *c) BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: linux-nit.c:204:15: warning: pointer targets in passing argument 1 of 'get_hwaddr' differ in signedness [-Wpointer-sign] BUILDSTDERR: 204 | get_hwaddr (name, n->mac); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: linux-nit.c:107:28: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 107 | get_hwaddr (unsigned char *name, unsigned char *addr) BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: ana.c:251:49: warning: pointer targets in passing argument 1 of 'pull_short' differ in signedness [-Wpointer-sign] BUILDSTDERR: 251 | printf (" 0x%04x ?:", pull_short (pptr)); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ana.c:43:28: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 43 | 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: 257 | s = ana_frag (pptr, plen); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: ana.c:155:26: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 155 | ana_frag (unsigned char *pp, int pl) BUILDSTDERR: | ~~~~~~~~~~~~~~~^~ BUILDSTDERR: ana.c:264:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] BUILDSTDERR: 264 | exit (0); BUILDSTDERR: | ^~~~ BUILDSTDERR: ana.c:264:3: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: ana.c:36:1: note: include '' or provide a declaration of 'exit' BUILDSTDERR: 35 | #include "nit.h" BUILDSTDERR: +++ |+#include BUILDSTDERR: 36 | BUILDSTDERR: ana.c:186:10: warning: variable 's' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 186 | int i, s; BUILDSTDERR: | ^ BUILDSTDERR: ana.c:186:7: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 186 | int i, s; BUILDSTDERR: | ^ BUILDSTDERR: linux-nit.c: In function 'nit_send': BUILDSTDERR: ana.c: In function 'dump_hex': BUILDSTDERR: ana.c:77:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 77 | } BUILDSTDERR: | ^ BUILDSTDERR: ana.c: In function 'dump_hexa': BUILDSTDERR: ana.c:89:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 89 | } BUILDSTDERR: | ^ BUILDSTDERR: linux-nit.c:229:16: warning: unused variable 'iov' [-Wunused-variable] BUILDSTDERR: 229 | struct iovec iov; BUILDSTDERR: | ^~~ BUILDSTDERR: At top level: BUILDSTDERR: ana.c:4:14: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: 4 | static char *rcsid = "$Id: ana.c,v 1.5 2000/09/26 03:48:23 root Exp $"; 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: 301 | recvfrom (n->fd, buf, len, 0, (struct sockaddr *) &from, &fromlen); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /usr/include/sys/socket.h:269, BUILDSTDERR: from linux-nit.c:79: BUILDSTDERR: /usr/include/bits/socket2.h:65:49: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) 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: 189 | #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: 230 | } 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: 189 | #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: 230 | } else THROW_ERROR("Unknown top-level parameter block"); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:134:1: note: include '' or provide a declaration of 'exit' BUILDSTDERR: 133 | %% BUILDSTDERR: +++ |+#include BUILDSTDERR: 134 | BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: 189 | #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: 244 | } 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: 189 | #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: 244 | } 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: 250 | 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: 189 | #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: 263 | 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: 189 | #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: 263 | 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: 189 | #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: 264 | 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: 189 | #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: 264 | 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: 189 | #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: 265 | 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: 189 | #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: 265 | 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: 189 | #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: 278 | 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: 189 | #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: 278 | 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: 189 | #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: 279 | 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: 189 | #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: 279 | 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: 189 | #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: 299 | THROW_ERROR("Unknown directive"); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: 189 | #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: 299 | THROW_ERROR("Unknown directive"); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: 189 | #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: 303 | 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: 189 | #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: 303 | 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: 189 | #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: 304 | if (ci.have_nospew) THROW_ERROR("Repeated directive"); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: 189 | #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: 304 | 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: 189 | #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: 307 | } else THROW_ERROR("Unknown directive"); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: 189 | #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: 307 | } else THROW_ERROR("Unknown directive"); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: 189 | #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: 310 | 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: 189 | #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: 310 | 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: 189 | #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: 318 | THROW_ERROR("Unknown directive"); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: 189 | #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: 318 | THROW_ERROR("Unknown directive"); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: 189 | #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: 320 | } else THROW_ERROR("Unknown directive"); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: 189 | #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: 320 | } else THROW_ERROR("Unknown directive"); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: 189 | #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: 326 | THROW_ERROR("Unknown directive"); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: 189 | #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: 326 | THROW_ERROR("Unknown directive"); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: 189 | #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: 331 | 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: 189 | #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: 331 | 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: 189 | #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: 332 | 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: 189 | #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: 332 | 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: 189 | #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: 347 | 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: 189 | #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: 347 | 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: 189 | #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: 348 | 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: 189 | #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: 348 | 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: 189 | #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: 355 | 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: 189 | #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: 355 | 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: 189 | #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: 356 | 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: 189 | #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: 356 | 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: 189 | #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: 363 | 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: 189 | #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: 363 | 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: 189 | #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: 364 | 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: 189 | #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: 364 | 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: 189 | #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: 371 | 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: 189 | #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: 371 | 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: 189 | #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: 372 | 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: 189 | #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: 372 | 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: 189 | #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: 373 | if (ci.have_pacing) THROW_ERROR("Repeated directive"); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: 189 | #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: 373 | 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: 189 | #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: 377 | else THROW_ERROR("Unknown directive"); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: 189 | #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: 377 | else THROW_ERROR("Unknown directive"); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: 189 | #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: 381 | 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: 189 | #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: 381 | 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: 189 | #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: 382 | 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: 189 | #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: 382 | 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: 189 | #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: 390 | 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: 189 | #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: 390 | 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: 189 | #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: 391 | 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: 189 | #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: 391 | 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: 189 | #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: 399 | 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: 189 | #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: 399 | 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: 189 | #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: 400 | 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: 189 | #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: 400 | 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: 189 | #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: 408 | 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: 189 | #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: 408 | 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: 189 | #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: 409 | 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: 189 | #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: 409 | 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: 189 | #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: 415 | else THROW_ERROR("Unknown directive"); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: 189 | #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: 415 | else THROW_ERROR("Unknown directive"); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: 189 | #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: 419 | default: THROW_ERROR("Mistake"); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:189:105: note: include '' or provide a declaration of 'exit' BUILDSTDERR: 189 | #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: 419 | default: THROW_ERROR("Mistake"); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: rpld_conf.y:211:2: warning: case value '257' not in enumerated type 'THING' {aka 'enum '} [-Wswitch] BUILDSTDERR: 211 | case BLOCK_START: BUILDSTDERR: | ^~~~ BUILDSTDERR: rpld_conf.y:255:2: warning: case value '258' not in enumerated type 'THING' {aka 'enum '} [-Wswitch] BUILDSTDERR: 255 | case BLOCK_END: BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from project.h:72, BUILDSTDERR: from linux-nit.c:76: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'nit_multicast' at linux-nit.c:264:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: rpld_conf.y:81:13: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: 81 | static char rcsid[]="$Id: rpld_conf.y,v 1.8 2001/11/01 15:23:59 root Exp $"; BUILDSTDERR: | ^~~~~ BUILDSTDERR: rpld_conf.yy.c:1337:16: warning: 'input' defined but not used [-Wunused-function] BUILDSTDERR: 1337 | #else BUILDSTDERR: | ^ BUILDSTDERR: rpld_conf.yy.c:1294:17: warning: 'yyunput' defined but not used [-Wunused-function] BUILDSTDERR: 1294 | BUILDSTDERR: | ^ BUILDSTDERR: rpld_conf.lex:79:13: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: 79 | static char rcsid[]="$Id: rpld_conf.lex,v 1.7 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: 125 | exit (-1); BUILDSTDERR: | ^~~~ BUILDSTDERR: linux-nit.c:125:7: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: linux-nit.c:85:1: note: include '' or provide a declaration of 'exit' BUILDSTDERR: 84 | #include BUILDSTDERR: +++ |+#include BUILDSTDERR: 85 | BUILDSTDERR: linux-nit.c: In function 'nit_open': BUILDSTDERR: linux-nit.c:187:22: warning: implicit declaration of function 'htons' [-Wimplicit-function-declaration] BUILDSTDERR: 187 | 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: 204 | get_hwaddr (name, n->mac); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: linux-nit.c:107:28: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 107 | 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: 229 | 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: 301 | recvfrom (n->fd, buf, len, 0, (struct sockaddr *) &from, &fromlen); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /usr/include/sys/socket.h:269, BUILDSTDERR: from linux-nit.c:79: BUILDSTDERR: /usr/include/bits/socket2.h:65:49: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from project.h:72, BUILDSTDERR: from linux-nit.c:76: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'nit_multicast' at linux-nit.c:264:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 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 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 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 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 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: gcc -fPIE -pie -O2 -g -pipe -Wall -Werror=format-se+ mv LICENCE LICENSE + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 curity -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 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jaqcKV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpld-1.8-0.29.beta1.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpld-1.8-0.29.beta1.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rpld-1.8-0.29.beta1.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpld-1.8-0.29.beta1.fc31.riscv64 + cd rpld-1.8 + mkdir -p /builddir/build/BUILDROOT/rpld-1.8-0.29.beta1.fc31.riscv64/usr/sbin /builddir/build/BUILDROOT/rpld-1.8-0.29.beta1.fc31.riscv64/usr/share/man/man8 /builddir/build/BUILDROOT/rpld-1.8-0.29.beta1.fc31.riscv64/usr/share/man/man5 + make install DESTDIR=/builddir/build/BUILDROOT/rpld-1.8-0.29.beta1.fc31.riscv64 BINMODE=755 MANMODE=644 + find /builddir/build/BUILDROOT/rpld-1.8-0.29.beta1.fc31.riscv64 -type f -name '*.la' -exec rm -f '{}' ';' + install -d /builddir/build/BUILDROOT/rpld-1.8-0.29.beta1.fc31.riscv64/etc/sysconfig + install -m 0644 /builddir/build/SOURCES/rpld.sysconfig /builddir/build/BUILDROOT/rpld-1.8-0.29.beta1.fc31.riscv64/etc/sysconfig/rpld + install -d /builddir/build/BUILDROOT/rpld-1.8-0.29.beta1.fc31.riscv64/usr/lib/systemd/system + install -m 0644 /builddir/build/SOURCES/rpld.service /builddir/build/BUILDROOT/rpld-1.8-0.29.beta1.fc31.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.29.beta1.fc31 --unique-debug-suffix -1.8-0.29.beta1.fc31.riscv64 --unique-debug-src-base rpld-1.8-0.29.beta1.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rpld-1.8 BUILDSTDERR: 285 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs install -c -m 755 rpld /builddir/build/BUILDROOT/rpld-1.8-0.29.beta1.fc31.riscv64/usr/sbin install -c -m 644 rpld.8 /builddir/build/BUILDROOT/rpld-1.8-0.29.beta1.fc31.riscv64/usr/share/man/man8/rpld.8 install -c -m 644 rpld.conf.5 /builddir/build/BUILDROOT/rpld-1.8-0.29.beta1.fc31.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 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rpld-1.8-0.29.beta1.fc31.riscv64/usr/sbin/rpld extracting debug info from /builddir/build/BUILDROOT/rpld-1.8-0.29.beta1.fc31.riscv64/usr/sbin/rpld original debug info size: 196kB, size after compression: 176kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: rpld-1.8-0.29.beta1.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jqfBxV + umask 022 + cd /builddir/build/BUILD + cd rpld-1.8 + DOCDIR=/builddir/build/BUILDROOT/rpld-1.8-0.29.beta1.fc31.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.29.beta1.fc31.riscv64/usr/share/doc/rpld + cp -pr README /builddir/build/BUILDROOT/rpld-1.8-0.29.beta1.fc31.riscv64/usr/share/doc/rpld + cp -pr LICENSE /builddir/build/BUILDROOT/rpld-1.8-0.29.beta1.fc31.riscv64/usr/share/doc/rpld + cp -pr INSTALL /builddir/build/BUILDROOT/rpld-1.8-0.29.beta1.fc31.riscv64/usr/share/doc/rpld + cp -pr rpld.conf.sample /builddir/build/BUILDROOT/rpld-1.8-0.29.beta1.fc31.riscv64/usr/share/doc/rpld + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: rpld = 1.8-0.29.beta1.fc31 rpld(riscv-64) = 1.8-0.29.beta1.fc31 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.29.beta1.fc31.riscv64 Provides: rpld-debugsource = 1.8-0.29.beta1.fc31 rpld-debugsource(riscv-64) = 1.8-0.29.beta1.fc31 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.29.beta1.fc31.riscv64 Provides: debuginfo(build-id) = 45149eeb2e898f3ccd630eeb7ed0e32d8873b316 rpld-debuginfo = 1.8-0.29.beta1.fc31 rpld-debuginfo(riscv-64) = 1.8-0.29.beta1.fc31 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.29.beta1.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rpld-1.8-0.29.beta1.fc31.riscv64 Wrote: /builddir/build/RPMS/rpld-1.8-0.29.beta1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/rpld-debugsource-1.8-0.29.beta1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/rpld-debuginfo-1.8-0.29.beta1.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wTgKOV + umask 022 + cd /builddir/build/BUILD + cd rpld-1.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rpld-1.8-0.29.beta1.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0