=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for mrt-2.2.2a.20000811nb1 Making lib cd bgp_attr; /usr/bin/make gcc -c -O2 -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 -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] bgp_attr.c:819:9: warning: variable 'flags' set but not used [-Wunused-but-set-variable] a - bgp_attr.o gcc -c -O2 -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 -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 -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] 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] bgp_msg.c:332:14: warning: variable 'index' set but not used [-Wunused-but-set-variable] bgp_msg.c:330:14: warning: variable 'das' set but not used [-Wunused-but-set-variable] bgp_msg.c:330:9: warning: variable 'sas' set but not used [-Wunused-but-set-variable] 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] 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] bgp_msg.c:532:14: warning: variable 'das' set but not used [-Wunused-but-set-variable] a - bgp_msg.o gcc -c -O2 -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 -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] 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] 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] 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] bgp_util.c:404:16: warning: variable 'holdtime' set but not used [-Wunused-but-set-variable] bgp_util.c:403:13: warning: variable 'as' set but not used [-Wunused-but-set-variable] bgp_util.c:402:13: warning: variable 'version' set but not used [-Wunused-but-set-variable] 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] bgp_util.c:463:12: warning: variable 'holdtime' set but not used [-Wunused-but-set-variable] bgp_util.c:461:9: warning: variable 'version' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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 *}' bgp_util.c: In function 'bgp_dump_rtin': bgp_util.c:2606:16: warning: pointer targets in passing argument 10 of 'rib_show_route_line' differ in signedness [-Wpointer-sign] 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 *}' a - bgp_util.o gcc -c -O2 -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 -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] bgp_pdu.c: In function 'bgp_process_open': bgp_pdu.c:464:18: warning: variable 'authdata' set but not used [-Wunused-but-set-variable] a - bgp_pdu.o gcc -c -O2 -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] view.c: In function 'origin_merge': view.c:2180:1: warning: type of 'o1' defaults to 'int' [-Wimplicit-int] view.c:2180:1: warning: type of 'o2' defaults to 'int' [-Wimplicit-int] a - view.o gcc -c -O2 -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 -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 -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] a - bgp_dump.o gcc -c -O2 -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 -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_access_list': config_file.c:301:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] config_file.c:314:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] a - config_file.o gcc -c -O2 -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 -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] bgpconf.c:68:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] bgpconf.c: In function 'config_community_list': bgpconf.c:129:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] bgpconf.c:142:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 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] 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] bgpconf.c:2135:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] a - bgpconf.o gcc -c -O2 -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] rtmapconf.c:41:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] a - rtmapconf.o gcc -c -O2 -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] load.c:40:14: warning: variable 't' set but not used [-Wunused-but-set-variable] load.c:20:10: warning: variable 'originated' set but not used [-Wunused-but-set-variable] load.c:19:17: warning: variable 'seq_num' set but not used [-Wunused-but-set-variable] load.c:19:7: warning: variable 'view_num' set but not used [-Wunused-but-set-variable] load.c:18:10: warning: variable 'status' set but not used [-Wunused-but-set-variable] a - load.o gcc -c -O2 -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 -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 -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 -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 -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 -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 -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 distcc[1525] ERROR: compile bsd.c on 10.1.1.1:3642 failed distcc[1525] (dcc_build_somewhere) Warning: remote compilation of 'bsd.c' failed, retrying locally distcc[1525] Warning: failed to distribute bsd.c to 10.1.1.1:3642, running locally instead 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; ^~~~~~ distcc[1525] ERROR: compile bsd.c on localhost failed *** Error code 1 Stop. make[3]: stopped in /tmp/pkgbuild/net/mrt/work.sparc64/mrt/src/lib/kernel cd mrt; /usr/bin/make gcc -c -O2 -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 -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] prefix.c:308:9: warning: unused variable 'h_errno_r' [-Wunused-variable] prefix.c:307:20: warning: unused variable 'result' [-Wunused-variable] a - prefix.o gcc -c -O2 -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 -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 -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] 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 -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] 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] user.c:1215:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] a - user.o gcc -c -O2 -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 -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 -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 -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 -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] 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 -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 -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] a - user_old.o gcc -c -O2 -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] user_util.c:213:29: warning: variable 'last_utoken' set but not used [-Wunused-but-set-variable] a - user_util.o gcc -c -O2 -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include compat.c a - compat.o gcc -c -O2 -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 -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 'is_prefix_local_on': nexthop.c:393:19: warning: unused variable 'sin6_addr' [-Wunused-variable] a - nexthop.o gcc -c -O2 -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 distcc[3816] ERROR: compile buffer.c on 10.1.1.1:3642 failed distcc[3816] (dcc_build_somewhere) Warning: remote compilation of 'buffer.c' failed, retrying locally distcc[3816] Warning: failed to distribute buffer.c to 10.1.1.1:3642, running locally instead 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, ...) ^ distcc[3816] ERROR: compile buffer.c on localhost failed *** Error code 1 Stop. make[3]: stopped in /tmp/pkgbuild/net/mrt/work.sparc64/mrt/src/lib/mrt cd pim; /usr/bin/make gcc -c -O2 -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.c:1276:1: warning: 'dvmrp_timer_probe' defined but not used [-Wunused-function] a - dvmrp.o gcc -c -O2 -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] pim.c:285:18: warning: variable 'cksum' set but not used [-Wunused-but-set-variable] pim.c: In function 'pim_get_enc_multi': pim.c:805:19: warning: variable 'reserved' set but not used [-Wunused-but-set-variable] pim.c: In function 'pim_get_enc_src': pim.c:837:19: warning: variable 'reserved' set but not used [-Wunused-but-set-variable] pim.c: In function 'pim_recv_join_prune_graft': pim.c:1393:19: warning: variable 'reserved' set but not used [-Wunused-but-set-variable] pim.c: In function 'pim_start': pim.c:1822:13: warning: variable 'igmp' set but not used [-Wunused-but-set-variable] a - pim.o gcc -c -O2 -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] a - cache.o cd portserver; /usr/bin/make cd radix; /usr/bin/make gcc -c -O2 -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 -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] a - rib.o gcc -c -O2 -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 -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 -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] a - rip2.o gcc -c -O2 -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] ripng.c: In function 'ripng_receive_update': ripng.c:425:22: warning: 'buffer' is used uninitialized in this function [-Wuninitialized] a - ripng.o cd struct; /usr/bin/make gcc -c -O2 -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] New.c:253:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] New.c: In function 'Delete_DefaultHandler': New.c:274:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] New.c:275:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] a - New.o gcc -c -O2 -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] stack.c: In function 'STACK_Print': stack.c:229:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] stack.c:229:66: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] a - stack.o gcc -c -O2 -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] array.c:285:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] array.c:287:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] array.c:309:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] array.c:330:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] array.c:335:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] a - array.o gcc -c -O2 -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] 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] linked_list.c:2251:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] linked_list.c:2251:187: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] linked_list.c:2251:313: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] linked_list.c:2251:447: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] linked_list.c:2251:581: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] linked_list.c:2251:708: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] linked_list.c:2251:814: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] linked_list.c:2251:926: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] linked_list.c:2251:956: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] linked_list.c:2251:1034: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] linked_list.c:2251:1067: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] linked_list.c:2251:1145: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] linked_list.c:2251:1178: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 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] a - linked_list.o gcc -c -O2 -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] hash.c: In function 'HASH_Print': hash.c:1411:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hash.c:1416:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hash.c:1417:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hash.c:1420:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hash.c:1423:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hash.c:1426:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hash.c:1426:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hash.c:1426:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hash.c:1426:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hash.c: In function 'HASH_DefaultPrinter': hash.c:1456:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hash.c:1456:70: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] a - hash.o cd timer; /usr/bin/make gcc -c -O2 -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 -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 -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] bgpsim.c:121:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gcc -O2 -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] 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': bgpsim.c:(.text.startup+0x374): undefined reference to `init_interfaces' ld: ../../lib/libcfg.a(config_file.o): in function `config_add_output': config_file.c:(.text+0x80): undefined reference to `buffer_vprintf' ld: config_file.c:(.text+0x90): undefined reference to `New_Buffer' ld: config_file.c:(.text+0xac): undefined reference to `buffer_vprintf' ld: ../../lib/libcfg.a(config_file.o): in function `show_config': config_file.c:(.text+0x874): undefined reference to `buffer_adjust' ld: ../../lib/libcfg.a(config_file.o): in function `config_write': config_file.c:(.text+0x1b78): undefined reference to `buffer_adjust' ld: ../../lib/libcfg.a(config_file.o): in function `config_from_file2': config_file.c:(.text+0x2920): undefined reference to `New_Buffer_Stream' ld: config_file.c:(.text+0x2948): undefined reference to `buffer_gets' ld: config_file.c:(.text+0x297c): undefined reference to `buffer_gets' ld: config_file.c:(.text+0x299c): undefined reference to `Delete_Buffer' ld: ../../lib/libcfg.a(commconf.o): in function `re_evaluate_static_routes': commconf.c:(.text+0x310): undefined reference to `find_interface' ld: commconf.c:(.text+0x330): undefined reference to `find_interface_local' ld: ../../lib/libcfg.a(commconf.o): in function `config_interface': commconf.c:(.text+0x6a4): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(commconf.o): in function `config_ip_route': commconf.c:(.text+0x964): undefined reference to `find_interface_byname' ld: commconf.c:(.text+0xb38): undefined reference to `find_interface' ld: commconf.c:(.text+0xb5c): undefined reference to `find_interface_local' ld: ../../lib/libcfg.a(commconf.o): in function `config_gateway': commconf.c:(.text+0x1164): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(commconf.o): in function `init_mrtd_config': commconf.c:(.text+0x12f8): undefined reference to `ip_lookup_fn' ld: commconf.c:(.text+0x130c): undefined reference to `ip_hash_fn' ld: commconf.c:(.text+0x1310): undefined reference to `ip_lookup_fn' ld: commconf.c:(.text+0x1314): undefined reference to `ip_hash_fn' ld: commconf.c:(.text+0x1330): undefined reference to `ip_lookup_fn' ld: commconf.c:(.text+0x1340): undefined reference to `ip_hash_fn' ld: commconf.c:(.text+0x1368): undefined reference to `ip_lookup_fn' ld: commconf.c:(.text+0x157c): undefined reference to `show_interfaces' ld: commconf.c:(.text+0x1588): undefined reference to `show_interfaces' ld: commconf.c:(.text+0x15a4): undefined reference to `show_interfaces' ld: ../../lib/libcfg.a(bgpconf.o): in function `config_router_neighbor_n_peer': bgpconf.c:(.text+0x59e0): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(bgpconf.o): in function `config_router_neighbor_update_source': bgpconf.c:(.text+0x785c): undefined reference to `find_interface_local' ld: bgpconf.c:(.text+0x7908): undefined reference to `find_interface_byname' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_make_tail.isra.2': bgp_util.c:(.text+0xd68): undefined reference to `buffer_putc' ld: bgp_util.c:(.text+0xd74): undefined reference to `buffer_putc' ld: bgp_util.c:(.text+0xd98): undefined reference to `buffer_printf' ld: bgp_util.c:(.text+0xdbc): undefined reference to `buffer_putc' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_put_a_line': bgp_util.c:(.text+0xde8): undefined reference to `New_Buffer' ld: bgp_util.c:(.text+0xec0): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_dump_rtin': bgp_util.c:(.text+0x10bc): undefined reference to `New_Buffer' ld: bgp_util.c:(.text+0x1134): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_util.o): in function `peer_set_gateway': bgp_util.c:(.text+0x1c94): undefined reference to `get_socket_addr' ld: bgp_util.c:(.text+0x1cac): undefined reference to `get_socket_addr' ld: bgp_util.c:(.text+0x1ce0): undefined reference to `find_interface_local' ld: bgp_util.c:(.text+0x1e58): undefined reference to `find_interface_local' ld: bgp_util.c:(.text+0x1e9c): undefined reference to `find_interface' ld: bgp_util.c:(.text+0x1eb4): undefined reference to `find_interface_local' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_start_transport_connection': bgp_util.c:(.text+0x1fcc): undefined reference to `socket_reuse' ld: ../../lib/libbgp.a(bgp_util.o): in function `init_BGP_listen': bgp_util.c:(.text+0x2bdc): undefined reference to `socket_reuse' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_in_recv_open': bgp_util.c:(.text+0x5218): undefined reference to `get_socket_addr' ld: ../../lib/libbgp.a(view.o): in function `bgp_policy': view.c:(.text+0x2e0): undefined reference to `find_interface_local' ld: view.c:(.text+0x740): undefined reference to `find_interface_local' ld: ../../lib/libbgp.a(view.o): in function `bgp_resolve_nexthop': view.c:(.text+0x1e0c): undefined reference to `find_interface' ld: view.c:(.text+0x1e2c): undefined reference to `find_interface_local' ld: view.c:(.text+0x1e98): undefined reference to `ip_hash_fn' ld: view.c:(.text+0x1ea0): undefined reference to `ip_lookup_fn' ld: view.c:(.text+0x1ea8): undefined reference to `ip_hash_fn' ld: view.c:(.text+0x1eac): undefined reference to `ip_lookup_fn' ld: view.c:(.text+0x1ecc): undefined reference to `ip_hash_fn' ld: view.c:(.text+0x1ed8): undefined reference to `ip_lookup_fn' ld: ../../lib/libbgp.a(view.o): in function `view_set_nexthop_self': view.c:(.text+0x41c4): undefined reference to `find_interface' ld: ../../lib/libbgp.a(view.o): in function `view_add_aggregate': view.c:(.text+0x6a7c): undefined reference to `find_interface' ld: view.c:(.text+0x6ab8): undefined reference to `find_interface' ld: view.c:(.text+0x6b24): undefined reference to `find_interface' ld: ../../lib/libbgp.a(bgp_dump.o): in function `dump_view_bgp_routes': bgp_dump.c:(.text+0x784): undefined reference to `Delete_Buffer' ld: bgp_dump.c:(.text+0x84c): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_attr_buffer': bgp_msg.c:(.text+0x17bc): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_print_attr_buffer': bgp_msg.c:(.text+0x1880): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x18a8): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x18d0): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x1958): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o):bgp_msg.c:(.text+0x1988): more undefined references to `buffer_printf' follow ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_uii_attr': bgp_msg.c:(.text+0x1c44): undefined reference to `New_Buffer' ld: ../../lib/librib.a(rib.o): in function `route_toa_buffer': rib.c:(.text+0x14c): undefined reference to `buffer_printf' ld: rib.c:(.text+0x19c): undefined reference to `buffer_printf' ld: rib.c:(.text+0x1c4): undefined reference to `buffer_printf' ld: rib.c:(.text+0x1e4): undefined reference to `buffer_printf' ld: rib.c:(.text+0x204): undefined reference to `buffer_printf' ld: rib.c:(.text+0x214): undefined reference to `New_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_replace_active': rib.c:(.text+0x9d0): undefined reference to `New_Buffer' ld: rib.c:(.text+0xa14): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_delete_route_node': rib.c:(.text+0xe9c): undefined reference to `New_Buffer' ld: rib.c:(.text+0xee0): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_add_route': rib.c:(.text+0x1738): undefined reference to `New_Buffer' ld: rib.c:(.text+0x1780): undefined reference to `Delete_Buffer' ld: rib.c:(.text+0x19c8): undefined reference to `New_Buffer' ld: rib.c:(.text+0x1a0c): undefined reference to `Delete_Buffer' ld: rib.c:(.text+0x1a1c): undefined reference to `New_Buffer' ld: rib.c:(.text+0x1a60): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(prefix.o): in function `print_prefix_list_buffer': prefix.c:(.text+0xc38): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(prefix.o): in function `print_pref_prefix_list_buffer': prefix.c:(.text+0xd30): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(user.o): in function `uii_accept_connection': user.c:(.text+0x928): undefined reference to `New_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_yes_no': user.c:(.text+0x1014): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o): in function `uii_destroy_connection': user.c:(.text+0x1638): undefined reference to `Delete_Buffer' ld: user.c:(.text+0x164c): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_add_bulk_output': user.c:(.text+0x1f48): undefined reference to `buffer_vprintf' ld: user.c:(.text+0x1f58): undefined reference to `New_Buffer' ld: user.c:(.text+0x1f70): undefined reference to `buffer_vprintf' ld: ../../lib/libmrt.a(user.o): in function `uii_send_bulk_data': user.c:(.text+0x286c): undefined reference to `buffer_adjust' ld: user.c:(.text+0x2980): undefined reference to `buffer_adjust' ld: user.c:(.text+0x29bc): undefined reference to `buffer_adjust' ld: user.c:(.text+0x2a4c): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o): in function `uii_proccess_command': user.c:(.text+0x48bc): undefined reference to `New_Buffer' ld: user.c:(.text+0x48cc): undefined reference to `buffer_puts' ld: user.c:(.text+0x48f8): undefined reference to `buffer_puts' ld: user.c:(.text+0x4904): undefined reference to `buffer_puts' ld: user.c:(.text+0x4ab4): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_command_tab_complete': user.c:(.text+0x5960): undefined reference to `buffer_adjust' ld: user.c:(.text+0x5984): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(user.o): in function `uii_read_command.part.1': user.c:(.text+0x5d08): undefined reference to `buffer_insert' ld: user.c:(.text+0x5f94): undefined reference to `buffer_adjust' ld: user.c:(.text+0x5fa0): undefined reference to `buffer_puts' ld: user.c:(.text+0x61a4): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6248): undefined reference to `buffer_delete' ld: user.c:(.text+0x6334): undefined reference to `buffer_delete' ld: user.c:(.text+0x63bc): undefined reference to `buffer_adjust' ld: user.c:(.text+0x64b8): undefined reference to `buffer_peek' ld: user.c:(.text+0x64fc): undefined reference to `buffer_peek' ld: user.c:(.text+0x6e2c): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6f20): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6ffc): undefined reference to `buffer_adjust' ld: user.c:(.text+0x70a8): undefined reference to `buffer_adjust' ld: user.c:(.text+0x7144): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(trace.o):trace.c:(.text+0x4a8): more undefined references to `buffer_adjust' follow ld: ../../lib/libmrt.a(trace.o): in function `trace': trace.c:(.text+0x504): undefined reference to `buffer_printf' ld: trace.c:(.text+0x570): undefined reference to `buffer_printf' ld: trace.c:(.text+0x580): undefined reference to `buffer_vprintf' ld: trace.c:(.text+0x7f4): undefined reference to `New_Buffer' ld: trace.c:(.text+0x87c): undefined reference to `buffer_printf' ld: trace.c:(.text+0x898): undefined reference to `buffer_printf' ld: trace.c:(.text+0x97c): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(trace.o): in function `Destroy_Trace': trace.c:(.text+0x10c4): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_buffer': user_util.c:(.text+0x12fc): undefined reference to `New_Buffer' ld: user_util.c:(.text+0x130c): undefined reference to `buffer_puts' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_buffer_del': user_util.c:(.text+0x1654): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_data': user_util.c:(.text+0x16b8): undefined reference to `New_Buffer' ld: user_util.c:(.text+0x16cc): undefined reference to `buffer_vprintf' ld: user_util.c:(.text+0x16e4): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `user_vnotice': user_util.c:(.text+0x1784): undefined reference to `New_Buffer' ld: user_util.c:(.text+0x1794): undefined reference to `buffer_vprintf' ld: user_util.c:(.text+0x18f0): undefined reference to `Delete_Buffer' distcc[25292] ERROR: compile (null) on localhost failed *** Error code 1 Stop. make[3]: stopped in /tmp/pkgbuild/net/mrt/work.sparc64/mrt/src/programs/bgpsim cd mrtd; /usr/bin/make gcc -O2 -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] mrtd.c: In function 'main': mrtd.c:139:12: warning: unused variable 'pp' [-Wunused-variable] 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': mrtd.c:(.text.startup+0x53c): undefined reference to `init_interfaces' ld: mrtd.c:(.text.startup+0x560): undefined reference to `igmp_init' ld: mrtd.c:(.text.startup+0x56c): undefined reference to `igmp_init' ld: mrtd.c:(.text.startup+0x614): undefined reference to `kernel_init' ld: mrtd.c:(.text.startup+0x638): undefined reference to `kernel_update_route' ld: mrtd.c:(.text.startup+0x640): undefined reference to `kernel_update_route' ld: mrtd.c:(.text.startup+0x64c): undefined reference to `kernel_update_route' ld: mrtd.c:(.text.startup+0x664): undefined reference to `add_interfaces_to_rib' ld: mrtd.c:(.text.startup+0x6e8): undefined reference to `kernel_read_rt_table' ld: ../../lib/libcfg.a(config_file.o): in function `config_add_output': config_file.c:(.text+0x80): undefined reference to `buffer_vprintf' ld: config_file.c:(.text+0x90): undefined reference to `New_Buffer' ld: config_file.c:(.text+0xac): undefined reference to `buffer_vprintf' ld: ../../lib/libcfg.a(config_file.o): in function `show_config': config_file.c:(.text+0x874): undefined reference to `buffer_adjust' ld: ../../lib/libcfg.a(config_file.o): in function `config_write': config_file.c:(.text+0x1b78): undefined reference to `buffer_adjust' ld: ../../lib/libcfg.a(config_file.o): in function `config_from_file2': config_file.c:(.text+0x2920): undefined reference to `New_Buffer_Stream' ld: config_file.c:(.text+0x2948): undefined reference to `buffer_gets' ld: config_file.c:(.text+0x297c): undefined reference to `buffer_gets' ld: config_file.c:(.text+0x299c): undefined reference to `Delete_Buffer' ld: ../../lib/libcfg.a(commconf.o): in function `re_evaluate_static_routes': commconf.c:(.text+0x310): undefined reference to `find_interface' ld: commconf.c:(.text+0x330): undefined reference to `find_interface_local' ld: ../../lib/libcfg.a(commconf.o): in function `config_interface': commconf.c:(.text+0x6a4): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(commconf.o): in function `config_ip_route': commconf.c:(.text+0x964): undefined reference to `find_interface_byname' ld: commconf.c:(.text+0xb38): undefined reference to `find_interface' ld: commconf.c:(.text+0xb5c): undefined reference to `find_interface_local' ld: ../../lib/libcfg.a(commconf.o): in function `config_gateway': commconf.c:(.text+0x1164): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(commconf.o): in function `init_mrtd_config': commconf.c:(.text+0x12f8): undefined reference to `ip_lookup_fn' ld: commconf.c:(.text+0x130c): undefined reference to `ip_hash_fn' ld: commconf.c:(.text+0x1310): undefined reference to `ip_lookup_fn' ld: commconf.c:(.text+0x1314): undefined reference to `ip_hash_fn' ld: commconf.c:(.text+0x1330): undefined reference to `ip_lookup_fn' ld: commconf.c:(.text+0x1340): undefined reference to `ip_hash_fn' ld: commconf.c:(.text+0x1368): undefined reference to `ip_lookup_fn' ld: commconf.c:(.text+0x157c): undefined reference to `show_interfaces' ld: commconf.c:(.text+0x1588): undefined reference to `show_interfaces' ld: commconf.c:(.text+0x15a4): undefined reference to `show_interfaces' ld: ../../lib/libcfg.a(bgpconf.o): in function `config_router_neighbor_n_peer': bgpconf.c:(.text+0x59e0): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(bgpconf.o): in function `config_router_neighbor_update_source': bgpconf.c:(.text+0x785c): undefined reference to `find_interface_local' ld: bgpconf.c:(.text+0x7908): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(ripconf.o): in function `config_distribute_list': ripconf.c:(.text+0xa8): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(multiconf.o): in function `config_interface_tunnel': multiconf.c:(.text+0x3a8): undefined reference to `new_interface' ld: ../../lib/libcfg.a(multiconf.o): in function `config_multicast_init': multiconf.c:(.text+0x604): undefined reference to `IGMP' ld: multiconf.c:(.text+0x60c): undefined reference to `IGMP' ld: multiconf.c:(.text+0x61c): undefined reference to `IGMP' ld: multiconf.c:(.text+0x658): undefined reference to `IGMP' ld: multiconf.c:(.text+0x7e4): undefined reference to `IGMP' ld: multiconf.c:(.text+0x7ec): undefined reference to `igmp_show_group' ld: multiconf.c:(.text+0x7f8): undefined reference to `igmp_show_group' ld: multiconf.c:(.text+0x818): undefined reference to `igmp_show_group' ld: multiconf.c:(.text+0x878): undefined reference to `IGMPv6' ld: multiconf.c:(.text+0x894): undefined reference to `IGMPv6' ld: multiconf.c:(.text+0x8a8): undefined reference to `IGMPv6' ld: multiconf.c:(.text+0x8ac): undefined reference to `igmp6_show_group' ld: multiconf.c:(.text+0x8b8): undefined reference to `igmp6_show_group' ld: multiconf.c:(.text+0x8dc): undefined reference to `igmp6_show_group' ld: multiconf.c:(.text+0x954): undefined reference to `IGMPv6' ld: multiconf.c:(.text+0x990): undefined reference to `IGMPv6' ld: ../../lib/libcfg.a(dvmrpconf.o): in function `config_dvmrp_distribute_list': dvmrpconf.c:(.text+0x9ac): undefined reference to `find_interface_byname' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_make_tail.isra.2': bgp_util.c:(.text+0xd68): undefined reference to `buffer_putc' ld: bgp_util.c:(.text+0xd74): undefined reference to `buffer_putc' ld: bgp_util.c:(.text+0xd98): undefined reference to `buffer_printf' ld: bgp_util.c:(.text+0xdbc): undefined reference to `buffer_putc' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_put_a_line': bgp_util.c:(.text+0xde8): undefined reference to `New_Buffer' ld: bgp_util.c:(.text+0xec0): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_dump_rtin': bgp_util.c:(.text+0x10bc): undefined reference to `New_Buffer' ld: bgp_util.c:(.text+0x1134): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_util.o): in function `peer_set_gateway': bgp_util.c:(.text+0x1c94): undefined reference to `get_socket_addr' ld: bgp_util.c:(.text+0x1cac): undefined reference to `get_socket_addr' ld: bgp_util.c:(.text+0x1ce0): undefined reference to `find_interface_local' ld: bgp_util.c:(.text+0x1e58): undefined reference to `find_interface_local' ld: bgp_util.c:(.text+0x1e9c): undefined reference to `find_interface' ld: bgp_util.c:(.text+0x1eb4): undefined reference to `find_interface_local' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_start_transport_connection': bgp_util.c:(.text+0x1fcc): undefined reference to `socket_reuse' ld: ../../lib/libbgp.a(bgp_util.o): in function `init_BGP_listen': bgp_util.c:(.text+0x2bdc): undefined reference to `socket_reuse' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_in_recv_open': bgp_util.c:(.text+0x5218): undefined reference to `get_socket_addr' ld: ../../lib/libbgp.a(view.o): in function `bgp_policy': view.c:(.text+0x2e0): undefined reference to `find_interface_local' ld: view.c:(.text+0x740): undefined reference to `find_interface_local' ld: ../../lib/libbgp.a(view.o): in function `bgp_resolve_nexthop': view.c:(.text+0x1e0c): undefined reference to `find_interface' ld: view.c:(.text+0x1e2c): undefined reference to `find_interface_local' ld: view.c:(.text+0x1e98): undefined reference to `ip_hash_fn' ld: view.c:(.text+0x1ea0): undefined reference to `ip_lookup_fn' ld: view.c:(.text+0x1ea8): undefined reference to `ip_hash_fn' ld: view.c:(.text+0x1eac): undefined reference to `ip_lookup_fn' ld: view.c:(.text+0x1ecc): undefined reference to `ip_hash_fn' ld: view.c:(.text+0x1ed8): undefined reference to `ip_lookup_fn' ld: ../../lib/libbgp.a(view.o): in function `view_set_nexthop_self': view.c:(.text+0x41c4): undefined reference to `find_interface' ld: ../../lib/libbgp.a(view.o): in function `view_add_aggregate': view.c:(.text+0x6a7c): undefined reference to `find_interface' ld: view.c:(.text+0x6ab8): undefined reference to `find_interface' ld: view.c:(.text+0x6b24): undefined reference to `find_interface' ld: ../../lib/libbgp.a(bgp_dump.o): in function `dump_view_bgp_routes': bgp_dump.c:(.text+0x784): undefined reference to `Delete_Buffer' ld: bgp_dump.c:(.text+0x84c): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_attr_buffer': bgp_msg.c:(.text+0x17bc): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_print_attr_buffer': bgp_msg.c:(.text+0x1880): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x18a8): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x18d0): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x1958): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o):bgp_msg.c:(.text+0x1988): more undefined references to `buffer_printf' follow ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_uii_attr': bgp_msg.c:(.text+0x1c44): undefined reference to `New_Buffer' ld: ../../lib/librip.a(rip_proto.o): in function `rip_show_routing_table': rip_proto.c:(.text+0x32a8): undefined reference to `find_interface_byname' ld: ../../lib/librip.a(rip_proto.o): in function `rip_interface_recheck': rip_proto.c:(.text+0x37bc): undefined reference to `find_network' ld: rip_proto.c:(.text+0x38c8): undefined reference to `find_interface_byname_all' ld: ../../lib/librip.a(rip_proto.o): in function `rip_init': rip_proto.c:(.text+0x4368): undefined reference to `ip_hash_fn' ld: rip_proto.c:(.text+0x4374): undefined reference to `ip_hash_fn' ld: rip_proto.c:(.text+0x4378): undefined reference to `ip_lookup_fn' ld: rip_proto.c:(.text+0x4384): undefined reference to `ip_lookup_fn' ld: rip_proto.c:(.text+0x4394): undefined reference to `ip_hash_fn' ld: rip_proto.c:(.text+0x43b8): undefined reference to `ip_lookup_fn' ld: ../../lib/librip.a(rip2.o): in function `rip2_sendmsgto.isra.0': rip2.c:(.text+0xec): undefined reference to `send_packet' ld: ../../lib/librip.a(rip2.o): in function `rip2_send_update': rip2.c:(.text+0x1f4): undefined reference to `len2mask' ld: ../../lib/librip.a(rip2.o): in function `rip2_process_packet_response': rip2.c:(.text+0x594): undefined reference to `mask2len' ld: ../../lib/librip.a(rip2.o): in function `rip2_process_packet_request': rip2.c:(.text+0x844): undefined reference to `mask2len' ld: ../../lib/librip.a(rip2.o): in function `rip2_receive_update': rip2.c:(.text+0x9e0): undefined reference to `recvmsgfrom' ld: rip2.c:(.text+0xe5c): undefined reference to `find_interface_local' ld: rip2.c:(.text+0xf54): undefined reference to `find_interface_local' ld: ../../lib/librip.a(rip2.o): in function `rip2_init_listen': rip2.c:(.text+0x116c): undefined reference to `socket_open' ld: rip2.c:(.text+0x1184): undefined reference to `socket_reuse' ld: rip2.c:(.text+0x1190): undefined reference to `socket_broadcast' ld: rip2.c:(.text+0x119c): undefined reference to `ip_multicast_loop' ld: rip2.c:(.text+0x11a8): undefined reference to `ip_recvttl' ld: rip2.c:(.text+0x11b4): undefined reference to `ip_pktinfo' ld: ../../lib/librip.a(rip2.o): in function `rip2_interface': rip2.c:(.text+0x15dc): undefined reference to `join_leave_group' ld: ../../lib/librip.a(ripng.o): in function `ripng_sendmsgto.isra.0': ripng.c:(.text+0xf0): undefined reference to `send_packet' ld: ../../lib/librip.a(ripng.o): in function `ripng_receive_update': ripng.c:(.text+0xbf8): undefined reference to `recvmsgfrom' ld: ripng.c:(.text+0x117c): undefined reference to `find_interface_local' ld: ripng.c:(.text+0x1374): undefined reference to `find_interface_local' ld: ../../lib/librip.a(ripng.o): in function `ripng_init_listen': ripng.c:(.text+0x15ec): undefined reference to `socket_open' ld: ripng.c:(.text+0x1604): undefined reference to `socket_reuse' ld: ripng.c:(.text+0x1638): undefined reference to `socket_rcvbuf' ld: ripng.c:(.text+0x1644): undefined reference to `ipv6_multicast_loop' ld: ripng.c:(.text+0x1650): undefined reference to `ipv6_pktinfo' ld: ripng.c:(.text+0x165c): undefined reference to `ipv6_recvhops' ld: ripng.c:(.text+0x1668): undefined reference to `ipv6_multicast_hops' ld: ripng.c:(.text+0x1674): undefined reference to `ipv6_unicast_hops' ld: ../../lib/librip.a(ripng.o): in function `ripng_interface': ripng.c:(.text+0x1a8c): undefined reference to `join_leave_group' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_send': dvmrp.c:(.text+0x2f0): undefined reference to `IGMP' ld: dvmrp.c:(.text+0x2f8): undefined reference to `IGMP' ld: dvmrp.c:(.text+0x318): undefined reference to `IGMP' ld: dvmrp.c:(.text+0x3a4): undefined reference to `igmp_send' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_update_call_fn': dvmrp.c:(.text+0x1328): undefined reference to `igmp_test_membership' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_activate_interface': dvmrp.c:(.text+0x1444): undefined reference to `IGMP' ld: dvmrp.c:(.text+0x1448): undefined reference to `IGMP' ld: dvmrp.c:(.text+0x1450): undefined reference to `IGMP' ld: dvmrp.c:(.text+0x14f8): undefined reference to `igmp_interface' ld: dvmrp.c:(.text+0x1518): undefined reference to `IGMP' ld: dvmrp.c:(.text+0x1530): undefined reference to `IGMP' ld: dvmrp.c:(.text+0x1540): undefined reference to `IGMP' ld: dvmrp.c:(.text+0x1550): undefined reference to `IGMP' ld: dvmrp.c:(.text+0x15f8): undefined reference to `IGMP' ld: ../../lib/libpim.a(dvmrp.o):dvmrp.c:(.text+0x1608): more undefined references to `IGMP' follow ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_activate_interface': dvmrp.c:(.text+0x16a8): undefined reference to `igmp_interface' ld: dvmrp.c:(.text+0x1718): undefined reference to `IGMP' ld: dvmrp.c:(.text+0x1728): undefined reference to `join_leave_group' ld: dvmrp.c:(.text+0x17f4): undefined reference to `IGMP' ld: dvmrp.c:(.text+0x182c): undefined reference to `IGMP' ld: ../../lib/libpim.a(dvmrp.o): in function `recv_dvmrp': dvmrp.c:(.text+0x1d68): undefined reference to `IGMP' ld: dvmrp.c:(.text+0x1d70): undefined reference to `IGMP' ld: dvmrp.c:(.text+0x1d90): undefined reference to `IGMP' ld: dvmrp.c:(.text+0x1df8): undefined reference to `igmp_is_querier' ld: dvmrp.c:(.text+0x226c): undefined reference to `mask2len' ld: dvmrp.c:(.text+0x23f8): undefined reference to `find_interface_local' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_advertise_route': dvmrp.c:(.text+0x41b4): undefined reference to `len2mask' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_init': dvmrp.c:(.text+0x48b4): undefined reference to `IGMP' ld: dvmrp.c:(.text+0x48c0): undefined reference to `IGMP' ld: dvmrp.c:(.text+0x48d0): undefined reference to `IGMP' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_start': dvmrp.c:(.text+0x4a14): undefined reference to `IGMP' ld: dvmrp.c:(.text+0x4a1c): undefined reference to `IGMP' ld: ../../lib/libpim.a(dvmrp.o):dvmrp.c:(.text+0x4a2c): more undefined references to `IGMP' follow ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_interface_recheck': dvmrp.c:(.text+0x4cc0): undefined reference to `find_network' ld: dvmrp.c:(.text+0x4de0): undefined reference to `find_interface_byname_all' ld: dvmrp.c:(.text+0x4f04): undefined reference to `find_interface_byname_all' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_stop': dvmrp.c:(.text+0x5840): undefined reference to `IGMP' ld: dvmrp.c:(.text+0x5844): undefined reference to `IGMP' ld: dvmrp.c:(.text+0x5850): undefined reference to `IGMP' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_show_routing_table': dvmrp.c:(.text+0x5bd4): undefined reference to `find_interface_byname' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_show_neighbors': dvmrp.c:(.text+0x5c4c): undefined reference to `find_interface_byname' ld: ../../lib/libpim.a(pim.o): in function `pim_register_neighbor': pim.c:(.text+0x158): undefined reference to `find_interface_local' ld: pim.c:(.text+0x220): undefined reference to `find_interface_local' ld: ../../lib/libpim.a(pim.o): in function `pim_find_parent.isra.2': pim.c:(.text+0x7e4): undefined reference to `find_interface_local' ld: ../../lib/libpim.a(pim.o): in function `pim_send': pim.c:(.text+0xc80): undefined reference to `inet6_cksum' ld: pim.c:(.text+0xcd0): undefined reference to `send_packet' ld: pim.c:(.text+0x1028): undefined reference to `inet_cksum' ld: pim.c:(.text+0x10e0): undefined reference to `inet_cksum' ld: pim.c:(.text+0x10f8): undefined reference to `inet_cksum' ld: ../../lib/libpim.a(pim.o): in function `pim_receive': pim.c:(.text+0x17f4): undefined reference to `recvmsgfrom' ld: pim.c:(.text+0x1900): undefined reference to `find_interface_local' ld: pim.c:(.text+0x1a6c): undefined reference to `recvmsgfrom' ld: pim.c:(.text+0x1b48): undefined reference to `inet_cksum' ld: ../../lib/libpim.a(pim.o): in function `pim_update_call_fn': pim.c:(.text+0x4864): undefined reference to `igmp_test_membership' ld: pim.c:(.text+0x4abc): undefined reference to `igmp_test_membership' ld: ../../lib/libpim.a(pim.o): in function `pim_init': pim.c:(.text+0x4e20): undefined reference to `IGMPv6' ld: pim.c:(.text+0x4e28): undefined reference to `IGMPv6' ld: pim.c:(.text+0x4e48): undefined reference to `IGMPv6' ld: pim.c:(.text+0x5070): undefined reference to `IGMP' ld: pim.c:(.text+0x5080): undefined reference to `IGMP' ld: pim.c:(.text+0x5098): undefined reference to `IGMP' ld: ../../lib/libpim.a(pim.o): in function `pim_activate_interface': pim.c:(.text+0x51b8): undefined reference to `igmp_interface' ld: pim.c:(.text+0x5324): undefined reference to `join_leave_group' ld: pim.c:(.text+0x5364): undefined reference to `igmp_interface' ld: pim.c:(.text+0x5698): undefined reference to `igmp_interface' ld: pim.c:(.text+0x5758): undefined reference to `socket_open' ld: pim.c:(.text+0x576c): undefined reference to `socket_reuse' ld: pim.c:(.text+0x5778): undefined reference to `socket_rcvbuf' ld: pim.c:(.text+0x5784): undefined reference to `ipv6_multicast_loop' ld: pim.c:(.text+0x5790): undefined reference to `ipv6_pktinfo' ld: pim.c:(.text+0x579c): undefined reference to `ipv6_recvhops' ld: pim.c:(.text+0x57a8): undefined reference to `ipv6_multicast_hops' ld: pim.c:(.text+0x58b4): undefined reference to `join_leave_group' ld: pim.c:(.text+0x5988): undefined reference to `socket_open' ld: pim.c:(.text+0x599c): undefined reference to `socket_reuse' ld: pim.c:(.text+0x59a8): undefined reference to `socket_rcvbuf' ld: pim.c:(.text+0x59b4): undefined reference to `ip_hdrincl' ld: pim.c:(.text+0x59c0): undefined reference to `ip_multicast_loop' ld: pim.c:(.text+0x59cc): undefined reference to `ip_pktinfo' ld: pim.c:(.text+0x59d8): undefined reference to `ip_recvttl' ld: ../../lib/libpim.a(cache.o): in function `cache_timer_expire': cache.c:(.text+0x1fc): undefined reference to `mc_del_mfc' ld: cache.c:(.text+0x218): undefined reference to `mc6_del_mfc' ld: cache.c:(.text+0x2a0): undefined reference to `mc6_req_mfc' ld: cache.c:(.text+0x2d8): undefined reference to `mc_req_mfc' ld: ../../lib/libpim.a(cache.o): in function `cache_update_mfc': cache.c:(.text+0x720): undefined reference to `mc_add_mfc' ld: cache.c:(.text+0x7d0): undefined reference to `mc6_add_mfc' ld: ../../lib/libpim.a(cache.o): in function `cache_control_from_kernel': cache.c:(.text+0xabc): undefined reference to `mc6_del_mfc' ld: cache.c:(.text+0xd9c): undefined reference to `mc_del_mfc' ld: ../../lib/libpim.a(cache.o): in function `cache_init': cache.c:(.text+0x16d0): undefined reference to `ip_pair_lookup_fn' ld: cache.c:(.text+0x16dc): undefined reference to `ip_pair_lookup_fn' ld: cache.c:(.text+0x16e0): undefined reference to `ip_pair_hash_fn' ld: cache.c:(.text+0x16f0): undefined reference to `ip_pair_lookup_fn' ld: cache.c:(.text+0x16f4): undefined reference to `ip_pair_hash_fn' ld: cache.c:(.text+0x1714): undefined reference to `ip_pair_hash_fn' ld: cache.c:(.text+0x17d4): undefined reference to `IGMPv6' ld: cache.c:(.text+0x17dc): undefined reference to `IGMPv6' ld: cache.c:(.text+0x17ec): undefined reference to `IGMPv6' ld: cache.c:(.text+0x1824): undefined reference to `ip_pair_hash_fn' ld: cache.c:(.text+0x1830): undefined reference to `ip_pair_hash_fn' ld: cache.c:(.text+0x1834): undefined reference to `ip_pair_lookup_fn' ld: cache.c:(.text+0x1844): undefined reference to `ip_pair_hash_fn' ld: cache.c:(.text+0x1850): undefined reference to `ip_pair_lookup_fn' ld: cache.c:(.text+0x1878): undefined reference to `ip_pair_lookup_fn' ld: cache.c:(.text+0x191c): undefined reference to `mc6_kernel_read_rt_table' ld: cache.c:(.text+0x1938): undefined reference to `IGMP' ld: cache.c:(.text+0x1940): undefined reference to `IGMP' ld: cache.c:(.text+0x1950): undefined reference to `IGMP' ld: ../../lib/libpim.a(cache.o): in function `show_cache_entries': cache.c:(.text+0x1a0c): undefined reference to `find_interface_byname' ld: cache.c:(.text+0x1c40): undefined reference to `find_interface_byindex' ld: ../../lib/librib.a(rib.o): in function `route_toa_buffer': rib.c:(.text+0x14c): undefined reference to `buffer_printf' ld: rib.c:(.text+0x19c): undefined reference to `buffer_printf' ld: rib.c:(.text+0x1c4): undefined reference to `buffer_printf' ld: rib.c:(.text+0x1e4): undefined reference to `buffer_printf' ld: rib.c:(.text+0x204): undefined reference to `buffer_printf' ld: rib.c:(.text+0x214): undefined reference to `New_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_replace_active': rib.c:(.text+0x9d0): undefined reference to `New_Buffer' ld: rib.c:(.text+0xa14): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_delete_route_node': rib.c:(.text+0xe9c): undefined reference to `New_Buffer' ld: rib.c:(.text+0xee0): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_add_route': rib.c:(.text+0x1738): undefined reference to `New_Buffer' ld: rib.c:(.text+0x1780): undefined reference to `Delete_Buffer' ld: rib.c:(.text+0x19c8): undefined reference to `New_Buffer' ld: rib.c:(.text+0x1a0c): undefined reference to `Delete_Buffer' ld: rib.c:(.text+0x1a1c): undefined reference to `New_Buffer' ld: rib.c:(.text+0x1a60): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(prefix.o): in function `print_prefix_list_buffer': prefix.c:(.text+0xc38): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(prefix.o): in function `print_pref_prefix_list_buffer': prefix.c:(.text+0xd30): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(user.o): in function `uii_accept_connection': user.c:(.text+0x928): undefined reference to `New_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_yes_no': user.c:(.text+0x1014): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o): in function `uii_destroy_connection': user.c:(.text+0x1638): undefined reference to `Delete_Buffer' ld: user.c:(.text+0x164c): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_add_bulk_output': user.c:(.text+0x1f48): undefined reference to `buffer_vprintf' ld: user.c:(.text+0x1f58): undefined reference to `New_Buffer' ld: user.c:(.text+0x1f70): undefined reference to `buffer_vprintf' ld: ../../lib/libmrt.a(user.o): in function `uii_send_bulk_data': user.c:(.text+0x286c): undefined reference to `buffer_adjust' ld: user.c:(.text+0x2980): undefined reference to `buffer_adjust' ld: user.c:(.text+0x29bc): undefined reference to `buffer_adjust' ld: user.c:(.text+0x2a4c): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o): in function `uii_proccess_command': user.c:(.text+0x48bc): undefined reference to `New_Buffer' ld: user.c:(.text+0x48cc): undefined reference to `buffer_puts' ld: user.c:(.text+0x48f8): undefined reference to `buffer_puts' ld: user.c:(.text+0x4904): undefined reference to `buffer_puts' ld: user.c:(.text+0x4ab4): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_command_tab_complete': user.c:(.text+0x5960): undefined reference to `buffer_adjust' ld: user.c:(.text+0x5984): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(user.o): in function `uii_read_command.part.1': user.c:(.text+0x5d08): undefined reference to `buffer_insert' ld: user.c:(.text+0x5f94): undefined reference to `buffer_adjust' ld: user.c:(.text+0x5fa0): undefined reference to `buffer_puts' ld: user.c:(.text+0x61a4): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6248): undefined reference to `buffer_delete' ld: user.c:(.text+0x6334): undefined reference to `buffer_delete' ld: user.c:(.text+0x63bc): undefined reference to `buffer_adjust' ld: user.c:(.text+0x64b8): undefined reference to `buffer_peek' ld: user.c:(.text+0x64fc): undefined reference to `buffer_peek' ld: user.c:(.text+0x6e2c): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6f20): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6ffc): undefined reference to `buffer_adjust' ld: user.c:(.text+0x70a8): undefined reference to `buffer_adjust' ld: user.c:(.text+0x7144): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(trace.o):trace.c:(.text+0x4a8): more undefined references to `buffer_adjust' follow ld: ../../lib/libmrt.a(trace.o): in function `trace': trace.c:(.text+0x504): undefined reference to `buffer_printf' ld: trace.c:(.text+0x570): undefined reference to `buffer_printf' ld: trace.c:(.text+0x580): undefined reference to `buffer_vprintf' ld: trace.c:(.text+0x7f4): undefined reference to `New_Buffer' ld: trace.c:(.text+0x87c): undefined reference to `buffer_printf' ld: trace.c:(.text+0x898): undefined reference to `buffer_printf' ld: trace.c:(.text+0x97c): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(trace.o): in function `Destroy_Trace': trace.c:(.text+0x10c4): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_buffer': user_util.c:(.text+0x12fc): undefined reference to `New_Buffer' ld: user_util.c:(.text+0x130c): undefined reference to `buffer_puts' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_buffer_del': user_util.c:(.text+0x1654): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_data': user_util.c:(.text+0x16b8): undefined reference to `New_Buffer' ld: user_util.c:(.text+0x16cc): undefined reference to `buffer_vprintf' ld: user_util.c:(.text+0x16e4): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `user_vnotice': user_util.c:(.text+0x1784): undefined reference to `New_Buffer' ld: user_util.c:(.text+0x1794): undefined reference to `buffer_vprintf' ld: user_util.c:(.text+0x18f0): undefined reference to `Delete_Buffer' distcc[10043] ERROR: compile (null) on localhost failed *** Error code 1 Stop. make[3]: stopped in /tmp/pkgbuild/net/mrt/work.sparc64/mrt/src/programs/mrtd cd ricd; /usr/bin/make gcc -O2 -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] ricd.c: In function 'main': ricd.c:172:9: warning: variable 'rib_install_flag' set but not used [-Wunused-but-set-variable] ricd.c:171:9: warning: variable 'kernel_install_flag6' set but not used [-Wunused-but-set-variable] ricd.c:170:9: warning: variable 'kernel_install_flag4' set but not used [-Wunused-but-set-variable] ricd.c:169:9: warning: variable 'kernel_read_flag' set but not used [-Wunused-but-set-variable] ricd.c:167:11: warning: variable 'rib_file' set but not used [-Wunused-but-set-variable] gcc -O2 -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] hqlip.c: In function 'hqlip_calc_ilink': hqlip.c:651:15: warning: unused variable 'req_qos' [-Wunused-variable] hqlip.c: In function 'spath_calc_elink': hqlip.c:725:15: warning: unused variable 'req_qos' [-Wunused-variable] 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] 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 *' hqlip.c: In function 'hqlip_put_area': hqlip.c:1074:20: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] hqlip.c: In function 'hqlip_put_addr': hqlip.c:1144:20: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] 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] hqlip.c:1070:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' hqlip.c:1199:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] hqlip.c:1200:49: warning: pointer targets in passing argument 2 of 'hqlip_put_area' differ in signedness [-Wpointer-sign] hqlip.c:1070:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' hqlip.c:1200:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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] hqlip.c:985:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' 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] hqlip.c:1070:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' hqlip.c:1468:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] hqlip.c:1486:51: warning: pointer targets in passing argument 8 of 'hqlip_send_message' differ in signedness [-Wpointer-sign] hqlip.c:985:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' 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] hqlip.c:1070:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' hqlip.c:1979:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] hqlip.c:1982:46: warning: pointer targets in passing argument 2 of 'hqlip_put_addr' differ in signedness [-Wpointer-sign] hqlip.c:1139:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' hqlip.c:1982:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] hqlip.c:1997:49: warning: pointer targets in passing argument 8 of 'hqlip_send_message' differ in signedness [-Wpointer-sign] hqlip.c:985:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' 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] 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] hqlip.c: In function 'hqlip_vif_tcp_init': hqlip.c:2934:25: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] hqlip.c: In function 'hqlip_spath_compare': hqlip.c:3625:35: warning: variable 'b_len' set but not used [-Wunused-but-set-variable] hqlip.c:3625:26: warning: variable 'b_level' set but not used [-Wunused-but-set-variable] hqlip.c:3624:35: warning: variable 'a_len' set but not used [-Wunused-but-set-variable] hqlip.c:3624:26: warning: variable 'a_level' set but not used [-Wunused-but-set-variable] At top level: hqlip.c:790:1: warning: 'hqlip_update_elink' defined but not used [-Wunused-function] hqlip.c:448:1: warning: 'list_link_qos' defined but not used [-Wunused-function] hqlip.c:52:1: warning: 'my_area_is_center' defined but not used [-Wunused-function] hqlip.c: In function 'hqlip_recv_area_addr.isra.26': hqlip.c:2038:292: warning: 'prefix' may be used uninitialized in this function [-Wmaybe-uninitialized] hqlip.c:2035:16: note: 'prefix' was declared here gcc -O2 -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 -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] gcc -O2 -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] 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] srsvp.c: In function 'srsvp_process_pdu': srsvp.c:1959:28: warning: variable 'sessionf' set but not used [-Wunused-but-set-variable] gcc -O2 -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': ricd.c:(.text.startup+0x4bc): undefined reference to `init_interfaces' ld: ricd.c:(.text.startup+0x534): undefined reference to `kernel_init' ld: hqlip.o: in function `hqlip_vif_udp_init': hqlip.c:(.text+0x590): undefined reference to `socket_open' ld: hqlip.c:(.text+0x5a4): undefined reference to `socket_reuse' ld: hqlip.c:(.text+0x5b8): undefined reference to `join_leave_group' ld: hqlip.c:(.text+0x5d0): undefined reference to `socket_bind_port' ld: hqlip.c:(.text+0x5ec): undefined reference to `ip_multicast_loop' ld: hqlip.c:(.text+0x5f8): undefined reference to `ip_multicast_hops' ld: hqlip.c:(.text+0x604): undefined reference to `ip_pktinfo' ld: hqlip.c:(.text+0x610): undefined reference to `ip_recvttl' ld: hqlip.c:(.text+0x66c): undefined reference to `socket_open' ld: hqlip.c:(.text+0x680): undefined reference to `socket_reuse' ld: hqlip.c:(.text+0x698): undefined reference to `socket_bind_port' ld: hqlip.c:(.text+0x6b4): undefined reference to `ip_pktinfo' ld: hqlip.c:(.text+0x6c0): undefined reference to `ip_recvttl' ld: hqlip.c:(.text+0x720): undefined reference to `ipv6_multicast_loop' ld: hqlip.c:(.text+0x72c): undefined reference to `ipv6_multicast_hops' ld: hqlip.c:(.text+0x738): undefined reference to `ipv6_pktinfo' ld: hqlip.c:(.text+0x744): undefined reference to `ipv6_recvhops' ld: hqlip.c:(.text+0x754): undefined reference to `ipv6_pktinfo' ld: hqlip.c:(.text+0x760): undefined reference to `ipv6_recvhops' ld: hqlip.o: in function `hqlip_vif_tcp_init': hqlip.c:(.text+0xa1c): undefined reference to `socket_open' ld: hqlip.c:(.text+0xa30): undefined reference to `socket_reuse' ld: hqlip.c:(.text+0xa48): undefined reference to `socket_bind_port' ld: hqlip.o: in function `hqlip_send_hello.part.29': hqlip.c:(.text+0x6964): undefined reference to `send_packet' ld: hqlip.o: in function `hqlip_register_neighbor': hqlip.c:(.text+0x7e28): undefined reference to `socket_bind_port' ld: hqlip.o: in function `hqlip_recv_hello': hqlip.c:(.text+0x803c): undefined reference to `recvmsgfrom' ld: hqlip.o: in function `hqlip_open_accept': hqlip.c:(.text+0x84dc): undefined reference to `get_socket_addr' ld: hqlip.o: in function `hqlip_activate_interface': hqlip.c:(.text+0xa118): undefined reference to `join_leave_group' ld: hqlip.o: in function `hqlip_show_neighbors': hqlip.c:(.text+0xa674): undefined reference to `find_interface_byname' ld: ricdconf.o: in function `config_ric_network_if_qos_prefix': ricdconf.c:(.text+0x4900): undefined reference to `find_interface_byname' ld: area.o: in function `area_hash_fn': area.c:(.text+0x8): undefined reference to `ip_hash_fn' ld: srsvp.o: in function `srsvp_flow_hash_fn': srsvp.c:(.text+0x30c): undefined reference to `ip_hash_fn' ld: srsvp.c:(.text+0x328): undefined reference to `ip_hash_fn' ld: srsvp.o: in function `srsvp_vif_tcp_init': srsvp.c:(.text+0x39c): undefined reference to `socket_open' ld: srsvp.c:(.text+0x3b0): undefined reference to `socket_reuse' ld: srsvp.c:(.text+0x3c8): undefined reference to `socket_bind_port' ld: srsvp.o: in function `srsvp_tcp_connect': srsvp.c:(.text+0xcac): undefined reference to `socket_bind_port' ld: srsvp.o: in function `srsvp_open_accept': srsvp.c:(.text+0x157c): undefined reference to `get_socket_addr' ld: srsvp.o: in function `srsvp_keep_alive': srsvp.c:(.text+0x1a68): undefined reference to `get_socket_addr' ld: srsvp.o: in function `srsvp_show_neighbors': srsvp.c:(.text+0x5e74): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(config_file.o): in function `config_add_output': config_file.c:(.text+0x80): undefined reference to `buffer_vprintf' ld: config_file.c:(.text+0x90): undefined reference to `New_Buffer' ld: config_file.c:(.text+0xac): undefined reference to `buffer_vprintf' ld: ../../lib/libcfg.a(config_file.o): in function `show_config': config_file.c:(.text+0x874): undefined reference to `buffer_adjust' ld: ../../lib/libcfg.a(config_file.o): in function `config_write': config_file.c:(.text+0x1b78): undefined reference to `buffer_adjust' ld: ../../lib/libcfg.a(config_file.o): in function `config_from_file2': config_file.c:(.text+0x2920): undefined reference to `New_Buffer_Stream' ld: config_file.c:(.text+0x2948): undefined reference to `buffer_gets' ld: config_file.c:(.text+0x297c): undefined reference to `buffer_gets' ld: config_file.c:(.text+0x299c): undefined reference to `Delete_Buffer' ld: ../../lib/libcfg.a(commconf.o): in function `re_evaluate_static_routes': commconf.c:(.text+0x310): undefined reference to `find_interface' ld: commconf.c:(.text+0x330): undefined reference to `find_interface_local' ld: ../../lib/libcfg.a(commconf.o): in function `config_interface': commconf.c:(.text+0x6a4): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(commconf.o): in function `config_ip_route': commconf.c:(.text+0x964): undefined reference to `find_interface_byname' ld: commconf.c:(.text+0xb38): undefined reference to `find_interface' ld: commconf.c:(.text+0xb5c): undefined reference to `find_interface_local' ld: ../../lib/libcfg.a(commconf.o): in function `config_gateway': commconf.c:(.text+0x1164): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(commconf.o): in function `init_mrtd_config': commconf.c:(.text+0x12f8): undefined reference to `ip_lookup_fn' ld: commconf.c:(.text+0x130c): undefined reference to `ip_hash_fn' ld: commconf.c:(.text+0x1310): undefined reference to `ip_lookup_fn' ld: commconf.c:(.text+0x1314): undefined reference to `ip_hash_fn' ld: commconf.c:(.text+0x1330): undefined reference to `ip_lookup_fn' ld: commconf.c:(.text+0x1340): undefined reference to `ip_hash_fn' ld: commconf.c:(.text+0x1368): undefined reference to `ip_lookup_fn' ld: commconf.c:(.text+0x157c): undefined reference to `show_interfaces' ld: commconf.c:(.text+0x1588): undefined reference to `show_interfaces' ld: commconf.c:(.text+0x15a4): undefined reference to `show_interfaces' ld: ../../lib/librib.a(rib.o): in function `route_toa_buffer': rib.c:(.text+0x14c): undefined reference to `buffer_printf' ld: rib.c:(.text+0x19c): undefined reference to `buffer_printf' ld: rib.c:(.text+0x1c4): undefined reference to `buffer_printf' ld: rib.c:(.text+0x1e4): undefined reference to `buffer_printf' ld: rib.c:(.text+0x204): undefined reference to `buffer_printf' ld: rib.c:(.text+0x214): undefined reference to `New_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_replace_active': rib.c:(.text+0x9d0): undefined reference to `New_Buffer' ld: rib.c:(.text+0xa14): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_delete_route_node': rib.c:(.text+0xe9c): undefined reference to `New_Buffer' ld: rib.c:(.text+0xee0): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_add_route': rib.c:(.text+0x1738): undefined reference to `New_Buffer' ld: rib.c:(.text+0x1780): undefined reference to `Delete_Buffer' ld: rib.c:(.text+0x19c8): undefined reference to `New_Buffer' ld: rib.c:(.text+0x1a0c): undefined reference to `Delete_Buffer' ld: rib.c:(.text+0x1a1c): undefined reference to `New_Buffer' ld: rib.c:(.text+0x1a60): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(prefix.o): in function `print_prefix_list_buffer': prefix.c:(.text+0xc38): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(prefix.o): in function `print_pref_prefix_list_buffer': prefix.c:(.text+0xd30): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(user.o): in function `uii_accept_connection': user.c:(.text+0x928): undefined reference to `New_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_yes_no': user.c:(.text+0x1014): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o): in function `uii_destroy_connection': user.c:(.text+0x1638): undefined reference to `Delete_Buffer' ld: user.c:(.text+0x164c): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_add_bulk_output': user.c:(.text+0x1f48): undefined reference to `buffer_vprintf' ld: user.c:(.text+0x1f58): undefined reference to `New_Buffer' ld: user.c:(.text+0x1f70): undefined reference to `buffer_vprintf' ld: ../../lib/libmrt.a(user.o): in function `uii_send_bulk_data': user.c:(.text+0x286c): undefined reference to `buffer_adjust' ld: user.c:(.text+0x2980): undefined reference to `buffer_adjust' ld: user.c:(.text+0x29bc): undefined reference to `buffer_adjust' ld: user.c:(.text+0x2a4c): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o): in function `uii_proccess_command': user.c:(.text+0x48bc): undefined reference to `New_Buffer' ld: user.c:(.text+0x48cc): undefined reference to `buffer_puts' ld: user.c:(.text+0x48f8): undefined reference to `buffer_puts' ld: user.c:(.text+0x4904): undefined reference to `buffer_puts' ld: user.c:(.text+0x4ab4): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_command_tab_complete': user.c:(.text+0x5960): undefined reference to `buffer_adjust' ld: user.c:(.text+0x5984): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(user.o): in function `uii_read_command.part.1': user.c:(.text+0x5d08): undefined reference to `buffer_insert' ld: user.c:(.text+0x5f94): undefined reference to `buffer_adjust' ld: user.c:(.text+0x5fa0): undefined reference to `buffer_puts' ld: user.c:(.text+0x61a4): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6248): undefined reference to `buffer_delete' ld: user.c:(.text+0x6334): undefined reference to `buffer_delete' ld: user.c:(.text+0x63bc): undefined reference to `buffer_adjust' ld: user.c:(.text+0x64b8): undefined reference to `buffer_peek' ld: user.c:(.text+0x64fc): undefined reference to `buffer_peek' ld: user.c:(.text+0x6e2c): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6f20): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6ffc): undefined reference to `buffer_adjust' ld: user.c:(.text+0x70a8): undefined reference to `buffer_adjust' ld: user.c:(.text+0x7144): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(trace.o):trace.c:(.text+0x4a8): more undefined references to `buffer_adjust' follow ld: ../../lib/libmrt.a(trace.o): in function `trace': trace.c:(.text+0x504): undefined reference to `buffer_printf' ld: trace.c:(.text+0x570): undefined reference to `buffer_printf' ld: trace.c:(.text+0x580): undefined reference to `buffer_vprintf' ld: trace.c:(.text+0x7f4): undefined reference to `New_Buffer' ld: trace.c:(.text+0x87c): undefined reference to `buffer_printf' ld: trace.c:(.text+0x898): undefined reference to `buffer_printf' ld: trace.c:(.text+0x97c): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(trace.o): in function `Destroy_Trace': trace.c:(.text+0x10c4): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_buffer': user_util.c:(.text+0x12fc): undefined reference to `New_Buffer' ld: user_util.c:(.text+0x130c): undefined reference to `buffer_puts' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_buffer_del': user_util.c:(.text+0x1654): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_data': user_util.c:(.text+0x16b8): undefined reference to `New_Buffer' ld: user_util.c:(.text+0x16cc): undefined reference to `buffer_vprintf' ld: user_util.c:(.text+0x16e4): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `user_vnotice': user_util.c:(.text+0x1784): undefined reference to `New_Buffer' ld: user_util.c:(.text+0x1794): undefined reference to `buffer_vprintf' ld: user_util.c:(.text+0x18f0): undefined reference to `Delete_Buffer' distcc[19732] ERROR: compile (null) on localhost failed *** Error code 1 Stop. make[3]: stopped in /tmp/pkgbuild/net/mrt/work.sparc64/mrt/src/programs/ricd cd route_atob; /usr/bin/make gcc -O2 -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:167:44: warning: variable 'optlen' set but not used [-Wunused-but-set-variable] route_atob.c: At top level: route_atob.c:690:1: warning: return type of 'main' is not 'int' [-Wmain] 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': route_atob.c:(.text+0x340): undefined reference to `New_Buffer_Stream' ld: route_atob.c:(.text+0x4c4): undefined reference to `buffer_gets' ld: route_atob.c:(.text+0x8a0): undefined reference to `buffer_gets' ld: route_atob.c:(.text+0xc5c): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_attr_buffer': bgp_msg.c:(.text+0x17bc): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_print_attr_buffer': bgp_msg.c:(.text+0x1880): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x18a8): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x18d0): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x1958): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o):bgp_msg.c:(.text+0x1988): more undefined references to `buffer_printf' follow ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_uii_attr': bgp_msg.c:(.text+0x1c44): undefined reference to `New_Buffer' ld: ../../lib/libmrt.a(prefix.o): in function `print_prefix_list_buffer': prefix.c:(.text+0xc38): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(prefix.o): in function `print_pref_prefix_list_buffer': prefix.c:(.text+0xd30): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(trace.o): in function `trace': trace.c:(.text+0x4a8): undefined reference to `buffer_adjust' ld: trace.c:(.text+0x504): undefined reference to `buffer_printf' ld: trace.c:(.text+0x570): undefined reference to `buffer_printf' ld: trace.c:(.text+0x580): undefined reference to `buffer_vprintf' ld: trace.c:(.text+0x7f4): undefined reference to `New_Buffer' ld: trace.c:(.text+0x87c): undefined reference to `buffer_printf' ld: trace.c:(.text+0x898): undefined reference to `buffer_printf' ld: trace.c:(.text+0x97c): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(trace.o): in function `Destroy_Trace': trace.c:(.text+0x10c4): undefined reference to `Delete_Buffer' distcc[5909] ERROR: compile (null) on localhost failed *** Error code 1 Stop. make[3]: stopped in /tmp/pkgbuild/net/mrt/work.sparc64/mrt/src/programs/route_atob cd route_btoa; /usr/bin/make gcc -O2 -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] 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': route_btoa.c:(.text+0x2f8): undefined reference to `buffer_printf' ld: route_btoa.c:(.text+0x438): undefined reference to `buffer_printf' ld: route_btoa.c:(.text+0x454): undefined reference to `buffer_printf' ld: route_btoa.c:(.text+0x4e4): undefined reference to `buffer_printf' ld: route_btoa.c:(.text+0x524): undefined reference to `buffer_printf' ld: route_btoa.o:route_btoa.c:(.text+0x674): more undefined references to `buffer_printf' follow ld: route_btoa.o: in function `main': route_btoa.c:(.text.startup+0x434): undefined reference to `New_Buffer_Stream' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_attr_buffer': bgp_msg.c:(.text+0x17bc): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_print_attr_buffer': bgp_msg.c:(.text+0x1880): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x18a8): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x18d0): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x1958): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o):bgp_msg.c:(.text+0x1988): more undefined references to `buffer_printf' follow ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_uii_attr': bgp_msg.c:(.text+0x1c44): undefined reference to `New_Buffer' ld: ../../lib/libmrt.a(prefix.o): in function `print_prefix_list_buffer': prefix.c:(.text+0xc38): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(prefix.o): in function `print_pref_prefix_list_buffer': prefix.c:(.text+0xd30): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(trace.o): in function `trace': trace.c:(.text+0x4a8): undefined reference to `buffer_adjust' ld: trace.c:(.text+0x504): undefined reference to `buffer_printf' ld: trace.c:(.text+0x570): undefined reference to `buffer_printf' ld: trace.c:(.text+0x580): undefined reference to `buffer_vprintf' ld: trace.c:(.text+0x7f4): undefined reference to `New_Buffer' ld: trace.c:(.text+0x87c): undefined reference to `buffer_printf' ld: trace.c:(.text+0x898): undefined reference to `buffer_printf' ld: trace.c:(.text+0x97c): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(trace.o): in function `Destroy_Trace': trace.c:(.text+0x10c4): undefined reference to `Delete_Buffer' distcc[1101] ERROR: compile (null) on localhost failed *** Error code 1 Stop. make[3]: stopped in /tmp/pkgbuild/net/mrt/work.sparc64/mrt/src/programs/route_btoa cd sbgp; /usr/bin/make gcc -O2 -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': simple_bgp.c:(.text.startup+0x374): undefined reference to `init_interfaces' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_make_tail.isra.2': bgp_util.c:(.text+0xd68): undefined reference to `buffer_putc' ld: bgp_util.c:(.text+0xd74): undefined reference to `buffer_putc' ld: bgp_util.c:(.text+0xd98): undefined reference to `buffer_printf' ld: bgp_util.c:(.text+0xdbc): undefined reference to `buffer_putc' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_put_a_line': bgp_util.c:(.text+0xde8): undefined reference to `New_Buffer' ld: bgp_util.c:(.text+0xec0): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_dump_rtin': bgp_util.c:(.text+0x10bc): undefined reference to `New_Buffer' ld: bgp_util.c:(.text+0x1134): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_util.o): in function `peer_set_gateway': bgp_util.c:(.text+0x1c94): undefined reference to `get_socket_addr' ld: bgp_util.c:(.text+0x1cac): undefined reference to `get_socket_addr' ld: bgp_util.c:(.text+0x1ce0): undefined reference to `find_interface_local' ld: bgp_util.c:(.text+0x1e58): undefined reference to `find_interface_local' ld: bgp_util.c:(.text+0x1e9c): undefined reference to `find_interface' ld: bgp_util.c:(.text+0x1eb4): undefined reference to `find_interface_local' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_start_transport_connection': bgp_util.c:(.text+0x1fcc): undefined reference to `socket_reuse' ld: ../../lib/libbgp.a(bgp_util.o): in function `init_BGP_listen': bgp_util.c:(.text+0x2bdc): undefined reference to `socket_reuse' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_in_recv_open': bgp_util.c:(.text+0x5218): undefined reference to `get_socket_addr' ld: ../../lib/libbgp.a(view.o): in function `bgp_policy': view.c:(.text+0x2e0): undefined reference to `find_interface_local' ld: view.c:(.text+0x740): undefined reference to `find_interface_local' ld: ../../lib/libbgp.a(view.o): in function `bgp_resolve_nexthop': view.c:(.text+0x1e0c): undefined reference to `find_interface' ld: view.c:(.text+0x1e2c): undefined reference to `find_interface_local' ld: view.c:(.text+0x1e98): undefined reference to `ip_hash_fn' ld: view.c:(.text+0x1ea0): undefined reference to `ip_lookup_fn' ld: view.c:(.text+0x1ea8): undefined reference to `ip_hash_fn' ld: view.c:(.text+0x1eac): undefined reference to `ip_lookup_fn' ld: view.c:(.text+0x1ecc): undefined reference to `ip_hash_fn' ld: view.c:(.text+0x1ed8): undefined reference to `ip_lookup_fn' ld: ../../lib/libbgp.a(view.o): in function `view_set_nexthop_self': view.c:(.text+0x41c4): undefined reference to `find_interface' ld: ../../lib/libbgp.a(view.o): in function `view_add_aggregate': view.c:(.text+0x6a7c): undefined reference to `find_interface' ld: view.c:(.text+0x6ab8): undefined reference to `find_interface' ld: view.c:(.text+0x6b24): undefined reference to `find_interface' ld: ../../lib/libbgp.a(bgp_dump.o): in function `dump_view_bgp_routes': bgp_dump.c:(.text+0x784): undefined reference to `Delete_Buffer' ld: bgp_dump.c:(.text+0x84c): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_attr_buffer': bgp_msg.c:(.text+0x17bc): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_print_attr_buffer': bgp_msg.c:(.text+0x1880): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x18a8): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x18d0): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x1958): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o):bgp_msg.c:(.text+0x1988): more undefined references to `buffer_printf' follow ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_uii_attr': bgp_msg.c:(.text+0x1c44): undefined reference to `New_Buffer' ld: ../../lib/libcfg.a(config_file.o): in function `config_add_output': config_file.c:(.text+0x80): undefined reference to `buffer_vprintf' ld: config_file.c:(.text+0x90): undefined reference to `New_Buffer' ld: config_file.c:(.text+0xac): undefined reference to `buffer_vprintf' ld: ../../lib/libcfg.a(config_file.o): in function `show_config': config_file.c:(.text+0x874): undefined reference to `buffer_adjust' ld: ../../lib/libcfg.a(config_file.o): in function `config_write': config_file.c:(.text+0x1b78): undefined reference to `buffer_adjust' ld: ../../lib/libcfg.a(config_file.o): in function `config_from_file2': config_file.c:(.text+0x2920): undefined reference to `New_Buffer_Stream' ld: config_file.c:(.text+0x2948): undefined reference to `buffer_gets' ld: config_file.c:(.text+0x297c): undefined reference to `buffer_gets' ld: config_file.c:(.text+0x299c): undefined reference to `Delete_Buffer' ld: ../../lib/libcfg.a(commconf.o): in function `re_evaluate_static_routes': commconf.c:(.text+0x310): undefined reference to `find_interface' ld: commconf.c:(.text+0x330): undefined reference to `find_interface_local' ld: ../../lib/libcfg.a(commconf.o): in function `config_interface': commconf.c:(.text+0x6a4): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(commconf.o): in function `config_ip_route': commconf.c:(.text+0x964): undefined reference to `find_interface_byname' ld: commconf.c:(.text+0xb38): undefined reference to `find_interface' ld: commconf.c:(.text+0xb5c): undefined reference to `find_interface_local' ld: ../../lib/libcfg.a(commconf.o): in function `config_gateway': commconf.c:(.text+0x1164): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(commconf.o): in function `init_mrtd_config': commconf.c:(.text+0x12f8): undefined reference to `ip_lookup_fn' ld: commconf.c:(.text+0x130c): undefined reference to `ip_hash_fn' ld: commconf.c:(.text+0x1310): undefined reference to `ip_lookup_fn' ld: commconf.c:(.text+0x1314): undefined reference to `ip_hash_fn' ld: commconf.c:(.text+0x1330): undefined reference to `ip_lookup_fn' ld: commconf.c:(.text+0x1340): undefined reference to `ip_hash_fn' ld: commconf.c:(.text+0x1368): undefined reference to `ip_lookup_fn' ld: commconf.c:(.text+0x157c): undefined reference to `show_interfaces' ld: commconf.c:(.text+0x1588): undefined reference to `show_interfaces' ld: commconf.c:(.text+0x15a4): undefined reference to `show_interfaces' ld: ../../lib/librib.a(rib.o): in function `route_toa_buffer': rib.c:(.text+0x14c): undefined reference to `buffer_printf' ld: rib.c:(.text+0x19c): undefined reference to `buffer_printf' ld: rib.c:(.text+0x1c4): undefined reference to `buffer_printf' ld: rib.c:(.text+0x1e4): undefined reference to `buffer_printf' ld: rib.c:(.text+0x204): undefined reference to `buffer_printf' ld: rib.c:(.text+0x214): undefined reference to `New_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_replace_active': rib.c:(.text+0x9d0): undefined reference to `New_Buffer' ld: rib.c:(.text+0xa14): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_delete_route_node': rib.c:(.text+0xe9c): undefined reference to `New_Buffer' ld: rib.c:(.text+0xee0): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_add_route': rib.c:(.text+0x1738): undefined reference to `New_Buffer' ld: rib.c:(.text+0x1780): undefined reference to `Delete_Buffer' ld: rib.c:(.text+0x19c8): undefined reference to `New_Buffer' ld: rib.c:(.text+0x1a0c): undefined reference to `Delete_Buffer' ld: rib.c:(.text+0x1a1c): undefined reference to `New_Buffer' ld: rib.c:(.text+0x1a60): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(prefix.o): in function `print_prefix_list_buffer': prefix.c:(.text+0xc38): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(prefix.o): in function `print_pref_prefix_list_buffer': prefix.c:(.text+0xd30): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(user.o): in function `uii_accept_connection': user.c:(.text+0x928): undefined reference to `New_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_yes_no': user.c:(.text+0x1014): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o): in function `uii_destroy_connection': user.c:(.text+0x1638): undefined reference to `Delete_Buffer' ld: user.c:(.text+0x164c): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_add_bulk_output': user.c:(.text+0x1f48): undefined reference to `buffer_vprintf' ld: user.c:(.text+0x1f58): undefined reference to `New_Buffer' ld: user.c:(.text+0x1f70): undefined reference to `buffer_vprintf' ld: ../../lib/libmrt.a(user.o): in function `uii_send_bulk_data': user.c:(.text+0x286c): undefined reference to `buffer_adjust' ld: user.c:(.text+0x2980): undefined reference to `buffer_adjust' ld: user.c:(.text+0x29bc): undefined reference to `buffer_adjust' ld: user.c:(.text+0x2a4c): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o): in function `uii_proccess_command': user.c:(.text+0x48bc): undefined reference to `New_Buffer' ld: user.c:(.text+0x48cc): undefined reference to `buffer_puts' ld: user.c:(.text+0x48f8): undefined reference to `buffer_puts' ld: user.c:(.text+0x4904): undefined reference to `buffer_puts' ld: user.c:(.text+0x4ab4): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_command_tab_complete': user.c:(.text+0x5960): undefined reference to `buffer_adjust' ld: user.c:(.text+0x5984): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(user.o): in function `uii_read_command.part.1': user.c:(.text+0x5d08): undefined reference to `buffer_insert' ld: user.c:(.text+0x5f94): undefined reference to `buffer_adjust' ld: user.c:(.text+0x5fa0): undefined reference to `buffer_puts' ld: user.c:(.text+0x61a4): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6248): undefined reference to `buffer_delete' ld: user.c:(.text+0x6334): undefined reference to `buffer_delete' ld: user.c:(.text+0x63bc): undefined reference to `buffer_adjust' ld: user.c:(.text+0x64b8): undefined reference to `buffer_peek' ld: user.c:(.text+0x64fc): undefined reference to `buffer_peek' ld: user.c:(.text+0x6e2c): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6f20): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6ffc): undefined reference to `buffer_adjust' ld: user.c:(.text+0x70a8): undefined reference to `buffer_adjust' ld: user.c:(.text+0x7144): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(trace.o):trace.c:(.text+0x4a8): more undefined references to `buffer_adjust' follow ld: ../../lib/libmrt.a(trace.o): in function `trace': trace.c:(.text+0x504): undefined reference to `buffer_printf' ld: trace.c:(.text+0x570): undefined reference to `buffer_printf' ld: trace.c:(.text+0x580): undefined reference to `buffer_vprintf' ld: trace.c:(.text+0x7f4): undefined reference to `New_Buffer' ld: trace.c:(.text+0x87c): undefined reference to `buffer_printf' ld: trace.c:(.text+0x898): undefined reference to `buffer_printf' ld: trace.c:(.text+0x97c): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(trace.o): in function `Destroy_Trace': trace.c:(.text+0x10c4): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_buffer': user_util.c:(.text+0x12fc): undefined reference to `New_Buffer' ld: user_util.c:(.text+0x130c): undefined reference to `buffer_puts' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_buffer_del': user_util.c:(.text+0x1654): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_data': user_util.c:(.text+0x16b8): undefined reference to `New_Buffer' ld: user_util.c:(.text+0x16cc): undefined reference to `buffer_vprintf' ld: user_util.c:(.text+0x16e4): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `user_vnotice': user_util.c:(.text+0x1784): undefined reference to `New_Buffer' ld: user_util.c:(.text+0x1794): undefined reference to `buffer_vprintf' ld: user_util.c:(.text+0x18f0): undefined reference to `Delete_Buffer' distcc[7437] ERROR: compile (null) on localhost failed *** Error code 1 Stop. make[3]: stopped in /tmp/pkgbuild/net/mrt/work.sparc64/mrt/src/programs/sbgp