=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Building for mrt-2.2.2a.20000811nb1 Making lib cd bgp_attr; /usr/bin/make gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include aspath.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from aspath.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from aspath.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - aspath.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include bgp_attr.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bgp_attr.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bgp_attr.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask bgp_attr.c: In function 'bgp_unknown_attr_compare': bgp_attr.c:819:16: warning: variable 'len' set but not used [-Wunused-but-set-variable] int flags, len; ^~~ bgp_attr.c:819:9: warning: variable 'flags' set but not used [-Wunused-but-set-variable] int flags, len; ^~~~~ a - bgp_attr.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include as_regexp.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from as_regexp.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from as_regexp.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - as_regexp.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include as_alist.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from as_alist.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from as_alist.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - as_alist.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include bgp_msg.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bgp_msg.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bgp_msg.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask bgp_msg.c: In function 'bgp_process_mrt_msg': bgp_msg.c:173:14: warning: variable 'index' set but not used [-Wunused-but-set-variable] int afi, index; ^~~~~ bgp_msg.c: In function 'mrt_bgp_msg_type': bgp_msg.c:333:18: warning: variable 'hdrlen' set but not used [-Wunused-but-set-variable] int hdrtype, hdrlen; ^~~~~~ bgp_msg.c:332:14: warning: variable 'index' set but not used [-Wunused-but-set-variable] int afi, index; ^~~~~ bgp_msg.c:330:14: warning: variable 'das' set but not used [-Wunused-but-set-variable] int sas, das; ^~~ bgp_msg.c:330:9: warning: variable 'sas' set but not used [-Wunused-but-set-variable] int sas, das; ^~~ bgp_msg.c: In function 'bgp_create_update_msg2': bgp_msg.c:500:30: warning: variable 'end_pdu' set but not used [-Wunused-but-set-variable] u_char *cp, *start_pdu, *end_pdu; ^~~~~~~ bgp_msg.c: In function 'bgp_process_state_msg': bgp_msg.c:551:14: warning: variable 'index' set but not used [-Wunused-but-set-variable] int afi, index; ^~~~~ bgp_msg.c:532:14: warning: variable 'das' set but not used [-Wunused-but-set-variable] int sas, das; ^~~ a - bgp_msg.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include community.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from community.c:6: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from community.c:6: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - community.o cd bgp_proto; /usr/bin/make gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include bgp_util.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bgp_util.c:6: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bgp_util.c:6: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask bgp_util.c: In function 'bgp_connect_ready': bgp_util.c:131:62: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] if (getpeername (peer->sockfd, (struct sockaddr *)&name, &namelen) < 0) { ^ In file included from ../../include/mrt.h:39:0, from bgp_util.c:6: /usr/include/sys/socket.h:624:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~~~~~~ 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] int llen; ^~~~ bgp_util.c: In function 'bgp_schedule_recv_in': bgp_util.c:361:3: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] &namelen) < 0) { ^ In file included from ../../include/mrt.h:39:0, from bgp_util.c:6: /usr/include/sys/socket.h:624:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~~~~~~ bgp_util.c:405:13: warning: variable 'authcode' set but not used [-Wunused-but-set-variable] int authcode; ^~~~~~~~ bgp_util.c:404:16: warning: variable 'holdtime' set but not used [-Wunused-but-set-variable] u_long holdtime; ^~~~~~~~ bgp_util.c:403:13: warning: variable 'as' set but not used [-Wunused-but-set-variable] int as; ^~ bgp_util.c:402:13: warning: variable 'version' set but not used [-Wunused-but-set-variable] 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] int authcode; ^~~~~~~~ bgp_util.c:463:12: warning: variable 'holdtime' set but not used [-Wunused-but-set-variable] u_long holdtime; ^~~~~~~~ bgp_util.c:461:9: warning: variable 'version' set but not used [-Wunused-but-set-variable] int version; ^~~~~~~ bgp_util.c: In function 'bgp_in_accept_connection': bgp_util.c:778:58: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname (sockfd, (struct sockaddr *) &local, &len) < 0) { ^ In file included from ../../include/mrt.h:39:0, from bgp_util.c:6: /usr/include/sys/socket.h:625:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~~~~~~ bgp_util.c: In function 'bgp_make_tail': bgp_util.c:2275:15: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *data = buffer->data; ^~~~~~ bgp_util.c: In function 'bgp_put_a_line': bgp_util.c:2316:6: warning: pointer targets in passing argument 10 of 'rib_show_route_line' differ in signedness [-Wpointer-sign] buffer->data); ^~~~~~ In file included from ../../include/bgp.h:15:0, from ../../include/aspath.h:182, from ../../include/filter.h:8, from ../../include/mrt.h:571, from bgp_util.c:6: ../../include/rib.h:149:6: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' void rib_show_route_line (uii_connection_t *uii, int c1, int c2, int type, ^~~~~~~~~~~~~~~~~~~ bgp_util.c: In function 'bgp_dump_rtin': bgp_util.c:2606:17: warning: pointer targets in passing argument 10 of 'rib_show_route_line' differ in signedness [-Wpointer-sign] NULL, buffer->data); ^~~~~~ In file included from ../../include/bgp.h:15:0, from ../../include/aspath.h:182, from ../../include/filter.h:8, from ../../include/mrt.h:571, from bgp_util.c:6: ../../include/rib.h:149:6: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' void rib_show_route_line (uii_connection_t *uii, int c1, int c2, int type, ^~~~~~~~~~~~~~~~~~~ a - bgp_util.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include bgp_sm.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bgp_sm.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bgp_sm.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - bgp_sm.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include bgp_pdu.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bgp_pdu.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bgp_pdu.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask bgp_pdu.c: In function 'bgp_dump_msg': bgp_pdu.c:244:18: warning: variable 'hdrlen' set but not used [-Wunused-but-set-variable] int hdrtype, hdrlen; ^~~~~~ bgp_pdu.c: In function 'bgp_process_open': bgp_pdu.c:464:18: warning: variable 'authdata' set but not used [-Wunused-but-set-variable] u_char *authdata; ^~~~~~~~ a - bgp_pdu.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include view.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from view.c:6: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from view.c:6: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask view.c: In function 'view_delete_bgp_route': view.c:559:18: warning: variable 'best' set but not used [-Wunused-but-set-variable] bgp_route_t *best = NULL; ^~~~ view.c: In function 'bgp_re_evaluate_in': view.c:1900:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (peer->state != BGPSTATE_ESTABLISHED) ^~ view.c:1904:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (BIT_TEST (peer->options, BGP_PEER_TEST)) ^~ view.c: In function 'origin_merge': view.c:2180:1: warning: type of 'o1' defaults to 'int' [-Wimplicit-int] origin_merge (o1, o2) ^~~~~~~~~~~~ view.c:2180:1: warning: type of 'o2' defaults to 'int' [-Wimplicit-int] a - view.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include bgp_timer.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bgp_timer.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bgp_timer.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - bgp_timer.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include bgp_thread.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bgp_thread.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bgp_thread.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - bgp_thread.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include bgp_dump.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bgp_dump.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bgp_dump.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask bgp_dump.c: In function 'dump_binary_bgp_view': bgp_dump.c:248:7: warning: variable 'plen' set but not used [-Wunused-but-set-variable] int plen = 4; ^~~~ a - bgp_dump.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include bgp_dump2.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bgp_dump2.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bgp_dump2.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - bgp_dump2.o cd config; /usr/bin/make gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include config_file.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from config_file.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from config_file.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask config_file.c: In function 'config_del_module': config_file.c:82:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' 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] (void *) num); ^ config_file.c:314:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *) num); ^ a - config_file.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include commconf.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from commconf.c:6: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from commconf.c:6: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - commconf.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include bgpconf.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bgpconf.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bgpconf.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask bgpconf.c: In function 'config_ip_as_filter': bgpconf.c:52:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] get_config_aspath_filter, (void *) num); ^ bgpconf.c:68:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] get_config_aspath_filter, (void *) num); ^ bgpconf.c: In function 'config_community_list': bgpconf.c:129:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *) num); ^ bgpconf.c:142:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *) num); ^ bgpconf.c: In function 'config_dump_bgp_view': bgpconf.c:2024:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] config_add_module (0, "dump bgp", get_config_dump_bgp_view, (void *)id); ^ bgpconf.c: In function 'config_dump_f_bgp_routes': bgpconf.c:2126:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *)id); ^ bgpconf.c:2135:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *)id); ^ a - bgpconf.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include rtmapconf.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from rtmapconf.c:6: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from rtmapconf.c:6: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask rtmapconf.c: In function 'config_route_map': rtmapconf.c:32:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *) num); ^ rtmapconf.c:41:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *) num); ^ a - rtmapconf.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include load.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from load.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from load.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask load.c: In function 'load_f_bgp_routes': load.c:41:16: warning: variable 'safi' set but not used [-Wunused-but-set-variable] int afi, safi, nhlen, bitlen; ^~~~ load.c:40:14: warning: variable 't' set but not used [-Wunused-but-set-variable] time_t t; ^ load.c:20:10: warning: variable 'originated' set but not used [-Wunused-but-set-variable] time_t originated; ^~~~~~~~~~ load.c:19:17: warning: variable 'seq_num' set but not used [-Wunused-but-set-variable] int view_num, seq_num, attrlen; ^~~~~~~ load.c:19:7: warning: variable 'view_num' set but not used [-Wunused-but-set-variable] int view_num, seq_num, attrlen; ^~~~~~~~ load.c:18:10: warning: variable 'status' set but not used [-Wunused-but-set-variable] u_long status, mask; ^~~~~~ a - load.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include ripconf.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from ripconf.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from ripconf.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - ripconf.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include multiconf.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from multiconf.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from multiconf.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - multiconf.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include dvmrpconf.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from dvmrpconf.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from dvmrpconf.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - dvmrpconf.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include pimconf.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from pimconf.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from pimconf.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - pimconf.o cd filter; /usr/bin/make gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include filter.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from filter.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from filter.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - filter.o cd io; /usr/bin/make gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include io.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from io.c:12: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from io.c:12: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - io.o cd kernel; /usr/bin/make gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include bsd.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bsd.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bsd.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask bsd.c: In function 'sys_kernel_rt_msg': bsd.c:526:17: warning: implicit declaration of function 'ioctl'; did you mean 'sysctl'? [-Wimplicit-function-declaration] if (ioctl (route_sockfd, SIOCGIFFLAGS, &ifr) < 0) { ^~~~~ sysctl bsd.c:521:18: warning: unused variable 'tmpx' [-Wunused-variable] char tmpx[MAXLINE]; ^~~~ bsd.c:590:5: error: 'RTF_CLONING' undeclared (first use in this function); did you mean 'RTM_LOSING'? |RTF_CLONING /* direct if */ ^~~~~~~~~~~ RTM_LOSING bsd.c:590:5: note: each undeclared identifier is reported only once for each function it appears in bsd.c:591:5: error: 'RTF_XRESOLVE' undeclared (first use in this function); did you mean 'MRTMSG_RESOLVE'? |RTF_XRESOLVE /* direct if for IPv6 */ ^~~~~~~~~~~~ MRTMSG_RESOLVE bsd.c:404:43: warning: unused variable 'src' [-Wunused-variable] u_char *addr = NULL, *broadcast = NULL, *src = NULL; ^~~ bsd.c:395:23: warning: unused variable 'so_src' [-Wunused-variable] so_ifa, so_ifp, so_src; ^~~~~~ *** Error code 1 Stop. make[3]: stopped in /tmp/pkgbuild/net/mrt/work.alpha/mrt/src/lib/kernel cd mrt; /usr/bin/make gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include util.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from util.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from util.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - util.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include prefix.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from prefix.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from prefix.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask prefix.c: In function 'prefix_toname': prefix.c:309:10: warning: unused variable 'hostbuf' [-Wunused-variable] char hostbuf[1024]; ^~~~~~~ prefix.c:308:9: warning: unused variable 'h_errno_r' [-Wunused-variable] int h_errno_r; ^~~~~~~~~ prefix.c:307:20: warning: unused variable 'result' [-Wunused-variable] struct hostent result; ^~~~~~ a - prefix.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include route_util.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from route_util.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from route_util.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - route_util.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include gateway.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from gateway.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from gateway.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - gateway.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include mrt.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from mrt.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from mrt.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask mrt.c: In function 'mrt_accept': mrt.c:580:30: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] int r = accept (d, addr, addrlen); ^~~~~~~ In file included from ../../include/mrt.h:39:0, from mrt.c:5: /usr/include/sys/socket.h:620:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~ a - mrt.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include user.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from user.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from user.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask user.c: In function 'uii_accept_connection': user.c:222:14: warning: variable 'port' set but not used [-Wunused-but-set-variable] int len, port, family; ^~~~ user.c: In function 'uii_call_callback_fn': user.c:1184:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] args[nargs++] = (void *) atoi (utoken); ^ user.c:1215:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] args[optional_arg] = (void *) optional; ^ a - user.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include schedule.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from schedule.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from schedule.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - schedule.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include alist.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from alist.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from alist.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - alist.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include trace.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from trace.c:6: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from trace.c:6: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - trace.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include select.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from select.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from select.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - select.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include connect.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from connect.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from connect.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask connect.c: In function 'nonblock_connect': connect.c:97:9: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] &size); ^ In file included from ../../include/mrt.h:39:0, from connect.c:5: /usr/include/sys/socket.h:626:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockopt(int, int, int, void *__restrict, socklen_t * __restrict); ^~~~~~~~~~ a - connect.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include reboot.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from reboot.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from reboot.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - reboot.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include user_old.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from user_old.c:7: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from user_old.c:7: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask user_old.c: In function 'parse_line': user_old.c:31:9: warning: variable 'state' set but not used [-Wunused-but-set-variable] int state; ^~~~~ a - user_old.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include user_util.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from user_util.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from user_util.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask user_util.c: In function 'find_matching_commands': user_util.c:215:7: warning: variable 'optional' set but not used [-Wunused-but-set-variable] int optional; ^~~~~~~~ user_util.c:213:30: warning: variable 'last_utoken' set but not used [-Wunused-but-set-variable] char *last_ctoken = NULL, *last_utoken = NULL; ^~~~~~~~~~~ a - user_util.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include compat.c a - compat.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include vars.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from vars.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from vars.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - vars.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include nexthop.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from nexthop.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from nexthop.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask nexthop.c: In function 'nexthop_hash_fn': nexthop.c:42:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ nexthop.c:60:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' return (0); ^~~~~~ nexthop.c: In function 'is_prefix_local_on': nexthop.c:393:19: warning: unused variable 'sin6_addr' [-Wunused-variable] struct in6_addr *sin6_addr; ^~~~~~~~~ a - nexthop.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include buffer.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from buffer.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from buffer.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask In file included from /usr/include/stdio.h:597:0, from ../../include/mrt.h:17, from buffer.c:5: buffer.c:232:1: error: expected declaration specifiers or '...' before numeric constant snprintf (char *str, size_t size, const char *format, ...) ^ In file included from /usr/include/ssp/stdio.h:34:0, from /usr/include/stdio.h:597, from ../../include/mrt.h:17, from buffer.c:5: buffer.c:232:1: error: expected declaration specifiers or '...' before '__builtin_object_size' snprintf (char *str, size_t size, const char *format, ...) ^ *** Error code 1 Stop. make[3]: stopped in /tmp/pkgbuild/net/mrt/work.alpha/mrt/src/lib/mrt cd pim; /usr/bin/make gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include dvmrp.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from dvmrp.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from dvmrp.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask dvmrp.c:1759:1: warning: 'dvmrp_route_compare' defined but not used [-Wunused-function] dvmrp_route_compare (dvmrp_route_t * a, dvmrp_route_t * b) ^~~~~~~~~~~~~~~~~~~ dvmrp.c:1276:1: warning: 'dvmrp_timer_probe' defined but not used [-Wunused-function] dvmrp_timer_probe (void) ^~~~~~~~~~~~~~~~~ a - dvmrp.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include pim.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from pim.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from pim.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask pim.c: In function 'pim_receive': pim.c:293:16: warning: variable 'gateway' set but not used [-Wunused-but-set-variable] gateway_t *gateway; ^~~~~~~ pim.c:285:18: warning: variable 'cksum' set but not used [-Wunused-but-set-variable] int len = 0, cksum; ^~~~~ pim.c: In function 'pim_get_enc_multi': pim.c:805:19: warning: variable 'reserved' set but not used [-Wunused-but-set-variable] int afi, enc, reserved, masklen; ^~~~~~~~ pim.c: In function 'pim_get_enc_src': pim.c:837:19: warning: variable 'reserved' set but not used [-Wunused-but-set-variable] int afi, enc, reserved, masklen; ^~~~~~~~ pim.c: In function 'pim_recv_join_prune_graft': pim.c:1393:19: warning: variable 'reserved' set but not used [-Wunused-but-set-variable] int holdtime, reserved, ngroups; ^~~~~~~~ pim.c: In function 'pim_start': pim.c:1822:13: warning: variable 'igmp' set but not used [-Wunused-but-set-variable] igmp_t *igmp = NULL; ^~~~ a - pim.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include cache.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from cache.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from cache.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask cache.c:234:1: warning: 'index2vindex' defined but not used [-Wunused-function] index2vindex (int index) ^~~~~~~~~~~~ a - cache.o cd portserver; /usr/bin/make cd radix; /usr/bin/make gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include radix.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from radix.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from radix.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - radix.o cd rib; /usr/bin/make gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include rib.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from rib.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from rib.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask rib.c:932:1: warning: 'rib_if_call_fn' defined but not used [-Wunused-function] rib_if_call_fn (int cmd, interface_t *interface, ll_addr_t *if_addr) ^~~~~~~~~~~~~~ a - rib.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include rib_uii.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from rib_uii.c:6: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from rib_uii.c:6: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - rib_uii.o cd rip; /usr/bin/make gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include rip_proto.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from rip_proto.c:6: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from rip_proto.c:6: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - rip_proto.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include rip2.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from rip2.c:15: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from rip2.c:15: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask rip2.c: In function 'rip2_process_packet_request': rip2.c:101:11: warning: variable 'tag' set but not used [-Wunused-but-set-variable] int afi, tag, prefixlen, metric; ^~~ rip2.c: In function 'rip2_send_update': rip2.c:327:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (rip2_sendmsgto (rip_interface, buffer, cp - buffer, 0, ^~ rip2.c:331:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (host) { ^~ a - rip2.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include ripng.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from ripng.c:23: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from ripng.c:23: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask ripng.c: In function 'ripng_process_packet_request': ripng.c:137:6: warning: variable 'tag' set but not used [-Wunused-but-set-variable] int tag, prefixlen, metric; ^~~ ripng.c: In function 'ripng_receive_update': ripng.c:425:22: warning: 'buffer' is used uninitialized in this function [-Wuninitialized] u_char *buffer, *cp = buffer; ^~ a - ripng.o cd struct; /usr/bin/make gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include 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] (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] (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] (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] else fprintf(out, "Delete: Error freeing 0x%.8x. \"%s\"\n", (u_int)ptr, strerror(errno)); ^ a - New.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include 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] 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] 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] 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 -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include 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] while ((unsigned)tmp[0] != size-1) { ^ array.c:285:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 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] r = (unsigned)tmp[q+1]; ^ array.c:309:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] tmp[p] = (DATA_PTR)r; ^ array.c:330:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] tmp[p] = (DATA_PTR)r; ^ array.c:335:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] tmp[p] = (DATA_PTR)p; ^ a - array.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include 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] 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] 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] #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' LLM_PS(ll, "LL_Intrusive", tfm(ll->attr & LL_Intrusive));\ ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' LLMacro_PrintAllAttr(ll); ^~~~~~~~~~~~~~~~~~~~ linked_list.c:56:84: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #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' LLM_PS(ll, "LL_AutoSort", tfm(ll->attr & LL_AutoSort));\ ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' LLMacro_PrintAllAttr(ll); ^~~~~~~~~~~~~~~~~~~~ linked_list.c:56:84: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #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' LLM_PS(ll, "LL_ReportChange", tfm(ll->attr & LL_ReportChange));\ ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' LLMacro_PrintAllAttr(ll); ^~~~~~~~~~~~~~~~~~~~ linked_list.c:56:84: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #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' LLM_PS(ll, "LL_ReportAccess", tfm(ll->attr & LL_ReportAccess));\ ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' LLMacro_PrintAllAttr(ll); ^~~~~~~~~~~~~~~~~~~~ linked_list.c:57:84: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #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' LLM_PD(ll, "ll->count", ll->count);\ ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' LLMacro_PrintAllAttr(ll); ^~~~~~~~~~~~~~~~~~~~ linked_list.c:57:84: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #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' LLM_PD(ll, "LL_NextOffset", ll->next_offset);\ ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' LLMacro_PrintAllAttr(ll); ^~~~~~~~~~~~~~~~~~~~ linked_list.c:57:84: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #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' LLM_PD(ll, "LL_PrevOffset", ll->prev_offset);\ ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' LLMacro_PrintAllAttr(ll); ^~~~~~~~~~~~~~~~~~~~ linked_list.c:58:88: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #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' LLM_PH(ll, "LL_FindFunction", ll->find_fn);\ ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' LLMacro_PrintAllAttr(ll); ^~~~~~~~~~~~~~~~~~~~ linked_list.c:58:105: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #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' LLM_PH(ll, "LL_FindFunction", ll->find_fn);\ ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' LLMacro_PrintAllAttr(ll); ^~~~~~~~~~~~~~~~~~~~ linked_list.c:58:88: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #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' LLM_PH(ll, "LL_CompareFunction", ll->comp_fn);\ ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' LLMacro_PrintAllAttr(ll); ^~~~~~~~~~~~~~~~~~~~ linked_list.c:58:105: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #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' LLM_PH(ll, "LL_CompareFunction", ll->comp_fn);\ ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' LLMacro_PrintAllAttr(ll); ^~~~~~~~~~~~~~~~~~~~ linked_list.c:58:88: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #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' LLM_PH(ll, "LL_DestroyFunction", ll->destroy_fn);\ ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' LLMacro_PrintAllAttr(ll); ^~~~~~~~~~~~~~~~~~~~ linked_list.c:58:105: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #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' LLM_PH(ll, "LL_DestroyFunction", ll->destroy_fn);\ ^~~~~~ linked_list.c:2251:4: note: in expansion of macro 'LLMacro_PrintAllAttr' 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] printf("0x%.8x\n", (u_int)data); ^ a - linked_list.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include 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] 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] 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] (u_int)h, h->size, h->resize); ^ hash.c:1417:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 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] (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] 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] (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] (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] (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] (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] 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] printf("%3d: 0x%.8x key = 0x%.8x = \"%s\"\n", index, (u_int)data, (u_int)key, (char *)key); ^ a - hash.o cd timer; /usr/bin/make gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include timer.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from timer.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from timer.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - timer.o gcc -c -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include signal.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from signal.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from signal.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask a - signal.o Making programs cd bgpsim; /usr/bin/make gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include -DINET6 -DFUNCPROTO -I../../include -c bgpsim.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bgpsim.c:6: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bgpsim.c:6: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask bgpsim.c: In function 'config_network_list': bgpsim.c:106:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] get_config_network_list, (void *)num); ^ bgpsim.c:121:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *)num); ^ gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include -DINET6 -DFUNCPROTO -I../../include -c simulate.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from simulate.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from simulate.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask simulate.c: In function 'simulate_add_routes': simulate.c:115:18: warning: variable 'route' set but not used [-Wunused-but-set-variable] bgp_route_t *route; ^~~~~ gcc -Wl,-R/usr/pkg/lib -L/usr/local/lib bgpsim.o simulate.o ../../lib/libcfg.a ../../lib/libbgp.a ../../lib/librib.a ../../lib/libmrt.a -o bgpsim -lresolv ld: bgpsim.o: in function `main': (.text.startup+0x35c): undefined reference to `init_interfaces' ld: (.text.startup+0x360): undefined reference to `init_interfaces' ld: ../../lib/libcfg.a(config_file.o): in function `config_add_output': (.text+0x90): undefined reference to `buffer_vprintf' ld: (.text+0x9c): undefined reference to `buffer_vprintf' ld: (.text+0xc0): undefined reference to `New_Buffer' ld: (.text+0xcc): undefined reference to `New_Buffer' ld: ../../lib/libcfg.a(config_file.o): in function `show_config': (.text+0x92c): undefined reference to `buffer_adjust' ld: (.text+0x930): undefined reference to `buffer_adjust' ld: ../../lib/libcfg.a(config_file.o): in function `config_write': (.text+0x2228): undefined reference to `buffer_adjust' ld: (.text+0x222c): undefined reference to `buffer_adjust' ld: ../../lib/libcfg.a(config_file.o): in function `config_from_file2': (.text+0x3114): undefined reference to `New_Buffer_Stream' ld: (.text+0x3124): undefined reference to `New_Buffer_Stream' ld: (.text+0x3150): undefined reference to `buffer_gets' ld: (.text+0x3154): undefined reference to `buffer_gets' ld: (.text+0x320c): undefined reference to `Delete_Buffer' ld: (.text+0x3210): undefined reference to `Delete_Buffer' ld: ../../lib/libcfg.a(commconf.o): in function `re_evaluate_static_routes': (.text+0x484): undefined reference to `find_interface' ld: (.text+0x488): undefined reference to `find_interface' ld: (.text+0x4a8): undefined reference to `find_interface_local' ld: (.text+0x4ac): undefined reference to `find_interface_local' ld: ../../lib/libcfg.a(commconf.o): in function `config_interface': (.text+0x824): undefined reference to `find_interface_byname' ld: (.text+0x830): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(commconf.o): in function `config_ip_route': (.text+0xb98): undefined reference to `find_interface_byname' ld: (.text+0xb9c): undefined reference to `find_interface_byname' ld: (.text+0xe48): undefined reference to `find_interface' ld: (.text+0xe4c): undefined reference to `find_interface' ld: (.text+0xe74): undefined reference to `find_interface_local' ld: (.text+0xe78): undefined reference to `find_interface_local' ld: ../../lib/libcfg.a(commconf.o): in function `config_gateway': (.text+0x16c4): undefined reference to `find_interface_byname' ld: (.text+0x16d4): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(commconf.o): in function `init_mrtd_config': (.text+0x18e4): undefined reference to `ip_hash_fn' ld: (.text+0x192c): undefined reference to `ip_lookup_fn' ld: (.text+0x1970): undefined reference to `ip_lookup_fn' ld: (.text+0x1b9c): undefined reference to `show_interfaces' ld: ../../lib/libcfg.a(bgpconf.o): in function `config_router_neighbor_n_peer': (.text+0x66e0): undefined reference to `find_interface_byname' ld: (.text+0x66e4): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(bgpconf.o): in function `config_router_neighbor_update_source': (.text+0x8dbc): undefined reference to `find_interface_local' ld: (.text+0x8dc0): undefined reference to `find_interface_local' ld: (.text+0x8ea4): undefined reference to `find_interface_byname' ld: (.text+0x8ea8): undefined reference to `find_interface_byname' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_make_tail.isra.2': (.text+0xf98): undefined reference to `buffer_putc' ld: (.text+0xf9c): undefined reference to `buffer_putc' ld: (.text+0xfac): undefined reference to `buffer_putc' ld: (.text+0xfb4): undefined reference to `buffer_putc' ld: (.text+0xfe4): undefined reference to `buffer_printf' ld: (.text+0xff8): undefined reference to `buffer_printf' ld: (.text+0x1034): undefined reference to `buffer_putc' ld: (.text+0x103c): undefined reference to `buffer_putc' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_put_a_line': (.text+0x1078): undefined reference to `New_Buffer' ld: (.text+0x1088): undefined reference to `New_Buffer' ld: (.text+0x1180): undefined reference to `Delete_Buffer' ld: (.text+0x1184): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_dump_rtin': (.text+0x136c): undefined reference to `New_Buffer' ld: (.text+0x1370): undefined reference to `New_Buffer' ld: (.text+0x1400): undefined reference to `Delete_Buffer' ld: (.text+0x1404): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_util.o): in function `peer_set_gateway': (.text+0x21f4): undefined reference to `get_socket_addr' ld: (.text+0x2214): undefined reference to `get_socket_addr' ld: (.text+0x222c): undefined reference to `get_socket_addr' ld: (.text+0x2234): undefined reference to `get_socket_addr' ld: (.text+0x2278): undefined reference to `find_interface_local' ld: (.text+0x227c): undefined reference to `find_interface_local' ld: (.text+0x2434): undefined reference to `find_interface_local' ld: (.text+0x2438): undefined reference to `find_interface_local' ld: (.text+0x2484): undefined reference to `find_interface' ld: (.text+0x2488): undefined reference to `find_interface' ld: (.text+0x24a4): undefined reference to `find_interface_local' ld: (.text+0x24b4): undefined reference to `find_interface_local' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_start_transport_connection': (.text+0x2690): undefined reference to `socket_reuse' ld: (.text+0x2694): undefined reference to `socket_reuse' ld: ../../lib/libbgp.a(bgp_util.o): in function `init_BGP_listen': (.text+0x3560): undefined reference to `socket_reuse' ld: (.text+0x3568): undefined reference to `socket_reuse' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_in_recv_open': (.text+0x5f98): undefined reference to `get_socket_addr' ld: (.text+0x5f9c): undefined reference to `get_socket_addr' ld: ../../lib/libbgp.a(view.o): in function `bgp_policy': (.text+0x354): undefined reference to `find_interface_local' ld: (.text+0x35c): undefined reference to `find_interface_local' ld: ../../lib/libbgp.a(view.o): in function `bgp_resolve_nexthop': (.text+0x1fc8): undefined reference to `find_interface' ld: (.text+0x1fcc): undefined reference to `find_interface' ld: (.text+0x1fe8): undefined reference to `find_interface_local' ld: (.text+0x1ff0): undefined reference to `find_interface_local' ld: (.text+0x2074): undefined reference to `ip_lookup_fn' ld: (.text+0x2080): undefined reference to `ip_hash_fn' ld: ../../lib/libbgp.a(view.o): in function `view_set_nexthop_self': (.text+0x4764): undefined reference to `find_interface' ld: (.text+0x476c): undefined reference to `find_interface' ld: ../../lib/libbgp.a(view.o): in function `view_add_aggregate': (.text+0x75b0): undefined reference to `find_interface' ld: (.text+0x75b4): undefined reference to `find_interface' ld: (.text+0x7604): undefined reference to `find_interface' ld: ../../lib/libbgp.a(view.o):(.text+0x7608): more undefined references to `find_interface' follow ld: ../../lib/libbgp.a(bgp_dump.o): in function `dump_view_bgp_routes': (.text+0x7a8): undefined reference to `Delete_Buffer' ld: (.text+0x7ac): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_attr_buffer': (.text+0x1e74): undefined reference to `buffer_printf' ld: (.text+0x1ea0): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_print_attr_buffer': (.text+0x1f68): undefined reference to `buffer_printf' ld: (.text+0x1f78): undefined reference to `buffer_printf' ld: (.text+0x1fa0): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o):(.text+0x1fb0): more undefined references to `buffer_printf' follow ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_uii_attr': (.text+0x2334): undefined reference to `New_Buffer' ld: (.text+0x2338): undefined reference to `New_Buffer' ld: ../../lib/librib.a(rib.o): in function `route_toa_buffer': (.text+0x14c): undefined reference to `buffer_printf' ld: (.text+0x15c): undefined reference to `buffer_printf' ld: (.text+0x1a0): undefined reference to `buffer_printf' ld: (.text+0x1b0): undefined reference to `buffer_printf' ld: (.text+0x1e0): undefined reference to `buffer_printf' ld: ../../lib/librib.a(rib.o):(.text+0x1ec): more undefined references to `buffer_printf' follow ld: ../../lib/librib.a(rib.o): in function `route_toa_buffer': (.text+0x274): undefined reference to `New_Buffer' ld: (.text+0x278): undefined reference to `New_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_replace_active': (.text+0xc04): undefined reference to `New_Buffer' ld: (.text+0xc08): undefined reference to `New_Buffer' ld: (.text+0xc64): undefined reference to `Delete_Buffer' ld: (.text+0xc68): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_delete_route_node': (.text+0x11dc): undefined reference to `New_Buffer' ld: (.text+0x11e0): undefined reference to `New_Buffer' ld: (.text+0x123c): undefined reference to `Delete_Buffer' ld: (.text+0x1240): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_add_route': (.text+0x1ca4): undefined reference to `New_Buffer' ld: (.text+0x1ca8): undefined reference to `New_Buffer' ld: (.text+0x1d10): undefined reference to `Delete_Buffer' ld: (.text+0x1d14): undefined reference to `Delete_Buffer' ld: (.text+0x1ec0): undefined reference to `New_Buffer' ld: (.text+0x1ec4): undefined reference to `New_Buffer' ld: (.text+0x1f20): undefined reference to `Delete_Buffer' ld: (.text+0x1f24): undefined reference to `Delete_Buffer' ld: (.text+0x20ac): undefined reference to `New_Buffer' ld: (.text+0x20b0): undefined reference to `New_Buffer' ld: (.text+0x2114): undefined reference to `Delete_Buffer' ld: (.text+0x2118): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(prefix.o): in function `print_prefix_list_buffer': (.text+0x1044): undefined reference to `buffer_printf' ld: (.text+0x1050): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(prefix.o): in function `print_pref_prefix_list_buffer': (.text+0x1190): undefined reference to `buffer_printf' ld: (.text+0x11a0): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(user.o): in function `uii_accept_connection': (.text+0x9ac): undefined reference to `New_Buffer' ld: (.text+0x9c8): undefined reference to `New_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_yes_no': (.text+0x11d4): undefined reference to `buffer_adjust' ld: (.text+0x11dc): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o): in function `uii_destroy_connection': (.text+0x1918): undefined reference to `Delete_Buffer' ld: (.text+0x191c): undefined reference to `Delete_Buffer' ld: (.text+0x1930): undefined reference to `Delete_Buffer' ld: (.text+0x1934): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_add_bulk_output': (.text+0x24f0): undefined reference to `buffer_vprintf' ld: (.text+0x24fc): undefined reference to `buffer_vprintf' ld: (.text+0x2520): undefined reference to `New_Buffer' ld: (.text+0x2528): undefined reference to `New_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_send_bulk_data': (.text+0x2f7c): undefined reference to `buffer_adjust' ld: (.text+0x2f80): undefined reference to `buffer_adjust' ld: (.text+0x3034): undefined reference to `buffer_adjust' ld: (.text+0x303c): undefined reference to `buffer_adjust' ld: (.text+0x31ec): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o):(.text+0x31f4): more undefined references to `buffer_adjust' follow ld: ../../lib/libmrt.a(user.o): in function `uii_proccess_command': (.text+0x5620): undefined reference to `New_Buffer' ld: (.text+0x5624): undefined reference to `New_Buffer' ld: (.text+0x563c): undefined reference to `buffer_puts' ld: (.text+0x5640): undefined reference to `buffer_puts' ld: (.text+0x566c): undefined reference to `buffer_puts' ld: (.text+0x5674): undefined reference to `buffer_puts' ld: (.text+0x5688): undefined reference to `buffer_puts' ld: ../../lib/libmrt.a(user.o):(.text+0x568c): more undefined references to `buffer_puts' follow ld: ../../lib/libmrt.a(user.o): in function `uii_proccess_command': (.text+0x5854): undefined reference to `Delete_Buffer' ld: (.text+0x5860): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_command_tab_complete': (.text+0x6ac4): undefined reference to `buffer_adjust' ld: (.text+0x6ad0): undefined reference to `buffer_adjust' ld: (.text+0x6af8): undefined reference to `buffer_printf' ld: (.text+0x6afc): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(user.o): in function `uii_read_command.part.1': (.text+0x6e48): undefined reference to `buffer_insert' ld: (.text+0x6e54): undefined reference to `buffer_insert' ld: (.text+0x7168): undefined reference to `buffer_adjust' ld: (.text+0x7170): undefined reference to `buffer_adjust' ld: (.text+0x7184): undefined reference to `buffer_puts' ld: (.text+0x7188): undefined reference to `buffer_puts' ld: (.text+0x73f8): undefined reference to `buffer_adjust' ld: (.text+0x7400): undefined reference to `buffer_adjust' ld: (.text+0x74a4): undefined reference to `buffer_delete' ld: (.text+0x74a8): undefined reference to `buffer_delete' ld: (.text+0x7594): undefined reference to `buffer_delete' ld: (.text+0x759c): undefined reference to `buffer_delete' ld: (.text+0x7640): undefined reference to `buffer_adjust' ld: (.text+0x7648): undefined reference to `buffer_adjust' ld: (.text+0x7744): undefined reference to `buffer_peek' ld: (.text+0x7748): undefined reference to `buffer_peek' ld: (.text+0x7788): undefined reference to `buffer_peek' ld: (.text+0x778c): undefined reference to `buffer_peek' ld: (.text+0x87e8): undefined reference to `buffer_adjust' ld: (.text+0x87ec): undefined reference to `buffer_adjust' ld: (.text+0x899c): undefined reference to `buffer_adjust' ld: (.text+0x89a0): undefined reference to `buffer_adjust' ld: (.text+0x8a48): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o):(.text+0x8a4c): more undefined references to `buffer_adjust' follow ld: ../../lib/libmrt.a(trace.o): in function `trace': (.text+0x55c): undefined reference to `buffer_printf' ld: (.text+0x568): undefined reference to `buffer_printf' ld: (.text+0x5d0): undefined reference to `buffer_printf' ld: (.text+0x5d8): undefined reference to `buffer_printf' ld: (.text+0x5f4): undefined reference to `buffer_vprintf' ld: (.text+0x5fc): undefined reference to `buffer_vprintf' ld: (.text+0x890): undefined reference to `New_Buffer' ld: (.text+0x894): undefined reference to `New_Buffer' ld: (.text+0x914): undefined reference to `buffer_printf' ld: (.text+0x91c): undefined reference to `buffer_printf' ld: (.text+0xa54): undefined reference to `buffer_printf' ld: (.text+0xa5c): undefined reference to `buffer_printf' ld: (.text+0xa74): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(trace.o):(.text+0xa7c): more undefined references to `buffer_printf' follow ld: ../../lib/libmrt.a(trace.o): in function `Destroy_Trace': (.text+0x1470): undefined reference to `Delete_Buffer' ld: (.text+0x1474): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_buffer': (.text+0x1660): undefined reference to `New_Buffer' ld: (.text+0x1664): undefined reference to `New_Buffer' ld: (.text+0x167c): undefined reference to `buffer_puts' ld: (.text+0x1680): undefined reference to `buffer_puts' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_buffer_del': (.text+0x1a20): undefined reference to `Delete_Buffer' ld: (.text+0x1a28): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_data': (.text+0x1ab4): undefined reference to `New_Buffer' ld: (.text+0x1ab8): undefined reference to `New_Buffer' ld: (.text+0x1adc): undefined reference to `buffer_vprintf' ld: (.text+0x1aec): undefined reference to `buffer_vprintf' ld: (.text+0x1b14): undefined reference to `Delete_Buffer' ld: (.text+0x1b1c): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `user_vnotice': (.text+0x1bc0): undefined reference to `New_Buffer' ld: (.text+0x1be0): undefined reference to `New_Buffer' ld: (.text+0x1bfc): undefined reference to `buffer_vprintf' ld: (.text+0x1c04): undefined reference to `buffer_vprintf' ld: (.text+0x1de4): undefined reference to `Delete_Buffer' ld: (.text+0x1de8): undefined reference to `Delete_Buffer' *** Error code 1 Stop. make[3]: stopped in /tmp/pkgbuild/net/mrt/work.alpha/mrt/src/programs/bgpsim cd mrtd; /usr/bin/make gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include -DINET6 -DFUNCPROTO -I../../include -c mrtd.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from mrtd.c:14: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from mrtd.c:14: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask mrtd.c:119:1: warning: return type of 'main' is not 'int' [-Wmain] main (int argc, char *argv[]) ^~~~ mrtd.c: In function 'main': mrtd.c:139:12: warning: unused variable 'pp' [-Wunused-variable] prefix_t *pp; ^~ gcc -Wl,-R/usr/pkg/lib -L/usr/local/lib mrtd.o ../../lib/libcfg.a ../../lib/libbgp.a ../../lib/librip.a ../../lib/libpim.a ../../lib/librib.a ../../lib/libmrt.a -o mrtd -lresolv ld: mrtd.o: in function `main': (.text.startup+0x3a8): undefined reference to `init_interfaces' ld: (.text.startup+0x3b0): undefined reference to `init_interfaces' ld: (.text.startup+0x3ec): undefined reference to `igmp_init' ld: (.text.startup+0x3f0): undefined reference to `igmp_init' ld: (.text.startup+0x404): undefined reference to `igmp_init' ld: (.text.startup+0x408): undefined reference to `igmp_init' ld: (.text.startup+0x4e8): undefined reference to `kernel_init' ld: (.text.startup+0x4ec): undefined reference to `kernel_init' ld: (.text.startup+0x518): undefined reference to `kernel_update_route' ld: (.text.startup+0x528): undefined reference to `add_interfaces_to_rib' ld: (.text.startup+0x534): undefined reference to `add_interfaces_to_rib' ld: (.text.startup+0x620): undefined reference to `kernel_read_rt_table' ld: (.text.startup+0x624): undefined reference to `kernel_read_rt_table' ld: ../../lib/libcfg.a(config_file.o): in function `config_add_output': (.text+0x90): undefined reference to `buffer_vprintf' ld: (.text+0x9c): undefined reference to `buffer_vprintf' ld: (.text+0xc0): undefined reference to `New_Buffer' ld: (.text+0xcc): undefined reference to `New_Buffer' ld: ../../lib/libcfg.a(config_file.o): in function `show_config': (.text+0x92c): undefined reference to `buffer_adjust' ld: (.text+0x930): undefined reference to `buffer_adjust' ld: ../../lib/libcfg.a(config_file.o): in function `config_write': (.text+0x2228): undefined reference to `buffer_adjust' ld: (.text+0x222c): undefined reference to `buffer_adjust' ld: ../../lib/libcfg.a(config_file.o): in function `config_from_file2': (.text+0x3114): undefined reference to `New_Buffer_Stream' ld: (.text+0x3124): undefined reference to `New_Buffer_Stream' ld: (.text+0x3150): undefined reference to `buffer_gets' ld: (.text+0x3154): undefined reference to `buffer_gets' ld: (.text+0x320c): undefined reference to `Delete_Buffer' ld: (.text+0x3210): undefined reference to `Delete_Buffer' ld: ../../lib/libcfg.a(commconf.o): in function `re_evaluate_static_routes': (.text+0x484): undefined reference to `find_interface' ld: (.text+0x488): undefined reference to `find_interface' ld: (.text+0x4a8): undefined reference to `find_interface_local' ld: (.text+0x4ac): undefined reference to `find_interface_local' ld: ../../lib/libcfg.a(commconf.o): in function `config_interface': (.text+0x824): undefined reference to `find_interface_byname' ld: (.text+0x830): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(commconf.o): in function `config_ip_route': (.text+0xb98): undefined reference to `find_interface_byname' ld: (.text+0xb9c): undefined reference to `find_interface_byname' ld: (.text+0xe48): undefined reference to `find_interface' ld: (.text+0xe4c): undefined reference to `find_interface' ld: (.text+0xe74): undefined reference to `find_interface_local' ld: (.text+0xe78): undefined reference to `find_interface_local' ld: ../../lib/libcfg.a(commconf.o): in function `config_gateway': (.text+0x16c4): undefined reference to `find_interface_byname' ld: (.text+0x16d4): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(commconf.o): in function `init_mrtd_config': (.text+0x18e4): undefined reference to `ip_hash_fn' ld: (.text+0x192c): undefined reference to `ip_lookup_fn' ld: (.text+0x1970): undefined reference to `ip_lookup_fn' ld: (.text+0x1b9c): undefined reference to `show_interfaces' ld: ../../lib/libcfg.a(bgpconf.o): in function `config_router_neighbor_n_peer': (.text+0x66e0): undefined reference to `find_interface_byname' ld: (.text+0x66e4): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(bgpconf.o): in function `config_router_neighbor_update_source': (.text+0x8dbc): undefined reference to `find_interface_local' ld: (.text+0x8dc0): undefined reference to `find_interface_local' ld: (.text+0x8ea4): undefined reference to `find_interface_byname' ld: (.text+0x8ea8): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(ripconf.o): in function `config_distribute_list': (.text+0xe4): undefined reference to `find_interface_byname' ld: (.text+0xe8): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(multiconf.o): in function `config_interface_tunnel': (.text+0x368): undefined reference to `new_interface' ld: (.text+0x370): undefined reference to `new_interface' ld: ../../lib/libcfg.a(multiconf.o): in function `config_multicast_init': (.text+0x754): undefined reference to `IGMP' ld: (.text+0x764): undefined reference to `IGMPv6' ld: (.text+0x8f8): undefined reference to `igmp_show_group' ld: (.text+0x98c): undefined reference to `igmp6_show_group' ld: ../../lib/libcfg.a(dvmrpconf.o): in function `config_dvmrp_distribute_list': (.text+0xb70): undefined reference to `find_interface_byname' ld: (.text+0xb74): undefined reference to `find_interface_byname' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_make_tail.isra.2': (.text+0xf98): undefined reference to `buffer_putc' ld: (.text+0xf9c): undefined reference to `buffer_putc' ld: (.text+0xfac): undefined reference to `buffer_putc' ld: (.text+0xfb4): undefined reference to `buffer_putc' ld: (.text+0xfe4): undefined reference to `buffer_printf' ld: (.text+0xff8): undefined reference to `buffer_printf' ld: (.text+0x1034): undefined reference to `buffer_putc' ld: (.text+0x103c): undefined reference to `buffer_putc' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_put_a_line': (.text+0x1078): undefined reference to `New_Buffer' ld: (.text+0x1088): undefined reference to `New_Buffer' ld: (.text+0x1180): undefined reference to `Delete_Buffer' ld: (.text+0x1184): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_dump_rtin': (.text+0x136c): undefined reference to `New_Buffer' ld: (.text+0x1370): undefined reference to `New_Buffer' ld: (.text+0x1400): undefined reference to `Delete_Buffer' ld: (.text+0x1404): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_util.o): in function `peer_set_gateway': (.text+0x21f4): undefined reference to `get_socket_addr' ld: (.text+0x2214): undefined reference to `get_socket_addr' ld: (.text+0x222c): undefined reference to `get_socket_addr' ld: (.text+0x2234): undefined reference to `get_socket_addr' ld: (.text+0x2278): undefined reference to `find_interface_local' ld: (.text+0x227c): undefined reference to `find_interface_local' ld: (.text+0x2434): undefined reference to `find_interface_local' ld: (.text+0x2438): undefined reference to `find_interface_local' ld: (.text+0x2484): undefined reference to `find_interface' ld: (.text+0x2488): undefined reference to `find_interface' ld: (.text+0x24a4): undefined reference to `find_interface_local' ld: (.text+0x24b4): undefined reference to `find_interface_local' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_start_transport_connection': (.text+0x2690): undefined reference to `socket_reuse' ld: (.text+0x2694): undefined reference to `socket_reuse' ld: ../../lib/libbgp.a(bgp_util.o): in function `init_BGP_listen': (.text+0x3560): undefined reference to `socket_reuse' ld: (.text+0x3568): undefined reference to `socket_reuse' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_in_recv_open': (.text+0x5f98): undefined reference to `get_socket_addr' ld: (.text+0x5f9c): undefined reference to `get_socket_addr' ld: ../../lib/libbgp.a(view.o): in function `bgp_policy': (.text+0x354): undefined reference to `find_interface_local' ld: (.text+0x35c): undefined reference to `find_interface_local' ld: ../../lib/libbgp.a(view.o): in function `bgp_resolve_nexthop': (.text+0x1fc8): undefined reference to `find_interface' ld: (.text+0x1fcc): undefined reference to `find_interface' ld: (.text+0x1fe8): undefined reference to `find_interface_local' ld: (.text+0x1ff0): undefined reference to `find_interface_local' ld: (.text+0x2074): undefined reference to `ip_lookup_fn' ld: (.text+0x2080): undefined reference to `ip_hash_fn' ld: ../../lib/libbgp.a(view.o): in function `view_set_nexthop_self': (.text+0x4764): undefined reference to `find_interface' ld: (.text+0x476c): undefined reference to `find_interface' ld: ../../lib/libbgp.a(view.o): in function `view_add_aggregate': (.text+0x75b0): undefined reference to `find_interface' ld: (.text+0x75b4): undefined reference to `find_interface' ld: (.text+0x7604): undefined reference to `find_interface' ld: ../../lib/libbgp.a(view.o):(.text+0x7608): more undefined references to `find_interface' follow ld: ../../lib/libbgp.a(bgp_dump.o): in function `dump_view_bgp_routes': (.text+0x7a8): undefined reference to `Delete_Buffer' ld: (.text+0x7ac): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_attr_buffer': (.text+0x1e74): undefined reference to `buffer_printf' ld: (.text+0x1ea0): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_print_attr_buffer': (.text+0x1f68): undefined reference to `buffer_printf' ld: (.text+0x1f78): undefined reference to `buffer_printf' ld: (.text+0x1fa0): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o):(.text+0x1fb0): more undefined references to `buffer_printf' follow ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_uii_attr': (.text+0x2334): undefined reference to `New_Buffer' ld: (.text+0x2338): undefined reference to `New_Buffer' ld: ../../lib/librip.a(rip_proto.o): in function `rip_show_routing_table': (.text+0x3aac): undefined reference to `find_interface_byname' ld: (.text+0x3ab0): undefined reference to `find_interface_byname' ld: ../../lib/librip.a(rip_proto.o): in function `rip_interface_recheck': (.text+0x4088): undefined reference to `find_network' ld: (.text+0x408c): undefined reference to `find_network' ld: (.text+0x41a8): undefined reference to `find_interface_byname_all' ld: (.text+0x41ac): undefined reference to `find_interface_byname_all' ld: ../../lib/librip.a(rip_proto.o): in function `rip_init': (.text+0x4e38): undefined reference to `ip_hash_fn' ld: (.text+0x4e48): undefined reference to `ip_lookup_fn' ld: ../../lib/librip.a(rip2.o): in function `rip2_sendmsgto.isra.0': (.text+0x134): undefined reference to `send_packet' ld: (.text+0x148): undefined reference to `send_packet' ld: ../../lib/librip.a(rip2.o): in function `rip2_send_update': (.text+0x228): undefined reference to `len2mask' ld: (.text+0x31c): undefined reference to `len2mask' ld: ../../lib/librip.a(rip2.o): in function `rip2_process_packet_response': (.text+0x98c): undefined reference to `mask2len' ld: (.text+0x9c8): undefined reference to `mask2len' ld: ../../lib/librip.a(rip2.o): in function `rip2_process_packet_request': (.text+0xcac): undefined reference to `mask2len' ld: (.text+0xdd4): undefined reference to `mask2len' ld: ../../lib/librip.a(rip2.o): in function `rip2_receive_update': (.text+0xf74): undefined reference to `recvmsgfrom' ld: (.text+0xf9c): undefined reference to `recvmsgfrom' ld: (.text+0x13c8): undefined reference to `find_interface_local' ld: (.text+0x13cc): undefined reference to `find_interface_local' ld: (.text+0x14d4): undefined reference to `find_interface_local' ld: (.text+0x14d8): undefined reference to `find_interface_local' ld: ../../lib/librip.a(rip2.o): in function `rip2_init_listen': (.text+0x16d0): undefined reference to `socket_open' ld: (.text+0x16e0): undefined reference to `socket_open' ld: (.text+0x16fc): undefined reference to `socket_reuse' ld: (.text+0x1708): undefined reference to `socket_reuse' ld: (.text+0x171c): undefined reference to `socket_broadcast' ld: (.text+0x1720): undefined reference to `socket_broadcast' ld: (.text+0x1734): undefined reference to `ip_multicast_loop' ld: (.text+0x1738): undefined reference to `ip_multicast_loop' ld: (.text+0x174c): undefined reference to `ip_recvttl' ld: (.text+0x1750): undefined reference to `ip_recvttl' ld: (.text+0x1764): undefined reference to `ip_pktinfo' ld: (.text+0x1768): undefined reference to `ip_pktinfo' ld: ../../lib/librip.a(rip2.o): in function `rip2_interface': (.text+0x1c08): undefined reference to `join_leave_group' ld: (.text+0x1c1c): undefined reference to `join_leave_group' ld: ../../lib/librip.a(ripng.o): in function `ripng_sendmsgto.isra.0': (.text+0x134): undefined reference to `send_packet' ld: (.text+0x14c): undefined reference to `send_packet' ld: ../../lib/librip.a(ripng.o): in function `ripng_receive_update': (.text+0x1064): undefined reference to `recvmsgfrom' ld: (.text+0x1094): undefined reference to `recvmsgfrom' ld: (.text+0x16d4): undefined reference to `find_interface_local' ld: (.text+0x16e0): undefined reference to `find_interface_local' ld: (.text+0x18b8): undefined reference to `find_interface_local' ld: (.text+0x18bc): undefined reference to `find_interface_local' ld: ../../lib/librip.a(ripng.o): in function `ripng_init_listen': (.text+0x1b98): undefined reference to `socket_open' ld: (.text+0x1ba8): undefined reference to `socket_open' ld: (.text+0x1bc4): undefined reference to `socket_reuse' ld: (.text+0x1bd4): undefined reference to `socket_reuse' ld: (.text+0x1bec): undefined reference to `socket_rcvbuf' ld: (.text+0x1c04): undefined reference to `socket_rcvbuf' ld: (.text+0x1c18): undefined reference to `ipv6_multicast_loop' ld: (.text+0x1c1c): undefined reference to `ipv6_multicast_loop' ld: (.text+0x1c30): undefined reference to `ipv6_pktinfo' ld: (.text+0x1c34): undefined reference to `ipv6_pktinfo' ld: (.text+0x1c48): undefined reference to `ipv6_recvhops' ld: (.text+0x1c4c): undefined reference to `ipv6_recvhops' ld: (.text+0x1c60): undefined reference to `ipv6_multicast_hops' ld: (.text+0x1c64): undefined reference to `ipv6_multicast_hops' ld: (.text+0x1c78): undefined reference to `ipv6_unicast_hops' ld: (.text+0x1c7c): undefined reference to `ipv6_unicast_hops' ld: ../../lib/librip.a(ripng.o): in function `ripng_interface': (.text+0x2198): undefined reference to `join_leave_group' ld: (.text+0x21ac): undefined reference to `join_leave_group' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_send': (.text+0x370): undefined reference to `IGMP' ld: (.text+0x43c): undefined reference to `igmp_send' ld: (.text+0x44c): undefined reference to `igmp_send' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_update_call_fn': (.text+0x1674): undefined reference to `igmp_test_membership' ld: (.text+0x1678): undefined reference to `igmp_test_membership' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_activate_interface': (.text+0x1834): undefined reference to `igmp_interface' ld: (.text+0x185c): undefined reference to `igmp_interface' ld: (.text+0x1884): undefined reference to `IGMP' ld: (.text+0x19b8): undefined reference to `igmp_interface' ld: (.text+0x19c4): undefined reference to `igmp_interface' ld: (.text+0x1a2c): undefined reference to `join_leave_group' ld: (.text+0x1a38): undefined reference to `join_leave_group' ld: ../../lib/libpim.a(dvmrp.o): in function `recv_dvmrp': (.text+0x2120): undefined reference to `IGMP' ld: (.text+0x2128): undefined reference to `igmp_is_querier' ld: (.text+0x2138): undefined reference to `igmp_is_querier' ld: (.text+0x26a8): undefined reference to `mask2len' ld: (.text+0x26ac): undefined reference to `mask2len' ld: (.text+0x2870): undefined reference to `find_interface_local' ld: (.text+0x2880): undefined reference to `find_interface_local' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_advertise_route': (.text+0x47b4): undefined reference to `len2mask' ld: (.text+0x47bc): undefined reference to `len2mask' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_init': (.text+0x51a4): undefined reference to `IGMP' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_start': (.text+0x5340): undefined reference to `IGMP' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_interface_recheck': (.text+0x5654): undefined reference to `find_network' ld: (.text+0x5658): undefined reference to `find_network' ld: (.text+0x5764): undefined reference to `find_interface_byname_all' ld: (.text+0x5768): undefined reference to `find_interface_byname_all' ld: (.text+0x5884): undefined reference to `find_interface_byname_all' ld: (.text+0x5888): undefined reference to `find_interface_byname_all' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_stop': (.text+0x6220): undefined reference to `IGMP' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_show_routing_table': (.text+0x6664): undefined reference to `find_interface_byname' ld: (.text+0x6668): undefined reference to `find_interface_byname' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_show_neighbors': (.text+0x66fc): undefined reference to `find_interface_byname' ld: (.text+0x6700): undefined reference to `find_interface_byname' ld: ../../lib/libpim.a(pim.o): in function `pim_register_neighbor': (.text+0x100): undefined reference to `find_interface_local' ld: (.text+0x104): undefined reference to `find_interface_local' ld: (.text+0x214): undefined reference to `find_interface_local' ld: (.text+0x220): undefined reference to `find_interface_local' ld: ../../lib/libpim.a(pim.o): in function `pim_find_parent.isra.2': (.text+0x870): undefined reference to `find_interface_local' ld: ../../lib/libpim.a(pim.o):(.text+0x888): more undefined references to `find_interface_local' follow ld: ../../lib/libpim.a(pim.o): in function `pim_send': (.text+0xe48): undefined reference to `inet6_cksum' ld: (.text+0xe5c): undefined reference to `inet6_cksum' ld: (.text+0xe9c): undefined reference to `send_packet' ld: (.text+0xec4): undefined reference to `send_packet' ld: (.text+0x12d0): undefined reference to `inet_cksum' ld: (.text+0x12e0): undefined reference to `inet_cksum' ld: (.text+0x131c): undefined reference to `inet_cksum' ld: (.text+0x132c): undefined reference to `inet_cksum' ld: (.text+0x1354): undefined reference to `inet_cksum' ld: ../../lib/libpim.a(pim.o):(.text+0x135c): more undefined references to `inet_cksum' follow ld: ../../lib/libpim.a(pim.o): in function `pim_receive': (.text+0x1c30): undefined reference to `recvmsgfrom' ld: (.text+0x1c54): undefined reference to `recvmsgfrom' ld: (.text+0x1d40): undefined reference to `find_interface_local' ld: (.text+0x1d4c): undefined reference to `find_interface_local' ld: (.text+0x1e44): undefined reference to `recvmsgfrom' ld: (.text+0x1e68): undefined reference to `recvmsgfrom' ld: (.text+0x1f18): undefined reference to `inet_cksum' ld: (.text+0x1f20): undefined reference to `inet_cksum' ld: ../../lib/libpim.a(pim.o): in function `pim_update_call_fn': (.text+0x4ec4): undefined reference to `igmp_test_membership' ld: (.text+0x4ec8): undefined reference to `igmp_test_membership' ld: (.text+0x50f0): undefined reference to `igmp_test_membership' ld: (.text+0x50f4): undefined reference to `igmp_test_membership' ld: ../../lib/libpim.a(pim.o): in function `pim_init': (.text+0x5544): undefined reference to `IGMPv6' ld: (.text+0x57b4): undefined reference to `IGMP' ld: ../../lib/libpim.a(pim.o): in function `pim_activate_interface': (.text+0x58d8): undefined reference to `igmp_interface' ld: (.text+0x58ec): undefined reference to `igmp_interface' ld: (.text+0x5a6c): undefined reference to `join_leave_group' ld: (.text+0x5a74): undefined reference to `join_leave_group' ld: (.text+0x5ad4): undefined reference to `igmp_interface' ld: (.text+0x5ad8): undefined reference to `igmp_interface' ld: (.text+0x5e68): undefined reference to `igmp_interface' ld: (.text+0x5e70): undefined reference to `igmp_interface' ld: (.text+0x5f98): undefined reference to `socket_open' ld: (.text+0x5fa8): undefined reference to `socket_open' ld: (.text+0x5fc0): undefined reference to `socket_reuse' ld: (.text+0x5fc8): undefined reference to `socket_reuse' ld: (.text+0x5fdc): undefined reference to `socket_rcvbuf' ld: (.text+0x5fe0): undefined reference to `socket_rcvbuf' ld: (.text+0x5ff4): undefined reference to `ipv6_multicast_loop' ld: (.text+0x5ff8): undefined reference to `ipv6_multicast_loop' ld: (.text+0x600c): undefined reference to `ipv6_pktinfo' ld: (.text+0x6010): undefined reference to `ipv6_pktinfo' ld: (.text+0x6024): undefined reference to `ipv6_recvhops' ld: (.text+0x6028): undefined reference to `ipv6_recvhops' ld: (.text+0x603c): undefined reference to `ipv6_multicast_hops' ld: (.text+0x6040): undefined reference to `ipv6_multicast_hops' ld: (.text+0x6198): undefined reference to `join_leave_group' ld: (.text+0x61a8): undefined reference to `join_leave_group' ld: (.text+0x62c8): undefined reference to `socket_open' ld: (.text+0x62d8): undefined reference to `socket_open' ld: (.text+0x62f0): undefined reference to `socket_reuse' ld: (.text+0x62f8): undefined reference to `socket_reuse' ld: (.text+0x630c): undefined reference to `socket_rcvbuf' ld: (.text+0x6310): undefined reference to `socket_rcvbuf' ld: (.text+0x6324): undefined reference to `ip_hdrincl' ld: (.text+0x6328): undefined reference to `ip_hdrincl' ld: (.text+0x633c): undefined reference to `ip_multicast_loop' ld: (.text+0x6340): undefined reference to `ip_multicast_loop' ld: (.text+0x6354): undefined reference to `ip_pktinfo' ld: (.text+0x6358): undefined reference to `ip_pktinfo' ld: (.text+0x636c): undefined reference to `ip_recvttl' ld: (.text+0x6370): undefined reference to `ip_recvttl' ld: ../../lib/libpim.a(cache.o): in function `cache_timer_expire': (.text+0x204): undefined reference to `mc_del_mfc' ld: (.text+0x208): undefined reference to `mc_del_mfc' ld: (.text+0x228): undefined reference to `mc6_del_mfc' ld: (.text+0x22c): undefined reference to `mc6_del_mfc' ld: (.text+0x2f8): undefined reference to `mc6_req_mfc' ld: (.text+0x2fc): undefined reference to `mc6_req_mfc' ld: (.text+0x328): undefined reference to `mc_req_mfc' ld: (.text+0x32c): undefined reference to `mc_req_mfc' ld: ../../lib/libpim.a(cache.o): in function `cache_update_mfc': (.text+0x7ac): undefined reference to `mc_add_mfc' ld: (.text+0x7b4): undefined reference to `mc_add_mfc' ld: (.text+0x870): undefined reference to `mc6_add_mfc' ld: (.text+0x878): undefined reference to `mc6_add_mfc' ld: ../../lib/libpim.a(cache.o): in function `cache_control_from_kernel': (.text+0xb8c): undefined reference to `mc6_del_mfc' ld: (.text+0xb94): undefined reference to `mc6_del_mfc' ld: (.text+0x1054): undefined reference to `mc_del_mfc' ld: (.text+0x105c): undefined reference to `mc_del_mfc' ld: ../../lib/libpim.a(cache.o): in function `cache_init': (.text+0x1a3c): undefined reference to `ip_pair_hash_fn' ld: (.text+0x1a58): undefined reference to `ip_pair_lookup_fn' ld: (.text+0x1b70): undefined reference to `IGMPv6' ld: (.text+0x1bb4): undefined reference to `ip_pair_hash_fn' ld: (.text+0x1bd0): undefined reference to `ip_pair_lookup_fn' ld: (.text+0x1ca0): undefined reference to `mc6_kernel_read_rt_table' ld: (.text+0x1ca4): undefined reference to `mc6_kernel_read_rt_table' ld: (.text+0x1cc4): undefined reference to `IGMP' ld: ../../lib/libpim.a(cache.o): in function `show_cache_entries': (.text+0x1d84): undefined reference to `find_interface_byname' ld: (.text+0x1d8c): undefined reference to `find_interface_byname' ld: (.text+0x2024): undefined reference to `find_interface_byindex' ld: (.text+0x2028): undefined reference to `find_interface_byindex' ld: ../../lib/librib.a(rib.o): in function `route_toa_buffer': (.text+0x14c): undefined reference to `buffer_printf' ld: (.text+0x15c): undefined reference to `buffer_printf' ld: (.text+0x1a0): undefined reference to `buffer_printf' ld: (.text+0x1b0): undefined reference to `buffer_printf' ld: (.text+0x1e0): undefined reference to `buffer_printf' ld: ../../lib/librib.a(rib.o):(.text+0x1ec): more undefined references to `buffer_printf' follow ld: ../../lib/librib.a(rib.o): in function `route_toa_buffer': (.text+0x274): undefined reference to `New_Buffer' ld: (.text+0x278): undefined reference to `New_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_replace_active': (.text+0xc04): undefined reference to `New_Buffer' ld: (.text+0xc08): undefined reference to `New_Buffer' ld: (.text+0xc64): undefined reference to `Delete_Buffer' ld: (.text+0xc68): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_delete_route_node': (.text+0x11dc): undefined reference to `New_Buffer' ld: (.text+0x11e0): undefined reference to `New_Buffer' ld: (.text+0x123c): undefined reference to `Delete_Buffer' ld: (.text+0x1240): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_add_route': (.text+0x1ca4): undefined reference to `New_Buffer' ld: (.text+0x1ca8): undefined reference to `New_Buffer' ld: (.text+0x1d10): undefined reference to `Delete_Buffer' ld: (.text+0x1d14): undefined reference to `Delete_Buffer' ld: (.text+0x1ec0): undefined reference to `New_Buffer' ld: (.text+0x1ec4): undefined reference to `New_Buffer' ld: (.text+0x1f20): undefined reference to `Delete_Buffer' ld: (.text+0x1f24): undefined reference to `Delete_Buffer' ld: (.text+0x20ac): undefined reference to `New_Buffer' ld: (.text+0x20b0): undefined reference to `New_Buffer' ld: (.text+0x2114): undefined reference to `Delete_Buffer' ld: (.text+0x2118): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(prefix.o): in function `print_prefix_list_buffer': (.text+0x1044): undefined reference to `buffer_printf' ld: (.text+0x1050): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(prefix.o): in function `print_pref_prefix_list_buffer': (.text+0x1190): undefined reference to `buffer_printf' ld: (.text+0x11a0): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(user.o): in function `uii_accept_connection': (.text+0x9ac): undefined reference to `New_Buffer' ld: (.text+0x9c8): undefined reference to `New_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_yes_no': (.text+0x11d4): undefined reference to `buffer_adjust' ld: (.text+0x11dc): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o): in function `uii_destroy_connection': (.text+0x1918): undefined reference to `Delete_Buffer' ld: (.text+0x191c): undefined reference to `Delete_Buffer' ld: (.text+0x1930): undefined reference to `Delete_Buffer' ld: (.text+0x1934): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_add_bulk_output': (.text+0x24f0): undefined reference to `buffer_vprintf' ld: (.text+0x24fc): undefined reference to `buffer_vprintf' ld: (.text+0x2520): undefined reference to `New_Buffer' ld: (.text+0x2528): undefined reference to `New_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_send_bulk_data': (.text+0x2f7c): undefined reference to `buffer_adjust' ld: (.text+0x2f80): undefined reference to `buffer_adjust' ld: (.text+0x3034): undefined reference to `buffer_adjust' ld: (.text+0x303c): undefined reference to `buffer_adjust' ld: (.text+0x31ec): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o):(.text+0x31f4): more undefined references to `buffer_adjust' follow ld: ../../lib/libmrt.a(user.o): in function `uii_proccess_command': (.text+0x5620): undefined reference to `New_Buffer' ld: (.text+0x5624): undefined reference to `New_Buffer' ld: (.text+0x563c): undefined reference to `buffer_puts' ld: (.text+0x5640): undefined reference to `buffer_puts' ld: (.text+0x566c): undefined reference to `buffer_puts' ld: (.text+0x5674): undefined reference to `buffer_puts' ld: (.text+0x5688): undefined reference to `buffer_puts' ld: ../../lib/libmrt.a(user.o):(.text+0x568c): more undefined references to `buffer_puts' follow ld: ../../lib/libmrt.a(user.o): in function `uii_proccess_command': (.text+0x5854): undefined reference to `Delete_Buffer' ld: (.text+0x5860): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_command_tab_complete': (.text+0x6ac4): undefined reference to `buffer_adjust' ld: (.text+0x6ad0): undefined reference to `buffer_adjust' ld: (.text+0x6af8): undefined reference to `buffer_printf' ld: (.text+0x6afc): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(user.o): in function `uii_read_command.part.1': (.text+0x6e48): undefined reference to `buffer_insert' ld: (.text+0x6e54): undefined reference to `buffer_insert' ld: (.text+0x7168): undefined reference to `buffer_adjust' ld: (.text+0x7170): undefined reference to `buffer_adjust' ld: (.text+0x7184): undefined reference to `buffer_puts' ld: (.text+0x7188): undefined reference to `buffer_puts' ld: (.text+0x73f8): undefined reference to `buffer_adjust' ld: (.text+0x7400): undefined reference to `buffer_adjust' ld: (.text+0x74a4): undefined reference to `buffer_delete' ld: (.text+0x74a8): undefined reference to `buffer_delete' ld: (.text+0x7594): undefined reference to `buffer_delete' ld: (.text+0x759c): undefined reference to `buffer_delete' ld: (.text+0x7640): undefined reference to `buffer_adjust' ld: (.text+0x7648): undefined reference to `buffer_adjust' ld: (.text+0x7744): undefined reference to `buffer_peek' ld: (.text+0x7748): undefined reference to `buffer_peek' ld: (.text+0x7788): undefined reference to `buffer_peek' ld: (.text+0x778c): undefined reference to `buffer_peek' ld: (.text+0x87e8): undefined reference to `buffer_adjust' ld: (.text+0x87ec): undefined reference to `buffer_adjust' ld: (.text+0x899c): undefined reference to `buffer_adjust' ld: (.text+0x89a0): undefined reference to `buffer_adjust' ld: (.text+0x8a48): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o):(.text+0x8a4c): more undefined references to `buffer_adjust' follow ld: ../../lib/libmrt.a(trace.o): in function `trace': (.text+0x55c): undefined reference to `buffer_printf' ld: (.text+0x568): undefined reference to `buffer_printf' ld: (.text+0x5d0): undefined reference to `buffer_printf' ld: (.text+0x5d8): undefined reference to `buffer_printf' ld: (.text+0x5f4): undefined reference to `buffer_vprintf' ld: (.text+0x5fc): undefined reference to `buffer_vprintf' ld: (.text+0x890): undefined reference to `New_Buffer' ld: (.text+0x894): undefined reference to `New_Buffer' ld: (.text+0x914): undefined reference to `buffer_printf' ld: (.text+0x91c): undefined reference to `buffer_printf' ld: (.text+0xa54): undefined reference to `buffer_printf' ld: (.text+0xa5c): undefined reference to `buffer_printf' ld: (.text+0xa74): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(trace.o):(.text+0xa7c): more undefined references to `buffer_printf' follow ld: ../../lib/libmrt.a(trace.o): in function `Destroy_Trace': (.text+0x1470): undefined reference to `Delete_Buffer' ld: (.text+0x1474): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_buffer': (.text+0x1660): undefined reference to `New_Buffer' ld: (.text+0x1664): undefined reference to `New_Buffer' ld: (.text+0x167c): undefined reference to `buffer_puts' ld: (.text+0x1680): undefined reference to `buffer_puts' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_buffer_del': (.text+0x1a20): undefined reference to `Delete_Buffer' ld: (.text+0x1a28): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_data': (.text+0x1ab4): undefined reference to `New_Buffer' ld: (.text+0x1ab8): undefined reference to `New_Buffer' ld: (.text+0x1adc): undefined reference to `buffer_vprintf' ld: (.text+0x1aec): undefined reference to `buffer_vprintf' ld: (.text+0x1b14): undefined reference to `Delete_Buffer' ld: (.text+0x1b1c): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `user_vnotice': (.text+0x1bc0): undefined reference to `New_Buffer' ld: (.text+0x1be0): undefined reference to `New_Buffer' ld: (.text+0x1bfc): undefined reference to `buffer_vprintf' ld: (.text+0x1c04): undefined reference to `buffer_vprintf' ld: (.text+0x1de4): undefined reference to `Delete_Buffer' ld: (.text+0x1de8): undefined reference to `Delete_Buffer' *** Error code 1 Stop. make[3]: stopped in /tmp/pkgbuild/net/mrt/work.alpha/mrt/src/programs/mrtd cd ricd; /usr/bin/make gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include -DINET6 -DFUNCPROTO -I../../include -c ricd.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from ricd.h:8, from ricd.c:12: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from ricd.h:8, from ricd.c:12: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask In file included from ricd.c:12:0: ricd.h:164:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif _RICD_H_ ^~~~~~~~ ricd.c:159:1: warning: return type of 'main' is not 'int' [-Wmain] 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] int rib_install_flag = 1; ^~~~~~~~~~~~~~~~ ricd.c:171:9: warning: variable 'kernel_install_flag6' set but not used [-Wunused-but-set-variable] int kernel_install_flag6 = 1; ^~~~~~~~~~~~~~~~~~~~ ricd.c:170:9: warning: variable 'kernel_install_flag4' set but not used [-Wunused-but-set-variable] int kernel_install_flag4 = 1; ^~~~~~~~~~~~~~~~~~~~ ricd.c:169:9: warning: variable 'kernel_read_flag' set but not used [-Wunused-but-set-variable] int kernel_read_flag = 1; ^~~~~~~~~~~~~~~~ ricd.c:167:11: warning: variable 'rib_file' set but not used [-Wunused-but-set-variable] char *rib_file = NULL; ^~~~~~~~ gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include -DINET6 -DFUNCPROTO -I../../include -c hqlip.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from ricd.h:8, from hqlip.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from ricd.h:8, from hqlip.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask In file included from hqlip.c:5:0: ricd.h:164:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif _RICD_H_ ^~~~~~~~ hqlip.c: In function 'hqlip_inject_spath_link_qos': hqlip.c:523:12: warning: variable 'flags_saved' set but not used [-Wunused-but-set-variable] u_long flags_saved = 0; ^~~~~~~~~~~ hqlip.c: In function 'hqlip_calc_ilink': hqlip.c:651:15: warning: unused variable 'req_qos' [-Wunused-variable] req_qos_t req_qos; ^~~~~~~ hqlip.c: In function 'spath_calc_elink': hqlip.c:725:15: warning: unused variable 'req_qos' [-Wunused-variable] req_qos_t req_qos; ^~~~~~~ hqlip.c: In function 'hqlip_send_hello': hqlip.c:912:39: warning: pointer targets in passing argument 2 of 'send_packet' differ in signedness [-Wpointer-sign] send_packet (vif->udp_sockfd, buffer, cp - buffer, /*MSG_MULTI_LOOP*/0, ^~~~~~ In file included from ../../include/rib.h:13:0, from ../../include/bgp.h:15, from ../../include/aspath.h:182, from ../../include/filter.h:8, from ../../include/mrt.h:571, from ricd.h:8, from hqlip.c:5: ../../include/interface.h:189:5: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' int send_packet (int sockfd, u_char *msg, int len, u_long flags, ^~~~~~~~~~~ In file included from ricd.h:8:0, from hqlip.c:5: hqlip.c: In function 'hqlip_put_area': ../../include/mrt.h:598:31: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] #define prefix_tochar(prefix) ((char *)&(prefix)->add.sin) ^ hqlip.c:1074:20: note: in expansion of macro 'prefix_tochar' u_char *addr = prefix_tochar (area->id); ^~~~~~~~~~~~~ hqlip.c: In function 'hqlip_put_addr': ../../include/mrt.h:598:31: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] #define prefix_tochar(prefix) ((char *)&(prefix)->add.sin) ^ hqlip.c:1144:20: note: in expansion of macro 'prefix_tochar' u_char *addr = prefix_tochar (prefix); ^~~~~~~~~~~~~ hqlip.c: In function 'hqlip_prepare_link_qos': hqlip.c:1199:49: warning: pointer targets in passing argument 2 of 'hqlip_put_area' differ in signedness [-Wpointer-sign] cp = hqlip_put_area (spath_link_qos->area1, cp); ^~ hqlip.c:1070:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' hqlip_put_area (area_t *area, u_char *cp) ^~~~~~~~~~~~~~ hqlip.c:1199:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = hqlip_put_area (spath_link_qos->area1, cp); ^ hqlip.c:1200:49: warning: pointer targets in passing argument 2 of 'hqlip_put_area' differ in signedness [-Wpointer-sign] cp = hqlip_put_area (spath_link_qos->area2, cp); ^~ hqlip.c:1070:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' hqlip_put_area (area_t *area, u_char *cp) ^~~~~~~~~~~~~~ hqlip.c:1200:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = hqlip_put_area (spath_link_qos->area2, cp); ^ hqlip.c: In function 'hqlip_send_link_qos': hqlip.c:1279:48: warning: pointer targets in passing argument 8 of 'hqlip_send_message' differ in signedness [-Wpointer-sign] cp - msgbuf, spath_link_qos->tstamp, msgbuf); ^~~~~~ hqlip.c:985:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' hqlip_send_message (hqlip_t *hqlip, hqlip_neighbor_t *neighbor, ^~~~~~~~~~~~~~~~~~ hqlip.c: In function 'hqlip_send_area_center': hqlip.c:1468:55: warning: pointer targets in passing argument 2 of 'hqlip_put_area' differ in signedness [-Wpointer-sign] cp = hqlip_put_area (spath_area_center->area, cp); ^~ hqlip.c:1070:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' hqlip_put_area (area_t *area, u_char *cp) ^~~~~~~~~~~~~~ hqlip.c:1468:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = hqlip_put_area (spath_area_center->area, cp); ^ hqlip.c:1486:51: warning: pointer targets in passing argument 8 of 'hqlip_send_message' differ in signedness [-Wpointer-sign] cp - msgbuf, spath_area_center->tstamp, msgbuf); ^~~~~~ hqlip.c:985:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' hqlip_send_message (hqlip_t *hqlip, hqlip_neighbor_t *neighbor, ^~~~~~~~~~~~~~~~~~ hqlip.c: In function 'hqlip_send_area_addr': hqlip.c:1979:53: warning: pointer targets in passing argument 2 of 'hqlip_put_area' differ in signedness [-Wpointer-sign] cp = hqlip_put_area (spath_area_addr->area, cp); ^~ hqlip.c:1070:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' hqlip_put_area (area_t *area, u_char *cp) ^~~~~~~~~~~~~~ hqlip.c:1979:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = hqlip_put_area (spath_area_addr->area, cp); ^ hqlip.c:1982:46: warning: pointer targets in passing argument 2 of 'hqlip_put_addr' differ in signedness [-Wpointer-sign] cp = hqlip_put_addr (prefix, cp); ^~ hqlip.c:1139:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' hqlip_put_addr (prefix_t *prefix, u_char *cp) ^~~~~~~~~~~~~~ hqlip.c:1982:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cp = hqlip_put_addr (prefix, cp); ^ hqlip.c:1997:49: warning: pointer targets in passing argument 8 of 'hqlip_send_message' differ in signedness [-Wpointer-sign] cp - msgbuf, spath_area_addr->tstamp, msgbuf); ^~~~~~ hqlip.c:985:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' hqlip_send_message (hqlip_t *hqlip, hqlip_neighbor_t *neighbor, ^~~~~~~~~~~~~~~~~~ hqlip.c: In function 'hqlip_connect_ready': hqlip.c:2296:4: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] &namelen) < 0) { ^ In file included from ../../include/mrt.h:39:0, from ricd.h:8, from hqlip.c:5: /usr/include/sys/socket.h:624:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~~~~~~ hqlip.c: In function 'hqlip_vif_udp_init': hqlip.c:2866:25: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] u_char *bind_addr = (vif->prefix)? prefix_tochar (vif->prefix): NULL; ^ hqlip.c: In function 'hqlip_vif_tcp_init': hqlip.c:2934:25: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] u_char *bind_addr = (vif->prefix)? prefix_tochar (vif->prefix): NULL; ^ hqlip.c: In function 'hqlip_spath_compare': hqlip.c:3625:35: warning: variable 'b_len' set but not used [-Wunused-but-set-variable] int b_flags, b_type, b_level, b_len, b_tstamp; ^~~~~ hqlip.c:3625:26: warning: variable 'b_level' set but not used [-Wunused-but-set-variable] int b_flags, b_type, b_level, b_len, b_tstamp; ^~~~~~~ hqlip.c:3624:35: warning: variable 'a_len' set but not used [-Wunused-but-set-variable] int a_flags, a_type, a_level, a_len, a_tstamp; ^~~~~ hqlip.c:3624:26: warning: variable 'a_level' set but not used [-Wunused-but-set-variable] int a_flags, a_type, a_level, a_len, a_tstamp; ^~~~~~~ At top level: hqlip.c:790:1: warning: 'hqlip_update_elink' defined but not used [-Wunused-function] hqlip_update_elink (hqlip_t *hqlip, my_area_t *my_area, hqlip_interface_t *vif) ^~~~~~~~~~~~~~~~~~ hqlip.c:448:1: warning: 'list_link_qos' defined but not used [-Wunused-function] list_link_qos (hqlip_t *hqlip, my_area_t *my_area) ^~~~~~~~~~~~~ hqlip.c:52:1: warning: 'my_area_is_center' defined but not used [-Wunused-function] my_area_is_center (my_area_t *my_area) ^~~~~~~~~~~~~~~~~ In file included from ../../include/trace.h:11:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from ricd.h:8, from hqlip.c:5: hqlip.c: In function 'hqlip_recv_area_addr.isra.26': ../../include/linked_list.h:199:84: warning: 'prefix' may be used uninitialized in this function [-Wmaybe-uninitialized] #define LL_Add(ll, data) ((ll->attr & LL_AutoSort) ? LL_InsertSorted(ll, data) : LL_Append(ll, data)) ^ hqlip.c:2035:16: note: 'prefix' was declared here prefix_t *prefix; ^~~~~~ gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include -DINET6 -DFUNCPROTO -I../../include -c ricdconf.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from ricd.h:8, from ricdconf.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from ricd.h:8, from ricdconf.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask In file included from ricdconf.c:5:0: ricd.h:164:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif _RICD_H_ ^~~~~~~~ gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include -DINET6 -DFUNCPROTO -I../../include -c area.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from ricd.h:8, from area.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from ricd.h:8, from area.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask In file included from area.c:5:0: ricd.h:164:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif _RICD_H_ ^~~~~~~~ area.c: In function 'add_area': area.c:51:10: warning: unused variable 'sbuf' [-Wunused-variable] char sbuf[128]; ^~~~ gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include -DINET6 -DFUNCPROTO -I../../include -c srsvp.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from ricd.h:8, from srsvp.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from ricd.h:8, from srsvp.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask In file included from srsvp.c:5:0: ricd.h:164:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif _RICD_H_ ^~~~~~~~ srsvp.c: In function 'srsvp_connect_ready': srsvp.c:399:4: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] &namelen) < 0) { ^ In file included from ../../include/mrt.h:39:0, from ricd.h:8, from srsvp.c:5: /usr/include/sys/socket.h:624:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~~~~~~ srsvp.c: In function 'srsvp_vif_tcp_init': srsvp.c:910:25: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] u_char *bind_addr = (vif->prefix)? prefix_tochar (vif->prefix): NULL; ^ srsvp.c: In function 'srsvp_process_pdu': srsvp.c:1959:28: warning: variable 'sessionf' set but not used [-Wunused-but-set-variable] int version, hdrflags, sessionf, senderf, type, ttl, srbit, hdrlen; ^~~~~~~~ gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include -DINET6 -DFUNCPROTO -I../../include -c qif.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from ricd.h:8, from qif.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from ricd.h:8, from qif.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask In file included from qif.c:5:0: ricd.h:164:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif _RICD_H_ ^~~~~~~~ gcc -Wl,-R/usr/pkg/lib -L/usr/local/lib ricd.o hqlip.o ricdconf.o area.o srsvp.o qif.o ../../lib/libcfg.a ../../lib/librib.a ../../lib/libmrt.a -o ricd -lresolv ld: ricd.o: in function `main': (.text.startup+0x2f0): undefined reference to `init_interfaces' ld: (.text.startup+0x2f8): undefined reference to `init_interfaces' ld: (.text.startup+0x398): undefined reference to `kernel_init' ld: (.text.startup+0x39c): undefined reference to `kernel_init' ld: hqlip.o: in function `hqlip_vif_udp_init': (.text+0x5d8): undefined reference to `socket_open' ld: (.text+0x5e0): undefined reference to `socket_open' ld: (.text+0x5fc): undefined reference to `socket_reuse' ld: (.text+0x604): undefined reference to `socket_reuse' ld: (.text+0x620): undefined reference to `join_leave_group' ld: (.text+0x624): undefined reference to `join_leave_group' ld: (.text+0x640): undefined reference to `socket_bind_port' ld: (.text+0x644): undefined reference to `socket_bind_port' ld: (.text+0x660): undefined reference to `ip_multicast_loop' ld: (.text+0x668): undefined reference to `ip_multicast_loop' ld: (.text+0x67c): undefined reference to `ip_multicast_hops' ld: (.text+0x680): undefined reference to `ip_multicast_hops' ld: (.text+0x694): undefined reference to `ip_pktinfo' ld: (.text+0x698): undefined reference to `ip_pktinfo' ld: (.text+0x6ac): undefined reference to `ip_recvttl' ld: (.text+0x6b0): undefined reference to `ip_recvttl' ld: (.text+0x734): undefined reference to `socket_open' ld: (.text+0x73c): undefined reference to `socket_open' ld: (.text+0x758): undefined reference to `socket_reuse' ld: (.text+0x760): undefined reference to `socket_reuse' ld: (.text+0x77c): undefined reference to `socket_bind_port' ld: (.text+0x780): undefined reference to `socket_bind_port' ld: (.text+0x79c): undefined reference to `ip_pktinfo' ld: (.text+0x7a4): undefined reference to `ip_pktinfo' ld: (.text+0x7b8): undefined reference to `ip_recvttl' ld: (.text+0x7bc): undefined reference to `ip_recvttl' ld: (.text+0x824): undefined reference to `ipv6_multicast_loop' ld: (.text+0x82c): undefined reference to `ipv6_multicast_loop' ld: (.text+0x840): undefined reference to `ipv6_multicast_hops' ld: (.text+0x844): undefined reference to `ipv6_multicast_hops' ld: (.text+0x858): undefined reference to `ipv6_pktinfo' ld: (.text+0x85c): undefined reference to `ipv6_pktinfo' ld: (.text+0x870): undefined reference to `ipv6_recvhops' ld: (.text+0x874): undefined reference to `ipv6_recvhops' ld: (.text+0x894): undefined reference to `ipv6_pktinfo' ld: (.text+0x89c): undefined reference to `ipv6_pktinfo' ld: (.text+0x8b0): undefined reference to `ipv6_recvhops' ld: (.text+0x8b4): undefined reference to `ipv6_recvhops' ld: hqlip.o: in function `hqlip_vif_tcp_init': (.text+0xc90): undefined reference to `socket_open' ld: (.text+0xc98): undefined reference to `socket_open' ld: (.text+0xcb0): undefined reference to `socket_reuse' ld: (.text+0xcb8): undefined reference to `socket_reuse' ld: (.text+0xcd4): undefined reference to `socket_bind_port' ld: (.text+0xcd8): undefined reference to `socket_bind_port' ld: hqlip.o: in function `hqlip_send_hello.part.29': (.text+0x7c84): undefined reference to `send_packet' ld: (.text+0x7c9c): undefined reference to `send_packet' ld: hqlip.o: in function `hqlip_register_neighbor': (.text+0x949c): undefined reference to `socket_bind_port' ld: (.text+0x94a8): undefined reference to `socket_bind_port' ld: hqlip.o: in function `hqlip_recv_hello': (.text+0x9754): undefined reference to `recvmsgfrom' ld: (.text+0x9780): undefined reference to `recvmsgfrom' ld: hqlip.o: in function `hqlip_open_accept': (.text+0x9cf4): undefined reference to `get_socket_addr' ld: (.text+0x9d00): undefined reference to `get_socket_addr' ld: hqlip.o: in function `hqlip_activate_interface': (.text+0xbd3c): undefined reference to `join_leave_group' ld: (.text+0xbd40): undefined reference to `join_leave_group' ld: hqlip.o: in function `hqlip_show_neighbors': (.text+0xc3c0): undefined reference to `find_interface_byname' ld: (.text+0xc3c4): undefined reference to `find_interface_byname' ld: ricdconf.o: in function `config_ric_network_if_qos_prefix': (.text+0x5a04): undefined reference to `find_interface_byname' ld: (.text+0x5a08): undefined reference to `find_interface_byname' ld: area.o: in function `area_hash_fn': (.text+0x1c): undefined reference to `ip_hash_fn' ld: (.text+0x28): undefined reference to `ip_hash_fn' ld: srsvp.o: in function `srsvp_flow_hash_fn': (.text+0x404): undefined reference to `ip_hash_fn' ld: (.text+0x418): undefined reference to `ip_hash_fn' ld: (.text+0x438): undefined reference to `ip_hash_fn' ld: srsvp.o:(.text+0x440): more undefined references to `ip_hash_fn' follow ld: srsvp.o: in function `srsvp_vif_tcp_init': (.text+0x4f0): undefined reference to `socket_open' ld: (.text+0x4f8): undefined reference to `socket_open' ld: (.text+0x510): undefined reference to `socket_reuse' ld: (.text+0x518): undefined reference to `socket_reuse' ld: (.text+0x534): undefined reference to `socket_bind_port' ld: (.text+0x538): undefined reference to `socket_bind_port' ld: srsvp.o: in function `srsvp_tcp_connect': (.text+0x100c): undefined reference to `socket_bind_port' ld: (.text+0x1018): undefined reference to `socket_bind_port' ld: srsvp.o: in function `srsvp_open_accept': (.text+0x1ae4): undefined reference to `get_socket_addr' ld: (.text+0x1af0): undefined reference to `get_socket_addr' ld: srsvp.o: in function `srsvp_keep_alive': (.text+0x2138): undefined reference to `get_socket_addr' ld: (.text+0x2140): undefined reference to `get_socket_addr' ld: srsvp.o: in function `srsvp_show_neighbors': (.text+0x7620): undefined reference to `find_interface_byname' ld: (.text+0x7624): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(config_file.o): in function `config_add_output': (.text+0x90): undefined reference to `buffer_vprintf' ld: (.text+0x9c): undefined reference to `buffer_vprintf' ld: (.text+0xc0): undefined reference to `New_Buffer' ld: (.text+0xcc): undefined reference to `New_Buffer' ld: ../../lib/libcfg.a(config_file.o): in function `show_config': (.text+0x92c): undefined reference to `buffer_adjust' ld: (.text+0x930): undefined reference to `buffer_adjust' ld: ../../lib/libcfg.a(config_file.o): in function `config_write': (.text+0x2228): undefined reference to `buffer_adjust' ld: (.text+0x222c): undefined reference to `buffer_adjust' ld: ../../lib/libcfg.a(config_file.o): in function `config_from_file2': (.text+0x3114): undefined reference to `New_Buffer_Stream' ld: (.text+0x3124): undefined reference to `New_Buffer_Stream' ld: (.text+0x3150): undefined reference to `buffer_gets' ld: (.text+0x3154): undefined reference to `buffer_gets' ld: (.text+0x320c): undefined reference to `Delete_Buffer' ld: (.text+0x3210): undefined reference to `Delete_Buffer' ld: ../../lib/libcfg.a(commconf.o): in function `re_evaluate_static_routes': (.text+0x484): undefined reference to `find_interface' ld: (.text+0x488): undefined reference to `find_interface' ld: (.text+0x4a8): undefined reference to `find_interface_local' ld: (.text+0x4ac): undefined reference to `find_interface_local' ld: ../../lib/libcfg.a(commconf.o): in function `config_interface': (.text+0x824): undefined reference to `find_interface_byname' ld: (.text+0x830): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(commconf.o): in function `config_ip_route': (.text+0xb98): undefined reference to `find_interface_byname' ld: (.text+0xb9c): undefined reference to `find_interface_byname' ld: (.text+0xe48): undefined reference to `find_interface' ld: (.text+0xe4c): undefined reference to `find_interface' ld: (.text+0xe74): undefined reference to `find_interface_local' ld: (.text+0xe78): undefined reference to `find_interface_local' ld: ../../lib/libcfg.a(commconf.o): in function `config_gateway': (.text+0x16c4): undefined reference to `find_interface_byname' ld: (.text+0x16d4): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(commconf.o): in function `init_mrtd_config': (.text+0x18e4): undefined reference to `ip_hash_fn' ld: (.text+0x192c): undefined reference to `ip_lookup_fn' ld: (.text+0x1970): undefined reference to `ip_lookup_fn' ld: (.text+0x1b9c): undefined reference to `show_interfaces' ld: ../../lib/librib.a(rib.o): in function `route_toa_buffer': (.text+0x14c): undefined reference to `buffer_printf' ld: (.text+0x15c): undefined reference to `buffer_printf' ld: (.text+0x1a0): undefined reference to `buffer_printf' ld: (.text+0x1b0): undefined reference to `buffer_printf' ld: (.text+0x1e0): undefined reference to `buffer_printf' ld: ../../lib/librib.a(rib.o):(.text+0x1ec): more undefined references to `buffer_printf' follow ld: ../../lib/librib.a(rib.o): in function `route_toa_buffer': (.text+0x274): undefined reference to `New_Buffer' ld: (.text+0x278): undefined reference to `New_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_replace_active': (.text+0xc04): undefined reference to `New_Buffer' ld: (.text+0xc08): undefined reference to `New_Buffer' ld: (.text+0xc64): undefined reference to `Delete_Buffer' ld: (.text+0xc68): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_delete_route_node': (.text+0x11dc): undefined reference to `New_Buffer' ld: (.text+0x11e0): undefined reference to `New_Buffer' ld: (.text+0x123c): undefined reference to `Delete_Buffer' ld: (.text+0x1240): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_add_route': (.text+0x1ca4): undefined reference to `New_Buffer' ld: (.text+0x1ca8): undefined reference to `New_Buffer' ld: (.text+0x1d10): undefined reference to `Delete_Buffer' ld: (.text+0x1d14): undefined reference to `Delete_Buffer' ld: (.text+0x1ec0): undefined reference to `New_Buffer' ld: (.text+0x1ec4): undefined reference to `New_Buffer' ld: (.text+0x1f20): undefined reference to `Delete_Buffer' ld: (.text+0x1f24): undefined reference to `Delete_Buffer' ld: (.text+0x20ac): undefined reference to `New_Buffer' ld: (.text+0x20b0): undefined reference to `New_Buffer' ld: (.text+0x2114): undefined reference to `Delete_Buffer' ld: (.text+0x2118): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(prefix.o): in function `print_prefix_list_buffer': (.text+0x1044): undefined reference to `buffer_printf' ld: (.text+0x1050): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(prefix.o): in function `print_pref_prefix_list_buffer': (.text+0x1190): undefined reference to `buffer_printf' ld: (.text+0x11a0): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(user.o): in function `uii_accept_connection': (.text+0x9ac): undefined reference to `New_Buffer' ld: (.text+0x9c8): undefined reference to `New_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_yes_no': (.text+0x11d4): undefined reference to `buffer_adjust' ld: (.text+0x11dc): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o): in function `uii_destroy_connection': (.text+0x1918): undefined reference to `Delete_Buffer' ld: (.text+0x191c): undefined reference to `Delete_Buffer' ld: (.text+0x1930): undefined reference to `Delete_Buffer' ld: (.text+0x1934): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_add_bulk_output': (.text+0x24f0): undefined reference to `buffer_vprintf' ld: (.text+0x24fc): undefined reference to `buffer_vprintf' ld: (.text+0x2520): undefined reference to `New_Buffer' ld: (.text+0x2528): undefined reference to `New_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_send_bulk_data': (.text+0x2f7c): undefined reference to `buffer_adjust' ld: (.text+0x2f80): undefined reference to `buffer_adjust' ld: (.text+0x3034): undefined reference to `buffer_adjust' ld: (.text+0x303c): undefined reference to `buffer_adjust' ld: (.text+0x31ec): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o):(.text+0x31f4): more undefined references to `buffer_adjust' follow ld: ../../lib/libmrt.a(user.o): in function `uii_proccess_command': (.text+0x5620): undefined reference to `New_Buffer' ld: (.text+0x5624): undefined reference to `New_Buffer' ld: (.text+0x563c): undefined reference to `buffer_puts' ld: (.text+0x5640): undefined reference to `buffer_puts' ld: (.text+0x566c): undefined reference to `buffer_puts' ld: (.text+0x5674): undefined reference to `buffer_puts' ld: (.text+0x5688): undefined reference to `buffer_puts' ld: ../../lib/libmrt.a(user.o):(.text+0x568c): more undefined references to `buffer_puts' follow ld: ../../lib/libmrt.a(user.o): in function `uii_proccess_command': (.text+0x5854): undefined reference to `Delete_Buffer' ld: (.text+0x5860): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_command_tab_complete': (.text+0x6ac4): undefined reference to `buffer_adjust' ld: (.text+0x6ad0): undefined reference to `buffer_adjust' ld: (.text+0x6af8): undefined reference to `buffer_printf' ld: (.text+0x6afc): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(user.o): in function `uii_read_command.part.1': (.text+0x6e48): undefined reference to `buffer_insert' ld: (.text+0x6e54): undefined reference to `buffer_insert' ld: (.text+0x7168): undefined reference to `buffer_adjust' ld: (.text+0x7170): undefined reference to `buffer_adjust' ld: (.text+0x7184): undefined reference to `buffer_puts' ld: (.text+0x7188): undefined reference to `buffer_puts' ld: (.text+0x73f8): undefined reference to `buffer_adjust' ld: (.text+0x7400): undefined reference to `buffer_adjust' ld: (.text+0x74a4): undefined reference to `buffer_delete' ld: (.text+0x74a8): undefined reference to `buffer_delete' ld: (.text+0x7594): undefined reference to `buffer_delete' ld: (.text+0x759c): undefined reference to `buffer_delete' ld: (.text+0x7640): undefined reference to `buffer_adjust' ld: (.text+0x7648): undefined reference to `buffer_adjust' ld: (.text+0x7744): undefined reference to `buffer_peek' ld: (.text+0x7748): undefined reference to `buffer_peek' ld: (.text+0x7788): undefined reference to `buffer_peek' ld: (.text+0x778c): undefined reference to `buffer_peek' ld: (.text+0x87e8): undefined reference to `buffer_adjust' ld: (.text+0x87ec): undefined reference to `buffer_adjust' ld: (.text+0x899c): undefined reference to `buffer_adjust' ld: (.text+0x89a0): undefined reference to `buffer_adjust' ld: (.text+0x8a48): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o):(.text+0x8a4c): more undefined references to `buffer_adjust' follow ld: ../../lib/libmrt.a(trace.o): in function `trace': (.text+0x55c): undefined reference to `buffer_printf' ld: (.text+0x568): undefined reference to `buffer_printf' ld: (.text+0x5d0): undefined reference to `buffer_printf' ld: (.text+0x5d8): undefined reference to `buffer_printf' ld: (.text+0x5f4): undefined reference to `buffer_vprintf' ld: (.text+0x5fc): undefined reference to `buffer_vprintf' ld: (.text+0x890): undefined reference to `New_Buffer' ld: (.text+0x894): undefined reference to `New_Buffer' ld: (.text+0x914): undefined reference to `buffer_printf' ld: (.text+0x91c): undefined reference to `buffer_printf' ld: (.text+0xa54): undefined reference to `buffer_printf' ld: (.text+0xa5c): undefined reference to `buffer_printf' ld: (.text+0xa74): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(trace.o):(.text+0xa7c): more undefined references to `buffer_printf' follow ld: ../../lib/libmrt.a(trace.o): in function `Destroy_Trace': (.text+0x1470): undefined reference to `Delete_Buffer' ld: (.text+0x1474): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_buffer': (.text+0x1660): undefined reference to `New_Buffer' ld: (.text+0x1664): undefined reference to `New_Buffer' ld: (.text+0x167c): undefined reference to `buffer_puts' ld: (.text+0x1680): undefined reference to `buffer_puts' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_buffer_del': (.text+0x1a20): undefined reference to `Delete_Buffer' ld: (.text+0x1a28): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_data': (.text+0x1ab4): undefined reference to `New_Buffer' ld: (.text+0x1ab8): undefined reference to `New_Buffer' ld: (.text+0x1adc): undefined reference to `buffer_vprintf' ld: (.text+0x1aec): undefined reference to `buffer_vprintf' ld: (.text+0x1b14): undefined reference to `Delete_Buffer' ld: (.text+0x1b1c): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `user_vnotice': (.text+0x1bc0): undefined reference to `New_Buffer' ld: (.text+0x1be0): undefined reference to `New_Buffer' ld: (.text+0x1bfc): undefined reference to `buffer_vprintf' ld: (.text+0x1c04): undefined reference to `buffer_vprintf' ld: (.text+0x1de4): undefined reference to `Delete_Buffer' ld: (.text+0x1de8): undefined reference to `Delete_Buffer' *** Error code 1 Stop. make[3]: stopped in /tmp/pkgbuild/net/mrt/work.alpha/mrt/src/programs/ricd cd route_atob; /usr/bin/make gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include -DINET6 -DFUNCPROTO -I../../include -c route_atob.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from route_atob.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from route_atob.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask route_atob.c: In function 'read_ascii': route_atob.c:315:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' bgp_deref_attr (attr); ^~~~~~~~~~~~~~ route_atob.c:167:44: warning: variable 'optlen' set but not used [-Wunused-but-set-variable] 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] main (int argc, char *argv[]) ^~~~ gcc -Wl,-R/usr/pkg/lib -L/usr/local/lib route_atob.o ../../lib/libbgp.a ../../lib/libmrt.a -o route_atob -lresolv ld: route_atob.o: in function `read_ascii': (.text+0x42c): undefined reference to `New_Buffer_Stream' ld: (.text+0x430): undefined reference to `New_Buffer_Stream' ld: (.text+0x4a4): undefined reference to `buffer_gets' ld: (.text+0x4a8): undefined reference to `buffer_gets' ld: (.text+0x798): undefined reference to `Delete_Buffer' ld: (.text+0x79c): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_attr_buffer': (.text+0x1e74): undefined reference to `buffer_printf' ld: (.text+0x1ea0): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_print_attr_buffer': (.text+0x1f68): undefined reference to `buffer_printf' ld: (.text+0x1f78): undefined reference to `buffer_printf' ld: (.text+0x1fa0): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o):(.text+0x1fb0): more undefined references to `buffer_printf' follow ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_uii_attr': (.text+0x2334): undefined reference to `New_Buffer' ld: (.text+0x2338): undefined reference to `New_Buffer' ld: ../../lib/libmrt.a(prefix.o): in function `print_prefix_list_buffer': (.text+0x1044): undefined reference to `buffer_printf' ld: (.text+0x1050): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(prefix.o): in function `print_pref_prefix_list_buffer': (.text+0x1190): undefined reference to `buffer_printf' ld: (.text+0x11a0): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(trace.o): in function `trace': (.text+0x4dc): undefined reference to `buffer_adjust' ld: (.text+0x4e0): undefined reference to `buffer_adjust' ld: (.text+0x55c): undefined reference to `buffer_printf' ld: (.text+0x568): undefined reference to `buffer_printf' ld: (.text+0x5d0): undefined reference to `buffer_printf' ld: (.text+0x5d8): undefined reference to `buffer_printf' ld: (.text+0x5f4): undefined reference to `buffer_vprintf' ld: (.text+0x5fc): undefined reference to `buffer_vprintf' ld: (.text+0x890): undefined reference to `New_Buffer' ld: (.text+0x894): undefined reference to `New_Buffer' ld: (.text+0x914): undefined reference to `buffer_printf' ld: (.text+0x91c): undefined reference to `buffer_printf' ld: (.text+0xa54): undefined reference to `buffer_printf' ld: (.text+0xa5c): undefined reference to `buffer_printf' ld: (.text+0xa74): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(trace.o):(.text+0xa7c): more undefined references to `buffer_printf' follow ld: ../../lib/libmrt.a(trace.o): in function `Destroy_Trace': (.text+0x1470): undefined reference to `Delete_Buffer' ld: (.text+0x1474): undefined reference to `Delete_Buffer' *** Error code 1 Stop. make[3]: stopped in /tmp/pkgbuild/net/mrt/work.alpha/mrt/src/programs/route_atob cd route_btoa; /usr/bin/make gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include -DINET6 -DFUNCPROTO -I../../include -c route_btoa.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from route_btoa.c:5: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from route_btoa.c:5: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask route_btoa.c:698:1: warning: return type of 'main' is not 'int' [-Wmain] main (int argc, char *argv[]) ^~~~ gcc -Wl,-R/usr/pkg/lib -L/usr/local/lib route_btoa.o ../../lib/libbgp.a ../../lib/libmrt.a -o route_btoa -lresolv ld: route_btoa.o: in function `print_bgp_msg': (.text+0x184): undefined reference to `buffer_printf' ld: (.text+0x18c): undefined reference to `buffer_printf' ld: (.text+0x2dc): undefined reference to `buffer_printf' ld: (.text+0x2e0): undefined reference to `buffer_printf' ld: (.text+0x2fc): undefined reference to `buffer_printf' ld: route_btoa.o:(.text+0x300): more undefined references to `buffer_printf' follow ld: route_btoa.o: in function `main': (.text.startup+0x2e8): undefined reference to `New_Buffer_Stream' ld: (.text.startup+0x2ec): undefined reference to `New_Buffer_Stream' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_attr_buffer': (.text+0x1e74): undefined reference to `buffer_printf' ld: (.text+0x1ea0): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_print_attr_buffer': (.text+0x1f68): undefined reference to `buffer_printf' ld: (.text+0x1f78): undefined reference to `buffer_printf' ld: (.text+0x1fa0): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o):(.text+0x1fb0): more undefined references to `buffer_printf' follow ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_uii_attr': (.text+0x2334): undefined reference to `New_Buffer' ld: (.text+0x2338): undefined reference to `New_Buffer' ld: ../../lib/libmrt.a(prefix.o): in function `print_prefix_list_buffer': (.text+0x1044): undefined reference to `buffer_printf' ld: (.text+0x1050): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(prefix.o): in function `print_pref_prefix_list_buffer': (.text+0x1190): undefined reference to `buffer_printf' ld: (.text+0x11a0): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(trace.o): in function `trace': (.text+0x4dc): undefined reference to `buffer_adjust' ld: (.text+0x4e0): undefined reference to `buffer_adjust' ld: (.text+0x55c): undefined reference to `buffer_printf' ld: (.text+0x568): undefined reference to `buffer_printf' ld: (.text+0x5d0): undefined reference to `buffer_printf' ld: (.text+0x5d8): undefined reference to `buffer_printf' ld: (.text+0x5f4): undefined reference to `buffer_vprintf' ld: (.text+0x5fc): undefined reference to `buffer_vprintf' ld: (.text+0x890): undefined reference to `New_Buffer' ld: (.text+0x894): undefined reference to `New_Buffer' ld: (.text+0x914): undefined reference to `buffer_printf' ld: (.text+0x91c): undefined reference to `buffer_printf' ld: (.text+0xa54): undefined reference to `buffer_printf' ld: (.text+0xa5c): undefined reference to `buffer_printf' ld: (.text+0xa74): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(trace.o):(.text+0xa7c): more undefined references to `buffer_printf' follow ld: ../../lib/libmrt.a(trace.o): in function `Destroy_Trace': (.text+0x1470): undefined reference to `Delete_Buffer' ld: (.text+0x1474): undefined reference to `Delete_Buffer' *** Error code 1 Stop. make[3]: stopped in /tmp/pkgbuild/net/mrt/work.alpha/mrt/src/programs/route_btoa cd sbgp; /usr/bin/make gcc -O2 -mieee -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include -DINET6 -DFUNCPROTO -I../../include -c simple_bgp.c In file included from ../../include/mrt_thread.h:11:0, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from simple_bgp.c:10: ../../include/pthread_fake.h:40:0: warning: "pthread_sigmask" redefined #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) In file included from ../../include/trace.h:9:0, from ../../include/assert.h:10, from ../../include/mrt.h:82, from simple_bgp.c:10: /usr/include/signal.h:80:0: note: this is the location of the previous definition #define pthread_sigmask __libc_thr_sigsetmask gcc -Wl,-R/usr/pkg/lib -L/usr/local/lib simple_bgp.o ../../lib/libbgp.a ../../lib/libcfg.a ../../lib/librib.a ../../lib/libmrt.a ../../lib/libbgp.a -o sbgp -lresolv ld: simple_bgp.o: in function `main': (.text.startup+0x224): undefined reference to `init_interfaces' ld: (.text.startup+0x228): undefined reference to `init_interfaces' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_make_tail.isra.2': (.text+0xf98): undefined reference to `buffer_putc' ld: (.text+0xf9c): undefined reference to `buffer_putc' ld: (.text+0xfac): undefined reference to `buffer_putc' ld: (.text+0xfb4): undefined reference to `buffer_putc' ld: (.text+0xfe4): undefined reference to `buffer_printf' ld: (.text+0xff8): undefined reference to `buffer_printf' ld: (.text+0x1034): undefined reference to `buffer_putc' ld: (.text+0x103c): undefined reference to `buffer_putc' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_put_a_line': (.text+0x1078): undefined reference to `New_Buffer' ld: (.text+0x1088): undefined reference to `New_Buffer' ld: (.text+0x1180): undefined reference to `Delete_Buffer' ld: (.text+0x1184): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_dump_rtin': (.text+0x136c): undefined reference to `New_Buffer' ld: (.text+0x1370): undefined reference to `New_Buffer' ld: (.text+0x1400): undefined reference to `Delete_Buffer' ld: (.text+0x1404): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_util.o): in function `peer_set_gateway': (.text+0x21f4): undefined reference to `get_socket_addr' ld: (.text+0x2214): undefined reference to `get_socket_addr' ld: (.text+0x222c): undefined reference to `get_socket_addr' ld: (.text+0x2234): undefined reference to `get_socket_addr' ld: (.text+0x2278): undefined reference to `find_interface_local' ld: (.text+0x227c): undefined reference to `find_interface_local' ld: (.text+0x2434): undefined reference to `find_interface_local' ld: (.text+0x2438): undefined reference to `find_interface_local' ld: (.text+0x2484): undefined reference to `find_interface' ld: (.text+0x2488): undefined reference to `find_interface' ld: (.text+0x24a4): undefined reference to `find_interface_local' ld: (.text+0x24b4): undefined reference to `find_interface_local' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_start_transport_connection': (.text+0x2690): undefined reference to `socket_reuse' ld: (.text+0x2694): undefined reference to `socket_reuse' ld: ../../lib/libbgp.a(bgp_util.o): in function `init_BGP_listen': (.text+0x3560): undefined reference to `socket_reuse' ld: (.text+0x3568): undefined reference to `socket_reuse' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_in_recv_open': (.text+0x5f98): undefined reference to `get_socket_addr' ld: (.text+0x5f9c): undefined reference to `get_socket_addr' ld: ../../lib/libbgp.a(view.o): in function `bgp_policy': (.text+0x354): undefined reference to `find_interface_local' ld: (.text+0x35c): undefined reference to `find_interface_local' ld: ../../lib/libbgp.a(view.o): in function `bgp_resolve_nexthop': (.text+0x1fc8): undefined reference to `find_interface' ld: (.text+0x1fcc): undefined reference to `find_interface' ld: (.text+0x1fe8): undefined reference to `find_interface_local' ld: (.text+0x1ff0): undefined reference to `find_interface_local' ld: (.text+0x2074): undefined reference to `ip_lookup_fn' ld: (.text+0x2080): undefined reference to `ip_hash_fn' ld: ../../lib/libbgp.a(view.o): in function `view_set_nexthop_self': (.text+0x4764): undefined reference to `find_interface' ld: (.text+0x476c): undefined reference to `find_interface' ld: ../../lib/libbgp.a(view.o): in function `view_add_aggregate': (.text+0x75b0): undefined reference to `find_interface' ld: (.text+0x75b4): undefined reference to `find_interface' ld: (.text+0x7604): undefined reference to `find_interface' ld: ../../lib/libbgp.a(view.o):(.text+0x7608): more undefined references to `find_interface' follow ld: ../../lib/libbgp.a(bgp_dump.o): in function `dump_view_bgp_routes': (.text+0x7a8): undefined reference to `Delete_Buffer' ld: (.text+0x7ac): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_attr_buffer': (.text+0x1e74): undefined reference to `buffer_printf' ld: (.text+0x1ea0): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_print_attr_buffer': (.text+0x1f68): undefined reference to `buffer_printf' ld: (.text+0x1f78): undefined reference to `buffer_printf' ld: (.text+0x1fa0): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o):(.text+0x1fb0): more undefined references to `buffer_printf' follow ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_uii_attr': (.text+0x2334): undefined reference to `New_Buffer' ld: (.text+0x2338): undefined reference to `New_Buffer' ld: ../../lib/libcfg.a(config_file.o): in function `config_add_output': (.text+0x90): undefined reference to `buffer_vprintf' ld: (.text+0x9c): undefined reference to `buffer_vprintf' ld: (.text+0xc0): undefined reference to `New_Buffer' ld: (.text+0xcc): undefined reference to `New_Buffer' ld: ../../lib/libcfg.a(config_file.o): in function `show_config': (.text+0x92c): undefined reference to `buffer_adjust' ld: (.text+0x930): undefined reference to `buffer_adjust' ld: ../../lib/libcfg.a(config_file.o): in function `config_write': (.text+0x2228): undefined reference to `buffer_adjust' ld: (.text+0x222c): undefined reference to `buffer_adjust' ld: ../../lib/libcfg.a(config_file.o): in function `config_from_file2': (.text+0x3114): undefined reference to `New_Buffer_Stream' ld: (.text+0x3124): undefined reference to `New_Buffer_Stream' ld: (.text+0x3150): undefined reference to `buffer_gets' ld: (.text+0x3154): undefined reference to `buffer_gets' ld: (.text+0x320c): undefined reference to `Delete_Buffer' ld: (.text+0x3210): undefined reference to `Delete_Buffer' ld: ../../lib/libcfg.a(commconf.o): in function `re_evaluate_static_routes': (.text+0x484): undefined reference to `find_interface' ld: (.text+0x488): undefined reference to `find_interface' ld: (.text+0x4a8): undefined reference to `find_interface_local' ld: (.text+0x4ac): undefined reference to `find_interface_local' ld: ../../lib/libcfg.a(commconf.o): in function `config_interface': (.text+0x824): undefined reference to `find_interface_byname' ld: (.text+0x830): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(commconf.o): in function `config_ip_route': (.text+0xb98): undefined reference to `find_interface_byname' ld: (.text+0xb9c): undefined reference to `find_interface_byname' ld: (.text+0xe48): undefined reference to `find_interface' ld: (.text+0xe4c): undefined reference to `find_interface' ld: (.text+0xe74): undefined reference to `find_interface_local' ld: (.text+0xe78): undefined reference to `find_interface_local' ld: ../../lib/libcfg.a(commconf.o): in function `config_gateway': (.text+0x16c4): undefined reference to `find_interface_byname' ld: (.text+0x16d4): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(commconf.o): in function `init_mrtd_config': (.text+0x18e4): undefined reference to `ip_hash_fn' ld: (.text+0x192c): undefined reference to `ip_lookup_fn' ld: (.text+0x1970): undefined reference to `ip_lookup_fn' ld: (.text+0x1b9c): undefined reference to `show_interfaces' ld: ../../lib/librib.a(rib.o): in function `route_toa_buffer': (.text+0x14c): undefined reference to `buffer_printf' ld: (.text+0x15c): undefined reference to `buffer_printf' ld: (.text+0x1a0): undefined reference to `buffer_printf' ld: (.text+0x1b0): undefined reference to `buffer_printf' ld: (.text+0x1e0): undefined reference to `buffer_printf' ld: ../../lib/librib.a(rib.o):(.text+0x1ec): more undefined references to `buffer_printf' follow ld: ../../lib/librib.a(rib.o): in function `route_toa_buffer': (.text+0x274): undefined reference to `New_Buffer' ld: (.text+0x278): undefined reference to `New_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_replace_active': (.text+0xc04): undefined reference to `New_Buffer' ld: (.text+0xc08): undefined reference to `New_Buffer' ld: (.text+0xc64): undefined reference to `Delete_Buffer' ld: (.text+0xc68): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_delete_route_node': (.text+0x11dc): undefined reference to `New_Buffer' ld: (.text+0x11e0): undefined reference to `New_Buffer' ld: (.text+0x123c): undefined reference to `Delete_Buffer' ld: (.text+0x1240): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_add_route': (.text+0x1ca4): undefined reference to `New_Buffer' ld: (.text+0x1ca8): undefined reference to `New_Buffer' ld: (.text+0x1d10): undefined reference to `Delete_Buffer' ld: (.text+0x1d14): undefined reference to `Delete_Buffer' ld: (.text+0x1ec0): undefined reference to `New_Buffer' ld: (.text+0x1ec4): undefined reference to `New_Buffer' ld: (.text+0x1f20): undefined reference to `Delete_Buffer' ld: (.text+0x1f24): undefined reference to `Delete_Buffer' ld: (.text+0x20ac): undefined reference to `New_Buffer' ld: (.text+0x20b0): undefined reference to `New_Buffer' ld: (.text+0x2114): undefined reference to `Delete_Buffer' ld: (.text+0x2118): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(prefix.o): in function `print_prefix_list_buffer': (.text+0x1044): undefined reference to `buffer_printf' ld: (.text+0x1050): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(prefix.o): in function `print_pref_prefix_list_buffer': (.text+0x1190): undefined reference to `buffer_printf' ld: (.text+0x11a0): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(user.o): in function `uii_accept_connection': (.text+0x9ac): undefined reference to `New_Buffer' ld: (.text+0x9c8): undefined reference to `New_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_yes_no': (.text+0x11d4): undefined reference to `buffer_adjust' ld: (.text+0x11dc): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o): in function `uii_destroy_connection': (.text+0x1918): undefined reference to `Delete_Buffer' ld: (.text+0x191c): undefined reference to `Delete_Buffer' ld: (.text+0x1930): undefined reference to `Delete_Buffer' ld: (.text+0x1934): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_add_bulk_output': (.text+0x24f0): undefined reference to `buffer_vprintf' ld: (.text+0x24fc): undefined reference to `buffer_vprintf' ld: (.text+0x2520): undefined reference to `New_Buffer' ld: (.text+0x2528): undefined reference to `New_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_send_bulk_data': (.text+0x2f7c): undefined reference to `buffer_adjust' ld: (.text+0x2f80): undefined reference to `buffer_adjust' ld: (.text+0x3034): undefined reference to `buffer_adjust' ld: (.text+0x303c): undefined reference to `buffer_adjust' ld: (.text+0x31ec): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o):(.text+0x31f4): more undefined references to `buffer_adjust' follow ld: ../../lib/libmrt.a(user.o): in function `uii_proccess_command': (.text+0x5620): undefined reference to `New_Buffer' ld: (.text+0x5624): undefined reference to `New_Buffer' ld: (.text+0x563c): undefined reference to `buffer_puts' ld: (.text+0x5640): undefined reference to `buffer_puts' ld: (.text+0x566c): undefined reference to `buffer_puts' ld: (.text+0x5674): undefined reference to `buffer_puts' ld: (.text+0x5688): undefined reference to `buffer_puts' ld: ../../lib/libmrt.a(user.o):(.text+0x568c): more undefined references to `buffer_puts' follow ld: ../../lib/libmrt.a(user.o): in function `uii_proccess_command': (.text+0x5854): undefined reference to `Delete_Buffer' ld: (.text+0x5860): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_command_tab_complete': (.text+0x6ac4): undefined reference to `buffer_adjust' ld: (.text+0x6ad0): undefined reference to `buffer_adjust' ld: (.text+0x6af8): undefined reference to `buffer_printf' ld: (.text+0x6afc): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(user.o): in function `uii_read_command.part.1': (.text+0x6e48): undefined reference to `buffer_insert' ld: (.text+0x6e54): undefined reference to `buffer_insert' ld: (.text+0x7168): undefined reference to `buffer_adjust' ld: (.text+0x7170): undefined reference to `buffer_adjust' ld: (.text+0x7184): undefined reference to `buffer_puts' ld: (.text+0x7188): undefined reference to `buffer_puts' ld: (.text+0x73f8): undefined reference to `buffer_adjust' ld: (.text+0x7400): undefined reference to `buffer_adjust' ld: (.text+0x74a4): undefined reference to `buffer_delete' ld: (.text+0x74a8): undefined reference to `buffer_delete' ld: (.text+0x7594): undefined reference to `buffer_delete' ld: (.text+0x759c): undefined reference to `buffer_delete' ld: (.text+0x7640): undefined reference to `buffer_adjust' ld: (.text+0x7648): undefined reference to `buffer_adjust' ld: (.text+0x7744): undefined reference to `buffer_peek' ld: (.text+0x7748): undefined reference to `buffer_peek' ld: (.text+0x7788): undefined reference to `buffer_peek' ld: (.text+0x778c): undefined reference to `buffer_peek' ld: (.text+0x87e8): undefined reference to `buffer_adjust' ld: (.text+0x87ec): undefined reference to `buffer_adjust' ld: (.text+0x899c): undefined reference to `buffer_adjust' ld: (.text+0x89a0): undefined reference to `buffer_adjust' ld: (.text+0x8a48): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o):(.text+0x8a4c): more undefined references to `buffer_adjust' follow ld: ../../lib/libmrt.a(trace.o): in function `trace': (.text+0x55c): undefined reference to `buffer_printf' ld: (.text+0x568): undefined reference to `buffer_printf' ld: (.text+0x5d0): undefined reference to `buffer_printf' ld: (.text+0x5d8): undefined reference to `buffer_printf' ld: (.text+0x5f4): undefined reference to `buffer_vprintf' ld: (.text+0x5fc): undefined reference to `buffer_vprintf' ld: (.text+0x890): undefined reference to `New_Buffer' ld: (.text+0x894): undefined reference to `New_Buffer' ld: (.text+0x914): undefined reference to `buffer_printf' ld: (.text+0x91c): undefined reference to `buffer_printf' ld: (.text+0xa54): undefined reference to `buffer_printf' ld: (.text+0xa5c): undefined reference to `buffer_printf' ld: (.text+0xa74): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(trace.o):(.text+0xa7c): more undefined references to `buffer_printf' follow ld: ../../lib/libmrt.a(trace.o): in function `Destroy_Trace': (.text+0x1470): undefined reference to `Delete_Buffer' ld: (.text+0x1474): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_buffer': (.text+0x1660): undefined reference to `New_Buffer' ld: (.text+0x1664): undefined reference to `New_Buffer' ld: (.text+0x167c): undefined reference to `buffer_puts' ld: (.text+0x1680): undefined reference to `buffer_puts' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_buffer_del': (.text+0x1a20): undefined reference to `Delete_Buffer' ld: (.text+0x1a28): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_data': (.text+0x1ab4): undefined reference to `New_Buffer' ld: (.text+0x1ab8): undefined reference to `New_Buffer' ld: (.text+0x1adc): undefined reference to `buffer_vprintf' ld: (.text+0x1aec): undefined reference to `buffer_vprintf' ld: (.text+0x1b14): undefined reference to `Delete_Buffer' ld: (.text+0x1b1c): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `user_vnotice': (.text+0x1bc0): undefined reference to `New_Buffer' ld: (.text+0x1be0): undefined reference to `New_Buffer' ld: (.text+0x1bfc): undefined reference to `buffer_vprintf' ld: (.text+0x1c04): undefined reference to `buffer_vprintf' ld: (.text+0x1de4): undefined reference to `Delete_Buffer' ld: (.text+0x1de8): undefined reference to `Delete_Buffer' *** Error code 1 Stop. make[3]: stopped in /tmp/pkgbuild/net/mrt/work.alpha/mrt/src/programs/sbgp