+ local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mrt-2.2.2a.20000811nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mrt-2.2.2a.20000811nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Installing for mrt-2.2.2a.20000811nb1 => Generating pre-install file lists => Creating installation directories Making lib cd bgp_attr; /usr/pkg/bin/bmake cd bgp_proto; /usr/pkg/bin/bmake cd config; /usr/pkg/bin/bmake cd filter; /usr/pkg/bin/bmake cd io; /usr/pkg/bin/bmake cd kernel; /usr/pkg/bin/bmake cc -c -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include bsd.c In file included from ../../include/mrt_thread.h:11, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bsd.c:5: ../../include/pthread_fake.h:40: warning: "pthread_sigmask" redefined 40 | #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) | In file included from ../../include/trace.h:9, from ../../include/assert.h:10, from ../../include/mrt.h:82, from bsd.c:5: /usr/include/signal.h:80: note: this is the location of the previous definition 80 | #define pthread_sigmask __libc_thr_sigsetmask | bsd.c: In function 'sys_kernel_rt_msg': bsd.c:526:17: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration] 526 | if (ioctl (route_sockfd, SIOCGIFFLAGS, &ifr) < 0) { | ^~~~~ bsd.c:521:18: warning: unused variable 'tmpx' [-Wunused-variable] 521 | char tmpx[MAXLINE]; | ^~~~ bsd.c:590:5: error: 'RTF_CLONING' undeclared (first use in this function); did you mean 'RTM_LOSING'? 590 | |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'? 591 | |RTF_XRESOLVE /* direct if for IPv6 */ | ^~~~~~~~~~~~ | MRTMSG_RESOLVE bsd.c:404:43: warning: unused variable 'src' [-Wunused-variable] 404 | u_char *addr = NULL, *broadcast = NULL, *src = NULL; | ^~~ bsd.c:395:23: warning: unused variable 'so_src' [-Wunused-variable] 395 | so_ifa, so_ifp, so_src; | ^~~~~~ *** Error code 1 Stop. bmake[2]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/kernel cd mrt; /usr/pkg/bin/bmake cc -c -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include buffer.c In file included from ../../include/mrt_thread.h:11, from ../../include/trace.h:14, from ../../include/assert.h:10, from ../../include/mrt.h:82, from buffer.c:5: ../../include/pthread_fake.h:40: warning: "pthread_sigmask" redefined 40 | #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) | In file included from ../../include/trace.h:9, from ../../include/assert.h:10, from ../../include/mrt.h:82, from buffer.c:5: /usr/include/signal.h:80: note: this is the location of the previous definition 80 | #define pthread_sigmask __libc_thr_sigsetmask | In file included from /usr/include/stdio.h:595, from ../../include/mrt.h:17, from buffer.c:5: buffer.c:232:1: error: expected declaration specifiers or '...' before numeric constant 232 | snprintf (char *str, size_t size, const char *format, ...) | ^~~~~~~~ In file included from /usr/include/ssp/stdio.h:34, from /usr/include/stdio.h:595, from ../../include/mrt.h:17, from buffer.c:5: buffer.c:232:1: error: expected declaration specifiers or '...' before '__builtin_object_size' 232 | snprintf (char *str, size_t size, const char *format, ...) | ^~~~~~~~ In file included from /usr/include/ctype.h:100, from ../../include/mrt.h:42, from buffer.c:5: buffer.c: In function 'buffer_vprintf': buffer.c:332:19: warning: array subscript has type 'char' [-Wchar-subscripts] 332 | while (isdigit (*fmt)) | ^ buffer.c:355:24: warning: array subscript has type 'char' [-Wchar-subscripts] 355 | } while (isdigit (*++fmt)); | ^ *** Error code 1 Stop. bmake[2]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/lib/mrt cd pim; /usr/pkg/bin/bmake cd portserver; /usr/pkg/bin/bmake cd radix; /usr/pkg/bin/bmake cd rib; /usr/pkg/bin/bmake cd rip; /usr/pkg/bin/bmake cd struct; /usr/pkg/bin/bmake cd timer; /usr/pkg/bin/bmake Installing programs cd bgpsim; /usr/pkg/bin/bmake cc -Wl,-zrelro -Wl,-R/usr/pkg/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+0x202): undefined reference to `init_interfaces' ld: ../../lib/libcfg.a(config_file.o): in function `config_add_output': config_file.c:(.text+0xc5): undefined reference to `buffer_vprintf' ld: config_file.c:(.text+0xd8): undefined reference to `New_Buffer' ld: ../../lib/libcfg.a(config_file.o): in function `show_config': config_file.c:(.text+0x918): undefined reference to `buffer_adjust' ld: ../../lib/libcfg.a(config_file.o): in function `config_write': config_file.c:(.text+0x14ee): undefined reference to `buffer_adjust' ld: ../../lib/libcfg.a(config_file.o): in function `config_from_file2': config_file.c:(.text+0x1f19): undefined reference to `New_Buffer_Stream' ld: config_file.c:(.text+0x1f47): undefined reference to `buffer_gets' ld: config_file.c:(.text+0x1f67): undefined reference to `Delete_Buffer' ld: ../../lib/libcfg.a(commconf.o): in function `config_gateway': commconf.c:(.text+0x21f): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(commconf.o): in function `config_interface': commconf.c:(.text+0x2e6): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(commconf.o): in function `config_ip_route': commconf.c:(.text+0x50c): undefined reference to `find_interface_byname' ld: commconf.c:(.text+0x6d5): undefined reference to `find_interface' ld: commconf.c:(.text+0xaaa): undefined reference to `find_interface_local' ld: ../../lib/libcfg.a(commconf.o): in function `re_evaluate_static_routes.isra.0': commconf.c:(.text+0xd25): undefined reference to `find_interface' ld: commconf.c:(.text+0xdc4): undefined reference to `find_interface_local' ld: ../../lib/libcfg.a(commconf.o): in function `init_mrtd_config': commconf.c:(.text+0x1077): undefined reference to `ip_hash_fn' ld: commconf.c:(.text+0x1088): undefined reference to `ip_lookup_fn' ld: commconf.c:(.text+0x126e): undefined reference to `show_interfaces' ld: ../../lib/libcfg.a(bgpconf.o): in function `config_router_neighbor_n_peer': bgpconf.c:(.text+0x492e): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(bgpconf.o): in function `config_router_neighbor_update_source': bgpconf.c:(.text+0x6a6d): undefined reference to `find_interface_local' ld: bgpconf.c:(.text+0x6b30): undefined reference to `find_interface_byname' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_make_tail.constprop.0.isra.0': bgp_util.c:(.text+0xb16): undefined reference to `buffer_printf' ld: bgp_util.c:(.text+0xb3d): undefined reference to `buffer_putc' ld: bgp_util.c:(.text+0xb4c): undefined reference to `buffer_putc' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_put_a_line': bgp_util.c:(.text+0xb73): undefined reference to `New_Buffer' ld: ../../lib/libbgp.a(bgp_util.o): in function `peer_set_gateway': bgp_util.c:(.text+0x13ec): undefined reference to `get_socket_addr' ld: bgp_util.c:(.text+0x1405): undefined reference to `get_socket_addr' ld: bgp_util.c:(.text+0x1431): undefined reference to `find_interface_local' ld: bgp_util.c:(.text+0x159d): undefined reference to `find_interface_local' ld: bgp_util.c:(.text+0x15d5): undefined reference to `find_interface' ld: bgp_util.c:(.text+0x161a): undefined reference to `find_interface_local' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_start_transport_connection': bgp_util.c:(.text+0x16fc): undefined reference to `socket_reuse' ld: ../../lib/libbgp.a(bgp_util.o): in function `init_BGP_listen': bgp_util.c:(.text+0x20e7): undefined reference to `socket_reuse' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_in_recv_open': bgp_util.c:(.text+0x4320): undefined reference to `get_socket_addr' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_dump_rtin': bgp_util.c:(.text+0x6c07): undefined reference to `New_Buffer' ld: bgp_util.c:(.text+0x6c8a): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_make_tail.constprop.0.isra.0': bgp_util.c:(.text+0xafd): undefined reference to `buffer_putc' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_put_a_line': bgp_util.c:(.text+0xc49): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(view.o): in function `bgp_policy': view.c:(.text+0x2ba): undefined reference to `find_interface_local' ld: ../../lib/libbgp.a(view.o): in function `bgp_resolve_nexthop': view.c:(.text+0x15b6): undefined reference to `find_interface' ld: view.c:(.text+0x15cc): undefined reference to `find_interface_local' ld: view.c:(.text+0x162d): undefined reference to `ip_hash_fn' ld: view.c:(.text+0x163e): undefined reference to `ip_lookup_fn' ld: ../../lib/libbgp.a(view.o): in function `view_set_nexthop_self': view.c:(.text+0x35ac): undefined reference to `find_interface' ld: ../../lib/libbgp.a(view.o): in function `view_add_aggregate': view.c:(.text+0x5c18): undefined reference to `find_interface' ld: view.c:(.text+0x5c4a): undefined reference to `find_interface' ld: view.c:(.text+0x5c99): undefined reference to `find_interface' ld: ../../lib/libbgp.a(bgp_dump.o): in function `dump_view_bgp_routes': bgp_dump.c:(.text+0x5f5): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_attr_buffer': bgp_msg.c:(.text+0x1953): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_print_attr_buffer': bgp_msg.c:(.text+0x19d0): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x19f5): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x1a1a): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x1a83): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o):bgp_msg.c:(.text+0x1aa2): more undefined references to `buffer_printf' follow ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_uii_attr': bgp_msg.c:(.text+0x1cd9): undefined reference to `New_Buffer' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_print_attr_buffer': bgp_msg.c:(.text+0x1be0): undefined reference to `buffer_printf' ld: ../../lib/librib.a(rib.o): in function `route_toa_buffer.isra.0': rib.c:(.text+0x6d0): undefined reference to `buffer_printf' ld: rib.c:(.text+0x709): undefined reference to `buffer_printf' ld: rib.c:(.text+0x728): undefined reference to `buffer_printf' ld: rib.c:(.text+0x772): undefined reference to `buffer_printf' ld: rib.c:(.text+0x77e): undefined reference to `New_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_replace_active': rib.c:(.text+0x8f3): undefined reference to `New_Buffer' ld: rib.c:(.text+0x930): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_delete_route_node': rib.c:(.text+0xc65): undefined reference to `New_Buffer' ld: rib.c:(.text+0xca5): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_add_route': rib.c:(.text+0x1338): undefined reference to `New_Buffer' ld: rib.c:(.text+0x1382): undefined reference to `Delete_Buffer' ld: rib.c:(.text+0x1402): undefined reference to `New_Buffer' ld: rib.c:(.text+0x1446): undefined reference to `Delete_Buffer' ld: rib.c:(.text+0x1631): undefined reference to `New_Buffer' ld: rib.c:(.text+0x166f): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `route_toa_buffer.isra.0': rib.c:(.text+0x75e): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(prefix.o): in function `print_prefix_list_buffer': prefix.c:(.text+0x6ff): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(prefix.o): in function `print_pref_prefix_list_buffer': prefix.c:(.text+0x7bb): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(user.o): in function `uii_accept_connection': user.c:(.text+0x71b): undefined reference to `New_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_yes_no': user.c:(.text+0xc49): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o): in function `uii_destroy_connection': user.c:(.text+0x1101): undefined reference to `Delete_Buffer' ld: user.c:(.text+0x1110): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_add_bulk_output': user.c:(.text+0x18fc): undefined reference to `buffer_vprintf' ld: user.c:(.text+0x1919): undefined reference to `New_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_send_bulk_data': user.c:(.text+0x20d8): undefined reference to `buffer_adjust' ld: user.c:(.text+0x2207): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o): in function `uii_proccess_command': user.c:(.text+0x3dcc): undefined reference to `New_Buffer' ld: user.c:(.text+0x3dda): undefined reference to `buffer_puts' ld: user.c:(.text+0x3e09): undefined reference to `buffer_puts' ld: user.c:(.text+0x3e14): undefined reference to `buffer_puts' ld: user.c:(.text+0x3e76): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_command_tab_complete': user.c:(.text+0x4fac): undefined reference to `buffer_adjust' ld: user.c:(.text+0x4fd0): undefined reference to `buffer_printf' ld: user.c:(.text+0x51df): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(user.o): in function `uii_read_command.part.0': user.c:(.text+0x5520): undefined reference to `buffer_insert' ld: user.c:(.text+0x574a): undefined reference to `buffer_adjust' ld: user.c:(.text+0x575a): undefined reference to `buffer_puts' ld: user.c:(.text+0x5866): undefined reference to `buffer_adjust' ld: user.c:(.text+0x5b86): undefined reference to `buffer_delete' ld: user.c:(.text+0x5c8d): undefined reference to `buffer_delete' ld: user.c:(.text+0x5e4c): undefined reference to `buffer_adjust' ld: user.c:(.text+0x68c8): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6931): undefined reference to `buffer_peek' ld: user.c:(.text+0x69bd): undefined reference to `buffer_peek' ld: user.c:(.text+0x6a23): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6a74): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6ac1): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6b0e): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o): in function `uii_send_bulk_data': user.c:(.text+0x2006): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(trace.o):trace.c:(.text+0x3b7): more undefined references to `buffer_adjust' follow ld: ../../lib/libmrt.a(trace.o): in function `trace': trace.c:(.text+0x40d): undefined reference to `buffer_printf' ld: trace.c:(.text+0x45d): undefined reference to `buffer_printf' ld: trace.c:(.text+0x470): undefined reference to `buffer_vprintf' ld: trace.c:(.text+0x718): undefined reference to `New_Buffer' ld: trace.c:(.text+0x864): undefined reference to `buffer_printf' ld: trace.c:(.text+0x87b): undefined reference to `buffer_printf' ld: trace.c:(.text+0x892): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(trace.o): in function `Destroy_Trace': trace.c:(.text+0xe4c): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_buffer': user_util.c:(.text+0xdb8): undefined reference to `New_Buffer' ld: user_util.c:(.text+0xdc7): undefined reference to `buffer_puts' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_buffer_del': user_util.c:(.text+0xff9): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_data': user_util.c:(.text+0x1084): undefined reference to `New_Buffer' ld: user_util.c:(.text+0x10c6): undefined reference to `buffer_vprintf' ld: ../../lib/libmrt.a(user_util.o): in function `user_vnotice': user_util.c:(.text+0x1149): undefined reference to `New_Buffer' ld: user_util.c:(.text+0x115a): undefined reference to `buffer_vprintf' ld: user_util.c:(.text+0x122d): undefined reference to `Delete_Buffer' *** Error code 1 Stop. bmake[2]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/programs/bgpsim cd mrtd; /usr/pkg/bin/bmake cc -Wl,-zrelro -Wl,-R/usr/pkg/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+0x2cd): undefined reference to `init_interfaces' ld: mrtd.c:(.text.startup+0x2ea): undefined reference to `igmp_init' ld: mrtd.c:(.text.startup+0x2f7): undefined reference to `igmp_init' ld: mrtd.c:(.text.startup+0x38d): undefined reference to `kernel_init' ld: mrtd.c:(.text.startup+0x3ad): undefined reference to `kernel_update_route' ld: mrtd.c:(.text.startup+0x3ce): undefined reference to `add_interfaces_to_rib' ld: mrtd.c:(.text.startup+0x4a3): undefined reference to `kernel_read_rt_table' ld: ../../lib/libcfg.a(config_file.o): in function `config_add_output': config_file.c:(.text+0xc5): undefined reference to `buffer_vprintf' ld: config_file.c:(.text+0xd8): undefined reference to `New_Buffer' ld: ../../lib/libcfg.a(config_file.o): in function `show_config': config_file.c:(.text+0x918): undefined reference to `buffer_adjust' ld: ../../lib/libcfg.a(config_file.o): in function `config_write': config_file.c:(.text+0x14ee): undefined reference to `buffer_adjust' ld: ../../lib/libcfg.a(config_file.o): in function `config_from_file2': config_file.c:(.text+0x1f19): undefined reference to `New_Buffer_Stream' ld: config_file.c:(.text+0x1f47): undefined reference to `buffer_gets' ld: config_file.c:(.text+0x1f67): undefined reference to `Delete_Buffer' ld: ../../lib/libcfg.a(commconf.o): in function `config_gateway': commconf.c:(.text+0x21f): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(commconf.o): in function `config_interface': commconf.c:(.text+0x2e6): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(commconf.o): in function `config_ip_route': commconf.c:(.text+0x50c): undefined reference to `find_interface_byname' ld: commconf.c:(.text+0x6d5): undefined reference to `find_interface' ld: commconf.c:(.text+0xaaa): undefined reference to `find_interface_local' ld: ../../lib/libcfg.a(commconf.o): in function `re_evaluate_static_routes.isra.0': commconf.c:(.text+0xd25): undefined reference to `find_interface' ld: commconf.c:(.text+0xdc4): undefined reference to `find_interface_local' ld: ../../lib/libcfg.a(commconf.o): in function `init_mrtd_config': commconf.c:(.text+0x1077): undefined reference to `ip_hash_fn' ld: commconf.c:(.text+0x1088): undefined reference to `ip_lookup_fn' ld: commconf.c:(.text+0x126e): undefined reference to `show_interfaces' ld: ../../lib/libcfg.a(bgpconf.o): in function `config_router_neighbor_n_peer': bgpconf.c:(.text+0x492e): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(bgpconf.o): in function `config_router_neighbor_update_source': bgpconf.c:(.text+0x6a6d): undefined reference to `find_interface_local' ld: bgpconf.c:(.text+0x6b30): 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+0x212): undefined reference to `new_interface' ld: ../../lib/libcfg.a(multiconf.o): in function `config_multicast_init': multiconf.c:(.text+0x41a): undefined reference to `IGMP' ld: multiconf.c:(.text+0x54e): undefined reference to `igmp_show_group' ld: multiconf.c:(.text+0x5aa): undefined reference to `IGMPv6' ld: multiconf.c:(.text+0x5c2): undefined reference to `igmp6_show_group' ld: ../../lib/libcfg.a(dvmrpconf.o): in function `config_dvmrp_distribute_list': dvmrpconf.c:(.text+0x5b): undefined reference to `find_interface_byname' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_make_tail.constprop.0.isra.0': bgp_util.c:(.text+0xb16): undefined reference to `buffer_printf' ld: bgp_util.c:(.text+0xb3d): undefined reference to `buffer_putc' ld: bgp_util.c:(.text+0xb4c): undefined reference to `buffer_putc' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_put_a_line': bgp_util.c:(.text+0xb73): undefined reference to `New_Buffer' ld: ../../lib/libbgp.a(bgp_util.o): in function `peer_set_gateway': bgp_util.c:(.text+0x13ec): undefined reference to `get_socket_addr' ld: bgp_util.c:(.text+0x1405): undefined reference to `get_socket_addr' ld: bgp_util.c:(.text+0x1431): undefined reference to `find_interface_local' ld: bgp_util.c:(.text+0x159d): undefined reference to `find_interface_local' ld: bgp_util.c:(.text+0x15d5): undefined reference to `find_interface' ld: bgp_util.c:(.text+0x161a): undefined reference to `find_interface_local' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_start_transport_connection': bgp_util.c:(.text+0x16fc): undefined reference to `socket_reuse' ld: ../../lib/libbgp.a(bgp_util.o): in function `init_BGP_listen': bgp_util.c:(.text+0x20e7): undefined reference to `socket_reuse' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_in_recv_open': bgp_util.c:(.text+0x4320): undefined reference to `get_socket_addr' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_dump_rtin': bgp_util.c:(.text+0x6c07): undefined reference to `New_Buffer' ld: bgp_util.c:(.text+0x6c8a): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_make_tail.constprop.0.isra.0': bgp_util.c:(.text+0xafd): undefined reference to `buffer_putc' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_put_a_line': bgp_util.c:(.text+0xc49): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(view.o): in function `bgp_policy': view.c:(.text+0x2ba): undefined reference to `find_interface_local' ld: ../../lib/libbgp.a(view.o): in function `bgp_resolve_nexthop': view.c:(.text+0x15b6): undefined reference to `find_interface' ld: view.c:(.text+0x15cc): undefined reference to `find_interface_local' ld: view.c:(.text+0x162d): undefined reference to `ip_hash_fn' ld: view.c:(.text+0x163e): undefined reference to `ip_lookup_fn' ld: ../../lib/libbgp.a(view.o): in function `view_set_nexthop_self': view.c:(.text+0x35ac): undefined reference to `find_interface' ld: ../../lib/libbgp.a(view.o): in function `view_add_aggregate': view.c:(.text+0x5c18): undefined reference to `find_interface' ld: view.c:(.text+0x5c4a): undefined reference to `find_interface' ld: view.c:(.text+0x5c99): undefined reference to `find_interface' ld: ../../lib/libbgp.a(bgp_dump.o): in function `dump_view_bgp_routes': bgp_dump.c:(.text+0x5f5): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_attr_buffer': bgp_msg.c:(.text+0x1953): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_print_attr_buffer': bgp_msg.c:(.text+0x19d0): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x19f5): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x1a1a): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x1a83): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o):bgp_msg.c:(.text+0x1aa2): more undefined references to `buffer_printf' follow ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_uii_attr': bgp_msg.c:(.text+0x1cd9): undefined reference to `New_Buffer' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_print_attr_buffer': bgp_msg.c:(.text+0x1be0): undefined reference to `buffer_printf' ld: ../../lib/librip.a(rip_proto.o): in function `rip_show_routing_table': rip_proto.c:(.text+0x2a1a): undefined reference to `find_interface_byname' ld: ../../lib/librip.a(rip_proto.o): in function `rip_interface_recheck': rip_proto.c:(.text+0x2eb9): undefined reference to `find_network' ld: rip_proto.c:(.text+0x2f0a): undefined reference to `find_interface_byname_all' ld: ../../lib/librip.a(rip_proto.o): in function `rip_init': rip_proto.c:(.text+0x388f): undefined reference to `ip_hash_fn' ld: rip_proto.c:(.text+0x38a0): undefined reference to `ip_lookup_fn' ld: ../../lib/librip.a(rip2.o): in function `rip2_send_update': rip2.c:(.text+0x17e): undefined reference to `len2mask' ld: rip2.c:(.text+0x24b): undefined reference to `send_packet' ld: rip2.c:(.text+0x2d7): undefined reference to `send_packet' ld: rip2.c:(.text+0x372): undefined reference to `send_packet' ld: rip2.c:(.text+0x418): undefined reference to `send_packet' ld: ../../lib/librip.a(rip2.o): in function `rip2_process_packet_response': rip2.c:(.text+0x5b0): undefined reference to `mask2len' ld: ../../lib/librip.a(rip2.o): in function `rip2_process_packet_request': rip2.c:(.text+0x860): undefined reference to `mask2len' ld: ../../lib/librip.a(rip2.o): in function `rip2_receive_update': rip2.c:(.text+0x99b): undefined reference to `recvmsgfrom' ld: rip2.c:(.text+0xd26): undefined reference to `find_interface_local' ld: rip2.c:(.text+0xe04): undefined reference to `find_interface_local' ld: ../../lib/librip.a(rip2.o): in function `rip2_init_listen': rip2.c:(.text+0xf9e): undefined reference to `socket_open' ld: rip2.c:(.text+0xfb5): undefined reference to `socket_reuse' ld: rip2.c:(.text+0xfc2): undefined reference to `socket_broadcast' ld: rip2.c:(.text+0xfcc): undefined reference to `ip_multicast_loop' ld: rip2.c:(.text+0xfd9): undefined reference to `ip_recvttl' ld: rip2.c:(.text+0xfe6): undefined reference to `ip_pktinfo' ld: ../../lib/librip.a(rip2.o): in function `rip2_send_request': rip2.c:(.text+0x128f): undefined reference to `send_packet' ld: ../../lib/librip.a(rip2.o): in function `rip2_interface': rip2.c:(.text+0x132f): undefined reference to `join_leave_group' ld: ../../lib/librip.a(ripng.o): in function `ripng_send_update': ripng.c:(.text+0x2cf): undefined reference to `send_packet' ld: ../../lib/librip.a(ripng.o): in function `ripng_receive_update': ripng.c:(.text+0xb16): undefined reference to `recvmsgfrom' ld: ripng.c:(.text+0xe87): undefined reference to `find_interface_local' ld: ripng.c:(.text+0xf5c): undefined reference to `find_interface_local' ld: ../../lib/librip.a(ripng.o): in function `ripng_init_listen': ripng.c:(.text+0x13b5): undefined reference to `socket_open' ld: ripng.c:(.text+0x13cc): undefined reference to `socket_reuse' ld: ripng.c:(.text+0x13ee): undefined reference to `socket_rcvbuf' ld: ripng.c:(.text+0x13f8): undefined reference to `ipv6_multicast_loop' ld: ripng.c:(.text+0x1405): undefined reference to `ipv6_pktinfo' ld: ripng.c:(.text+0x1412): undefined reference to `ipv6_recvhops' ld: ripng.c:(.text+0x141f): undefined reference to `ipv6_multicast_hops' ld: ripng.c:(.text+0x142c): undefined reference to `ipv6_unicast_hops' ld: ../../lib/librip.a(ripng.o): in function `ripng_send_request': ripng.c:(.text+0x16c4): undefined reference to `send_packet' ld: ../../lib/librip.a(ripng.o): in function `ripng_interface': ripng.c:(.text+0x1752): undefined reference to `join_leave_group' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_send': dvmrp.c:(.text+0x159): undefined reference to `IGMP' ld: dvmrp.c:(.text+0x205): undefined reference to `igmp_send' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_update_call_fn': dvmrp.c:(.text+0xbb1): undefined reference to `igmp_test_membership' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_activate_interface': dvmrp.c:(.text+0x1008): undefined reference to `IGMP' ld: dvmrp.c:(.text+0x1100): undefined reference to `igmp_interface' ld: dvmrp.c:(.text+0x11ec): undefined reference to `igmp_interface' ld: dvmrp.c:(.text+0x1251): undefined reference to `join_leave_group' ld: ../../lib/libpim.a(dvmrp.o): in function `recv_dvmrp': dvmrp.c:(.text+0x1b51): undefined reference to `IGMP' ld: dvmrp.c:(.text+0x1b59): undefined reference to `igmp_is_querier' ld: dvmrp.c:(.text+0x1e55): undefined reference to `mask2len' ld: dvmrp.c:(.text+0x1fca): undefined reference to `find_interface_local' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_advertise_route': dvmrp.c:(.text+0x37e5): undefined reference to `len2mask' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_init': dvmrp.c:(.text+0x3f0a): undefined reference to `IGMP' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_start': dvmrp.c:(.text+0x4031): undefined reference to `IGMP' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_interface_recheck': dvmrp.c:(.text+0x42a2): undefined reference to `find_network' ld: dvmrp.c:(.text+0x4320): undefined reference to `find_interface_byname_all' ld: dvmrp.c:(.text+0x43a3): undefined reference to `find_interface_byname_all' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_stop': dvmrp.c:(.text+0x4b8a): undefined reference to `IGMP' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_show_routing_table': dvmrp.c:(.text+0x4f08): undefined reference to `find_interface_byname' ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_show_neighbors': dvmrp.c:(.text+0x4f63): undefined reference to `find_interface_byname' ld: ../../lib/libpim.a(pim.o): in function `pim_register_neighbor': pim.c:(.text+0x222): undefined reference to `find_interface_local' ld: pim.c:(.text+0x2c8): undefined reference to `find_interface_local' ld: ../../lib/libpim.a(pim.o): in function `pim_find_parent': pim.c:(.text+0x534): undefined reference to `find_interface_local' ld: ../../lib/libpim.a(pim.o): in function `pim_send': pim.c:(.text+0xa29): undefined reference to `inet6_cksum' ld: pim.c:(.text+0xa70): undefined reference to `send_packet' ld: pim.c:(.text+0xd86): undefined reference to `inet_cksum' ld: pim.c:(.text+0xef0): undefined reference to `inet_cksum' ld: pim.c:(.text+0xf05): undefined reference to `inet_cksum' ld: ../../lib/libpim.a(pim.o): in function `pim_receive': pim.c:(.text+0x2282): undefined reference to `recvmsgfrom' ld: pim.c:(.text+0x2308): undefined reference to `find_interface_local' ld: pim.c:(.text+0x2636): undefined reference to `recvmsgfrom' ld: pim.c:(.text+0x26ca): undefined reference to `inet_cksum' ld: ../../lib/libpim.a(pim.o): in function `pim_update_call_fn': pim.c:(.text+0x41ad): undefined reference to `igmp_test_membership' ld: pim.c:(.text+0x436c): undefined reference to `igmp_test_membership' ld: ../../lib/libpim.a(pim.o): in function `pim_init': pim.c:(.text+0x4756): undefined reference to `IGMPv6' ld: pim.c:(.text+0x4987): undefined reference to `IGMP' ld: ../../lib/libpim.a(pim.o): in function `pim_activate_interface': pim.c:(.text+0x4ab9): undefined reference to `igmp_interface' ld: pim.c:(.text+0x4bc6): undefined reference to `join_leave_group' ld: pim.c:(.text+0x4c43): undefined reference to `igmp_interface' ld: pim.c:(.text+0x4cdc): undefined reference to `join_leave_group' ld: pim.c:(.text+0x4dcf): undefined reference to `socket_open' ld: pim.c:(.text+0x4de2): undefined reference to `socket_reuse' ld: pim.c:(.text+0x4def): undefined reference to `socket_rcvbuf' ld: pim.c:(.text+0x4dfc): undefined reference to `ip_hdrincl' ld: pim.c:(.text+0x4e06): undefined reference to `ip_multicast_loop' ld: pim.c:(.text+0x4e13): undefined reference to `ip_pktinfo' ld: pim.c:(.text+0x4e20): undefined reference to `ip_recvttl' ld: pim.c:(.text+0x500e): undefined reference to `igmp_interface' ld: pim.c:(.text+0x519c): undefined reference to `socket_open' ld: pim.c:(.text+0x51af): undefined reference to `socket_reuse' ld: pim.c:(.text+0x51bc): undefined reference to `socket_rcvbuf' ld: pim.c:(.text+0x51c6): undefined reference to `ipv6_multicast_loop' ld: pim.c:(.text+0x51d3): undefined reference to `ipv6_pktinfo' ld: pim.c:(.text+0x51e0): undefined reference to `ipv6_recvhops' ld: pim.c:(.text+0x51ed): undefined reference to `ipv6_multicast_hops' ld: ../../lib/libpim.a(cache.o): in function `cache_timer_expire': cache.c:(.text+0x196): undefined reference to `mc6_req_mfc' ld: cache.c:(.text+0x1b2): undefined reference to `mc_req_mfc' ld: cache.c:(.text+0x27b): undefined reference to `mc6_del_mfc' ld: cache.c:(.text+0x28e): undefined reference to `mc_del_mfc' ld: ../../lib/libpim.a(cache.o): in function `cache_update_mfc': cache.c:(.text+0x643): undefined reference to `mc_add_mfc' ld: cache.c:(.text+0x674): undefined reference to `mc6_add_mfc' ld: ../../lib/libpim.a(cache.o): in function `cache_control_from_kernel': cache.c:(.text+0x8e3): undefined reference to `mc6_del_mfc' ld: cache.c:(.text+0xcd2): undefined reference to `mc_del_mfc' ld: ../../lib/libpim.a(cache.o): in function `cache_init': cache.c:(.text+0x12ec): undefined reference to `ip_pair_hash_fn' ld: cache.c:(.text+0x1300): undefined reference to `ip_pair_lookup_fn' ld: cache.c:(.text+0x13cb): undefined reference to `IGMPv6' ld: cache.c:(.text+0x1411): undefined reference to `ip_pair_hash_fn' ld: cache.c:(.text+0x1425): undefined reference to `ip_pair_lookup_fn' ld: cache.c:(.text+0x14bd): undefined reference to `mc6_kernel_read_rt_table' ld: cache.c:(.text+0x14da): undefined reference to `IGMP' ld: ../../lib/libpim.a(cache.o): in function `show_cache_entries': cache.c:(.text+0x156c): undefined reference to `find_interface_byname' ld: cache.c:(.text+0x175e): undefined reference to `find_interface_byindex' ld: ../../lib/librib.a(rib.o): in function `route_toa_buffer.isra.0': rib.c:(.text+0x6d0): undefined reference to `buffer_printf' ld: rib.c:(.text+0x709): undefined reference to `buffer_printf' ld: rib.c:(.text+0x728): undefined reference to `buffer_printf' ld: rib.c:(.text+0x772): undefined reference to `buffer_printf' ld: rib.c:(.text+0x77e): undefined reference to `New_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_replace_active': rib.c:(.text+0x8f3): undefined reference to `New_Buffer' ld: rib.c:(.text+0x930): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_delete_route_node': rib.c:(.text+0xc65): undefined reference to `New_Buffer' ld: rib.c:(.text+0xca5): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_add_route': rib.c:(.text+0x1338): undefined reference to `New_Buffer' ld: rib.c:(.text+0x1382): undefined reference to `Delete_Buffer' ld: rib.c:(.text+0x1402): undefined reference to `New_Buffer' ld: rib.c:(.text+0x1446): undefined reference to `Delete_Buffer' ld: rib.c:(.text+0x1631): undefined reference to `New_Buffer' ld: rib.c:(.text+0x166f): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `route_toa_buffer.isra.0': rib.c:(.text+0x75e): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(prefix.o): in function `print_prefix_list_buffer': prefix.c:(.text+0x6ff): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(prefix.o): in function `print_pref_prefix_list_buffer': prefix.c:(.text+0x7bb): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(user.o): in function `uii_accept_connection': user.c:(.text+0x71b): undefined reference to `New_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_yes_no': user.c:(.text+0xc49): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o): in function `uii_destroy_connection': user.c:(.text+0x1101): undefined reference to `Delete_Buffer' ld: user.c:(.text+0x1110): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_add_bulk_output': user.c:(.text+0x18fc): undefined reference to `buffer_vprintf' ld: user.c:(.text+0x1919): undefined reference to `New_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_send_bulk_data': user.c:(.text+0x20d8): undefined reference to `buffer_adjust' ld: user.c:(.text+0x2207): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o): in function `uii_proccess_command': user.c:(.text+0x3dcc): undefined reference to `New_Buffer' ld: user.c:(.text+0x3dda): undefined reference to `buffer_puts' ld: user.c:(.text+0x3e09): undefined reference to `buffer_puts' ld: user.c:(.text+0x3e14): undefined reference to `buffer_puts' ld: user.c:(.text+0x3e76): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_command_tab_complete': user.c:(.text+0x4fac): undefined reference to `buffer_adjust' ld: user.c:(.text+0x4fd0): undefined reference to `buffer_printf' ld: user.c:(.text+0x51df): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(user.o): in function `uii_read_command.part.0': user.c:(.text+0x5520): undefined reference to `buffer_insert' ld: user.c:(.text+0x574a): undefined reference to `buffer_adjust' ld: user.c:(.text+0x575a): undefined reference to `buffer_puts' ld: user.c:(.text+0x5866): undefined reference to `buffer_adjust' ld: user.c:(.text+0x5b86): undefined reference to `buffer_delete' ld: user.c:(.text+0x5c8d): undefined reference to `buffer_delete' ld: user.c:(.text+0x5e4c): undefined reference to `buffer_adjust' ld: user.c:(.text+0x68c8): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6931): undefined reference to `buffer_peek' ld: user.c:(.text+0x69bd): undefined reference to `buffer_peek' ld: user.c:(.text+0x6a23): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6a74): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6ac1): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6b0e): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o): in function `uii_send_bulk_data': user.c:(.text+0x2006): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(trace.o):trace.c:(.text+0x3b7): more undefined references to `buffer_adjust' follow ld: ../../lib/libmrt.a(trace.o): in function `trace': trace.c:(.text+0x40d): undefined reference to `buffer_printf' ld: trace.c:(.text+0x45d): undefined reference to `buffer_printf' ld: trace.c:(.text+0x470): undefined reference to `buffer_vprintf' ld: trace.c:(.text+0x718): undefined reference to `New_Buffer' ld: trace.c:(.text+0x864): undefined reference to `buffer_printf' ld: trace.c:(.text+0x87b): undefined reference to `buffer_printf' ld: trace.c:(.text+0x892): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(trace.o): in function `Destroy_Trace': trace.c:(.text+0xe4c): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_buffer': user_util.c:(.text+0xdb8): undefined reference to `New_Buffer' ld: user_util.c:(.text+0xdc7): undefined reference to `buffer_puts' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_buffer_del': user_util.c:(.text+0xff9): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_data': user_util.c:(.text+0x1084): undefined reference to `New_Buffer' ld: user_util.c:(.text+0x10c6): undefined reference to `buffer_vprintf' ld: ../../lib/libmrt.a(user_util.o): in function `user_vnotice': user_util.c:(.text+0x1149): undefined reference to `New_Buffer' ld: user_util.c:(.text+0x115a): undefined reference to `buffer_vprintf' ld: user_util.c:(.text+0x122d): undefined reference to `Delete_Buffer' *** Error code 1 Stop. bmake[2]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/programs/mrtd cd ricd; /usr/pkg/bin/bmake cc -Wl,-zrelro -Wl,-R/usr/pkg/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+0x1c2): undefined reference to `init_interfaces' ld: ricd.c:(.text.startup+0x22b): undefined reference to `kernel_init' ld: hqlip.o: in function `hqlip_vif_tcp_init.isra.0': hqlip.c:(.text+0x1548): undefined reference to `socket_open' ld: hqlip.c:(.text+0x155b): undefined reference to `socket_reuse' ld: hqlip.c:(.text+0x156f): undefined reference to `socket_bind_port' ld: hqlip.o: in function `hqlip_vif_udp_init.isra.0': hqlip.c:(.text+0x1601): undefined reference to `socket_open' ld: hqlip.c:(.text+0x1618): undefined reference to `socket_reuse' ld: hqlip.c:(.text+0x1633): undefined reference to `join_leave_group' ld: hqlip.c:(.text+0x1645): undefined reference to `socket_bind_port' ld: hqlip.c:(.text+0x165b): undefined reference to `ip_multicast_loop' ld: hqlip.c:(.text+0x1668): undefined reference to `ip_multicast_hops' ld: hqlip.c:(.text+0x1675): undefined reference to `ip_pktinfo' ld: hqlip.c:(.text+0x1682): undefined reference to `ip_recvttl' ld: hqlip.c:(.text+0x16d8): undefined reference to `socket_open' ld: hqlip.c:(.text+0x16eb): undefined reference to `socket_reuse' ld: hqlip.c:(.text+0x16fc): undefined reference to `socket_bind_port' ld: hqlip.c:(.text+0x170e): undefined reference to `ip_pktinfo' ld: hqlip.c:(.text+0x171b): undefined reference to `ip_recvttl' ld: hqlip.c:(.text+0x176d): undefined reference to `ipv6_pktinfo' ld: hqlip.c:(.text+0x177a): undefined reference to `ipv6_recvhops' ld: hqlip.c:(.text+0x1781): undefined reference to `ipv6_multicast_loop' ld: hqlip.c:(.text+0x178e): undefined reference to `ipv6_multicast_hops' ld: hqlip.c:(.text+0x179b): undefined reference to `ipv6_pktinfo' ld: hqlip.c:(.text+0x17a8): undefined reference to `ipv6_recvhops' ld: hqlip.o: in function `hqlip_send_hello.part.0': hqlip.c:(.text+0x569b): undefined reference to `send_packet' ld: hqlip.o: in function `hqlip_register_neighbor': hqlip.c:(.text+0x67dc): undefined reference to `socket_bind_port' ld: hqlip.o: in function `hqlip_recv_hello': hqlip.c:(.text+0x6a66): undefined reference to `recvmsgfrom' ld: hqlip.o: in function `hqlip_open_accept': hqlip.c:(.text+0x6d9a): undefined reference to `get_socket_addr' ld: hqlip.o: in function `hqlip_activate_interface': hqlip.c:(.text+0x86be): undefined reference to `join_leave_group' ld: hqlip.o: in function `hqlip_show_neighbors': hqlip.c:(.text+0x8b1f): undefined reference to `find_interface_byname' ld: ricdconf.o: in function `config_ric_network_if_qos_prefix': ricdconf.c:(.text+0x3e59): undefined reference to `find_interface_byname' ld: area.o: in function `area_hash_fn': area.c:(.text+0x11): undefined reference to `ip_hash_fn' ld: srsvp.o: in function `srsvp_flow_hash_fn': srsvp.c:(.text+0xf4): undefined reference to `ip_hash_fn' ld: srsvp.c:(.text+0x10d): undefined reference to `ip_hash_fn' ld: srsvp.o: in function `srsvp_vif_tcp_init.isra.0': srsvp.c:(.text+0x775): undefined reference to `socket_open' ld: srsvp.c:(.text+0x788): undefined reference to `socket_reuse' ld: srsvp.c:(.text+0x79c): undefined reference to `socket_bind_port' ld: srsvp.o: in function `srsvp_tcp_connect': srsvp.c:(.text+0xf2c): undefined reference to `socket_bind_port' ld: srsvp.o: in function `srsvp_open_accept': srsvp.c:(.text+0x15fe): undefined reference to `get_socket_addr' ld: srsvp.o: in function `srsvp_keep_alive': srsvp.c:(.text+0x1b06): undefined reference to `get_socket_addr' ld: srsvp.o: in function `srsvp_show_neighbors': srsvp.c:(.text+0x55ef): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(config_file.o): in function `config_add_output': config_file.c:(.text+0xc5): undefined reference to `buffer_vprintf' ld: config_file.c:(.text+0xd8): undefined reference to `New_Buffer' ld: ../../lib/libcfg.a(config_file.o): in function `show_config': config_file.c:(.text+0x918): undefined reference to `buffer_adjust' ld: ../../lib/libcfg.a(config_file.o): in function `config_write': config_file.c:(.text+0x14ee): undefined reference to `buffer_adjust' ld: ../../lib/libcfg.a(config_file.o): in function `config_from_file2': config_file.c:(.text+0x1f19): undefined reference to `New_Buffer_Stream' ld: config_file.c:(.text+0x1f47): undefined reference to `buffer_gets' ld: config_file.c:(.text+0x1f67): undefined reference to `Delete_Buffer' ld: ../../lib/libcfg.a(commconf.o): in function `config_gateway': commconf.c:(.text+0x21f): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(commconf.o): in function `config_interface': commconf.c:(.text+0x2e6): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(commconf.o): in function `config_ip_route': commconf.c:(.text+0x50c): undefined reference to `find_interface_byname' ld: commconf.c:(.text+0x6d5): undefined reference to `find_interface' ld: commconf.c:(.text+0xaaa): undefined reference to `find_interface_local' ld: ../../lib/libcfg.a(commconf.o): in function `re_evaluate_static_routes.isra.0': commconf.c:(.text+0xd25): undefined reference to `find_interface' ld: commconf.c:(.text+0xdc4): undefined reference to `find_interface_local' ld: ../../lib/libcfg.a(commconf.o): in function `init_mrtd_config': commconf.c:(.text+0x1077): undefined reference to `ip_hash_fn' ld: commconf.c:(.text+0x1088): undefined reference to `ip_lookup_fn' ld: commconf.c:(.text+0x126e): undefined reference to `show_interfaces' ld: ../../lib/librib.a(rib.o): in function `route_toa_buffer.isra.0': rib.c:(.text+0x6d0): undefined reference to `buffer_printf' ld: rib.c:(.text+0x709): undefined reference to `buffer_printf' ld: rib.c:(.text+0x728): undefined reference to `buffer_printf' ld: rib.c:(.text+0x772): undefined reference to `buffer_printf' ld: rib.c:(.text+0x77e): undefined reference to `New_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_replace_active': rib.c:(.text+0x8f3): undefined reference to `New_Buffer' ld: rib.c:(.text+0x930): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_delete_route_node': rib.c:(.text+0xc65): undefined reference to `New_Buffer' ld: rib.c:(.text+0xca5): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_add_route': rib.c:(.text+0x1338): undefined reference to `New_Buffer' ld: rib.c:(.text+0x1382): undefined reference to `Delete_Buffer' ld: rib.c:(.text+0x1402): undefined reference to `New_Buffer' ld: rib.c:(.text+0x1446): undefined reference to `Delete_Buffer' ld: rib.c:(.text+0x1631): undefined reference to `New_Buffer' ld: rib.c:(.text+0x166f): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `route_toa_buffer.isra.0': rib.c:(.text+0x75e): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(prefix.o): in function `print_prefix_list_buffer': prefix.c:(.text+0x6ff): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(prefix.o): in function `print_pref_prefix_list_buffer': prefix.c:(.text+0x7bb): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(user.o): in function `uii_accept_connection': user.c:(.text+0x71b): undefined reference to `New_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_yes_no': user.c:(.text+0xc49): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o): in function `uii_destroy_connection': user.c:(.text+0x1101): undefined reference to `Delete_Buffer' ld: user.c:(.text+0x1110): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_add_bulk_output': user.c:(.text+0x18fc): undefined reference to `buffer_vprintf' ld: user.c:(.text+0x1919): undefined reference to `New_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_send_bulk_data': user.c:(.text+0x20d8): undefined reference to `buffer_adjust' ld: user.c:(.text+0x2207): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o): in function `uii_proccess_command': user.c:(.text+0x3dcc): undefined reference to `New_Buffer' ld: user.c:(.text+0x3dda): undefined reference to `buffer_puts' ld: user.c:(.text+0x3e09): undefined reference to `buffer_puts' ld: user.c:(.text+0x3e14): undefined reference to `buffer_puts' ld: user.c:(.text+0x3e76): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_command_tab_complete': user.c:(.text+0x4fac): undefined reference to `buffer_adjust' ld: user.c:(.text+0x4fd0): undefined reference to `buffer_printf' ld: user.c:(.text+0x51df): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(user.o): in function `uii_read_command.part.0': user.c:(.text+0x5520): undefined reference to `buffer_insert' ld: user.c:(.text+0x574a): undefined reference to `buffer_adjust' ld: user.c:(.text+0x575a): undefined reference to `buffer_puts' ld: user.c:(.text+0x5866): undefined reference to `buffer_adjust' ld: user.c:(.text+0x5b86): undefined reference to `buffer_delete' ld: user.c:(.text+0x5c8d): undefined reference to `buffer_delete' ld: user.c:(.text+0x5e4c): undefined reference to `buffer_adjust' ld: user.c:(.text+0x68c8): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6931): undefined reference to `buffer_peek' ld: user.c:(.text+0x69bd): undefined reference to `buffer_peek' ld: user.c:(.text+0x6a23): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6a74): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6ac1): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6b0e): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o): in function `uii_send_bulk_data': user.c:(.text+0x2006): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(trace.o):trace.c:(.text+0x3b7): more undefined references to `buffer_adjust' follow ld: ../../lib/libmrt.a(trace.o): in function `trace': trace.c:(.text+0x40d): undefined reference to `buffer_printf' ld: trace.c:(.text+0x45d): undefined reference to `buffer_printf' ld: trace.c:(.text+0x470): undefined reference to `buffer_vprintf' ld: trace.c:(.text+0x718): undefined reference to `New_Buffer' ld: trace.c:(.text+0x864): undefined reference to `buffer_printf' ld: trace.c:(.text+0x87b): undefined reference to `buffer_printf' ld: trace.c:(.text+0x892): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(trace.o): in function `Destroy_Trace': trace.c:(.text+0xe4c): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_buffer': user_util.c:(.text+0xdb8): undefined reference to `New_Buffer' ld: user_util.c:(.text+0xdc7): undefined reference to `buffer_puts' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_buffer_del': user_util.c:(.text+0xff9): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_data': user_util.c:(.text+0x1084): undefined reference to `New_Buffer' ld: user_util.c:(.text+0x10c6): undefined reference to `buffer_vprintf' ld: ../../lib/libmrt.a(user_util.o): in function `user_vnotice': user_util.c:(.text+0x1149): undefined reference to `New_Buffer' ld: user_util.c:(.text+0x115a): undefined reference to `buffer_vprintf' ld: user_util.c:(.text+0x122d): undefined reference to `Delete_Buffer' *** Error code 1 Stop. bmake[2]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/programs/ricd cd route_atob; /usr/pkg/bin/bmake cc -Wl,-zrelro -Wl,-R/usr/pkg/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+0x277): undefined reference to `New_Buffer_Stream' ld: route_atob.c:(.text+0x39d): undefined reference to `buffer_gets' ld: route_atob.c:(.text+0x5f4): undefined reference to `buffer_gets' ld: route_atob.c:(.text+0x80d): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_attr_buffer': bgp_msg.c:(.text+0x1953): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_print_attr_buffer': bgp_msg.c:(.text+0x19d0): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x19f5): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x1a1a): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x1a83): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o):bgp_msg.c:(.text+0x1aa2): more undefined references to `buffer_printf' follow ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_uii_attr': bgp_msg.c:(.text+0x1cd9): undefined reference to `New_Buffer' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_print_attr_buffer': bgp_msg.c:(.text+0x1be0): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(prefix.o): in function `print_prefix_list_buffer': prefix.c:(.text+0x6ff): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(prefix.o): in function `print_pref_prefix_list_buffer': prefix.c:(.text+0x7bb): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(trace.o): in function `trace': trace.c:(.text+0x3b7): undefined reference to `buffer_adjust' ld: trace.c:(.text+0x40d): undefined reference to `buffer_printf' ld: trace.c:(.text+0x45d): undefined reference to `buffer_printf' ld: trace.c:(.text+0x470): undefined reference to `buffer_vprintf' ld: trace.c:(.text+0x718): undefined reference to `New_Buffer' ld: trace.c:(.text+0x864): undefined reference to `buffer_printf' ld: trace.c:(.text+0x87b): undefined reference to `buffer_printf' ld: trace.c:(.text+0x892): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(trace.o): in function `Destroy_Trace': trace.c:(.text+0xe4c): undefined reference to `Delete_Buffer' *** Error code 1 Stop. bmake[2]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/programs/route_atob cd route_btoa; /usr/pkg/bin/bmake cc -Wl,-zrelro -Wl,-R/usr/pkg/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+0x1ec): undefined reference to `buffer_printf' ld: route_btoa.c:(.text+0x2b4): undefined reference to `buffer_printf' ld: route_btoa.c:(.text+0x308): undefined reference to `buffer_printf' ld: route_btoa.c:(.text+0x320): undefined reference to `buffer_printf' ld: route_btoa.c:(.text+0x3cc): undefined reference to `buffer_printf' ld: route_btoa.o:route_btoa.c:(.text+0x3fd): more undefined references to `buffer_printf' follow ld: route_btoa.o: in function `main': route_btoa.c:(.text.startup+0x22d): undefined reference to `New_Buffer_Stream' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_attr_buffer': bgp_msg.c:(.text+0x1953): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_print_attr_buffer': bgp_msg.c:(.text+0x19d0): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x19f5): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x1a1a): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x1a83): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o):bgp_msg.c:(.text+0x1aa2): more undefined references to `buffer_printf' follow ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_uii_attr': bgp_msg.c:(.text+0x1cd9): undefined reference to `New_Buffer' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_print_attr_buffer': bgp_msg.c:(.text+0x1be0): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(prefix.o): in function `print_prefix_list_buffer': prefix.c:(.text+0x6ff): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(prefix.o): in function `print_pref_prefix_list_buffer': prefix.c:(.text+0x7bb): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(trace.o): in function `trace': trace.c:(.text+0x3b7): undefined reference to `buffer_adjust' ld: trace.c:(.text+0x40d): undefined reference to `buffer_printf' ld: trace.c:(.text+0x45d): undefined reference to `buffer_printf' ld: trace.c:(.text+0x470): undefined reference to `buffer_vprintf' ld: trace.c:(.text+0x718): undefined reference to `New_Buffer' ld: trace.c:(.text+0x864): undefined reference to `buffer_printf' ld: trace.c:(.text+0x87b): undefined reference to `buffer_printf' ld: trace.c:(.text+0x892): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(trace.o): in function `Destroy_Trace': trace.c:(.text+0xe4c): undefined reference to `Delete_Buffer' *** Error code 1 Stop. bmake[2]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/programs/route_btoa cd sbgp; /usr/pkg/bin/bmake cc -Wl,-zrelro -Wl,-R/usr/pkg/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+0x1c0): undefined reference to `init_interfaces' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_make_tail.constprop.0.isra.0': bgp_util.c:(.text+0xb16): undefined reference to `buffer_printf' ld: bgp_util.c:(.text+0xb3d): undefined reference to `buffer_putc' ld: bgp_util.c:(.text+0xb4c): undefined reference to `buffer_putc' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_put_a_line': bgp_util.c:(.text+0xb73): undefined reference to `New_Buffer' ld: ../../lib/libbgp.a(bgp_util.o): in function `peer_set_gateway': bgp_util.c:(.text+0x13ec): undefined reference to `get_socket_addr' ld: bgp_util.c:(.text+0x1405): undefined reference to `get_socket_addr' ld: bgp_util.c:(.text+0x1431): undefined reference to `find_interface_local' ld: bgp_util.c:(.text+0x159d): undefined reference to `find_interface_local' ld: bgp_util.c:(.text+0x15d5): undefined reference to `find_interface' ld: bgp_util.c:(.text+0x161a): undefined reference to `find_interface_local' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_start_transport_connection': bgp_util.c:(.text+0x16fc): undefined reference to `socket_reuse' ld: ../../lib/libbgp.a(bgp_util.o): in function `init_BGP_listen': bgp_util.c:(.text+0x20e7): undefined reference to `socket_reuse' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_in_recv_open': bgp_util.c:(.text+0x4320): undefined reference to `get_socket_addr' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_dump_rtin': bgp_util.c:(.text+0x6c07): undefined reference to `New_Buffer' ld: bgp_util.c:(.text+0x6c8a): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_make_tail.constprop.0.isra.0': bgp_util.c:(.text+0xafd): undefined reference to `buffer_putc' ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_put_a_line': bgp_util.c:(.text+0xc49): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(view.o): in function `bgp_policy': view.c:(.text+0x2ba): undefined reference to `find_interface_local' ld: ../../lib/libbgp.a(view.o): in function `bgp_resolve_nexthop': view.c:(.text+0x15b6): undefined reference to `find_interface' ld: view.c:(.text+0x15cc): undefined reference to `find_interface_local' ld: view.c:(.text+0x162d): undefined reference to `ip_hash_fn' ld: view.c:(.text+0x163e): undefined reference to `ip_lookup_fn' ld: ../../lib/libbgp.a(view.o): in function `view_set_nexthop_self': view.c:(.text+0x35ac): undefined reference to `find_interface' ld: ../../lib/libbgp.a(view.o): in function `view_add_aggregate': view.c:(.text+0x5c18): undefined reference to `find_interface' ld: view.c:(.text+0x5c4a): undefined reference to `find_interface' ld: view.c:(.text+0x5c99): undefined reference to `find_interface' ld: ../../lib/libbgp.a(bgp_dump.o): in function `dump_view_bgp_routes': bgp_dump.c:(.text+0x5f5): undefined reference to `Delete_Buffer' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_attr_buffer': bgp_msg.c:(.text+0x1953): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_print_attr_buffer': bgp_msg.c:(.text+0x19d0): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x19f5): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x1a1a): undefined reference to `buffer_printf' ld: bgp_msg.c:(.text+0x1a83): undefined reference to `buffer_printf' ld: ../../lib/libbgp.a(bgp_msg.o):bgp_msg.c:(.text+0x1aa2): more undefined references to `buffer_printf' follow ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_uii_attr': bgp_msg.c:(.text+0x1cd9): undefined reference to `New_Buffer' ld: ../../lib/libbgp.a(bgp_msg.o): in function `bgp_print_attr_buffer': bgp_msg.c:(.text+0x1be0): undefined reference to `buffer_printf' ld: ../../lib/libcfg.a(config_file.o): in function `config_add_output': config_file.c:(.text+0xc5): undefined reference to `buffer_vprintf' ld: config_file.c:(.text+0xd8): undefined reference to `New_Buffer' ld: ../../lib/libcfg.a(config_file.o): in function `show_config': config_file.c:(.text+0x918): undefined reference to `buffer_adjust' ld: ../../lib/libcfg.a(config_file.o): in function `config_write': config_file.c:(.text+0x14ee): undefined reference to `buffer_adjust' ld: ../../lib/libcfg.a(config_file.o): in function `config_from_file2': config_file.c:(.text+0x1f19): undefined reference to `New_Buffer_Stream' ld: config_file.c:(.text+0x1f47): undefined reference to `buffer_gets' ld: config_file.c:(.text+0x1f67): undefined reference to `Delete_Buffer' ld: ../../lib/libcfg.a(commconf.o): in function `config_gateway': commconf.c:(.text+0x21f): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(commconf.o): in function `config_interface': commconf.c:(.text+0x2e6): undefined reference to `find_interface_byname' ld: ../../lib/libcfg.a(commconf.o): in function `config_ip_route': commconf.c:(.text+0x50c): undefined reference to `find_interface_byname' ld: commconf.c:(.text+0x6d5): undefined reference to `find_interface' ld: commconf.c:(.text+0xaaa): undefined reference to `find_interface_local' ld: ../../lib/libcfg.a(commconf.o): in function `re_evaluate_static_routes.isra.0': commconf.c:(.text+0xd25): undefined reference to `find_interface' ld: commconf.c:(.text+0xdc4): undefined reference to `find_interface_local' ld: ../../lib/libcfg.a(commconf.o): in function `init_mrtd_config': commconf.c:(.text+0x1077): undefined reference to `ip_hash_fn' ld: commconf.c:(.text+0x1088): undefined reference to `ip_lookup_fn' ld: commconf.c:(.text+0x126e): undefined reference to `show_interfaces' ld: ../../lib/librib.a(rib.o): in function `route_toa_buffer.isra.0': rib.c:(.text+0x6d0): undefined reference to `buffer_printf' ld: rib.c:(.text+0x709): undefined reference to `buffer_printf' ld: rib.c:(.text+0x728): undefined reference to `buffer_printf' ld: rib.c:(.text+0x772): undefined reference to `buffer_printf' ld: rib.c:(.text+0x77e): undefined reference to `New_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_replace_active': rib.c:(.text+0x8f3): undefined reference to `New_Buffer' ld: rib.c:(.text+0x930): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_delete_route_node': rib.c:(.text+0xc65): undefined reference to `New_Buffer' ld: rib.c:(.text+0xca5): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `rib_add_route': rib.c:(.text+0x1338): undefined reference to `New_Buffer' ld: rib.c:(.text+0x1382): undefined reference to `Delete_Buffer' ld: rib.c:(.text+0x1402): undefined reference to `New_Buffer' ld: rib.c:(.text+0x1446): undefined reference to `Delete_Buffer' ld: rib.c:(.text+0x1631): undefined reference to `New_Buffer' ld: rib.c:(.text+0x166f): undefined reference to `Delete_Buffer' ld: ../../lib/librib.a(rib.o): in function `route_toa_buffer.isra.0': rib.c:(.text+0x75e): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(prefix.o): in function `print_prefix_list_buffer': prefix.c:(.text+0x6ff): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(prefix.o): in function `print_pref_prefix_list_buffer': prefix.c:(.text+0x7bb): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(user.o): in function `uii_accept_connection': user.c:(.text+0x71b): undefined reference to `New_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_yes_no': user.c:(.text+0xc49): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o): in function `uii_destroy_connection': user.c:(.text+0x1101): undefined reference to `Delete_Buffer' ld: user.c:(.text+0x1110): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_add_bulk_output': user.c:(.text+0x18fc): undefined reference to `buffer_vprintf' ld: user.c:(.text+0x1919): undefined reference to `New_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_send_bulk_data': user.c:(.text+0x20d8): undefined reference to `buffer_adjust' ld: user.c:(.text+0x2207): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o): in function `uii_proccess_command': user.c:(.text+0x3dcc): undefined reference to `New_Buffer' ld: user.c:(.text+0x3dda): undefined reference to `buffer_puts' ld: user.c:(.text+0x3e09): undefined reference to `buffer_puts' ld: user.c:(.text+0x3e14): undefined reference to `buffer_puts' ld: user.c:(.text+0x3e76): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user.o): in function `uii_command_tab_complete': user.c:(.text+0x4fac): undefined reference to `buffer_adjust' ld: user.c:(.text+0x4fd0): undefined reference to `buffer_printf' ld: user.c:(.text+0x51df): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(user.o): in function `uii_read_command.part.0': user.c:(.text+0x5520): undefined reference to `buffer_insert' ld: user.c:(.text+0x574a): undefined reference to `buffer_adjust' ld: user.c:(.text+0x575a): undefined reference to `buffer_puts' ld: user.c:(.text+0x5866): undefined reference to `buffer_adjust' ld: user.c:(.text+0x5b86): undefined reference to `buffer_delete' ld: user.c:(.text+0x5c8d): undefined reference to `buffer_delete' ld: user.c:(.text+0x5e4c): undefined reference to `buffer_adjust' ld: user.c:(.text+0x68c8): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6931): undefined reference to `buffer_peek' ld: user.c:(.text+0x69bd): undefined reference to `buffer_peek' ld: user.c:(.text+0x6a23): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6a74): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6ac1): undefined reference to `buffer_adjust' ld: user.c:(.text+0x6b0e): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(user.o): in function `uii_send_bulk_data': user.c:(.text+0x2006): undefined reference to `buffer_adjust' ld: ../../lib/libmrt.a(trace.o):trace.c:(.text+0x3b7): more undefined references to `buffer_adjust' follow ld: ../../lib/libmrt.a(trace.o): in function `trace': trace.c:(.text+0x40d): undefined reference to `buffer_printf' ld: trace.c:(.text+0x45d): undefined reference to `buffer_printf' ld: trace.c:(.text+0x470): undefined reference to `buffer_vprintf' ld: trace.c:(.text+0x718): undefined reference to `New_Buffer' ld: trace.c:(.text+0x864): undefined reference to `buffer_printf' ld: trace.c:(.text+0x87b): undefined reference to `buffer_printf' ld: trace.c:(.text+0x892): undefined reference to `buffer_printf' ld: ../../lib/libmrt.a(trace.o): in function `Destroy_Trace': trace.c:(.text+0xe4c): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_buffer': user_util.c:(.text+0xdb8): undefined reference to `New_Buffer' ld: user_util.c:(.text+0xdc7): undefined reference to `buffer_puts' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_buffer_del': user_util.c:(.text+0xff9): undefined reference to `Delete_Buffer' ld: ../../lib/libmrt.a(user_util.o): in function `uii_send_data': user_util.c:(.text+0x1084): undefined reference to `New_Buffer' ld: user_util.c:(.text+0x10c6): undefined reference to `buffer_vprintf' ld: ../../lib/libmrt.a(user_util.o): in function `user_vnotice': user_util.c:(.text+0x1149): undefined reference to `New_Buffer' ld: user_util.c:(.text+0x115a): undefined reference to `buffer_vprintf' ld: user_util.c:(.text+0x122d): undefined reference to `Delete_Buffer' *** Error code 1 Stop. bmake[2]: stopped in /home/pbulk/build/net/mrt/work/mrt/src/programs/sbgp /bin/cat /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/net/mrt/PLIST.pre >/home/pbulk/build/net/mrt/work/mrt/src/.PLIST_SRC /usr/bin/install -c -o pbulk -g pbulk -m 644 /home/pbulk/build/net/mrt/work/mrt/src/programs/*/*.conf /home/pbulk/build/net/mrt/work/.destdir/usr/pkg/share/examples/mrt (cd /home/pbulk/build/net/mrt/work/.destdir/usr/pkg; /usr/bin/find share/examples/mrt -type f -print >> /home/pbulk/build/net/mrt/work/mrt/src/.PLIST_SRC) => Automatic manual page handling => Generating post-install file lists pkg_create: can't stat `/home/pbulk/build/net/mrt/work/.destdir/usr/pkg/man/man8/mrtd.8.gz' pkg_create: can't stat `/home/pbulk/build/net/mrt/work/.destdir/usr/pkg/man/man8/ricd.8.gz' pkg_create: can't stat `/home/pbulk/build/net/mrt/work/.destdir/usr/pkg/sbin/bgpsim' pkg_create: can't stat `/home/pbulk/build/net/mrt/work/.destdir/usr/pkg/sbin/mrtd' pkg_create: can't stat `/home/pbulk/build/net/mrt/work/.destdir/usr/pkg/sbin/ricd' pkg_create: can't stat `/home/pbulk/build/net/mrt/work/.destdir/usr/pkg/sbin/route_atob' pkg_create: can't stat `/home/pbulk/build/net/mrt/work/.destdir/usr/pkg/sbin/route_btoa' pkg_create: can't stat `/home/pbulk/build/net/mrt/work/.destdir/usr/pkg/sbin/sbgp' => Checking file-check results for mrt-2.2.2a.20000811nb1 ERROR: ************************************************************ ERROR: The following files are in the PLIST but not in /home/pbulk/build/net/mrt/work/.destdir/usr/pkg: ERROR: /home/pbulk/build/net/mrt/work/.destdir/usr/pkg/man/man8/mrtd.8.gz ERROR: /home/pbulk/build/net/mrt/work/.destdir/usr/pkg/man/man8/ricd.8.gz ERROR: /home/pbulk/build/net/mrt/work/.destdir/usr/pkg/sbin/bgpsim ERROR: /home/pbulk/build/net/mrt/work/.destdir/usr/pkg/sbin/mrtd ERROR: /home/pbulk/build/net/mrt/work/.destdir/usr/pkg/sbin/ricd ERROR: /home/pbulk/build/net/mrt/work/.destdir/usr/pkg/sbin/route_atob ERROR: /home/pbulk/build/net/mrt/work/.destdir/usr/pkg/sbin/route_btoa ERROR: /home/pbulk/build/net/mrt/work/.destdir/usr/pkg/sbin/sbgp *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/net/mrt *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/net/mrt