=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Installing for mrt-2.2.2a.20000811nb1 => Generating pre-install file lists => Creating installation directories Making lib cd bgp_attr; /usr/bin/make cd bgp_proto; /usr/bin/make cd config; /usr/bin/make cd filter; /usr/bin/make cd io; /usr/bin/make cd kernel; /usr/bin/make clang -c -O2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include bsd.c In file included from bsd.c:5: In file included from ../../include/mrt.h:82: In file included from ../../include/assert.h:10: In file included from ../../include/trace.h:14: In file included from ../../include/mrt_thread.h:11: ../../include/pthread_fake.h:40:9: warning: 'pthread_sigmask' macro redefined [-Wmacro-redefined] #define pthread_sigmask(a,b,c) sigprocmask(a,b,c) ^ /usr/include/signal.h:80:9: note: previous definition is here #define pthread_sigmask __libc_thr_sigsetmask ^ bsd.c:526:17: warning: implicit declaration of function 'ioctl' is invalid in C99 [-Wimplicit-function-declaration] if (ioctl (route_sockfd, SIOCGIFFLAGS, &ifr) < 0) { ^ bsd.c:521:18: warning: unused variable 'tmpx' [-Wunused-variable] char tmpx[MAXLINE]; ^ bsd.c:590:5: error: use of undeclared identifier 'RTF_CLONING' |RTF_CLONING /* direct if */ ^ bsd.c:591:5: error: use of undeclared identifier 'RTF_XRESOLVE' |RTF_XRESOLVE /* direct if for IPv6 */ ^ 3 warnings and 2 errors generated. *** Error code 1 Stop. make[2]: stopped in /data/scratch/net/mrt/work/mrt/src/lib/kernel cd mrt; /usr/bin/make cd pim; /usr/bin/make cd portserver; /usr/bin/make cd radix; /usr/bin/make cd rib; /usr/bin/make cd rip; /usr/bin/make cd struct; /usr/bin/make cd timer; /usr/bin/make Installing programs cd bgpsim; /usr/bin/make clang -Wl,-R/usr/pkg/lib bgpsim.o simulate.o ../../lib/libcfg.a ../../lib/libbgp.a ../../lib/librib.a ../../lib/libmrt.a -o bgpsim -lresolv /usr/bin/ld: bgpsim.o: in function `main': bgpsim.c:(.text+0x218): undefined reference to `init_interfaces' /usr/bin/ld: ../../lib/libcfg.a(commconf.o): in function `init_mrtd_config': commconf.c:(.text+0x2cc): undefined reference to `show_interfaces' /usr/bin/ld: ../../lib/libcfg.a(commconf.o): in function `config_ip_route': commconf.c:(.text+0x647): undefined reference to `find_interface_byname' /usr/bin/ld: commconf.c:(.text+0x925): undefined reference to `find_interface' /usr/bin/ld: commconf.c:(.text+0x93c): undefined reference to `find_interface_local' /usr/bin/ld: ../../lib/libcfg.a(commconf.o): in function `config_interface': commconf.c:(.text+0xc1f): undefined reference to `find_interface_byname' /usr/bin/ld: ../../lib/libcfg.a(commconf.o): in function `config_gateway': commconf.c:(.text+0xe45): undefined reference to `find_interface_byname' /usr/bin/ld: ../../lib/libcfg.a(commconf.o): in function `re_evaluate_static_routes': commconf.c:(.text+0x1172): undefined reference to `find_interface' /usr/bin/ld: commconf.c:(.text+0x118c): undefined reference to `find_interface_local' /usr/bin/ld: ../../lib/libcfg.a(bgpconf.o): in function `config_router_neighbor_update_source': bgpconf.c:(.text+0x2d97): undefined reference to `find_interface_local' /usr/bin/ld: bgpconf.c:(.text+0x2e08): undefined reference to `find_interface_byname' /usr/bin/ld: ../../lib/libcfg.a(bgpconf.o): in function `config_router_neighbor_n_peer': bgpconf.c:(.text+0x3c28): undefined reference to `find_interface_byname' /usr/bin/ld: ../../lib/libbgp.a(bgp_util.o): in function `peer_set_gateway': bgp_util.c:(.text+0x30): undefined reference to `get_socket_addr' /usr/bin/ld: bgp_util.c:(.text+0x46): undefined reference to `get_socket_addr' /usr/bin/ld: bgp_util.c:(.text+0x70): undefined reference to `find_interface_local' /usr/bin/ld: bgp_util.c:(.text+0xb8): undefined reference to `find_interface' /usr/bin/ld: bgp_util.c:(.text+0x134): undefined reference to `find_interface_local' /usr/bin/ld: bgp_util.c:(.text+0x15c): undefined reference to `find_interface_local' /usr/bin/ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_start_transport_connection': bgp_util.c:(.text+0x325): undefined reference to `socket_reuse' /usr/bin/ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_in_recv_open': bgp_util.c:(.text+0x747): undefined reference to `get_socket_addr' /usr/bin/ld: ../../lib/libbgp.a(bgp_util.o): in function `init_BGP_listen': bgp_util.c:(.text+0x16f4): undefined reference to `socket_reuse' /usr/bin/ld: ../../lib/libbgp.a(view.o): in function `view_set_nexthop_self': view.c:(.text+0x180): undefined reference to `find_interface' /usr/bin/ld: ../../lib/libbgp.a(view.o): in function `bgp_policy': view.c:(.text+0xc26): undefined reference to `find_interface_local' /usr/bin/ld: ../../lib/libbgp.a(view.o): in function `bgp_resolve_nexthop': view.c:(.text+0x485e): undefined reference to `find_interface' /usr/bin/ld: view.c:(.text+0x4874): undefined reference to `find_interface_local' /usr/bin/ld: ../../lib/libbgp.a(view.o): in function `view_add_aggregate': view.c:(.text+0x4e70): undefined reference to `find_interface' /usr/bin/ld: view.c:(.text+0x4e9c): undefined reference to `find_interface' /usr/bin/ld: view.c:(.text+0x4ee9): undefined reference to `find_interface' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[2]: stopped in /data/scratch/net/mrt/work/mrt/src/programs/bgpsim cd mrtd; /usr/bin/make clang -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 /usr/bin/ld: mrtd.o: in function `main': mrtd.c:(.text+0x383): undefined reference to `init_interfaces' /usr/bin/ld: mrtd.c:(.text+0x3a0): undefined reference to `igmp_init' /usr/bin/ld: mrtd.c:(.text+0x3ad): undefined reference to `igmp_init' /usr/bin/ld: mrtd.c:(.text+0x441): undefined reference to `kernel_init' /usr/bin/ld: mrtd.c:(.text+0x452): undefined reference to `kernel_read_rt_table' /usr/bin/ld: mrtd.c:(.text+0x46e): undefined reference to `kernel_update_route' /usr/bin/ld: mrtd.c:(.text+0x488): undefined reference to `add_interfaces_to_rib' /usr/bin/ld: ../../lib/libcfg.a(commconf.o): in function `init_mrtd_config': commconf.c:(.text+0x2cc): undefined reference to `show_interfaces' /usr/bin/ld: ../../lib/libcfg.a(commconf.o): in function `config_ip_route': commconf.c:(.text+0x647): undefined reference to `find_interface_byname' /usr/bin/ld: commconf.c:(.text+0x925): undefined reference to `find_interface' /usr/bin/ld: commconf.c:(.text+0x93c): undefined reference to `find_interface_local' /usr/bin/ld: ../../lib/libcfg.a(commconf.o): in function `config_interface': commconf.c:(.text+0xc1f): undefined reference to `find_interface_byname' /usr/bin/ld: ../../lib/libcfg.a(commconf.o): in function `config_gateway': commconf.c:(.text+0xe45): undefined reference to `find_interface_byname' /usr/bin/ld: ../../lib/libcfg.a(commconf.o): in function `re_evaluate_static_routes': commconf.c:(.text+0x1172): undefined reference to `find_interface' /usr/bin/ld: commconf.c:(.text+0x118c): undefined reference to `find_interface_local' /usr/bin/ld: ../../lib/libcfg.a(bgpconf.o): in function `config_router_neighbor_update_source': bgpconf.c:(.text+0x2d97): undefined reference to `find_interface_local' /usr/bin/ld: bgpconf.c:(.text+0x2e08): undefined reference to `find_interface_byname' /usr/bin/ld: ../../lib/libcfg.a(bgpconf.o): in function `config_router_neighbor_n_peer': bgpconf.c:(.text+0x3c28): undefined reference to `find_interface_byname' /usr/bin/ld: ../../lib/libcfg.a(ripconf.o): in function `config_distribute_list': ripconf.c:(.text+0xd2d): undefined reference to `find_interface_byname' /usr/bin/ld: ../../lib/libcfg.a(multiconf.o): in function `config_multicast_init': multiconf.c:(.text+0x4): undefined reference to `IGMP' /usr/bin/ld: multiconf.c:(.text+0x2e): undefined reference to `IGMP' /usr/bin/ld: multiconf.c:(.text+0x100): undefined reference to `IGMP' /usr/bin/ld: multiconf.c:(.text+0x111): undefined reference to `igmp_show_group' /usr/bin/ld: multiconf.c:(.text+0x165): undefined reference to `IGMPv6' /usr/bin/ld: multiconf.c:(.text+0x176): undefined reference to `igmp6_show_group' /usr/bin/ld: multiconf.c:(.text+0x1ca): undefined reference to `IGMPv6' /usr/bin/ld: multiconf.c:(.text+0x1f7): undefined reference to `IGMPv6' /usr/bin/ld: ../../lib/libcfg.a(multiconf.o): in function `config_interface_tunnel': multiconf.c:(.text+0x3f4): undefined reference to `new_interface' /usr/bin/ld: ../../lib/libcfg.a(dvmrpconf.o): in function `config_dvmrp_distribute_list': dvmrpconf.c:(.text+0x6e2): undefined reference to `find_interface_byname' /usr/bin/ld: ../../lib/libbgp.a(bgp_util.o): in function `peer_set_gateway': bgp_util.c:(.text+0x30): undefined reference to `get_socket_addr' /usr/bin/ld: bgp_util.c:(.text+0x46): undefined reference to `get_socket_addr' /usr/bin/ld: bgp_util.c:(.text+0x70): undefined reference to `find_interface_local' /usr/bin/ld: bgp_util.c:(.text+0xb8): undefined reference to `find_interface' /usr/bin/ld: bgp_util.c:(.text+0x134): undefined reference to `find_interface_local' /usr/bin/ld: bgp_util.c:(.text+0x15c): undefined reference to `find_interface_local' /usr/bin/ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_start_transport_connection': bgp_util.c:(.text+0x325): undefined reference to `socket_reuse' /usr/bin/ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_in_recv_open': bgp_util.c:(.text+0x747): undefined reference to `get_socket_addr' /usr/bin/ld: ../../lib/libbgp.a(bgp_util.o): in function `init_BGP_listen': bgp_util.c:(.text+0x16f4): undefined reference to `socket_reuse' /usr/bin/ld: ../../lib/libbgp.a(view.o): in function `view_set_nexthop_self': view.c:(.text+0x180): undefined reference to `find_interface' /usr/bin/ld: ../../lib/libbgp.a(view.o): in function `bgp_policy': view.c:(.text+0xc26): undefined reference to `find_interface_local' /usr/bin/ld: ../../lib/libbgp.a(view.o): in function `bgp_resolve_nexthop': view.c:(.text+0x485e): undefined reference to `find_interface' /usr/bin/ld: view.c:(.text+0x4874): undefined reference to `find_interface_local' /usr/bin/ld: ../../lib/libbgp.a(view.o): in function `view_add_aggregate': view.c:(.text+0x4e70): undefined reference to `find_interface' /usr/bin/ld: view.c:(.text+0x4e9c): undefined reference to `find_interface' /usr/bin/ld: view.c:(.text+0x4ee9): undefined reference to `find_interface' /usr/bin/ld: ../../lib/librip.a(rip_proto.o): in function `rip_show_routing_table': rip_proto.c:(.text+0x23f1): undefined reference to `find_interface_byname' /usr/bin/ld: ../../lib/librip.a(rip_proto.o): in function `rip_interface_recheck': rip_proto.c:(.text+0x2835): undefined reference to `find_network' /usr/bin/ld: rip_proto.c:(.text+0x2965): undefined reference to `find_interface_byname_all' /usr/bin/ld: ../../lib/librip.a(rip2.o): in function `rip2_process_packet_response': rip2.c:(.text+0x160): undefined reference to `mask2len' /usr/bin/ld: ../../lib/librip.a(rip2.o): in function `rip2_process_packet_request': rip2.c:(.text+0x35f): undefined reference to `mask2len' /usr/bin/ld: ../../lib/librip.a(rip2.o): in function `rip2_init_listen': rip2.c:(.text+0x438): undefined reference to `socket_open' /usr/bin/ld: rip2.c:(.text+0x44e): undefined reference to `socket_reuse' /usr/bin/ld: rip2.c:(.text+0x45a): undefined reference to `socket_broadcast' /usr/bin/ld: rip2.c:(.text+0x463): undefined reference to `ip_multicast_loop' /usr/bin/ld: rip2.c:(.text+0x46f): undefined reference to `ip_recvttl' /usr/bin/ld: rip2.c:(.text+0x47b): undefined reference to `ip_pktinfo' /usr/bin/ld: ../../lib/librip.a(rip2.o): in function `rip2_send_request': rip2.c:(.text+0x6cf): undefined reference to `send_packet' /usr/bin/ld: ../../lib/librip.a(rip2.o): in function `rip2_interface': rip2.c:(.text+0x7bc): undefined reference to `join_leave_group' /usr/bin/ld: rip2.c:(.text+0x826): undefined reference to `send_packet' /usr/bin/ld: ../../lib/librip.a(rip2.o): in function `rip2_send_update': rip2.c:(.text+0x95a): undefined reference to `len2mask' /usr/bin/ld: rip2.c:(.text+0x9f1): undefined reference to `send_packet' /usr/bin/ld: rip2.c:(.text+0xa57): undefined reference to `send_packet' /usr/bin/ld: rip2.c:(.text+0xb3f): undefined reference to `send_packet' /usr/bin/ld: rip2.c:(.text+0xb97): undefined reference to `send_packet' /usr/bin/ld: ../../lib/librip.a(rip2.o): in function `rip2_receive_update': rip2.c:(.text+0xc67): undefined reference to `recvmsgfrom' /usr/bin/ld: rip2.c:(.text+0xf63): undefined reference to `find_interface_local' /usr/bin/ld: rip2.c:(.text+0xfb9): undefined reference to `find_interface_local' /usr/bin/ld: ../../lib/librip.a(ripng.o): in function `ripng_init_listen': ripng.c:(.text+0x50a): undefined reference to `socket_open' /usr/bin/ld: ripng.c:(.text+0x520): undefined reference to `socket_reuse' /usr/bin/ld: ripng.c:(.text+0x53e): undefined reference to `socket_rcvbuf' /usr/bin/ld: ripng.c:(.text+0x547): undefined reference to `ipv6_multicast_loop' /usr/bin/ld: ripng.c:(.text+0x553): undefined reference to `ipv6_pktinfo' /usr/bin/ld: ripng.c:(.text+0x55f): undefined reference to `ipv6_recvhops' /usr/bin/ld: ripng.c:(.text+0x56b): undefined reference to `ipv6_multicast_hops' /usr/bin/ld: ripng.c:(.text+0x577): undefined reference to `ipv6_unicast_hops' /usr/bin/ld: ../../lib/librip.a(ripng.o): in function `ripng_send_request': ripng.c:(.text+0x7ac): undefined reference to `send_packet' /usr/bin/ld: ../../lib/librip.a(ripng.o): in function `ripng_interface': ripng.c:(.text+0x84c): undefined reference to `join_leave_group' /usr/bin/ld: ripng.c:(.text+0x8b9): undefined reference to `send_packet' /usr/bin/ld: ../../lib/librip.a(ripng.o): in function `ripng_send_update': ripng.c:(.text+0xd5b): undefined reference to `send_packet' /usr/bin/ld: ../../lib/librip.a(ripng.o): in function `ripng_receive_update': ripng.c:(.text+0xe80): undefined reference to `recvmsgfrom' /usr/bin/ld: ripng.c:(.text+0x10e1): undefined reference to `find_interface_local' /usr/bin/ld: ripng.c:(.text+0x1193): undefined reference to `find_interface_local' /usr/bin/ld: ../../lib/libpim.a(dvmrp.o): in function `recv_dvmrp': dvmrp.c:(.text+0x169): undefined reference to `find_interface_local' /usr/bin/ld: dvmrp.c:(.text+0x25a): undefined reference to `mask2len' /usr/bin/ld: dvmrp.c:(.text+0x4bd): undefined reference to `IGMP' /usr/bin/ld: dvmrp.c:(.text+0x4c5): undefined reference to `igmp_is_querier' /usr/bin/ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_send': dvmrp.c:(.text+0x1b64): undefined reference to `IGMP' /usr/bin/ld: dvmrp.c:(.text+0x1c0e): undefined reference to `igmp_send' /usr/bin/ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_advertise_route': dvmrp.c:(.text+0x2104): undefined reference to `len2mask' /usr/bin/ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_init': dvmrp.c:(.text+0x26e8): undefined reference to `IGMP' /usr/bin/ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_start': dvmrp.c:(.text+0x2d6f): undefined reference to `IGMP' /usr/bin/ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_update_call_fn': dvmrp.c:(.text+0x3105): undefined reference to `igmp_test_membership' /usr/bin/ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_stop': dvmrp.c:(.text+0x3297): undefined reference to `IGMP' /usr/bin/ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_interface_recheck': dvmrp.c:(.text+0x3435): undefined reference to `find_network' /usr/bin/ld: dvmrp.c:(.text+0x3575): undefined reference to `find_interface_byname_all' /usr/bin/ld: dvmrp.c:(.text+0x36b5): undefined reference to `find_interface_byname_all' /usr/bin/ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_activate_interface': dvmrp.c:(.text+0x3d88): undefined reference to `igmp_interface' /usr/bin/ld: dvmrp.c:(.text+0x408c): undefined reference to `IGMP' /usr/bin/ld: dvmrp.c:(.text+0x40fc): undefined reference to `IGMP' /usr/bin/ld: dvmrp.c:(.text+0x4113): undefined reference to `join_leave_group' /usr/bin/ld: dvmrp.c:(.text+0x4199): undefined reference to `igmp_interface' /usr/bin/ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_show_routing_table': dvmrp.c:(.text+0x41e3): undefined reference to `find_interface_byname' /usr/bin/ld: ../../lib/libpim.a(dvmrp.o): in function `dvmrp_show_neighbors': dvmrp.c:(.text+0x4428): undefined reference to `find_interface_byname' /usr/bin/ld: ../../lib/libpim.a(pim.o): in function `pim_receive': pim.c:(.text+0xdf): undefined reference to `recvmsgfrom' /usr/bin/ld: pim.c:(.text+0x24c): undefined reference to `recvmsgfrom' /usr/bin/ld: pim.c:(.text+0x36b): undefined reference to `inet_cksum' /usr/bin/ld: pim.c:(.text+0x3bb): undefined reference to `find_interface_local' /usr/bin/ld: ../../lib/libpim.a(pim.o): in function `pim_send': pim.c:(.text+0x206d): undefined reference to `inet_cksum' /usr/bin/ld: pim.c:(.text+0x2082): undefined reference to `inet_cksum' /usr/bin/ld: pim.c:(.text+0x2228): undefined reference to `inet6_cksum' /usr/bin/ld: pim.c:(.text+0x2234): undefined reference to `inet_cksum' /usr/bin/ld: pim.c:(.text+0x226e): undefined reference to `send_packet' /usr/bin/ld: ../../lib/libpim.a(pim.o): in function `pim_init': pim.c:(.text+0x237b): undefined reference to `IGMPv6' /usr/bin/ld: pim.c:(.text+0x2393): undefined reference to `IGMP' /usr/bin/ld: ../../lib/libpim.a(pim.o): in function `pim_activate_interface': pim.c:(.text+0x370d): undefined reference to `igmp_interface' /usr/bin/ld: pim.c:(.text+0x3766): undefined reference to `socket_open' /usr/bin/ld: pim.c:(.text+0x3778): undefined reference to `socket_reuse' /usr/bin/ld: pim.c:(.text+0x3784): undefined reference to `socket_rcvbuf' /usr/bin/ld: pim.c:(.text+0x3790): undefined reference to `ip_hdrincl' /usr/bin/ld: pim.c:(.text+0x3799): undefined reference to `ip_multicast_loop' /usr/bin/ld: pim.c:(.text+0x37a5): undefined reference to `ip_pktinfo' /usr/bin/ld: pim.c:(.text+0x37b1): undefined reference to `ip_recvttl' /usr/bin/ld: pim.c:(.text+0x38a1): undefined reference to `join_leave_group' /usr/bin/ld: pim.c:(.text+0x3946): undefined reference to `igmp_interface' /usr/bin/ld: pim.c:(.text+0x3c0a): undefined reference to `igmp_interface' /usr/bin/ld: pim.c:(.text+0x3cd0): undefined reference to `socket_open' /usr/bin/ld: pim.c:(.text+0x3ce2): undefined reference to `socket_reuse' /usr/bin/ld: pim.c:(.text+0x3cee): undefined reference to `socket_rcvbuf' /usr/bin/ld: pim.c:(.text+0x3cf7): undefined reference to `ipv6_multicast_loop' /usr/bin/ld: pim.c:(.text+0x3d03): undefined reference to `ipv6_pktinfo' /usr/bin/ld: pim.c:(.text+0x3d0f): undefined reference to `ipv6_recvhops' /usr/bin/ld: pim.c:(.text+0x3d1b): undefined reference to `ipv6_multicast_hops' /usr/bin/ld: ../../lib/libpim.a(pim.o): in function `pim_register_neighbor': pim.c:(.text+0x4551): undefined reference to `find_interface_local' /usr/bin/ld: ../../lib/libpim.a(pim.o): in function `pim_find_parent': pim.c:(.text+0x49db): undefined reference to `find_interface_local' /usr/bin/ld: ../../lib/libpim.a(pim.o): in function `pim_update_call_fn': pim.c:(.text+0x4e31): undefined reference to `igmp_test_membership' /usr/bin/ld: pim.c:(.text+0x4f7e): undefined reference to `igmp_test_membership' /usr/bin/ld: ../../lib/libpim.a(cache.o): in function `cache_update_mfc': cache.c:(.text+0x1ad): undefined reference to `mc_add_mfc' /usr/bin/ld: cache.c:(.text+0x1dd): undefined reference to `mc6_add_mfc' /usr/bin/ld: ../../lib/libpim.a(cache.o): in function `cache_control_from_kernel': cache.c:(.text+0xb3b): undefined reference to `mc_del_mfc' /usr/bin/ld: cache.c:(.text+0xb53): undefined reference to `mc6_del_mfc' /usr/bin/ld: ../../lib/libpim.a(cache.o): in function `cache_init': cache.c:(.text+0xd24): undefined reference to `IGMP' /usr/bin/ld: cache.c:(.text+0xd45): undefined reference to `IGMPv6' /usr/bin/ld: cache.c:(.text+0xe51): undefined reference to `mc6_kernel_read_rt_table' /usr/bin/ld: ../../lib/libpim.a(cache.o): in function `cache_timer_expire': cache.c:(.text+0xfe0): undefined reference to `mc_del_mfc' /usr/bin/ld: cache.c:(.text+0xff4): undefined reference to `mc6_del_mfc' /usr/bin/ld: cache.c:(.text+0x105a): undefined reference to `mc_req_mfc' /usr/bin/ld: cache.c:(.text+0x106f): undefined reference to `mc6_req_mfc' /usr/bin/ld: ../../lib/libpim.a(cache.o): in function `show_cache_entries': cache.c:(.text+0x1199): undefined reference to `find_interface_byname' /usr/bin/ld: cache.c:(.text+0x13f6): undefined reference to `find_interface_byindex' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[2]: stopped in /data/scratch/net/mrt/work/mrt/src/programs/mrtd cd ricd; /usr/bin/make clang -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 /usr/bin/ld: ricd.o: in function `main': ricd.c:(.text+0x2d8): undefined reference to `init_interfaces' /usr/bin/ld: ricd.c:(.text+0x408): undefined reference to `kernel_init' /usr/bin/ld: hqlip.o: in function `hqlip_activate_interface': hqlip.c:(.text+0xbdd): undefined reference to `join_leave_group' /usr/bin/ld: hqlip.o: in function `hqlip_vif_udp_init': hqlip.c:(.text+0xdf5): undefined reference to `socket_open' /usr/bin/ld: hqlip.c:(.text+0xe0b): undefined reference to `socket_reuse' /usr/bin/ld: hqlip.c:(.text+0xe1d): undefined reference to `socket_bind_port' /usr/bin/ld: hqlip.c:(.text+0xe30): undefined reference to `ipv6_pktinfo' /usr/bin/ld: hqlip.c:(.text+0xe3c): undefined reference to `ipv6_recvhops' /usr/bin/ld: hqlip.c:(.text+0xe4a): undefined reference to `ip_pktinfo' /usr/bin/ld: hqlip.c:(.text+0xe56): undefined reference to `ip_recvttl' /usr/bin/ld: hqlip.c:(.text+0xead): undefined reference to `socket_open' /usr/bin/ld: hqlip.c:(.text+0xebf): undefined reference to `socket_reuse' /usr/bin/ld: hqlip.c:(.text+0xedd): undefined reference to `join_leave_group' /usr/bin/ld: hqlip.c:(.text+0xef0): undefined reference to `socket_bind_port' /usr/bin/ld: hqlip.c:(.text+0xf03): undefined reference to `ipv6_multicast_loop' /usr/bin/ld: hqlip.c:(.text+0xf0f): undefined reference to `ipv6_multicast_hops' /usr/bin/ld: hqlip.c:(.text+0xf1b): undefined reference to `ipv6_pktinfo' /usr/bin/ld: hqlip.c:(.text+0xf27): undefined reference to `ipv6_recvhops' /usr/bin/ld: hqlip.c:(.text+0xf3b): undefined reference to `ip_multicast_loop' /usr/bin/ld: hqlip.c:(.text+0xf47): undefined reference to `ip_multicast_hops' /usr/bin/ld: hqlip.c:(.text+0xf53): undefined reference to `ip_pktinfo' /usr/bin/ld: hqlip.c:(.text+0xf5f): undefined reference to `ip_recvttl' /usr/bin/ld: hqlip.o: in function `hqlip_vif_tcp_init': hqlip.c:(.text+0xfea): undefined reference to `socket_open' /usr/bin/ld: hqlip.c:(.text+0xffc): undefined reference to `socket_reuse' /usr/bin/ld: hqlip.c:(.text+0x100e): undefined reference to `socket_bind_port' /usr/bin/ld: hqlip.o: in function `hqlip_send_hello': hqlip.c:(.text+0x17f4): undefined reference to `send_packet' /usr/bin/ld: hqlip.o: in function `hqlip_show_neighbors': hqlip.c:(.text+0x2314): undefined reference to `find_interface_byname' /usr/bin/ld: hqlip.o: in function `hqlip_recv_hello': hqlip.c:(.text+0x4012): undefined reference to `recvmsgfrom' /usr/bin/ld: hqlip.o: in function `hqlip_register_neighbor': hqlip.c:(.text+0x46ca): undefined reference to `socket_bind_port' /usr/bin/ld: hqlip.o: in function `hqlip_open_accept': hqlip.c:(.text+0x83a7): undefined reference to `get_socket_addr' /usr/bin/ld: ricdconf.o: in function `config_ric_network_if_qos_prefix': ricdconf.c:(.text+0x1c48): undefined reference to `find_interface_byname' /usr/bin/ld: srsvp.o: in function `srsvp_vif_tcp_init': srsvp.c:(.text+0xb3a): undefined reference to `socket_open' /usr/bin/ld: srsvp.c:(.text+0xb4c): undefined reference to `socket_reuse' /usr/bin/ld: srsvp.c:(.text+0xb5e): undefined reference to `socket_bind_port' /usr/bin/ld: srsvp.o: in function `srsvp_show_neighbors': srsvp.c:(.text+0xc40): undefined reference to `find_interface_byname' /usr/bin/ld: srsvp.o: in function `srsvp_keep_alive': srsvp.c:(.text+0x380c): undefined reference to `get_socket_addr' /usr/bin/ld: srsvp.o: in function `srsvp_tcp_connect': srsvp.c:(.text+0x38e1): undefined reference to `socket_bind_port' /usr/bin/ld: srsvp.o: in function `srsvp_open_accept': srsvp.c:(.text+0x6297): undefined reference to `get_socket_addr' /usr/bin/ld: ../../lib/libcfg.a(commconf.o): in function `init_mrtd_config': commconf.c:(.text+0x2cc): undefined reference to `show_interfaces' /usr/bin/ld: ../../lib/libcfg.a(commconf.o): in function `config_ip_route': commconf.c:(.text+0x647): undefined reference to `find_interface_byname' /usr/bin/ld: commconf.c:(.text+0x925): undefined reference to `find_interface' /usr/bin/ld: commconf.c:(.text+0x93c): undefined reference to `find_interface_local' /usr/bin/ld: ../../lib/libcfg.a(commconf.o): in function `config_interface': commconf.c:(.text+0xc1f): undefined reference to `find_interface_byname' /usr/bin/ld: ../../lib/libcfg.a(commconf.o): in function `config_gateway': commconf.c:(.text+0xe45): undefined reference to `find_interface_byname' /usr/bin/ld: ../../lib/libcfg.a(commconf.o): in function `re_evaluate_static_routes': commconf.c:(.text+0x1172): undefined reference to `find_interface' /usr/bin/ld: commconf.c:(.text+0x118c): undefined reference to `find_interface_local' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[2]: stopped in /data/scratch/net/mrt/work/mrt/src/programs/ricd cd route_atob; /usr/bin/make /usr/bin/install -c -o pbulkXXX -g users -m 755 route_atob /data/scratch/net/mrt/work/.destdir/usr/pkg/sbin/route_atob cd route_btoa; /usr/bin/make /usr/bin/install -c -o pbulkXXX -g users -m 755 route_btoa /data/scratch/net/mrt/work/.destdir/usr/pkg/sbin/route_btoa cd sbgp; /usr/bin/make clang -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 /usr/bin/ld: simple_bgp.o: in function `main': simple_bgp.c:(.text+0xe0): undefined reference to `init_interfaces' /usr/bin/ld: ../../lib/libbgp.a(bgp_util.o): in function `peer_set_gateway': bgp_util.c:(.text+0x30): undefined reference to `get_socket_addr' /usr/bin/ld: bgp_util.c:(.text+0x46): undefined reference to `get_socket_addr' /usr/bin/ld: bgp_util.c:(.text+0x70): undefined reference to `find_interface_local' /usr/bin/ld: bgp_util.c:(.text+0xb8): undefined reference to `find_interface' /usr/bin/ld: bgp_util.c:(.text+0x134): undefined reference to `find_interface_local' /usr/bin/ld: bgp_util.c:(.text+0x15c): undefined reference to `find_interface_local' /usr/bin/ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_start_transport_connection': bgp_util.c:(.text+0x325): undefined reference to `socket_reuse' /usr/bin/ld: ../../lib/libbgp.a(bgp_util.o): in function `bgp_in_recv_open': bgp_util.c:(.text+0x747): undefined reference to `get_socket_addr' /usr/bin/ld: ../../lib/libbgp.a(bgp_util.o): in function `init_BGP_listen': bgp_util.c:(.text+0x16f4): undefined reference to `socket_reuse' /usr/bin/ld: ../../lib/libbgp.a(view.o): in function `view_set_nexthop_self': view.c:(.text+0x180): undefined reference to `find_interface' /usr/bin/ld: ../../lib/libbgp.a(view.o): in function `bgp_policy': view.c:(.text+0xc26): undefined reference to `find_interface_local' /usr/bin/ld: ../../lib/libbgp.a(view.o): in function `bgp_resolve_nexthop': view.c:(.text+0x485e): undefined reference to `find_interface' /usr/bin/ld: view.c:(.text+0x4874): undefined reference to `find_interface_local' /usr/bin/ld: ../../lib/libbgp.a(view.o): in function `view_add_aggregate': view.c:(.text+0x4e70): undefined reference to `find_interface' /usr/bin/ld: view.c:(.text+0x4e9c): undefined reference to `find_interface' /usr/bin/ld: view.c:(.text+0x4ee9): undefined reference to `find_interface' /usr/bin/ld: ../../lib/libcfg.a(commconf.o): in function `init_mrtd_config': commconf.c:(.text+0x2cc): undefined reference to `show_interfaces' /usr/bin/ld: ../../lib/libcfg.a(commconf.o): in function `config_ip_route': commconf.c:(.text+0x647): undefined reference to `find_interface_byname' /usr/bin/ld: commconf.c:(.text+0x925): undefined reference to `find_interface' /usr/bin/ld: commconf.c:(.text+0x93c): undefined reference to `find_interface_local' /usr/bin/ld: ../../lib/libcfg.a(commconf.o): in function `config_interface': commconf.c:(.text+0xc1f): undefined reference to `find_interface_byname' /usr/bin/ld: ../../lib/libcfg.a(commconf.o): in function `config_gateway': commconf.c:(.text+0xe45): undefined reference to `find_interface_byname' /usr/bin/ld: ../../lib/libcfg.a(commconf.o): in function `re_evaluate_static_routes': commconf.c:(.text+0x1172): undefined reference to `find_interface' /usr/bin/ld: commconf.c:(.text+0x118c): undefined reference to `find_interface_local' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[2]: stopped in /data/scratch/net/mrt/work/mrt/src/programs/sbgp /bin/cat /data/pkgsrc/net/mrt/PLIST.pre >/data/scratch/net/mrt/work/mrt/src/.PLIST_SRC /usr/bin/install -c -o pbulkXXX -g users -m 644 /data/scratch/net/mrt/work/mrt/src/programs/*/*.conf /data/scratch/net/mrt/work/.destdir/usr/pkg/share/examples/mrt (cd /data/scratch/net/mrt/work/.destdir/usr/pkg; /usr/bin/find share/examples/mrt -type f -print >> /data/scratch/net/mrt/work/mrt/src/.PLIST_SRC) => Automatic manual page handling => Generating post-install file lists for f in /data/pkgsrc/net/mrt/Makefile /data/pkgsrc/net/mrt/*; do test ! -f "$f" || echo "$f"; done /data/pkgsrc/net/mrt/Makefile /data/pkgsrc/net/mrt/DESCR /data/pkgsrc/net/mrt/Makefile /data/pkgsrc/net/mrt/PLIST.pre /data/pkgsrc/net/mrt/distinfo pkg_create: can't stat `/data/scratch/net/mrt/work/.destdir/usr/pkg/man/man8/mrtd.8' pkg_create: can't stat `/data/scratch/net/mrt/work/.destdir/usr/pkg/man/man8/ricd.8' pkg_create: can't stat `/data/scratch/net/mrt/work/.destdir/usr/pkg/sbin/bgpsim' pkg_create: can't stat `/data/scratch/net/mrt/work/.destdir/usr/pkg/sbin/mrtd' pkg_create: can't stat `/data/scratch/net/mrt/work/.destdir/usr/pkg/sbin/ricd' pkg_create: can't stat `/data/scratch/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 /data/scratch/net/mrt/work/.destdir/usr/pkg: ERROR: /data/scratch/net/mrt/work/.destdir/usr/pkg/man/man8/mrtd.8 ERROR: /data/scratch/net/mrt/work/.destdir/usr/pkg/man/man8/ricd.8 ERROR: /data/scratch/net/mrt/work/.destdir/usr/pkg/sbin/bgpsim ERROR: /data/scratch/net/mrt/work/.destdir/usr/pkg/sbin/mrtd ERROR: /data/scratch/net/mrt/work/.destdir/usr/pkg/sbin/ricd ERROR: /data/scratch/net/mrt/work/.destdir/usr/pkg/sbin/sbgp *** Error code 1 Stop. make[1]: stopped in /data/pkgsrc/net/mrt *** Error code 1 Stop. make: stopped in /data/pkgsrc/net/mrt