=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for mrt-2.2.2a.20000811nb1 Making lib cd bgp_attr; /usr/pkg/bin/bmake cc -c -O2 -march=i586 -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include aspath.c In file included from aspath.c:5: In file included from ../../include/mrt.h:82: In file included from ../../include/assert.h:10: In file included from ../../include/trace.h:14: In file included from ../../include/mrt_thread.h:11: ../../include/pthread_fake.h:40:9: warning: 'pthread_sigmask' macro redefined [-Wmacro-redefined] #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) ^ /usr/include/signal.h:75:9: note: previous definition is here #define pthread_sigmask __libc_thr_sigsetmask ^ In file included from aspath.c:5: ../../include/mrt.h:289:24: error: field has incomplete type 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ ../../include/mrt.h:289:12: note: forward declaration of 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ In file included from aspath.c:5: In file included from ../../include/mrt.h:571: In file included from ../../include/filter.h:8: In file included from ../../include/aspath.h:182: In file included from ../../include/bgp.h:15: In file included from ../../include/rib.h:13: ../../include/interface.h:47:15: error: use of undeclared identifier 'IFNAMSIZ' char name[IFNAMSIZ + 1]; ^ aspath.c:396:12: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace (*cp)) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ aspath.c:407:13: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace (*cp)) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ aspath.c:411:9: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isdigit (*cp)) { ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ aspath.c:421:13: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isdigit (*cp)) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ aspath.c:423:13: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace (*cp)) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ aspath.c:439:13: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace (*cp)) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ 7 warnings and 2 errors generated. *** Error code 1 Stop. bmake[3]: stopped in /usr/pkgsrc/work/net/mrt/work/mrt/src/lib/bgp_attr cd bgp_proto; /usr/pkg/bin/bmake cc -c -O2 -march=i586 -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include bgp_util.c In file included from bgp_util.c:6: In file included from ../../include/mrt.h:82: In file included from ../../include/assert.h:10: In file included from ../../include/trace.h:14: In file included from ../../include/mrt_thread.h:11: ../../include/pthread_fake.h:40:9: warning: 'pthread_sigmask' macro redefined [-Wmacro-redefined] #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) ^ /usr/include/signal.h:75:9: note: previous definition is here #define pthread_sigmask __libc_thr_sigsetmask ^ In file included from bgp_util.c:6: ../../include/mrt.h:289:24: error: field has incomplete type 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ ../../include/mrt.h:289:12: note: forward declaration of 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ In file included from bgp_util.c:6: In file included from ../../include/mrt.h:571: In file included from ../../include/filter.h:8: In file included from ../../include/aspath.h:182: In file included from ../../include/bgp.h:15: In file included from ../../include/rib.h:13: ../../include/interface.h:47:15: error: use of undeclared identifier 'IFNAMSIZ' char name[IFNAMSIZ + 1]; ^ bgp_util.c:131:62: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername (peer->sockfd, (struct sockaddr *)&name, &namelen) < 0) { ^~~~~~~~ /usr/include/sys/socket.h:647:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ bgp_util.c:361:3: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] &namelen) < 0) { ^~~~~~~~ /usr/include/sys/socket.h:647:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ bgp_util.c:778:58: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname (sockfd, (struct sockaddr *) &local, &len) < 0) { ^~~~ /usr/include/sys/socket.h:648:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ bgp_util.c:2275:8: warning: initializing 'char *' with an expression of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] char *data = buffer->data; ^ ~~~~~~~~~~~~ bgp_util.c:2316:6: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] buffer->data); ^~~~~~~~~~~~ ../../include/rib.h:151:32: note: passing argument to parameter 'append' here interface_t *interface, char *append); ^ bgp_util.c:2606:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] NULL, buffer->data); ^~~~~~~~~~~~ ../../include/rib.h:151:32: note: passing argument to parameter 'append' here interface_t *interface, char *append); ^ 7 warnings and 2 errors generated. *** Error code 1 Stop. bmake[3]: stopped in /usr/pkgsrc/work/net/mrt/work/mrt/src/lib/bgp_proto cd config; /usr/pkg/bin/bmake cc -c -O2 -march=i586 -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include config_file.c In file included from config_file.c:5: In file included from ../../include/mrt.h:82: In file included from ../../include/assert.h:10: In file included from ../../include/trace.h:14: In file included from ../../include/mrt_thread.h:11: ../../include/pthread_fake.h:40:9: warning: 'pthread_sigmask' macro redefined [-Wmacro-redefined] #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) ^ /usr/include/signal.h:75:9: note: previous definition is here #define pthread_sigmask __libc_thr_sigsetmask ^ In file included from config_file.c:5: ../../include/mrt.h:289:24: error: field has incomplete type 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ ../../include/mrt.h:289:12: note: forward declaration of 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ In file included from config_file.c:5: In file included from ../../include/mrt.h:571: In file included from ../../include/filter.h:8: In file included from ../../include/aspath.h:182: In file included from ../../include/bgp.h:15: In file included from ../../include/rib.h:13: ../../include/interface.h:47:15: error: use of undeclared identifier 'IFNAMSIZ' char name[IFNAMSIZ + 1]; ^ 1 warning and 2 errors generated. *** Error code 1 Stop. bmake[3]: stopped in /usr/pkgsrc/work/net/mrt/work/mrt/src/lib/config cd filter; /usr/pkg/bin/bmake cc -c -O2 -march=i586 -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include filter.c In file included from filter.c:5: In file included from ../../include/mrt.h:82: In file included from ../../include/assert.h:10: In file included from ../../include/trace.h:14: In file included from ../../include/mrt_thread.h:11: ../../include/pthread_fake.h:40:9: warning: 'pthread_sigmask' macro redefined [-Wmacro-redefined] #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) ^ /usr/include/signal.h:75:9: note: previous definition is here #define pthread_sigmask __libc_thr_sigsetmask ^ In file included from filter.c:5: ../../include/mrt.h:289:24: error: field has incomplete type 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ ../../include/mrt.h:289:12: note: forward declaration of 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ In file included from filter.c:5: In file included from ../../include/mrt.h:571: In file included from ../../include/filter.h:8: In file included from ../../include/aspath.h:182: In file included from ../../include/bgp.h:15: In file included from ../../include/rib.h:13: ../../include/interface.h:47:15: error: use of undeclared identifier 'IFNAMSIZ' char name[IFNAMSIZ + 1]; ^ 1 warning and 2 errors generated. *** Error code 1 Stop. bmake[3]: stopped in /usr/pkgsrc/work/net/mrt/work/mrt/src/lib/filter cd io; /usr/pkg/bin/bmake cc -c -O2 -march=i586 -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include io.c In file included from io.c:12: In file included from ../../include/mrt.h:82: In file included from ../../include/assert.h:10: In file included from ../../include/trace.h:14: In file included from ../../include/mrt_thread.h:11: ../../include/pthread_fake.h:40:9: warning: 'pthread_sigmask' macro redefined [-Wmacro-redefined] #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) ^ /usr/include/signal.h:75:9: note: previous definition is here #define pthread_sigmask __libc_thr_sigsetmask ^ In file included from io.c:12: ../../include/mrt.h:289:24: error: field has incomplete type 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ ../../include/mrt.h:289:12: note: forward declaration of 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ In file included from io.c:12: In file included from ../../include/mrt.h:571: In file included from ../../include/filter.h:8: In file included from ../../include/aspath.h:182: In file included from ../../include/bgp.h:15: In file included from ../../include/rib.h:13: ../../include/interface.h:47:15: error: use of undeclared identifier 'IFNAMSIZ' char name[IFNAMSIZ + 1]; ^ io.c:271:22: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if ((tmp->length < 0) || (tmp->length > MAX_MSG_SIZE)) { ~~~~~~~~~~~ ^ ~ 2 warnings and 2 errors generated. *** Error code 1 Stop. bmake[3]: stopped in /usr/pkgsrc/work/net/mrt/work/mrt/src/lib/io cd kernel; /usr/pkg/bin/bmake cc -c -O2 -march=i586 -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include none.c In file included from none.c:5: In file included from ../../include/mrt.h:82: In file included from ../../include/assert.h:10: In file included from ../../include/trace.h:14: In file included from ../../include/mrt_thread.h:11: ../../include/pthread_fake.h:40:9: warning: 'pthread_sigmask' macro redefined [-Wmacro-redefined] #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) ^ /usr/include/signal.h:75:9: note: previous definition is here #define pthread_sigmask __libc_thr_sigsetmask ^ In file included from none.c:5: ../../include/mrt.h:289:24: error: field has incomplete type 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ ../../include/mrt.h:289:12: note: forward declaration of 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ In file included from none.c:5: In file included from ../../include/mrt.h:571: In file included from ../../include/filter.h:8: In file included from ../../include/aspath.h:182: In file included from ../../include/bgp.h:15: In file included from ../../include/rib.h:13: ../../include/interface.h:47:15: error: use of undeclared identifier 'IFNAMSIZ' char name[IFNAMSIZ + 1]; ^ 1 warning and 2 errors generated. *** Error code 1 Stop. bmake[3]: stopped in /usr/pkgsrc/work/net/mrt/work/mrt/src/lib/kernel cd mrt; /usr/pkg/bin/bmake cc -c -O2 -march=i586 -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include util.c In file included from util.c:5: In file included from ../../include/mrt.h:82: In file included from ../../include/assert.h:10: In file included from ../../include/trace.h:14: In file included from ../../include/mrt_thread.h:11: ../../include/pthread_fake.h:40:9: warning: 'pthread_sigmask' macro redefined [-Wmacro-redefined] #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) ^ /usr/include/signal.h:75:9: note: previous definition is here #define pthread_sigmask __libc_thr_sigsetmask ^ In file included from util.c:5: ../../include/mrt.h:289:24: error: field has incomplete type 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ ../../include/mrt.h:289:12: note: forward declaration of 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ In file included from util.c:5: In file included from ../../include/mrt.h:571: In file included from ../../include/filter.h:8: In file included from ../../include/aspath.h:182: In file included from ../../include/bgp.h:15: In file included from ../../include/rib.h:13: ../../include/interface.h:47:15: error: use of undeclared identifier 'IFNAMSIZ' char name[IFNAMSIZ + 1]; ^ util.c:97:22: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isdigit(*str)) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ util.c:121:11: warning: array subscript is of type 'char' [-Wchar-subscripts] int c = toupper (*str); ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ util.c:158:19: warning: incompatible pointer types passing 'long *' to parameter of type 'const time_t *' (aka 'const long long *') [-Wincompatible-pointer-types] tm = localtime(&t); ^~ /usr/include/time.h:96:36: note: passing argument to parameter here struct tm *localtime(const time_t *) __RENAME(__locatime50); ^ util.c:179:19: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*cp && isspace (*cp)) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ util.c:183:13: warning: array subscript is of type 'char' [-Wchar-subscripts] while (!isspace (*cp) && (*cp != '\0') && (*cp != '\n')) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ util.c:236:18: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat] elapsed/(3600*24), (elapsed%(3600*24))/3600); ^~~~~~~~~~~~~~~~~ util.c:236:37: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat] elapsed/(3600*24), (elapsed%(3600*24))/3600); ^~~~~~~~~~~~~~~~~~~~~~~~ util.c:239:18: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat] elapsed/3600, (elapsed/60)%60, elapsed%60); ^~~~~~~~~~~~ util.c:239:32: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat] elapsed/3600, (elapsed/60)%60, elapsed%60); ^~~~~~~~~~~~~~~ util.c:239:49: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat] elapsed/3600, (elapsed/60)%60, elapsed%60); ^~~~~~~~~~ util.c:249:12: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isdigit (*nptr)) ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ util.c:254:16: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isdigit (*nptr)) ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ 13 warnings and 2 errors generated. *** Error code 1 Stop. bmake[3]: stopped in /usr/pkgsrc/work/net/mrt/work/mrt/src/lib/mrt cd pim; /usr/pkg/bin/bmake cc -c -O2 -march=i586 -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include dvmrp.c In file included from dvmrp.c:5: In file included from ../../include/mrt.h:82: In file included from ../../include/assert.h:10: In file included from ../../include/trace.h:14: In file included from ../../include/mrt_thread.h:11: ../../include/pthread_fake.h:40:9: warning: 'pthread_sigmask' macro redefined [-Wmacro-redefined] #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) ^ /usr/include/signal.h:75:9: note: previous definition is here #define pthread_sigmask __libc_thr_sigsetmask ^ In file included from dvmrp.c:5: ../../include/mrt.h:289:24: error: field has incomplete type 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ ../../include/mrt.h:289:12: note: forward declaration of 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ In file included from dvmrp.c:5: In file included from ../../include/mrt.h:571: In file included from ../../include/filter.h:8: In file included from ../../include/aspath.h:182: In file included from ../../include/bgp.h:15: In file included from ../../include/rib.h:13: ../../include/interface.h:47:15: error: use of undeclared identifier 'IFNAMSIZ' char name[IFNAMSIZ + 1]; ^ 1 warning and 2 errors generated. *** Error code 1 Stop. bmake[3]: stopped in /usr/pkgsrc/work/net/mrt/work/mrt/src/lib/pim cd portserver; /usr/pkg/bin/bmake cd radix; /usr/pkg/bin/bmake cc -c -O2 -march=i586 -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include radix.c In file included from radix.c:5: In file included from ../../include/mrt.h:82: In file included from ../../include/assert.h:10: In file included from ../../include/trace.h:14: In file included from ../../include/mrt_thread.h:11: ../../include/pthread_fake.h:40:9: warning: 'pthread_sigmask' macro redefined [-Wmacro-redefined] #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) ^ /usr/include/signal.h:75:9: note: previous definition is here #define pthread_sigmask __libc_thr_sigsetmask ^ In file included from radix.c:5: ../../include/mrt.h:289:24: error: field has incomplete type 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ ../../include/mrt.h:289:12: note: forward declaration of 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ In file included from radix.c:5: In file included from ../../include/mrt.h:571: In file included from ../../include/filter.h:8: In file included from ../../include/aspath.h:182: In file included from ../../include/bgp.h:15: In file included from ../../include/rib.h:13: ../../include/interface.h:47:15: error: use of undeclared identifier 'IFNAMSIZ' char name[IFNAMSIZ + 1]; ^ 1 warning and 2 errors generated. *** Error code 1 Stop. bmake[3]: stopped in /usr/pkgsrc/work/net/mrt/work/mrt/src/lib/radix cd rib; /usr/pkg/bin/bmake cc -c -O2 -march=i586 -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include rib.c In file included from rib.c:5: In file included from ../../include/mrt.h:82: In file included from ../../include/assert.h:10: In file included from ../../include/trace.h:14: In file included from ../../include/mrt_thread.h:11: ../../include/pthread_fake.h:40:9: warning: 'pthread_sigmask' macro redefined [-Wmacro-redefined] #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) ^ /usr/include/signal.h:75:9: note: previous definition is here #define pthread_sigmask __libc_thr_sigsetmask ^ In file included from rib.c:5: ../../include/mrt.h:289:24: error: field has incomplete type 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ ../../include/mrt.h:289:12: note: forward declaration of 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ In file included from rib.c:5: In file included from ../../include/mrt.h:571: In file included from ../../include/filter.h:8: In file included from ../../include/aspath.h:182: In file included from ../../include/bgp.h:15: In file included from ../../include/rib.h:13: ../../include/interface.h:47:15: error: use of undeclared identifier 'IFNAMSIZ' char name[IFNAMSIZ + 1]; ^ 1 warning and 2 errors generated. *** Error code 1 Stop. bmake[3]: stopped in /usr/pkgsrc/work/net/mrt/work/mrt/src/lib/rib cd rip; /usr/pkg/bin/bmake cc -c -O2 -march=i586 -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include rip_proto.c In file included from rip_proto.c:6: In file included from ../../include/mrt.h:82: In file included from ../../include/assert.h:10: In file included from ../../include/trace.h:14: In file included from ../../include/mrt_thread.h:11: ../../include/pthread_fake.h:40:9: warning: 'pthread_sigmask' macro redefined [-Wmacro-redefined] #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) ^ /usr/include/signal.h:75:9: note: previous definition is here #define pthread_sigmask __libc_thr_sigsetmask ^ In file included from rip_proto.c:6: ../../include/mrt.h:289:24: error: field has incomplete type 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ ../../include/mrt.h:289:12: note: forward declaration of 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ In file included from rip_proto.c:6: In file included from ../../include/mrt.h:571: In file included from ../../include/filter.h:8: In file included from ../../include/aspath.h:182: In file included from ../../include/bgp.h:15: In file included from ../../include/rib.h:13: ../../include/interface.h:47:15: error: use of undeclared identifier 'IFNAMSIZ' char name[IFNAMSIZ + 1]; ^ rip_proto.c:423:41: error: use of undeclared identifier 'IFF_MULTICAST' ((BIT_TEST (out->interface->flags, IFF_MULTICAST) || ^ ../../include/defs.h:21:33: note: expanded from macro 'BIT_TEST' #define BIT_TEST(f, b) ((f) & (b)) ^ rip_proto.c:424:41: error: use of undeclared identifier 'IFF_POINTOPOINT' BIT_TEST (out->interface->flags, IFF_POINTOPOINT)) && ^ ../../include/defs.h:21:33: note: expanded from macro 'BIT_TEST' #define BIT_TEST(f, b) ((f) & (b)) ^ rip_proto.c:1270:47: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat] sprintf (stmp, "%4d %4ld", attr->metric, now - attr->utime); ~~~~ ^~~~~~~~~~~~~~~~~ %4lld rip_proto.c:1306:51: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat] sprintf (stmp, "%4d %4ld", attr->metric, now - attr->dtime); ~~~~ ^~~~~~~~~~~~~~~~~ %4lld 3 warnings and 4 errors generated. *** Error code 1 Stop. bmake[3]: stopped in /usr/pkgsrc/work/net/mrt/work/mrt/src/lib/rip cd struct; /usr/pkg/bin/bmake cc -c -O2 -march=i586 -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include New.c a - New.o cc -c -O2 -march=i586 -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include stack.c a - stack.o cc -c -O2 -march=i586 -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include array.c a - array.o cc -c -O2 -march=i586 -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include linked_list.c a - linked_list.o cc -c -O2 -march=i586 -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include hash.c a - hash.o cd timer; /usr/pkg/bin/bmake cc -c -O2 -march=i586 -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include timer.c In file included from timer.c:5: In file included from ../../include/mrt.h:82: In file included from ../../include/assert.h:10: In file included from ../../include/trace.h:14: In file included from ../../include/mrt_thread.h:11: ../../include/pthread_fake.h:40:9: warning: 'pthread_sigmask' macro redefined [-Wmacro-redefined] #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) ^ /usr/include/signal.h:75:9: note: previous definition is here #define pthread_sigmask __libc_thr_sigsetmask ^ In file included from timer.c:5: ../../include/mrt.h:289:24: error: field has incomplete type 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ ../../include/mrt.h:289:12: note: forward declaration of 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ In file included from timer.c:5: In file included from ../../include/mrt.h:571: In file included from ../../include/filter.h:8: In file included from ../../include/aspath.h:182: In file included from ../../include/bgp.h:15: In file included from ../../include/rib.h:13: ../../include/interface.h:47:15: error: use of undeclared identifier 'IFNAMSIZ' char name[IFNAMSIZ + 1]; ^ 1 warning and 2 errors generated. *** Error code 1 Stop. bmake[3]: stopped in /usr/pkgsrc/work/net/mrt/work/mrt/src/lib/timer Making programs cd bgpsim; /usr/pkg/bin/bmake cc -O2 -march=i586 -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -DFUNCPROTO -I../../include -c bgpsim.c In file included from bgpsim.c:6: In file included from ../../include/mrt.h:82: In file included from ../../include/assert.h:10: In file included from ../../include/trace.h:14: In file included from ../../include/mrt_thread.h:11: ../../include/pthread_fake.h:40:9: warning: 'pthread_sigmask' macro redefined [-Wmacro-redefined] #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) ^ /usr/include/signal.h:75:9: note: previous definition is here #define pthread_sigmask __libc_thr_sigsetmask ^ In file included from bgpsim.c:6: ../../include/mrt.h:289:24: error: field has incomplete type 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ ../../include/mrt.h:289:12: note: forward declaration of 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ In file included from bgpsim.c:6: In file included from ../../include/mrt.h:571: In file included from ../../include/filter.h:8: In file included from ../../include/aspath.h:182: In file included from ../../include/bgp.h:15: In file included from ../../include/rib.h:13: ../../include/interface.h:47:15: error: use of undeclared identifier 'IFNAMSIZ' char name[IFNAMSIZ + 1]; ^ bgpsim.c:297:11: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isdigit (cp[0])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ bgpsim.c:342:11: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isdigit (cp[0])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ bgpsim.c:579:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf (stderr, usage); ^~~~~ 4 warnings and 2 errors generated. *** Error code 1 Stop. bmake[3]: stopped in /usr/pkgsrc/work/net/mrt/work/mrt/src/programs/bgpsim cd mrtd; /usr/pkg/bin/bmake cc -O2 -march=i586 -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -DFUNCPROTO -I../../include -c mrtd.c In file included from mrtd.c:14: In file included from ../../include/mrt.h:82: In file included from ../../include/assert.h:10: In file included from ../../include/trace.h:14: In file included from ../../include/mrt_thread.h:11: ../../include/pthread_fake.h:40:9: warning: 'pthread_sigmask' macro redefined [-Wmacro-redefined] #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) ^ /usr/include/signal.h:75:9: note: previous definition is here #define pthread_sigmask __libc_thr_sigsetmask ^ In file included from mrtd.c:14: ../../include/mrt.h:289:24: error: field has incomplete type 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ ../../include/mrt.h:289:12: note: forward declaration of 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ In file included from mrtd.c:14: In file included from ../../include/mrt.h:571: In file included from ../../include/filter.h:8: In file included from ../../include/aspath.h:182: In file included from ../../include/bgp.h:15: In file included from ../../include/rib.h:13: ../../include/interface.h:47:15: error: use of undeclared identifier 'IFNAMSIZ' char name[IFNAMSIZ + 1]; ^ In file included from mrtd.c:17: In file included from ../../include/pim.h:9: ../../include/igmp.h:14:10: fatal error: 'netinet/igmp.h' file not found #include ^ 1 warning and 3 errors generated. *** Error code 1 Stop. bmake[3]: stopped in /usr/pkgsrc/work/net/mrt/work/mrt/src/programs/mrtd cd ricd; /usr/pkg/bin/bmake cc -O2 -march=i586 -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -DFUNCPROTO -I../../include -c ricd.c In file included from ricd.c:12: In file included from ./ricd.h:8: In file included from ../../include/mrt.h:82: In file included from ../../include/assert.h:10: In file included from ../../include/trace.h:14: In file included from ../../include/mrt_thread.h:11: ../../include/pthread_fake.h:40:9: warning: 'pthread_sigmask' macro redefined [-Wmacro-redefined] #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) ^ /usr/include/signal.h:75:9: note: previous definition is here #define pthread_sigmask __libc_thr_sigsetmask ^ In file included from ricd.c:12: In file included from ./ricd.h:8: ../../include/mrt.h:289:24: error: field has incomplete type 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ ../../include/mrt.h:289:12: note: forward declaration of 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ In file included from ricd.c:12: In file included from ./ricd.h:8: In file included from ../../include/mrt.h:571: In file included from ../../include/filter.h:8: In file included from ../../include/aspath.h:182: In file included from ../../include/bgp.h:15: In file included from ../../include/rib.h:13: ../../include/interface.h:47:15: error: use of undeclared identifier 'IFNAMSIZ' char name[IFNAMSIZ + 1]; ^ In file included from ricd.c:12: ./ricd.h:164:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _RICD_H_ ^ // ricd.c:158:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void ^ ricd.c:158:1: note: change return type to 'int' void ^~~~ int 3 warnings and 2 errors generated. *** Error code 1 Stop. bmake[3]: stopped in /usr/pkgsrc/work/net/mrt/work/mrt/src/programs/ricd cd route_atob; /usr/pkg/bin/bmake cc -O2 -march=i586 -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -DFUNCPROTO -I../../include -c route_atob.c In file included from route_atob.c:5: In file included from ../../include/mrt.h:82: In file included from ../../include/assert.h:10: In file included from ../../include/trace.h:14: In file included from ../../include/mrt_thread.h:11: ../../include/pthread_fake.h:40:9: warning: 'pthread_sigmask' macro redefined [-Wmacro-redefined] #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) ^ /usr/include/signal.h:75:9: note: previous definition is here #define pthread_sigmask __libc_thr_sigsetmask ^ In file included from route_atob.c:5: ../../include/mrt.h:289:24: error: field has incomplete type 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ ../../include/mrt.h:289:12: note: forward declaration of 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ In file included from route_atob.c:5: In file included from ../../include/mrt.h:571: In file included from ../../include/filter.h:8: In file included from ../../include/aspath.h:182: In file included from ../../include/bgp.h:15: In file included from ../../include/rib.h:13: ../../include/interface.h:47:15: error: use of undeclared identifier 'IFNAMSIZ' char name[IFNAMSIZ + 1]; ^ route_atob.c:68:24: warning: array subscript is of type 'char' [-Wchar-subscripts] if (cp[len] == ':' || isspace (cp[len])) { ^~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ route_atob.c:71:15: warning: array subscript is of type 'char' [-Wchar-subscripts] } while (isspace (cp[len])); ^~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ route_atob.c:83:12: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace (*cp)) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ route_atob.c:343:6: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isspace (line[0])) { ^~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ route_atob.c:347:13: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace (*cp)) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ route_atob.c:366:10: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isspace (line[0]) && ^~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ route_atob.c:387:15: warning: array subscript is of type 'char' [-Wchar-subscripts] else if (isspace (line[0]) && ^~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ route_atob.c:409:15: warning: array subscript is of type 'char' [-Wchar-subscripts] else if (isspace (line[0]) && ^~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ route_atob.c:689:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void ^ route_atob.c:689:1: note: change return type to 'int' void ^~~~ int route_atob.c:743:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf (stderr, usage); ^~~~~ 11 warnings and 2 errors generated. *** Error code 1 Stop. bmake[3]: stopped in /usr/pkgsrc/work/net/mrt/work/mrt/src/programs/route_atob cd route_btoa; /usr/pkg/bin/bmake cc -O2 -march=i586 -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -DFUNCPROTO -I../../include -c route_btoa.c In file included from route_btoa.c:5: In file included from ../../include/mrt.h:82: In file included from ../../include/assert.h:10: In file included from ../../include/trace.h:14: In file included from ../../include/mrt_thread.h:11: ../../include/pthread_fake.h:40:9: warning: 'pthread_sigmask' macro redefined [-Wmacro-redefined] #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) ^ /usr/include/signal.h:75:9: note: previous definition is here #define pthread_sigmask __libc_thr_sigsetmask ^ In file included from route_btoa.c:5: ../../include/mrt.h:289:24: error: field has incomplete type 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ ../../include/mrt.h:289:12: note: forward declaration of 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ In file included from route_btoa.c:5: In file included from ../../include/mrt.h:571: In file included from ../../include/filter.h:8: In file included from ../../include/aspath.h:182: In file included from ../../include/bgp.h:15: In file included from ../../include/rib.h:13: ../../include/interface.h:47:15: error: use of undeclared identifier 'IFNAMSIZ' char name[IFNAMSIZ + 1]; ^ route_btoa.c:697:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void ^ route_btoa.c:697:1: note: change return type to 'int' void ^~~~ int route_btoa.c:747:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf (stderr, usage); ^~~~~ route_btoa.c:754:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf (stderr, usage); ^~~~~ 4 warnings and 2 errors generated. *** Error code 1 Stop. bmake[3]: stopped in /usr/pkgsrc/work/net/mrt/work/mrt/src/programs/route_btoa cd sbgp; /usr/pkg/bin/bmake cc -O2 -march=i586 -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -DFUNCPROTO -I../../include -c simple_bgp.c In file included from simple_bgp.c:10: In file included from ../../include/mrt.h:82: In file included from ../../include/assert.h:10: In file included from ../../include/trace.h:14: In file included from ../../include/mrt_thread.h:11: ../../include/pthread_fake.h:40:9: warning: 'pthread_sigmask' macro redefined [-Wmacro-redefined] #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) ^ /usr/include/signal.h:75:9: note: previous definition is here #define pthread_sigmask __libc_thr_sigsetmask ^ In file included from simple_bgp.c:10: ../../include/mrt.h:289:24: error: field has incomplete type 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ ../../include/mrt.h:289:12: note: forward declaration of 'struct sockaddr_dl' struct sockaddr_dl sdl; ^ In file included from simple_bgp.c:10: In file included from ../../include/mrt.h:571: In file included from ../../include/filter.h:8: In file included from ../../include/aspath.h:182: In file included from ../../include/bgp.h:15: In file included from ../../include/rib.h:13: ../../include/interface.h:47:15: error: use of undeclared identifier 'IFNAMSIZ' char name[IFNAMSIZ + 1]; ^ simple_bgp.c:277:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf (stderr, usage); ^~~~~ simple_bgp.c:373:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf (stderr, usage); ^~~~~ 3 warnings and 2 errors generated. *** Error code 1 Stop. bmake[3]: stopped in /usr/pkgsrc/work/net/mrt/work/mrt/src/programs/sbgp => Unwrapping files-to-be-installed.