+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mrt-2.2.2a.20000811nb1/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mrt-2.2.2a.20000811nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for mrt-2.2.2a.20000811nb1 Making lib cd bgp_attr; /opt/local/bin/bmake gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST aspath.c In file included from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from aspath.c:5: ../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t' 19 | typedef unsigned long sigset_t; | ^~~~~~~~ In file included from /usr/include/sys/types.h:640, from /usr/include/sys/wait.h:37, from /usr/include/stdlib.h:45, from ../../include/mrt.h:14, from aspath.c:5: /usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here 76 | } sigset_t; | ^~~~~~~~ In file included from aspath.c:5: ../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop' 676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size); | ^~~~~~~~~ In file included from ../../include/mrt.h:673, from aspath.c:5: /usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here 66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD, | ^~~~~~~~~ In file included from aspath.c:5: ../../include/mrt.h:683:7: error: conflicting types for 'memmove' 683 | char *memmove (char *dest, const char *src, size_t n); | ^~~~~~~ In file included from /usr/include/string.h:34, from ../../include/mrt.h:44, from aspath.c:5: /usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here 71 | extern void *memmove(void *, const void *, size_t); | ^~~~~~~ *** Error code 1 Stop. bmake[3]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/bgp_attr cd bgp_proto; /opt/local/bin/bmake gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST bgp_util.c In file included from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bgp_util.c:6: ../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t' 19 | typedef unsigned long sigset_t; | ^~~~~~~~ In file included from /usr/include/sys/types.h:640, from /usr/include/sys/wait.h:37, from /usr/include/stdlib.h:45, from ../../include/mrt.h:14, from bgp_util.c:6: /usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here 76 | } sigset_t; | ^~~~~~~~ In file included from bgp_util.c:6: ../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop' 676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size); | ^~~~~~~~~ In file included from ../../include/mrt.h:673, from bgp_util.c:6: /usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here 66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD, | ^~~~~~~~~ In file included from bgp_util.c:6: ../../include/mrt.h:683:7: error: conflicting types for 'memmove' 683 | char *memmove (char *dest, const char *src, size_t n); | ^~~~~~~ In file included from /usr/include/string.h:34, from ../../include/mrt.h:44, from bgp_util.c:6: /usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here 71 | extern void *memmove(void *, const void *, size_t); | ^~~~~~~ bgp_util.c: In function 'bgp_start_transport_connection': bgp_util.c:222:10: warning: variable 'llen' set but not used [-Wunused-but-set-variable] 222 | int llen; | ^~~~ bgp_util.c: In function 'bgp_schedule_recv_in': bgp_util.c:405:13: warning: variable 'authcode' set but not used [-Wunused-but-set-variable] 405 | int authcode; | ^~~~~~~~ bgp_util.c:404:16: warning: variable 'holdtime' set but not used [-Wunused-but-set-variable] 404 | u_long holdtime; | ^~~~~~~~ bgp_util.c:403:13: warning: variable 'as' set but not used [-Wunused-but-set-variable] 403 | int as; | ^~ bgp_util.c:402:13: warning: variable 'version' set but not used [-Wunused-but-set-variable] 402 | int version; | ^~~~~~~ bgp_util.c: In function 'bgp_direct_in_recv_open': bgp_util.c:464:9: warning: variable 'authcode' set but not used [-Wunused-but-set-variable] 464 | int authcode; | ^~~~~~~~ bgp_util.c:463:12: warning: variable 'holdtime' set but not used [-Wunused-but-set-variable] 463 | u_long holdtime; | ^~~~~~~~ bgp_util.c:461:9: warning: variable 'version' set but not used [-Wunused-but-set-variable] 461 | int version; | ^~~~~~~ bgp_util.c: In function 'bgp_make_tail': bgp_util.c:2275:15: warning: pointer targets in initialization of 'char *' from 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 2275 | char *data = buffer->data; | ^~~~~~ bgp_util.c: In function 'bgp_put_a_line': bgp_util.c:2316:12: warning: pointer targets in passing argument 10 of 'rib_show_route_line' differ in signedness [-Wpointer-sign] 2316 | buffer->data); | ~~~~~~^~~~~~ | | | u_char * {aka unsigned char *} In file included from ../../include/bgp.h:15, from ../../include/aspath.h:182, from ../../include/filter.h:8, from ../../include/mrt.h:571, from bgp_util.c:6: ../../include/rib.h:151:32: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 151 | interface_t *interface, char *append); | ~~~~~~^~~~~~ bgp_util.c: In function 'bgp_dump_rtin': bgp_util.c:2606:23: warning: pointer targets in passing argument 10 of 'rib_show_route_line' differ in signedness [-Wpointer-sign] 2606 | NULL, buffer->data); | ~~~~~~^~~~~~ | | | u_char * {aka unsigned char *} In file included from ../../include/bgp.h:15, from ../../include/aspath.h:182, from ../../include/filter.h:8, from ../../include/mrt.h:571, from bgp_util.c:6: ../../include/rib.h:151:32: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 151 | interface_t *interface, char *append); | ~~~~~~^~~~~~ *** Error code 1 Stop. bmake[3]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/bgp_proto cd config; /opt/local/bin/bmake gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST config_file.c In file included from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from config_file.c:5: ../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t' 19 | typedef unsigned long sigset_t; | ^~~~~~~~ In file included from /usr/include/sys/types.h:640, from /usr/include/sys/wait.h:37, from /usr/include/stdlib.h:45, from ../../include/mrt.h:14, from config_file.c:5: /usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here 76 | } sigset_t; | ^~~~~~~~ In file included from config_file.c:5: ../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop' 676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size); | ^~~~~~~~~ In file included from ../../include/mrt.h:673, from config_file.c:5: /usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here 66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD, | ^~~~~~~~~ In file included from config_file.c:5: ../../include/mrt.h:683:7: error: conflicting types for 'memmove' 683 | char *memmove (char *dest, const char *src, size_t n); | ^~~~~~~ In file included from /usr/include/string.h:34, from ../../include/mrt.h:44, from config_file.c:5: /usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here 71 | extern void *memmove(void *, const void *, size_t); | ^~~~~~~ config_file.c: In function 'config_del_module': config_file.c:82:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 82 | if (arg && (module->arg != arg)) | ^~ config_file.c:86:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 86 | if (strcmp (module->name, "!") == 0) | ^~ config_file.c: In function 'config_access_list': config_file.c:301:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 301 | (void *) num); | ^ config_file.c:314:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 314 | (void *) num); | ^ *** Error code 1 Stop. bmake[3]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/config cd filter; /opt/local/bin/bmake gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST filter.c In file included from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from filter.c:5: ../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t' 19 | typedef unsigned long sigset_t; | ^~~~~~~~ In file included from /usr/include/sys/types.h:640, from /usr/include/sys/wait.h:37, from /usr/include/stdlib.h:45, from ../../include/mrt.h:14, from filter.c:5: /usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here 76 | } sigset_t; | ^~~~~~~~ In file included from filter.c:5: ../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop' 676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size); | ^~~~~~~~~ In file included from ../../include/mrt.h:673, from filter.c:5: /usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here 66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD, | ^~~~~~~~~ In file included from filter.c:5: ../../include/mrt.h:683:7: error: conflicting types for 'memmove' 683 | char *memmove (char *dest, const char *src, size_t n); | ^~~~~~~ In file included from /usr/include/string.h:34, from ../../include/mrt.h:44, from filter.c:5: /usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here 71 | extern void *memmove(void *, const void *, size_t); | ^~~~~~~ *** Error code 1 Stop. bmake[3]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/filter cd io; /opt/local/bin/bmake gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST io.c In file included from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from io.c:12: ../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t' 19 | typedef unsigned long sigset_t; | ^~~~~~~~ In file included from /usr/include/sys/types.h:640, from /usr/include/sys/wait.h:37, from /usr/include/stdlib.h:45, from ../../include/mrt.h:14, from io.c:12: /usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here 76 | } sigset_t; | ^~~~~~~~ In file included from io.c:12: ../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop' 676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size); | ^~~~~~~~~ In file included from ../../include/mrt.h:673, from io.c:12: /usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here 66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD, | ^~~~~~~~~ In file included from io.c:12: ../../include/mrt.h:683:7: error: conflicting types for 'memmove' 683 | char *memmove (char *dest, const char *src, size_t n); | ^~~~~~~ In file included from /usr/include/string.h:34, from ../../include/mrt.h:44, from io.c:12: /usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here 71 | extern void *memmove(void *, const void *, size_t); | ^~~~~~~ *** Error code 1 Stop. bmake[3]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/io cd kernel; /opt/local/bin/bmake gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST solaris.c In file included from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from solaris.c:23: ../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t' 19 | typedef unsigned long sigset_t; | ^~~~~~~~ In file included from /usr/include/sys/types.h:640, from /usr/include/sys/stat.h:35, from /usr/include/fcntl.h:37, from solaris.c:5: /usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here 76 | } sigset_t; | ^~~~~~~~ In file included from solaris.c:23: ../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop' 676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size); | ^~~~~~~~~ In file included from ../../include/mrt.h:673, from solaris.c:23: /usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here 66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD, | ^~~~~~~~~ In file included from solaris.c:23: ../../include/mrt.h:683:7: error: conflicting types for 'memmove' 683 | char *memmove (char *dest, const char *src, size_t n); | ^~~~~~~ In file included from /usr/include/string.h:34, from ../../include/mrt.h:44, from solaris.c:23: /usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here 71 | extern void *memmove(void *, const void *, size_t); | ^~~~~~~ In file included from ../../include/mrt.h:82, from solaris.c:23: solaris.c: In function 'ifstatus': ../../include/assert.h:14:5: warning: statement with no effect [-Wunused-value] 14 | ((exp)?0: trace (FATAL, MRT->trace, \ | ^ solaris.c:64:5: note: in expansion of macro 'assert' 64 | assert (sizeof (ifr.ifr_flags) == 2); | ^~~~~~ solaris.c:75: warning: "ifr_mtu" redefined 75 | #define ifr_mtu ifr_metric | In file included from solaris.c:17: /usr/include/net/if.h:508: note: this is the location of the previous definition 508 | #define ifr_mtu ifr_ifru.ifru_mtu /* mtu */ | solaris.c: In function 'read_interface4': solaris.c:282:11: warning: unused variable 'name' [-Wunused-variable] 282 | char *name, *buffer; | ^~~~ solaris.c: In function 'kernel_rtmsg_rcv': solaris.c:1069:28: warning: pointer targets in passing argument 1 of 'sys_kernel_rt_msg' differ in signedness [-Wpointer-sign] 1069 | sys_kernel_rt_msg (msgbuf, n); | ^~~~~~ | | | char * solaris.c:808:28: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 808 | sys_kernel_rt_msg (u_char *buf, int bufsize) | ~~~~~~~~^~~ *** Error code 1 Stop. bmake[3]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/kernel cd mrt; /opt/local/bin/bmake gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST util.c In file included from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from util.c:5: ../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t' 19 | typedef unsigned long sigset_t; | ^~~~~~~~ In file included from /usr/include/sys/types.h:640, from /usr/include/sys/wait.h:37, from /usr/include/stdlib.h:45, from ../../include/mrt.h:14, from util.c:5: /usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here 76 | } sigset_t; | ^~~~~~~~ In file included from util.c:5: ../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop' 676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size); | ^~~~~~~~~ In file included from ../../include/mrt.h:673, from util.c:5: /usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here 66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD, | ^~~~~~~~~ In file included from util.c:5: ../../include/mrt.h:683:7: error: conflicting types for 'memmove' 683 | char *memmove (char *dest, const char *src, size_t n); | ^~~~~~~ In file included from /usr/include/string.h:34, from ../../include/mrt.h:44, from util.c:5: /usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here 71 | extern void *memmove(void *, const void *, size_t); | ^~~~~~~ *** Error code 1 Stop. bmake[3]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/mrt cd pim; /opt/local/bin/bmake gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST dvmrp.c In file included from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from dvmrp.c:5: ../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t' 19 | typedef unsigned long sigset_t; | ^~~~~~~~ In file included from /usr/include/sys/types.h:640, from /usr/include/sys/wait.h:37, from /usr/include/stdlib.h:45, from ../../include/mrt.h:14, from dvmrp.c:5: /usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here 76 | } sigset_t; | ^~~~~~~~ In file included from dvmrp.c:5: ../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop' 676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size); | ^~~~~~~~~ In file included from ../../include/mrt.h:673, from dvmrp.c:5: /usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here 66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD, | ^~~~~~~~~ In file included from dvmrp.c:5: ../../include/mrt.h:683:7: error: conflicting types for 'memmove' 683 | char *memmove (char *dest, const char *src, size_t n); | ^~~~~~~ In file included from /usr/include/string.h:34, from ../../include/mrt.h:44, from dvmrp.c:5: /usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here 71 | extern void *memmove(void *, const void *, size_t); | ^~~~~~~ *** Error code 1 Stop. bmake[3]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/pim cd portserver; /opt/local/bin/bmake cd radix; /opt/local/bin/bmake gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST radix.c In file included from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from radix.c:5: ../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t' 19 | typedef unsigned long sigset_t; | ^~~~~~~~ In file included from /usr/include/sys/types.h:640, from /usr/include/sys/wait.h:37, from /usr/include/stdlib.h:45, from ../../include/mrt.h:14, from radix.c:5: /usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here 76 | } sigset_t; | ^~~~~~~~ In file included from radix.c:5: ../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop' 676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size); | ^~~~~~~~~ In file included from ../../include/mrt.h:673, from radix.c:5: /usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here 66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD, | ^~~~~~~~~ In file included from radix.c:5: ../../include/mrt.h:683:7: error: conflicting types for 'memmove' 683 | char *memmove (char *dest, const char *src, size_t n); | ^~~~~~~ In file included from /usr/include/string.h:34, from ../../include/mrt.h:44, from radix.c:5: /usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here 71 | extern void *memmove(void *, const void *, size_t); | ^~~~~~~ *** Error code 1 Stop. bmake[3]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/radix cd rib; /opt/local/bin/bmake gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST rib.c In file included from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from rib.c:5: ../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t' 19 | typedef unsigned long sigset_t; | ^~~~~~~~ In file included from /usr/include/sys/types.h:640, from /usr/include/sys/wait.h:37, from /usr/include/stdlib.h:45, from ../../include/mrt.h:14, from rib.c:5: /usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here 76 | } sigset_t; | ^~~~~~~~ In file included from rib.c:5: ../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop' 676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size); | ^~~~~~~~~ In file included from ../../include/mrt.h:673, from rib.c:5: /usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here 66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD, | ^~~~~~~~~ In file included from rib.c:5: ../../include/mrt.h:683:7: error: conflicting types for 'memmove' 683 | char *memmove (char *dest, const char *src, size_t n); | ^~~~~~~ In file included from /usr/include/string.h:34, from ../../include/mrt.h:44, from rib.c:5: /usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here 71 | extern void *memmove(void *, const void *, size_t); | ^~~~~~~ rib.c:932:1: warning: 'rib_if_call_fn' defined but not used [-Wunused-function] 932 | rib_if_call_fn (int cmd, interface_t *interface, ll_addr_t *if_addr) | ^~~~~~~~~~~~~~ *** Error code 1 Stop. bmake[3]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/rib cd rip; /opt/local/bin/bmake gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST rip_proto.c In file included from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from rip_proto.c:6: ../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t' 19 | typedef unsigned long sigset_t; | ^~~~~~~~ In file included from /usr/include/sys/types.h:640, from /usr/include/sys/wait.h:37, from /usr/include/stdlib.h:45, from ../../include/mrt.h:14, from rip_proto.c:6: /usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here 76 | } sigset_t; | ^~~~~~~~ In file included from rip_proto.c:6: ../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop' 676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size); | ^~~~~~~~~ In file included from ../../include/mrt.h:673, from rip_proto.c:6: /usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here 66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD, | ^~~~~~~~~ In file included from rip_proto.c:6: ../../include/mrt.h:683:7: error: conflicting types for 'memmove' 683 | char *memmove (char *dest, const char *src, size_t n); | ^~~~~~~ In file included from /usr/include/string.h:34, from ../../include/mrt.h:44, from rip_proto.c:6: /usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here 71 | extern void *memmove(void *, const void *, size_t); | ^~~~~~~ *** Error code 1 Stop. bmake[3]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/rip cd struct; /opt/local/bin/bmake gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST New.c New.c: In function 'Reallocate_DefaultHandler': New.c:251:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 251 | (u_int)ptr, ptr_name, size, name, strerror(errno), file, line); | ^ New.c:253:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 253 | (u_int)ptr, size, strerror(errno)); | ^ New.c: In function 'Delete_DefaultHandler': New.c:274:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 274 | (u_int)ptr, name, strerror(errno), file, line); | ^ New.c:275:69: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 275 | else fprintf(out, "Delete: Error freeing 0x%.8x. \"%s\"\n", (u_int)ptr, strerror(errno)); | ^ a - New.o gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST stack.c stack.c: In function 'STACK_DefaultHandler': stack.c:202:73: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 202 | fprintf(out, "STACK: 0x%.8x Error in function %s. \"%s\" {%u/%u}\n", (u_int)stack, name, | ^ stack.c: In function 'STACK_Print': stack.c:229:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 229 | printf("STACK: 0x%.8x Print(0x%.8x) {%u/%u}\n", (u_int)stack, (u_int)print, (u_int)stack->top, (u_int)stack->size); | ^ stack.c:229:66: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 229 | printf("STACK: 0x%.8x Print(0x%.8x) {%u/%u}\n", (u_int)stack, (u_int)print, (u_int)stack->top, (u_int)stack->size); | ^ a - stack.o gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST array.c array.c: In function 'ARRAY_MergeSort': array.c:284:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 284 | while ((unsigned)tmp[0] != size-1) { | ^ array.c:285:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 285 | if ((unsigned)tmp[p] == r) { /* AUTO-MERGE, all sub-arrays processed */ | ^ array.c:287:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 287 | r = (unsigned)tmp[q+1]; | ^ array.c:309:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 309 | tmp[p] = (DATA_PTR)r; | ^ array.c:330:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 330 | tmp[p] = (DATA_PTR)r; | ^ array.c:335:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 335 | tmp[p] = (DATA_PTR)p; | ^ a - array.o gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST linked_list.c linked_list.c: In function 'LL_DefaultHandler': linked_list.c:2033:71: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2033 | fprintf(out, "LINKED LIST: 0x%.8x Error in function %s: \"%s\"\n", (u_int)ll, name, LL_errlist[num]); | ^ linked_list.c: In function 'LL_Print': linked_list.c:2250:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2250 | printf("LINKED LIST: 0x%.8x Printing..\n", (u_int)ll); | ^ linked_list.c:56:84: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 56 | #define LLM_PS(ll, attr, val) printf("LINKED LIST: 0x%.8x attribute %-18s = %s\n", (u_int)ll, attr, val) | ^ linked_list.c:68:4: note: in expansion of macro 'LLM_PS' 68 | LLM_PS(ll, "LL_Intrusive", tfm(ll->attr & LL_Intrusive));\ | ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' 2251 | LLMacro_PrintAllAttr(ll); | ^~~~~~~~~~~~~~~~~~~~ linked_list.c:56:84: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 56 | #define LLM_PS(ll, attr, val) printf("LINKED LIST: 0x%.8x attribute %-18s = %s\n", (u_int)ll, attr, val) | ^ linked_list.c:69:4: note: in expansion of macro 'LLM_PS' 69 | LLM_PS(ll, "LL_AutoSort", tfm(ll->attr & LL_AutoSort));\ | ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' 2251 | LLMacro_PrintAllAttr(ll); | ^~~~~~~~~~~~~~~~~~~~ linked_list.c:56:84: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 56 | #define LLM_PS(ll, attr, val) printf("LINKED LIST: 0x%.8x attribute %-18s = %s\n", (u_int)ll, attr, val) | ^ linked_list.c:70:4: note: in expansion of macro 'LLM_PS' 70 | LLM_PS(ll, "LL_ReportChange", tfm(ll->attr & LL_ReportChange));\ | ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' 2251 | LLMacro_PrintAllAttr(ll); | ^~~~~~~~~~~~~~~~~~~~ linked_list.c:56:84: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 56 | #define LLM_PS(ll, attr, val) printf("LINKED LIST: 0x%.8x attribute %-18s = %s\n", (u_int)ll, attr, val) | ^ linked_list.c:71:4: note: in expansion of macro 'LLM_PS' 71 | LLM_PS(ll, "LL_ReportAccess", tfm(ll->attr & LL_ReportAccess));\ | ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' 2251 | LLMacro_PrintAllAttr(ll); | ^~~~~~~~~~~~~~~~~~~~ linked_list.c:57:84: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 57 | #define LLM_PD(ll, attr, val) printf("LINKED LIST: 0x%.8x attribute %-18s = %d\n", (u_int)ll, attr, (u_int)val) | ^ linked_list.c:72:4: note: in expansion of macro 'LLM_PD' 72 | LLM_PD(ll, "ll->count", ll->count);\ | ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' 2251 | LLMacro_PrintAllAttr(ll); | ^~~~~~~~~~~~~~~~~~~~ linked_list.c:57:84: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 57 | #define LLM_PD(ll, attr, val) printf("LINKED LIST: 0x%.8x attribute %-18s = %d\n", (u_int)ll, attr, (u_int)val) | ^ linked_list.c:74:7: note: in expansion of macro 'LLM_PD' 74 | LLM_PD(ll, "LL_NextOffset", ll->next_offset);\ | ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' 2251 | LLMacro_PrintAllAttr(ll); | ^~~~~~~~~~~~~~~~~~~~ linked_list.c:57:84: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 57 | #define LLM_PD(ll, attr, val) printf("LINKED LIST: 0x%.8x attribute %-18s = %d\n", (u_int)ll, attr, (u_int)val) | ^ linked_list.c:75:7: note: in expansion of macro 'LLM_PD' 75 | LLM_PD(ll, "LL_PrevOffset", ll->prev_offset);\ | ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' 2251 | LLMacro_PrintAllAttr(ll); | ^~~~~~~~~~~~~~~~~~~~ linked_list.c:58:88: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 58 | #define LLM_PH(ll, attr, val) printf("LINKED LIST: 0x%.8x attribute %-18s = 0x%.8x\n", (u_int)ll, attr, (u_int)val) | ^ linked_list.c:77:4: note: in expansion of macro 'LLM_PH' 77 | LLM_PH(ll, "LL_FindFunction", ll->find_fn);\ | ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' 2251 | LLMacro_PrintAllAttr(ll); | ^~~~~~~~~~~~~~~~~~~~ linked_list.c:58:105: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 58 | #define LLM_PH(ll, attr, val) printf("LINKED LIST: 0x%.8x attribute %-18s = 0x%.8x\n", (u_int)ll, attr, (u_int)val) | ^ linked_list.c:77:4: note: in expansion of macro 'LLM_PH' 77 | LLM_PH(ll, "LL_FindFunction", ll->find_fn);\ | ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' 2251 | LLMacro_PrintAllAttr(ll); | ^~~~~~~~~~~~~~~~~~~~ linked_list.c:58:88: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 58 | #define LLM_PH(ll, attr, val) printf("LINKED LIST: 0x%.8x attribute %-18s = 0x%.8x\n", (u_int)ll, attr, (u_int)val) | ^ linked_list.c:78:4: note: in expansion of macro 'LLM_PH' 78 | LLM_PH(ll, "LL_CompareFunction", ll->comp_fn);\ | ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' 2251 | LLMacro_PrintAllAttr(ll); | ^~~~~~~~~~~~~~~~~~~~ linked_list.c:58:105: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 58 | #define LLM_PH(ll, attr, val) printf("LINKED LIST: 0x%.8x attribute %-18s = 0x%.8x\n", (u_int)ll, attr, (u_int)val) | ^ linked_list.c:78:4: note: in expansion of macro 'LLM_PH' 78 | LLM_PH(ll, "LL_CompareFunction", ll->comp_fn);\ | ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' 2251 | LLMacro_PrintAllAttr(ll); | ^~~~~~~~~~~~~~~~~~~~ linked_list.c:58:88: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 58 | #define LLM_PH(ll, attr, val) printf("LINKED LIST: 0x%.8x attribute %-18s = 0x%.8x\n", (u_int)ll, attr, (u_int)val) | ^ linked_list.c:79:4: note: in expansion of macro 'LLM_PH' 79 | LLM_PH(ll, "LL_DestroyFunction", ll->destroy_fn);\ | ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' 2251 | LLMacro_PrintAllAttr(ll); | ^~~~~~~~~~~~~~~~~~~~ linked_list.c:58:105: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 58 | #define LLM_PH(ll, attr, val) printf("LINKED LIST: 0x%.8x attribute %-18s = 0x%.8x\n", (u_int)ll, attr, (u_int)val) | ^ linked_list.c:79:4: note: in expansion of macro 'LLM_PH' 79 | LLM_PH(ll, "LL_DestroyFunction", ll->destroy_fn);\ | ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' 2251 | LLMacro_PrintAllAttr(ll); | ^~~~~~~~~~~~~~~~~~~~ linked_list.c: In function 'LL_DefaultPrinter': linked_list.c:2265:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2265 | printf("0x%.8x\n", (u_int)data); | ^ a - linked_list.o gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST hash.c hash.c: In function 'HASH_DefaultHandler': hash.c:1323:70: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1323 | fprintf(out, "HASH TABLE: 0x%.8x Error in function %s: \"%s\"\n", (u_int)h, fn, HASH_errlist[num]); | ^ hash.c: In function 'HASH_Print': hash.c:1411:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1411 | printf("HASH TABLE: 0x%.8x attributes: %s, %s, %s\n", (u_int)h, | ^ hash.c:1416:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1416 | (u_int)h, h->size, h->resize); | ^ hash.c:1417:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1417 | else printf("HASH TABLE: 0x%.8x static size = %u\n", (u_int)h, h->size); | ^ hash.c:1420:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1420 | (u_int)h, h->key_offset, h->next_offset); | ^ hash.c:1423:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1423 | printf("HASH TABLE: 0x%.8x key offset = %u\n", (u_int)h, h->key_offset); | ^ hash.c:1426:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1426 | (u_int)h, (u_int)h->hash, (u_int)h->lookup, (u_int)h->destroy); | ^ hash.c:1426:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1426 | (u_int)h, (u_int)h->hash, (u_int)h->lookup, (u_int)h->destroy); | ^ hash.c:1426:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1426 | (u_int)h, (u_int)h->hash, (u_int)h->lookup, (u_int)h->destroy); | ^ hash.c:1426:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1426 | (u_int)h, (u_int)h->hash, (u_int)h->lookup, (u_int)h->destroy); | ^ hash.c: In function 'HASH_DefaultPrinter': hash.c:1456:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1456 | printf("%3d: 0x%.8x key = 0x%.8x = \"%s\"\n", index, (u_int)data, (u_int)key, (char *)key); | ^ hash.c:1456:70: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1456 | printf("%3d: 0x%.8x key = 0x%.8x = \"%s\"\n", index, (u_int)data, (u_int)key, (char *)key); | ^ a - hash.o cd timer; /opt/local/bin/bmake gcc -c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST timer.c In file included from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from timer.c:5: ../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t' 19 | typedef unsigned long sigset_t; | ^~~~~~~~ In file included from /usr/include/sys/types.h:640, from /usr/include/sys/wait.h:37, from /usr/include/stdlib.h:45, from ../../include/mrt.h:14, from timer.c:5: /usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here 76 | } sigset_t; | ^~~~~~~~ In file included from timer.c:5: ../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop' 676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size); | ^~~~~~~~~ In file included from ../../include/mrt.h:673, from timer.c:5: /usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here 66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD, | ^~~~~~~~~ In file included from timer.c:5: ../../include/mrt.h:683:7: error: conflicting types for 'memmove' 683 | char *memmove (char *dest, const char *src, size_t n); | ^~~~~~~ In file included from /usr/include/string.h:34, from ../../include/mrt.h:44, from timer.c:5: /usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here 71 | extern void *memmove(void *, const void *, size_t); | ^~~~~~~ *** Error code 1 Stop. bmake[3]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/timer Making programs cd bgpsim; /opt/local/bin/bmake gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -c bgpsim.c In file included from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bgpsim.c:6: ../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t' 19 | typedef unsigned long sigset_t; | ^~~~~~~~ In file included from /usr/include/sys/types.h:640, from /usr/include/sys/wait.h:37, from /usr/include/stdlib.h:45, from ../../include/mrt.h:14, from bgpsim.c:6: /usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here 76 | } sigset_t; | ^~~~~~~~ In file included from bgpsim.c:6: ../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop' 676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size); | ^~~~~~~~~ In file included from ../../include/mrt.h:673, from bgpsim.c:6: /usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here 66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD, | ^~~~~~~~~ In file included from bgpsim.c:6: ../../include/mrt.h:683:7: error: conflicting types for 'memmove' 683 | char *memmove (char *dest, const char *src, size_t n); | ^~~~~~~ In file included from /usr/include/string.h:34, from ../../include/mrt.h:44, from bgpsim.c:6: /usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here 71 | extern void *memmove(void *, const void *, size_t); | ^~~~~~~ bgpsim.c: In function 'config_network_list': bgpsim.c:106:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 106 | get_config_network_list, (void *)num); | ^ bgpsim.c:121:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 121 | (void *)num); | ^ *** Error code 1 Stop. bmake[3]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/programs/bgpsim cd mrtd; /opt/local/bin/bmake gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -c mrtd.c In file included from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from mrtd.c:14: ../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t' 19 | typedef unsigned long sigset_t; | ^~~~~~~~ In file included from /usr/include/sys/types.h:640, from mrtd.c:5: /usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here 76 | } sigset_t; | ^~~~~~~~ In file included from mrtd.c:14: ../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop' 676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size); | ^~~~~~~~~ In file included from ../../include/mrt.h:673, from mrtd.c:14: /usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here 66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD, | ^~~~~~~~~ In file included from mrtd.c:14: ../../include/mrt.h:683:7: error: conflicting types for 'memmove' 683 | char *memmove (char *dest, const char *src, size_t n); | ^~~~~~~ In file included from /usr/include/string.h:34, from ../../include/mrt.h:44, from mrtd.c:14: /usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here 71 | extern void *memmove(void *, const void *, size_t); | ^~~~~~~ mrtd.c:119:1: warning: return type of 'main' is not 'int' [-Wmain] 119 | main (int argc, char *argv[]) | ^~~~ mrtd.c: In function 'main': mrtd.c:139:12: warning: unused variable 'pp' [-Wunused-variable] 139 | prefix_t *pp; | ^~ *** Error code 1 Stop. bmake[3]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/programs/mrtd cd ricd; /opt/local/bin/bmake gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -c ricd.c In file included from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from ricd.h:8, from ricd.c:12: ../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t' 19 | typedef unsigned long sigset_t; | ^~~~~~~~ In file included from /usr/include/sys/types.h:640, from ricd.c:5: /usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here 76 | } sigset_t; | ^~~~~~~~ In file included from ricd.h:8, from ricd.c:12: ../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop' 676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size); | ^~~~~~~~~ In file included from ../../include/mrt.h:673, from ricd.h:8, from ricd.c:12: /usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here 66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD, | ^~~~~~~~~ In file included from ricd.h:8, from ricd.c:12: ../../include/mrt.h:683:7: error: conflicting types for 'memmove' 683 | char *memmove (char *dest, const char *src, size_t n); | ^~~~~~~ In file included from /usr/include/string.h:34, from ../../include/mrt.h:44, from ricd.h:8, from ricd.c:12: /usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here 71 | extern void *memmove(void *, const void *, size_t); | ^~~~~~~ In file included from ricd.c:12: ricd.h:164:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 164 | #endif _RICD_H_ | ^~~~~~~~ ricd.c:159:1: warning: return type of 'main' is not 'int' [-Wmain] 159 | main (int argc, char *argv[]) | ^~~~ ricd.c: In function 'main': ricd.c:172:9: warning: variable 'rib_install_flag' set but not used [-Wunused-but-set-variable] 172 | int rib_install_flag = 1; | ^~~~~~~~~~~~~~~~ ricd.c:171:9: warning: variable 'kernel_install_flag6' set but not used [-Wunused-but-set-variable] 171 | int kernel_install_flag6 = 1; | ^~~~~~~~~~~~~~~~~~~~ ricd.c:170:9: warning: variable 'kernel_install_flag4' set but not used [-Wunused-but-set-variable] 170 | int kernel_install_flag4 = 1; | ^~~~~~~~~~~~~~~~~~~~ ricd.c:169:9: warning: variable 'kernel_read_flag' set but not used [-Wunused-but-set-variable] 169 | int kernel_read_flag = 1; | ^~~~~~~~~~~~~~~~ ricd.c:167:11: warning: variable 'rib_file' set but not used [-Wunused-but-set-variable] 167 | char *rib_file = NULL; | ^~~~~~~~ *** Error code 1 Stop. bmake[3]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/programs/ricd cd route_atob; /opt/local/bin/bmake gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -c route_atob.c In file included from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from route_atob.c:5: ../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t' 19 | typedef unsigned long sigset_t; | ^~~~~~~~ In file included from /usr/include/sys/types.h:640, from /usr/include/sys/wait.h:37, from /usr/include/stdlib.h:45, from ../../include/mrt.h:14, from route_atob.c:5: /usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here 76 | } sigset_t; | ^~~~~~~~ In file included from route_atob.c:5: ../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop' 676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size); | ^~~~~~~~~ In file included from ../../include/mrt.h:673, from route_atob.c:5: /usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here 66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD, | ^~~~~~~~~ In file included from route_atob.c:5: ../../include/mrt.h:683:7: error: conflicting types for 'memmove' 683 | char *memmove (char *dest, const char *src, size_t n); | ^~~~~~~ In file included from /usr/include/string.h:34, from ../../include/mrt.h:44, from route_atob.c:5: /usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here 71 | extern void *memmove(void *, const void *, size_t); | ^~~~~~~ route_atob.c:25:1: error: conflicting types for 'strptime' 25 | strptime (char *buf, const char *format, struct tm *tm) | ^~~~~~~~ In file included from /usr/include/sys/time.h:490, from /usr/include/sys/select.h:53, from /usr/include/sys/types.h:640, from /usr/include/sys/wait.h:37, from /usr/include/stdlib.h:45, from ../../include/mrt.h:14, from route_atob.c:5: /usr/include/time.h:105:14: note: previous declaration of 'strptime' was here 105 | extern char *strptime(const char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, | ^~~~~~~~ route_atob.c: In function 'strptime': route_atob.c:41:17: error: 'struct tm' has no member named 'tm_gmtoff' 41 | tm_gmtoff = tmp->tm_gmtoff; | ^~ route_atob.c:42:25: error: 'struct tm' has no member named 'tm_zone'; did you mean 'tm_mon'? 42 | tm_zone = strdup (tmp->tm_zone); | ^~~~~~~ | tm_mon route_atob.c:51:7: error: 'struct tm' has no member named 'tm_gmtoff' 51 | tm->tm_gmtoff = tm_gmtoff; | ^~ route_atob.c:52:9: error: 'struct tm' has no member named 'tm_zone'; did you mean 'tm_mon'? 52 | tm->tm_zone = tm_zone; | ^~~~~~~ | tm_mon route_atob.c:30:16: warning: variable 'tm_isdst' set but not used [-Wunused-but-set-variable] 30 | static int tm_isdst = 0; | ^~~~~~~~ route_atob.c: In function 'read_ascii': route_atob.c:315:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 315 | if (MRT->force_exit_flag) | ^~ route_atob.c:317:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 317 | bgp_deref_attr (attr); | ^~~~~~~~~~~~~~ route_atob.c:167:44: warning: variable 'optlen' set but not used [-Wunused-but-set-variable] 167 | int version = 0, as = 0, holdtime = 0, optlen = 0; | ^~~~~~ route_atob.c: At top level: route_atob.c:690:1: warning: return type of 'main' is not 'int' [-Wmain] 690 | main (int argc, char *argv[]) | ^~~~ *** Error code 1 Stop. bmake[3]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/programs/route_atob cd route_btoa; /opt/local/bin/bmake gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -c route_btoa.c In file included from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from route_btoa.c:5: ../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t' 19 | typedef unsigned long sigset_t; | ^~~~~~~~ In file included from /usr/include/sys/types.h:640, from /usr/include/sys/wait.h:37, from /usr/include/stdlib.h:45, from ../../include/mrt.h:14, from route_btoa.c:5: /usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here 76 | } sigset_t; | ^~~~~~~~ In file included from route_btoa.c:5: ../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop' 676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size); | ^~~~~~~~~ In file included from ../../include/mrt.h:673, from route_btoa.c:5: /usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here 66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD, | ^~~~~~~~~ In file included from route_btoa.c:5: ../../include/mrt.h:683:7: error: conflicting types for 'memmove' 683 | char *memmove (char *dest, const char *src, size_t n); | ^~~~~~~ In file included from /usr/include/string.h:34, from ../../include/mrt.h:44, from route_btoa.c:5: /usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here 71 | extern void *memmove(void *, const void *, size_t); | ^~~~~~~ route_btoa.c:698:1: warning: return type of 'main' is not 'int' [-Wmain] 698 | main (int argc, char *argv[]) | ^~~~ *** Error code 1 Stop. bmake[3]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/programs/route_btoa cd sbgp; /opt/local/bin/bmake gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -Wall -Wno-char-subscripts -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -DFUNCPROTO -I../../include -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED=1 -D_XOPEN_VERSION=4 -D__EXTENSIONS__ -D_VA_LIST -c simple_bgp.c In file included from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from simple_bgp.c:10: ../../include/mrt_thread.h:19:23: error: conflicting types for 'sigset_t' 19 | typedef unsigned long sigset_t; | ^~~~~~~~ In file included from /usr/include/sys/types.h:640, from /usr/include/sys/wait.h:37, from /usr/include/stdlib.h:45, from ../../include/mrt.h:14, from simple_bgp.c:10: /usr/include/sys/select.h:76:3: note: previous declaration of 'sigset_t' was here 76 | } sigset_t; | ^~~~~~~~ In file included from simple_bgp.c:10: ../../include/mrt.h:676:13: error: conflicting types for 'inet_ntop' 676 | const char *inet_ntop (int af, const void *src, char *dst, size_t size); | ^~~~~~~~~ In file included from ../../include/mrt.h:673, from simple_bgp.c:10: /usr/include/arpa/inet.h:66:20: note: previous declaration of 'inet_ntop' was here 66 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD, | ^~~~~~~~~ In file included from simple_bgp.c:10: ../../include/mrt.h:683:7: error: conflicting types for 'memmove' 683 | char *memmove (char *dest, const char *src, size_t n); | ^~~~~~~ In file included from /usr/include/string.h:34, from ../../include/mrt.h:44, from simple_bgp.c:10: /usr/include/iso/string_iso.h:71:14: note: previous declaration of 'memmove' was here 71 | extern void *memmove(void *, const void *, size_t); | ^~~~~~~ *** Error code 1 Stop. bmake[3]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/programs/sbgp