=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Installing for mrt-2.2.2a.20000811nb1 => 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 -O2 -march=i586 -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include socket.c In file included from socket.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:75:9: note: previous definition is here #define pthread_sigmask __libc_thr_sigsetmask ^ socket.c:144:12: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] &value, &len) < 0) { ^~~~ /usr/include/sys/socket.h:647:71: note: passing argument to parameter here int getsockopt(int, int, int, void *__restrict, socklen_t * __restrict); ^ socket.c:986:43: error: no member named 'ipi_spec_dst' in 'struct in_pktinfo' dstaddr.sin.sin_addr.s_addr = info->ipi_spec_dst.s_addr; ~~~~ ^ socket.c:1305:66: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ret = getpeername (sockfd, (struct sockaddr *) &anyaddr, &len); ^~~~ /usr/include/sys/socket.h:645:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ socket.c:1307:66: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] ret = getsockname (sockfd, (struct sockaddr *) &anyaddr, &len); ^~~~ /usr/include/sys/socket.h:646:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 4 warnings and 1 error generated. *** Error code 1 Stop. bmake[2]: stopped in /usr/pkgsrc/work/net/mrt/work/mrt/src/lib/kernel cd mrt; /usr/pkg/bin/bmake 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,-R/usr/pkg/lib bgpsim.o simulate.o ../../lib/libcfg.a ../../lib/libbgp.a ../../lib/librib.a ../../lib/libmrt.a -o bgpsim ../../lib/libbgp.a(bgp_util.o): In function `peer_set_gateway': bgp_util.c:(.text+0x30): undefined reference to `get_socket_addr' bgp_util.c:(.text+0x4e): undefined reference to `get_socket_addr' ../../lib/libbgp.a(bgp_util.o): In function `bgp_start_transport_connection': bgp_util.c:(.text+0x32c): undefined reference to `socket_reuse' ../../lib/libbgp.a(bgp_util.o): In function `bgp_in_recv_open': bgp_util.c:(.text+0x79b): undefined reference to `get_socket_addr' ../../lib/libbgp.a(bgp_util.o): In function `init_BGP_listen': bgp_util.c:(.text+0x1960): undefined reference to `socket_reuse' ../../lib/libmrt.a(io.o): In function `io_set': io.c:(.text+0x2f1): undefined reference to `msgget' io.c:(.text+0x30f): undefined reference to `msgget' io.c:(.text+0x384): undefined reference to `msgsnd' io.c:(.text+0x53b): undefined reference to `msgget' io.c:(.text+0x62b): undefined reference to `msgget' io.c:(.text+0x651): undefined reference to `msgget' io.c:(.text+0x6c0): undefined reference to `msgsnd' io.c:(.text+0x6f0): undefined reference to `msgrcv' io.c:(.text+0x717): undefined reference to `__msgctl50' io.c:(.text+0x72e): undefined reference to `msgget' ../../lib/libmrt.a(io.o): In function `io_read': io.c:(.text+0x8cb): undefined reference to `msgrcv' ../../lib/libmrt.a(io.o): In function `io_write': io.c:(.text+0xcce): undefined reference to `msgsnd' ../../lib/libmrt.a(io.o): In function `close_input': io.c:(.text+0xea8): undefined reference to `msgget' io.c:(.text+0xf21): undefined reference to `msgsnd' io.c:(.text+0xf41): undefined reference to `__msgctl50' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake[2]: stopped in /usr/pkgsrc/work/net/mrt/work/mrt/src/programs/bgpsim cd mrtd; /usr/pkg/bin/bmake cc -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 mrtd.o: In function `main': mrtd.c:(.text+0x3d7): undefined reference to `igmp_init' ../../lib/libcfg.a(multiconf.o): In function `config_multicast_init': multiconf.c:(.text+0x7): undefined reference to `IGMP' multiconf.c:(.text+0x42): undefined reference to `IGMP' multiconf.c:(.text+0x185): undefined reference to `IGMP' multiconf.c:(.text+0x19f): undefined reference to `igmp_show_group' ../../lib/libbgp.a(bgp_util.o): In function `peer_set_gateway': bgp_util.c:(.text+0x30): undefined reference to `get_socket_addr' bgp_util.c:(.text+0x4e): undefined reference to `get_socket_addr' ../../lib/libbgp.a(bgp_util.o): In function `bgp_start_transport_connection': bgp_util.c:(.text+0x32c): undefined reference to `socket_reuse' ../../lib/libbgp.a(bgp_util.o): In function `bgp_in_recv_open': bgp_util.c:(.text+0x79b): undefined reference to `get_socket_addr' ../../lib/libbgp.a(bgp_util.o): In function `init_BGP_listen': bgp_util.c:(.text+0x1960): undefined reference to `socket_reuse' ../../lib/librip.a(rip2.o): In function `rip2_init_listen': rip2.c:(.text+0x504): undefined reference to `socket_open' rip2.c:(.text+0x521): undefined reference to `socket_reuse' rip2.c:(.text+0x531): undefined reference to `socket_broadcast' rip2.c:(.text+0x541): undefined reference to `ip_multicast_loop' rip2.c:(.text+0x551): undefined reference to `ip_recvttl' rip2.c:(.text+0x561): undefined reference to `ip_pktinfo' ../../lib/librip.a(rip2.o): In function `rip2_send_request': rip2.c:(.text+0x849): undefined reference to `send_packet' ../../lib/librip.a(rip2.o): In function `rip2_interface': rip2.c:(.text+0x918): undefined reference to `join_leave_group' rip2.c:(.text+0x9d5): undefined reference to `send_packet' ../../lib/librip.a(rip2.o): In function `rip2_send_update': rip2.c:(.text+0xb8f): undefined reference to `send_packet' rip2.c:(.text+0xcee): undefined reference to `send_packet' ../../lib/librip.a(rip2.o): In function `rip2_receive_update': rip2.c:(.text+0xe31): undefined reference to `recvmsgfrom' ../../lib/libpim.a(dvmrp.o): In function `recv_dvmrp': dvmrp.c:(.text+0x535): undefined reference to `IGMP' dvmrp.c:(.text+0x541): undefined reference to `igmp_is_querier' ../../lib/libpim.a(dvmrp.o): In function `dvmrp_send': dvmrp.c:(.text+0x1c9e): undefined reference to `IGMP' dvmrp.c:(.text+0x1d58): undefined reference to `igmp_send' ../../lib/libpim.a(dvmrp.o): In function `dvmrp_advertise_route': dvmrp.c:(.text+0x227f): undefined reference to `IGMP' dvmrp.c:(.text+0x2353): undefined reference to `igmp_send' dvmrp.c:(.text+0x2557): undefined reference to `IGMP' dvmrp.c:(.text+0x2614): undefined reference to `igmp_send' ../../lib/libpim.a(dvmrp.o): In function `dvmrp_init': dvmrp.c:(.text+0x28f1): undefined reference to `IGMP' ../../lib/libpim.a(dvmrp.o): In function `dvmrp_start': dvmrp.c:(.text+0x3158): undefined reference to `IGMP' dvmrp.c:(.text+0x3170): undefined reference to `IGMP' ../../lib/libpim.a(dvmrp.o): In function `dvmrp_update_call_fn': dvmrp.c:(.text+0x3598): undefined reference to `igmp_test_membership' ../../lib/libpim.a(dvmrp.o): In function `dvmrp_stop': dvmrp.c:(.text+0x3809): undefined reference to `IGMP' ../../lib/libpim.a(dvmrp.o): In function `dvmrp_activate_interface': dvmrp.c:(.text+0x4364): undefined reference to `igmp_interface' dvmrp.c:(.text+0x46a9): undefined reference to `IGMP' dvmrp.c:(.text+0x474c): undefined reference to `IGMP' dvmrp.c:(.text+0x476c): undefined reference to `join_leave_group' dvmrp.c:(.text+0x4813): undefined reference to `igmp_interface' ../../lib/libpim.a(dvmrp.o): In function `dvmrp_send_probe': dvmrp.c:(.text+0x4f7f): undefined reference to `IGMP' dvmrp.c:(.text+0x503c): undefined reference to `igmp_send' ../../lib/libpim.a(pim.o): In function `pim_receive': pim.c:(.text+0xf1): undefined reference to `recvmsgfrom' pim.c:(.text+0x398): undefined reference to `inet_cksum' ../../lib/libpim.a(pim.o): In function `pim_send': pim.c:(.text+0x2068): undefined reference to `inet_cksum' pim.c:(.text+0x2081): undefined reference to `inet_cksum' pim.c:(.text+0x21c0): undefined reference to `inet_cksum' pim.c:(.text+0x221f): undefined reference to `send_packet' ../../lib/libpim.a(pim.o): In function `pim_init': pim.c:(.text+0x22d0): undefined reference to `IGMP' ../../lib/libpim.a(pim.o): In function `pim_activate_interface': pim.c:(.text+0x3427): undefined reference to `igmp_interface' pim.c:(.text+0x347a): undefined reference to `socket_open' pim.c:(.text+0x3490): undefined reference to `socket_reuse' pim.c:(.text+0x34a0): undefined reference to `socket_rcvbuf' pim.c:(.text+0x34b0): undefined reference to `ip_hdrincl' pim.c:(.text+0x34c0): undefined reference to `ip_multicast_loop' pim.c:(.text+0x34d0): undefined reference to `ip_pktinfo' pim.c:(.text+0x34e0): undefined reference to `ip_recvttl' pim.c:(.text+0x372a): undefined reference to `join_leave_group' pim.c:(.text+0x380b): undefined reference to `igmp_interface' pim.c:(.text+0x3ae2): undefined reference to `igmp_interface' ../../lib/libpim.a(pim.o): In function `pim_update_call_fn': pim.c:(.text+0x4361): undefined reference to `igmp_test_membership' pim.c:(.text+0x44b4): undefined reference to `igmp_test_membership' ../../lib/libpim.a(cache.o): In function `cache_update_mfc': cache.c:(.text+0x1a9): undefined reference to `mc_add_mfc' ../../lib/libpim.a(cache.o): In function `cache_control_from_kernel': cache.c:(.text+0xc6c): undefined reference to `mc_del_mfc' ../../lib/libpim.a(cache.o): In function `cache_init': cache.c:(.text+0xf6e): undefined reference to `IGMP' ../../lib/libpim.a(cache.o): In function `cache_timer_expire': cache.c:(.text+0x1359): undefined reference to `mc_del_mfc' cache.c:(.text+0x13ee): undefined reference to `mc_req_mfc' ../../lib/libmrt.a(io.o): In function `io_set': io.c:(.text+0x2f1): undefined reference to `msgget' io.c:(.text+0x30f): undefined reference to `msgget' io.c:(.text+0x384): undefined reference to `msgsnd' io.c:(.text+0x53b): undefined reference to `msgget' io.c:(.text+0x62b): undefined reference to `msgget' io.c:(.text+0x651): undefined reference to `msgget' io.c:(.text+0x6c0): undefined reference to `msgsnd' io.c:(.text+0x6f0): undefined reference to `msgrcv' io.c:(.text+0x717): undefined reference to `__msgctl50' io.c:(.text+0x72e): undefined reference to `msgget' ../../lib/libmrt.a(io.o): In function `io_read': io.c:(.text+0x8cb): undefined reference to `msgrcv' ../../lib/libmrt.a(io.o): In function `io_write': io.c:(.text+0xcce): undefined reference to `msgsnd' ../../lib/libmrt.a(io.o): In function `close_input': io.c:(.text+0xea8): undefined reference to `msgget' io.c:(.text+0xf21): undefined reference to `msgsnd' io.c:(.text+0xf41): undefined reference to `__msgctl50' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake[2]: stopped in /usr/pkgsrc/work/net/mrt/work/mrt/src/programs/mrtd cd ricd; /usr/pkg/bin/bmake cc -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 hqlip.o: In function `hqlip_activate_interface': hqlip.c:(.text+0xd6c): undefined reference to `join_leave_group' hqlip.o: In function `hqlip_vif_udp_init': hqlip.c:(.text+0xfc0): undefined reference to `socket_open' hqlip.c:(.text+0xfda): undefined reference to `socket_reuse' hqlip.c:(.text+0xff8): undefined reference to `socket_bind_port' hqlip.c:(.text+0x1008): undefined reference to `ip_pktinfo' hqlip.c:(.text+0x1018): undefined reference to `ip_recvttl' hqlip.c:(.text+0x1081): undefined reference to `socket_open' hqlip.c:(.text+0x109b): undefined reference to `socket_reuse' hqlip.c:(.text+0x10c2): undefined reference to `join_leave_group' hqlip.c:(.text+0x10df): undefined reference to `socket_bind_port' hqlip.c:(.text+0x10ef): undefined reference to `ip_multicast_loop' hqlip.c:(.text+0x10ff): undefined reference to `ip_multicast_hops' hqlip.c:(.text+0x110f): undefined reference to `ip_pktinfo' hqlip.c:(.text+0x111f): undefined reference to `ip_recvttl' hqlip.o: In function `hqlip_vif_tcp_init': hqlip.c:(.text+0x11b9): undefined reference to `socket_open' hqlip.c:(.text+0x11cf): undefined reference to `socket_reuse' hqlip.c:(.text+0x11ec): undefined reference to `socket_bind_port' hqlip.o: In function `hqlip_send_hello': hqlip.c:(.text+0x19fe): undefined reference to `send_packet' hqlip.o: In function `hqlip_open_accept': hqlip.c:(.text+0x5dec): undefined reference to `get_socket_addr' hqlip.o: In function `hqlip_register_neighbor': hqlip.c:(.text+0x670c): undefined reference to `socket_bind_port' hqlip.o: In function `hqlip_recv_hello': hqlip.c:(.text+0x9ffe): undefined reference to `recvmsgfrom' srsvp.o: In function `srsvp_vif_tcp_init': srsvp.c:(.text+0xbd9): undefined reference to `socket_open' srsvp.c:(.text+0xbef): undefined reference to `socket_reuse' srsvp.c:(.text+0xc0c): undefined reference to `socket_bind_port' srsvp.o: In function `srsvp_open_accept': srsvp.c:(.text+0x41ce): undefined reference to `get_socket_addr' srsvp.o: In function `srsvp_keep_alive': srsvp.c:(.text+0x75eb): undefined reference to `get_socket_addr' srsvp.o: In function `srsvp_tcp_connect': srsvp.c:(.text+0x76cc): undefined reference to `socket_bind_port' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake[2]: stopped in /usr/pkgsrc/work/net/mrt/work/mrt/src/programs/ricd cd route_atob; /usr/pkg/bin/bmake cc -Wl,-R/usr/pkg/lib route_atob.o ../../lib/libbgp.a ../../lib/libmrt.a -o route_atob ../../lib/libmrt.a(io.o): In function `io_set': io.c:(.text+0x2f1): undefined reference to `msgget' io.c:(.text+0x30f): undefined reference to `msgget' io.c:(.text+0x384): undefined reference to `msgsnd' io.c:(.text+0x53b): undefined reference to `msgget' io.c:(.text+0x62b): undefined reference to `msgget' io.c:(.text+0x651): undefined reference to `msgget' io.c:(.text+0x6c0): undefined reference to `msgsnd' io.c:(.text+0x6f0): undefined reference to `msgrcv' io.c:(.text+0x717): undefined reference to `__msgctl50' io.c:(.text+0x72e): undefined reference to `msgget' ../../lib/libmrt.a(io.o): In function `io_read': io.c:(.text+0x8cb): undefined reference to `msgrcv' ../../lib/libmrt.a(io.o): In function `io_write': io.c:(.text+0xcce): undefined reference to `msgsnd' ../../lib/libmrt.a(io.o): In function `close_input': io.c:(.text+0xea8): undefined reference to `msgget' io.c:(.text+0xf21): undefined reference to `msgsnd' io.c:(.text+0xf41): undefined reference to `__msgctl50' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake[2]: stopped in /usr/pkgsrc/work/net/mrt/work/mrt/src/programs/route_atob cd route_btoa; /usr/pkg/bin/bmake cc -Wl,-R/usr/pkg/lib route_btoa.o ../../lib/libbgp.a ../../lib/libmrt.a -o route_btoa ../../lib/libmrt.a(io.o): In function `io_set': io.c:(.text+0x2f1): undefined reference to `msgget' io.c:(.text+0x30f): undefined reference to `msgget' io.c:(.text+0x384): undefined reference to `msgsnd' io.c:(.text+0x53b): undefined reference to `msgget' io.c:(.text+0x62b): undefined reference to `msgget' io.c:(.text+0x651): undefined reference to `msgget' io.c:(.text+0x6c0): undefined reference to `msgsnd' io.c:(.text+0x6f0): undefined reference to `msgrcv' io.c:(.text+0x717): undefined reference to `__msgctl50' io.c:(.text+0x72e): undefined reference to `msgget' ../../lib/libmrt.a(io.o): In function `io_read': io.c:(.text+0x8cb): undefined reference to `msgrcv' ../../lib/libmrt.a(io.o): In function `io_write': io.c:(.text+0xcce): undefined reference to `msgsnd' ../../lib/libmrt.a(io.o): In function `close_input': io.c:(.text+0xea8): undefined reference to `msgget' io.c:(.text+0xf21): undefined reference to `msgsnd' io.c:(.text+0xf41): undefined reference to `__msgctl50' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake[2]: stopped in /usr/pkgsrc/work/net/mrt/work/mrt/src/programs/route_btoa cd sbgp; /usr/pkg/bin/bmake cc -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 ../../lib/libbgp.a(bgp_util.o): In function `peer_set_gateway': bgp_util.c:(.text+0x30): undefined reference to `get_socket_addr' bgp_util.c:(.text+0x4e): undefined reference to `get_socket_addr' ../../lib/libbgp.a(bgp_util.o): In function `bgp_start_transport_connection': bgp_util.c:(.text+0x32c): undefined reference to `socket_reuse' ../../lib/libbgp.a(bgp_util.o): In function `bgp_in_recv_open': bgp_util.c:(.text+0x79b): undefined reference to `get_socket_addr' ../../lib/libbgp.a(bgp_util.o): In function `init_BGP_listen': bgp_util.c:(.text+0x1960): undefined reference to `socket_reuse' ../../lib/libmrt.a(io.o): In function `io_set': io.c:(.text+0x2f1): undefined reference to `msgget' io.c:(.text+0x30f): undefined reference to `msgget' io.c:(.text+0x384): undefined reference to `msgsnd' io.c:(.text+0x53b): undefined reference to `msgget' io.c:(.text+0x62b): undefined reference to `msgget' io.c:(.text+0x651): undefined reference to `msgget' io.c:(.text+0x6c0): undefined reference to `msgsnd' io.c:(.text+0x6f0): undefined reference to `msgrcv' io.c:(.text+0x717): undefined reference to `__msgctl50' io.c:(.text+0x72e): undefined reference to `msgget' ../../lib/libmrt.a(io.o): In function `io_read': io.c:(.text+0x8cb): undefined reference to `msgrcv' ../../lib/libmrt.a(io.o): In function `io_write': io.c:(.text+0xcce): undefined reference to `msgsnd' ../../lib/libmrt.a(io.o): In function `close_input': io.c:(.text+0xea8): undefined reference to `msgget' io.c:(.text+0xf21): undefined reference to `msgsnd' io.c:(.text+0xf41): undefined reference to `__msgctl50' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake[2]: stopped in /usr/pkgsrc/work/net/mrt/work/mrt/src/programs/sbgp /bin/cat /usr/pkgsrc/net/mrt/PLIST.pre >/usr/pkgsrc/work/net/mrt/work/mrt/src/.PLIST_SRC /usr/bin/install -c -o root -g operator -m 644 /usr/pkgsrc/work/net/mrt/work/mrt/src/programs/*/*.conf /usr/pkgsrc/work/net/mrt/work/.destdir/usr/pkg/share/examples/mrt (cd /usr/pkgsrc/work/net/mrt/work/.destdir/usr/pkg; /usr/bin/find share/examples/mrt -type f -print >> /usr/pkgsrc/work/net/mrt/work/mrt/src/.PLIST_SRC) => Automatic manual page handling pkg_create: can't stat `/usr/pkgsrc/work/net/mrt/work/.destdir/usr/pkg/sbin/bgpsim' pkg_create: can't stat `/usr/pkgsrc/work/net/mrt/work/.destdir/usr/pkg/sbin/mrtd' pkg_create: can't stat `/usr/pkgsrc/work/net/mrt/work/.destdir/usr/pkg/sbin/route_atob' pkg_create: can't stat `/usr/pkgsrc/work/net/mrt/work/.destdir/usr/pkg/sbin/route_btoa' pkg_create: can't stat `/usr/pkgsrc/work/net/mrt/work/.destdir/usr/pkg/sbin/sbgp' pkg_create: can't stat `/usr/pkgsrc/work/net/mrt/work/.destdir/usr/pkg/sbin/ricd' pkg_create: can't stat `/usr/pkgsrc/work/net/mrt/work/.destdir/usr/pkg/man/man8/mrtd.8' pkg_create: can't stat `/usr/pkgsrc/work/net/mrt/work/.destdir/usr/pkg/man/man8/ricd.8'