=> Bootstrap dependency digest>=20010302: found digest-20111104 => Bootstrap dependency fetch-[0-9]*: found fetch-1.7 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for mrt-2.2.2a.20000811nb1 Making lib cd bgp_attr; /usr/pkg/bin/bmake gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include aspath.c a - aspath.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include bgp_attr.c a - bgp_attr.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include as_regexp.c a - as_regexp.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include as_alist.c a - as_alist.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include bgp_msg.c a - bgp_msg.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include community.c a - community.o cd bgp_proto; /usr/pkg/bin/bmake gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include bgp_util.c bgp_util.c: In function 'bgp_connect_ready': bgp_util.c:131:44: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness /usr/include/sys/socket.h:133:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' bgp_util.c: In function 'bgp_schedule_recv_in': bgp_util.c:361:3: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness /usr/include/sys/socket.h:133:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' bgp_util.c: In function 'bgp_in_accept_connection': bgp_util.c:778:38: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness /usr/include/sys/socket.h:119:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' bgp_util.c: In function 'bgp_make_tail': bgp_util.c:2275:15: warning: pointer targets in initialization differ in signedness bgp_util.c: In function 'bgp_put_a_line': bgp_util.c:2316:6: warning: pointer targets in passing argument 10 of 'rib_show_route_line' differ in signedness ../../include/rib.h:149:6: note: expected 'char *' but argument is of type 'u_char *' bgp_util.c: In function 'bgp_dump_rtin': bgp_util.c:2606:11: warning: pointer targets in passing argument 10 of 'rib_show_route_line' differ in signedness ../../include/rib.h:149:6: note: expected 'char *' but argument is of type 'u_char *' a - bgp_util.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include bgp_sm.c a - bgp_sm.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include bgp_pdu.c a - bgp_pdu.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include view.c a - view.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include bgp_timer.c a - bgp_timer.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include bgp_thread.c a - bgp_thread.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include bgp_dump.c a - bgp_dump.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include bgp_dump2.c a - bgp_dump2.o cd config; /usr/pkg/bin/bmake gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include config_file.c config_file.c: In function 'config_access_list': config_file.c:301:11: warning: cast to pointer from integer of different size config_file.c:314:7: warning: cast to pointer from integer of different size a - config_file.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include commconf.c a - commconf.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include bgpconf.c bgpconf.c: In function 'config_ip_as_filter': bgpconf.c:52:41: warning: cast to pointer from integer of different size bgpconf.c:68:37: warning: cast to pointer from integer of different size bgpconf.c: In function 'config_community_list': bgpconf.c:129:11: warning: cast to pointer from integer of different size bgpconf.c:142:7: warning: cast to pointer from integer of different size bgpconf.c: In function 'config_dump_bgp_view': bgpconf.c:2024:62: warning: cast to pointer from integer of different size bgpconf.c: In function 'config_dump_f_bgp_routes': bgpconf.c:2126:7: warning: cast to pointer from integer of different size bgpconf.c:2135:7: warning: cast to pointer from integer of different size a - bgpconf.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include rtmapconf.c rtmapconf.c: In function 'config_route_map': rtmapconf.c:32:18: warning: cast to pointer from integer of different size rtmapconf.c:41:14: warning: cast to pointer from integer of different size a - rtmapconf.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include load.c a - load.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include ripconf.c a - ripconf.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include multiconf.c In file included from multiconf.c:11:0: ../../include/pim.h:20:0: warning: "IPPROTO_PIM" redefined /usr/include/netinet/in.h:83:0: note: this is the location of the previous definition a - multiconf.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include dvmrpconf.c a - dvmrpconf.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include pimconf.c In file included from pimconf.c:11:0: ../../include/pim.h:20:0: warning: "IPPROTO_PIM" redefined /usr/include/netinet/in.h:83:0: note: this is the location of the previous definition a - pimconf.o cd filter; /usr/pkg/bin/bmake gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include filter.c a - filter.o cd io; /usr/pkg/bin/bmake gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include io.c a - io.o cd kernel; /usr/pkg/bin/bmake gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include linux.c linux.c:31:0: warning: "MSG_TRUNC" redefined /usr/include/bits/socket.h:218:0: note: this is the location of the previous definition linux.c:66:28: fatal error: linux/autoconf.h: No such file or directory compilation terminated. *** Error code 1 Stop. bmake: stopped in /tmp/pkgsrc/net/mrt/work/mrt/src/lib/kernel cd mrt; /usr/pkg/bin/bmake gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include util.c a - util.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include prefix.c prefix.c: In function 'prefix_toname': prefix.c:309:10: warning: unused variable 'hostbuf' prefix.c:308:9: warning: unused variable 'h_errno_r' prefix.c:307:20: warning: unused variable 'result' a - prefix.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include route_util.c a - route_util.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include gateway.c a - gateway.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include mrt.c mrt.c: In function 'mrt_accept': mrt.c:580:5: warning: pointer targets in passing argument 3 of 'accept' differ in signedness /usr/include/sys/socket.h:214:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' a - mrt.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include user.c user.c: In function 'uii_call_callback_fn': user.c:1184:19: warning: cast to pointer from integer of different size user.c:1215:23: warning: cast to pointer from integer of different size a - user.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include schedule.c a - schedule.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include alist.c a - alist.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include trace.c a - trace.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include select.c a - select.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include connect.c connect.c: In function 'nonblock_connect': connect.c:97:9: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness /usr/include/sys/socket.h:190:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' a - connect.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include reboot.c a - reboot.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include user_old.c a - user_old.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include user_util.c user_util.c: In function 'uii_tokenize_choices2': user_util.c:48:9: warning: 'last' may be used uninitialized in this function user_util.c: In function 'uii_token_match': user_util.c:104:11: warning: 'last' may be used uninitialized in this function a - user_util.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include compat.c a - compat.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include vars.c a - vars.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include nexthop.c nexthop.c: In function 'is_prefix_local_on': nexthop.c:393:19: warning: unused variable 'sin6_addr' a - nexthop.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include buffer.c a - buffer.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include hashfn.c a - hashfn.o cd pim; /usr/pkg/bin/bmake gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include dvmrp.c dvmrp.c: In function 'dvmrp_recv_report': dvmrp.c:889:13: warning: dereferencing type-punned pointer will break strict-aliasing rules dvmrp.c:909:6: warning: dereferencing type-punned pointer will break strict-aliasing rules dvmrp.c: At top level: dvmrp.c:1276:1: warning: 'dvmrp_timer_probe' defined but not used dvmrp.c:1759:1: warning: 'dvmrp_route_compare' defined but not used a - dvmrp.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include pim.c In file included from pim.c:12:0: ../../include/pim.h:20:0: warning: "IPPROTO_PIM" redefined /usr/include/netinet/in.h:83:0: note: this is the location of the previous definition a - pim.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include cache.c In file included from cache.c:10:0: ../../include/pim.h:20:0: warning: "IPPROTO_PIM" redefined /usr/include/netinet/in.h:83:0: note: this is the location of the previous definition cache.c:234:1: warning: 'index2vindex' defined but not used a - cache.o cd portserver; /usr/pkg/bin/bmake cd radix; /usr/pkg/bin/bmake gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include radix.c a - radix.o cd rib; /usr/pkg/bin/bmake gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include rib.c rib.c:932:1: warning: 'rib_if_call_fn' defined but not used a - rib.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include rib_uii.c a - rib_uii.o cd rip; /usr/pkg/bin/bmake gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include rip_proto.c a - rip_proto.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include rip2.c a - rip2.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include ripng.c ripng.c: In function 'ripng_receive_update': ripng.c:425:22: warning: 'buffer' is used uninitialized in this function a - ripng.o cd struct; /usr/pkg/bin/bmake gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include New.c New.c: In function 'Reallocate_DefaultHandler': New.c:251:8: warning: cast from pointer to integer of different size New.c:253:8: warning: cast from pointer to integer of different size New.c: In function 'Delete_DefaultHandler': New.c:274:8: warning: cast from pointer to integer of different size New.c:275:69: warning: cast from pointer to integer of different size a - New.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include stack.c stack.c: In function 'STACK_DefaultHandler': stack.c:202:73: warning: cast from pointer to integer of different size stack.c: In function 'STACK_Print': stack.c:229:52: warning: cast from pointer to integer of different size stack.c:229:66: warning: cast from pointer to integer of different size a - stack.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include array.c array.c: In function 'ARRAY_MergeSort': array.c:284:11: warning: cast from pointer to integer of different size array.c:285:11: warning: cast from pointer to integer of different size array.c:287:7: warning: cast from pointer to integer of different size array.c:309:12: warning: cast to pointer from integer of different size array.c:330:12: warning: cast to pointer from integer of different size array.c:335:12: warning: cast to pointer from integer of different size a - array.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include linked_list.c linked_list.c: In function 'LL_DefaultHandler': linked_list.c:2033:71: warning: cast from pointer to integer of different size linked_list.c: In function 'LL_Print': linked_list.c:2250:47: warning: cast from pointer to integer of different size linked_list.c:2251:4: warning: cast from pointer to integer of different size linked_list.c:2251:4: warning: cast from pointer to integer of different size linked_list.c:2251:4: warning: cast from pointer to integer of different size linked_list.c:2251:4: warning: cast from pointer to integer of different size linked_list.c:2251:4: warning: cast from pointer to integer of different size linked_list.c:2251:4: warning: cast from pointer to integer of different size linked_list.c:2251:4: warning: cast from pointer to integer of different size linked_list.c:2251:4: warning: cast from pointer to integer of different size linked_list.c:2251:4: warning: cast from pointer to integer of different size linked_list.c:2251:4: warning: cast from pointer to integer of different size linked_list.c:2251:4: warning: cast from pointer to integer of different size linked_list.c:2251:4: warning: cast from pointer to integer of different size linked_list.c:2251:4: warning: cast from pointer to integer of different size linked_list.c: In function 'LL_DefaultPrinter': linked_list.c:2265:23: warning: cast from pointer to integer of different size a - linked_list.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include hash.c hash.c: In function 'HASH_DefaultHandler': hash.c:1323:70: warning: cast from pointer to integer of different size hash.c: In function 'HASH_Print': hash.c:1411:58: warning: cast from pointer to integer of different size hash.c:1416:5: warning: cast from pointer to integer of different size hash.c:1417:67: warning: cast from pointer to integer of different size hash.c:1420:7: warning: cast from pointer to integer of different size hash.c:1423:54: warning: cast from pointer to integer of different size hash.c:1426:4: warning: cast from pointer to integer of different size hash.c:1426:14: warning: cast from pointer to integer of different size hash.c:1426:30: warning: cast from pointer to integer of different size hash.c:1426:48: warning: cast from pointer to integer of different size hash.c: In function 'HASH_DefaultPrinter': hash.c:1456:57: warning: cast from pointer to integer of different size hash.c:1456:70: warning: cast from pointer to integer of different size a - hash.o cd timer; /usr/pkg/bin/bmake gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include timer.c a - timer.o gcc -c -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include signal.c a - signal.o Making programs cd bgpsim; /usr/pkg/bin/bmake gcc -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include -DFUNCPROTO -I../../include -I/usr/local/include -c bgpsim.c bgpsim.c: In function 'config_network_list': bgpsim.c:106:37: warning: cast to pointer from integer of different size bgpsim.c:121:14: warning: cast to pointer from integer of different size gcc -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include -DFUNCPROTO -I../../include -I/usr/local/include -c simulate.c gcc -Wl,-R/usr/pkg/lib -L/usr/local/lib bgpsim.o simulate.o ../../lib/libcfg.a ../../lib/libbgp.a ../../lib/librib.a ../../lib/libmrt.a -o bgpsim -lresolv bgpsim.o: In function `main': bgpsim.c:(.text+0x1536): undefined reference to `init_interfaces' ../../lib/libcfg.a(commconf.o): In function `re_evaluate_static_routes': commconf.c:(.text+0x137): undefined reference to `find_interface' commconf.c:(.text+0x14d): undefined reference to `find_interface_local' ../../lib/libcfg.a(commconf.o): In function `config_gateway': commconf.c:(.text+0x425): undefined reference to `find_interface_byname' ../../lib/libcfg.a(commconf.o): In function `config_interface': commconf.c:(.text+0x65e): undefined reference to `find_interface_byname' ../../lib/libcfg.a(commconf.o): In function `config_ip_route': commconf.c:(.text+0x879): undefined reference to `find_interface_byname' commconf.c:(.text+0xc61): undefined reference to `find_interface' commconf.c:(.text+0xc7c): undefined reference to `find_interface_local' ../../lib/libcfg.a(commconf.o): In function `init_mrtd_config': commconf.c:(.text+0x122d): undefined reference to `show_interfaces' ../../lib/libcfg.a(bgpconf.o): In function `config_router_neighbor_n_peer': bgpconf.c:(.text+0x65f6): undefined reference to `find_interface_byname' ../../lib/libcfg.a(bgpconf.o): In function `config_router_neighbor_update_source': bgpconf.c:(.text+0x8063): undefined reference to `find_interface_local' bgpconf.c:(.text+0x8164): undefined reference to `find_interface_byname' ../../lib/libbgp.a(bgp_util.o): In function `peer_set_gateway': bgp_util.c:(.text+0x267f): undefined reference to `get_socket_addr' bgp_util.c:(.text+0x2697): undefined reference to `get_socket_addr' bgp_util.c:(.text+0x26c4): undefined reference to `find_interface_local' bgp_util.c:(.text+0x2822): undefined reference to `find_interface_local' bgp_util.c:(.text+0x2865): undefined reference to `find_interface' bgp_util.c:(.text+0x2895): undefined reference to `find_interface_local' ../../lib/libbgp.a(bgp_util.o): In function `bgp_start_transport_connection': bgp_util.c:(.text+0x29cc): undefined reference to `socket_reuse' ../../lib/libbgp.a(bgp_util.o): In function `init_BGP_listen': bgp_util.c:(.text+0x3474): undefined reference to `socket_reuse' ../../lib/libbgp.a(bgp_util.o): In function `bgp_in_recv_open': bgp_util.c:(.text+0x7015): undefined reference to `get_socket_addr' ../../lib/libbgp.a(view.o): In function `bgp_policy': view.c:(.text+0x749): undefined reference to `find_interface_local' ../../lib/libbgp.a(view.o): In function `bgp_resolve_nexthop': view.c:(.text+0x16fb): undefined reference to `find_interface' view.c:(.text+0x1748): undefined reference to `find_interface_local' ../../lib/libbgp.a(view.o): In function `view_set_nexthop_self': view.c:(.text+0x3928): undefined reference to `find_interface' ../../lib/libbgp.a(view.o): In function `view_add_aggregate': view.c:(.text+0x614d): undefined reference to `find_interface' view.c:(.text+0x617d): undefined reference to `find_interface' view.c:(.text+0x61ca): undefined reference to `find_interface' collect2: ld returned 1 exit status *** Error code 1 Stop. bmake: stopped in /tmp/pkgsrc/net/mrt/work/mrt/src/programs/bgpsim cd mrtd; /usr/pkg/bin/bmake gcc -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include -DFUNCPROTO -I../../include -I/usr/local/include -c mrtd.c In file included from mrtd.c:17:0: ../../include/pim.h:20:0: warning: "IPPROTO_PIM" redefined /usr/include/netinet/in.h:83:0: note: this is the location of the previous definition mrtd.c:119:1: warning: return type of 'main' is not 'int' mrtd.c: In function 'main': mrtd.c:139:12: warning: unused variable 'pp' gcc -Wl,-R/usr/pkg/lib -L/usr/local/lib mrtd.o ../../lib/libcfg.a ../../lib/libbgp.a ../../lib/librip.a ../../lib/libpim.a ../../lib/librib.a ../../lib/libmrt.a -o mrtd -lresolv mrtd.o: In function `main': mrtd.c:(.text+0x318): undefined reference to `init_interfaces' mrtd.c:(.text+0x335): undefined reference to `igmp_init' mrtd.c:(.text+0x342): undefined reference to `igmp_init' mrtd.c:(.text+0x3c6): undefined reference to `kernel_init' mrtd.c:(.text+0x3e9): undefined reference to `add_interfaces_to_rib' mrtd.c:(.text+0x473): undefined reference to `kernel_update_route' mrtd.c:(.text+0x488): undefined reference to `kernel_read_rt_table' ../../lib/libcfg.a(commconf.o): In function `re_evaluate_static_routes': commconf.c:(.text+0x137): undefined reference to `find_interface' commconf.c:(.text+0x14d): undefined reference to `find_interface_local' ../../lib/libcfg.a(commconf.o): In function `config_gateway': commconf.c:(.text+0x425): undefined reference to `find_interface_byname' ../../lib/libcfg.a(commconf.o): In function `config_interface': commconf.c:(.text+0x65e): undefined reference to `find_interface_byname' ../../lib/libcfg.a(commconf.o): In function `config_ip_route': commconf.c:(.text+0x879): undefined reference to `find_interface_byname' commconf.c:(.text+0xc61): undefined reference to `find_interface' commconf.c:(.text+0xc7c): undefined reference to `find_interface_local' ../../lib/libcfg.a(commconf.o): In function `init_mrtd_config': commconf.c:(.text+0x122d): undefined reference to `show_interfaces' ../../lib/libcfg.a(bgpconf.o): In function `config_router_neighbor_n_peer': bgpconf.c:(.text+0x65f6): undefined reference to `find_interface_byname' ../../lib/libcfg.a(bgpconf.o): In function `config_router_neighbor_update_source': bgpconf.c:(.text+0x8063): undefined reference to `find_interface_local' bgpconf.c:(.text+0x8164): undefined reference to `find_interface_byname' ../../lib/libcfg.a(ripconf.o): In function `config_distribute_list': ripconf.c:(.text+0x89): undefined reference to `find_interface_byname' ../../lib/libcfg.a(multiconf.o): In function `config_interface_tunnel': multiconf.c:(.text+0x3e4): undefined reference to `new_interface' ../../lib/libcfg.a(multiconf.o): In function `config_multicast_init': multiconf.c:(.text+0x487): undefined reference to `IGMP' multiconf.c:(.text+0x4b1): undefined reference to `IGMP' multiconf.c:(.text+0x583): undefined reference to `IGMP' multiconf.c:(.text+0x58e): undefined reference to `igmp_show_group' multiconf.c:(.text+0x5e5): undefined reference to `IGMPv6' multiconf.c:(.text+0x5f0): undefined reference to `igmp6_show_group' ../../lib/libcfg.a(dvmrpconf.o): In function `config_dvmrp_distribute_list': dvmrpconf.c:(.text+0x4f): undefined reference to `find_interface_byname' ../../lib/libbgp.a(bgp_util.o): In function `peer_set_gateway': bgp_util.c:(.text+0x267f): undefined reference to `get_socket_addr' bgp_util.c:(.text+0x2697): undefined reference to `get_socket_addr' bgp_util.c:(.text+0x26c4): undefined reference to `find_interface_local' bgp_util.c:(.text+0x2822): undefined reference to `find_interface_local' bgp_util.c:(.text+0x2865): undefined reference to `find_interface' bgp_util.c:(.text+0x2895): undefined reference to `find_interface_local' ../../lib/libbgp.a(bgp_util.o): In function `bgp_start_transport_connection': bgp_util.c:(.text+0x29cc): undefined reference to `socket_reuse' ../../lib/libbgp.a(bgp_util.o): In function `init_BGP_listen': bgp_util.c:(.text+0x3474): undefined reference to `socket_reuse' ../../lib/libbgp.a(bgp_util.o): In function `bgp_in_recv_open': bgp_util.c:(.text+0x7015): undefined reference to `get_socket_addr' ../../lib/libbgp.a(view.o): In function `bgp_policy': view.c:(.text+0x749): undefined reference to `find_interface_local' ../../lib/libbgp.a(view.o): In function `bgp_resolve_nexthop': view.c:(.text+0x16fb): undefined reference to `find_interface' view.c:(.text+0x1748): undefined reference to `find_interface_local' ../../lib/libbgp.a(view.o): In function `view_set_nexthop_self': view.c:(.text+0x3928): undefined reference to `find_interface' ../../lib/libbgp.a(view.o): In function `view_add_aggregate': view.c:(.text+0x614d): undefined reference to `find_interface' view.c:(.text+0x617d): undefined reference to `find_interface' view.c:(.text+0x61ca): undefined reference to `find_interface' ../../lib/librip.a(rip_proto.o): In function `rip_show_routing_table': rip_proto.c:(.text+0x37ff): undefined reference to `find_interface_byname' ../../lib/librip.a(rip_proto.o): In function `rip_interface_recheck': rip_proto.c:(.text+0x386d): undefined reference to `find_network' rip_proto.c:(.text+0x391d): undefined reference to `find_interface_byname_all' ../../lib/librip.a(rip2.o): In function `rip2_send_request.clone.2': rip2.c:(.text+0x179): undefined reference to `send_packet' ../../lib/librip.a(rip2.o): In function `rip2_interface': rip2.c:(.text+0x267): undefined reference to `join_leave_group' ../../lib/librip.a(rip2.o): In function `rip2_send_update': rip2.c:(.text+0x3db): undefined reference to `len2mask' rip2.c:(.text+0x575): undefined reference to `send_packet' rip2.c:(.text+0x691): undefined reference to `send_packet' ../../lib/librip.a(rip2.o): In function `rip2_process_packet_response': rip2.c:(.text+0x8e1): undefined reference to `mask2len' ../../lib/librip.a(rip2.o): In function `rip2_process_packet_request': rip2.c:(.text+0xb81): undefined reference to `mask2len' ../../lib/librip.a(rip2.o): In function `rip2_receive_update': rip2.c:(.text+0xd27): undefined reference to `recvmsgfrom' rip2.c:(.text+0xf56): undefined reference to `find_interface_local' rip2.c:(.text+0x11dc): undefined reference to `find_interface_local' ../../lib/librip.a(rip2.o): In function `rip2_init_listen': rip2.c:(.text+0x1378): undefined reference to `socket_open' rip2.c:(.text+0x138e): undefined reference to `socket_reuse' rip2.c:(.text+0x139a): undefined reference to `socket_broadcast' rip2.c:(.text+0x13a3): undefined reference to `ip_multicast_loop' rip2.c:(.text+0x13af): undefined reference to `ip_recvttl' rip2.c:(.text+0x13bb): undefined reference to `ip_pktinfo' ../../lib/librip.a(rip2.o): In function `rip2_send_request': rip2.c:(.text+0x16af): undefined reference to `send_packet' ../../lib/librip.a(rip2.o): In function `rip2_start': rip2.c:(.text+0x1740): undefined reference to `socket_open' rip2.c:(.text+0x1756): undefined reference to `socket_reuse' rip2.c:(.text+0x1762): undefined reference to `socket_broadcast' rip2.c:(.text+0x176b): undefined reference to `ip_multicast_loop' rip2.c:(.text+0x1777): undefined reference to `ip_recvttl' rip2.c:(.text+0x1783): undefined reference to `ip_pktinfo' ../../lib/librip.a(ripng.o): In function `ripng_interface': ripng.c:(.text+0x187): undefined reference to `send_packet' ripng.c:(.text+0x1d8): undefined reference to `join_leave_group' ../../lib/librip.a(ripng.o): In function `ripng_send_update': ripng.c:(.text+0x4df): undefined reference to `send_packet' ../../lib/librip.a(ripng.o): In function `ripng_receive_update': ripng.c:(.text+0xd1f): undefined reference to `recvmsgfrom' ripng.c:(.text+0xf47): undefined reference to `find_interface_local' ripng.c:(.text+0x10aa): undefined reference to `find_interface_local' ../../lib/librip.a(ripng.o): In function `ripng_init_listen': ripng.c:(.text+0x1518): undefined reference to `socket_open' ripng.c:(.text+0x152e): undefined reference to `socket_reuse' ripng.c:(.text+0x154c): undefined reference to `socket_rcvbuf' ripng.c:(.text+0x1555): undefined reference to `ipv6_multicast_loop' ripng.c:(.text+0x1561): undefined reference to `ipv6_pktinfo' ripng.c:(.text+0x156d): undefined reference to `ipv6_recvhops' ripng.c:(.text+0x1579): undefined reference to `ipv6_multicast_hops' ripng.c:(.text+0x1585): undefined reference to `ipv6_unicast_hops' ../../lib/librip.a(ripng.o): In function `ripng_send_request': ripng.c:(.text+0x1806): undefined reference to `send_packet' ../../lib/librip.a(ripng.o): In function `ripng_start': ripng.c:(.text+0x1890): undefined reference to `socket_open' ripng.c:(.text+0x18a6): undefined reference to `socket_reuse' ripng.c:(.text+0x18c4): undefined reference to `socket_rcvbuf' ripng.c:(.text+0x18cd): undefined reference to `ipv6_multicast_loop' ripng.c:(.text+0x18d9): undefined reference to `ipv6_pktinfo' ripng.c:(.text+0x18e5): undefined reference to `ipv6_recvhops' ripng.c:(.text+0x18f1): undefined reference to `ipv6_multicast_hops' ripng.c:(.text+0x18fd): undefined reference to `ipv6_unicast_hops' ../../lib/libpim.a(dvmrp.o): In function `dvmrp_send_prune': dvmrp.c:(.text+0x9c9): undefined reference to `IGMP' dvmrp.c:(.text+0xa4c): undefined reference to `igmp_send' ../../lib/libpim.a(dvmrp.o): In function `dvmrp_update_call_fn': dvmrp.c:(.text+0xcd5): undefined reference to `igmp_test_membership' ../../lib/libpim.a(dvmrp.o): In function `dvmrp_send_probe': dvmrp.c:(.text+0xf08): undefined reference to `IGMP' dvmrp.c:(.text+0xf9d): undefined reference to `igmp_send' ../../lib/libpim.a(dvmrp.o): In function `recv_dvmrp': dvmrp.c:(.text+0x13e3): undefined reference to `IGMP' dvmrp.c:(.text+0x13f5): undefined reference to `igmp_is_querier' dvmrp.c:(.text+0x16fa): undefined reference to `IGMP' dvmrp.c:(.text+0x1792): undefined reference to `igmp_send' dvmrp.c:(.text+0x187d): undefined reference to `mask2len' dvmrp.c:(.text+0x1a3e): undefined reference to `find_interface_local' dvmrp.c:(.text+0x1bf3): undefined reference to `IGMP' dvmrp.c:(.text+0x1cae): undefined reference to `igmp_send' dvmrp.c:(.text+0x213b): undefined reference to `IGMP' dvmrp.c:(.text+0x21f4): undefined reference to `igmp_send' dvmrp.c:(.text+0x2298): undefined reference to `IGMP' dvmrp.c:(.text+0x2330): undefined reference to `igmp_send' ../../lib/libpim.a(dvmrp.o): In function `dvmrp_activate_interface': dvmrp.c:(.text+0x36a3): undefined reference to `IGMP' dvmrp.c:(.text+0x37a4): undefined reference to `igmp_interface' dvmrp.c:(.text+0x37b3): undefined reference to `IGMP' dvmrp.c:(.text+0x37cb): undefined reference to `join_leave_group' dvmrp.c:(.text+0x3845): undefined reference to `igmp_interface' ../../lib/libpim.a(dvmrp.o): In function `dvmrp_advertise_route': dvmrp.c:(.text+0x3f9f): undefined reference to `len2mask' dvmrp.c:(.text+0x4118): undefined reference to `IGMP' dvmrp.c:(.text+0x41a1): undefined reference to `igmp_send' dvmrp.c:(.text+0x4252): undefined reference to `IGMP' dvmrp.c:(.text+0x431c): undefined reference to `igmp_send' ../../lib/libpim.a(dvmrp.o): In function `dvmrp_init': dvmrp.c:(.text+0x4809): undefined reference to `IGMP' ../../lib/libpim.a(dvmrp.o): In function `dvmrp_start': dvmrp.c:(.text+0x4917): undefined reference to `IGMP' ../../lib/libpim.a(dvmrp.o): In function `dvmrp_interface_recheck': dvmrp.c:(.text+0x4bb4): undefined reference to `find_network' dvmrp.c:(.text+0x4c84): undefined reference to `find_interface_byname_all' dvmrp.c:(.text+0x4d54): undefined reference to `find_interface_byname_all' ../../lib/libpim.a(dvmrp.o): In function `dvmrp_stop': dvmrp.c:(.text+0x55cb): undefined reference to `IGMP' ../../lib/libpim.a(dvmrp.o): In function `dvmrp_show_routing_table': dvmrp.c:(.text+0x5921): undefined reference to `find_interface_byname' ../../lib/libpim.a(dvmrp.o): In function `dvmrp_show_neighbors': dvmrp.c:(.text+0x5bd7): undefined reference to `find_interface_byname' ../../lib/libpim.a(pim.o): In function `pim_register_neighbor': pim.c:(.text+0xdc): undefined reference to `find_interface_local' ../../lib/libpim.a(pim.o): In function `pim_find_parent.clone.1': pim.c:(.text+0x565): undefined reference to `find_interface_local' ../../lib/libpim.a(pim.o): In function `pim_send.clone.6': pim.c:(.text+0x922): undefined reference to `inet_cksum' pim.c:(.text+0x97d): undefined reference to `send_packet' pim.c:(.text+0xb75): undefined reference to `inet6_cksum' pim.c:(.text+0xccd): undefined reference to `inet_cksum' pim.c:(.text+0xce5): undefined reference to `inet_cksum' ../../lib/libpim.a(pim.o): In function `pim_update_call_fn': pim.c:(.text+0x18a9): undefined reference to `igmp_test_membership' pim.c:(.text+0x1a63): undefined reference to `igmp_test_membership' ../../lib/libpim.a(pim.o): In function `pim_receive': pim.c:(.text+0x299f): undefined reference to `find_interface_local' pim.c:(.text+0x2afb): undefined reference to `recvmsgfrom' pim.c:(.text+0x2ba1): undefined reference to `inet_cksum' ../../lib/libpim.a(pim.o): In function `pim_send': pim.c:(.text+0x472a): undefined reference to `inet_cksum' pim.c:(.text+0x4787): undefined reference to `send_packet' pim.c:(.text+0x4985): undefined reference to `inet6_cksum' pim.c:(.text+0x4add): undefined reference to `inet_cksum' pim.c:(.text+0x4af5): undefined reference to `inet_cksum' ../../lib/libpim.a(pim.o): In function `pim_init': pim.c:(.text+0x4fe3): undefined reference to `IGMP' ../../lib/libpim.a(pim.o): In function `pim_activate_interface': pim.c:(.text+0x5146): undefined reference to `igmp_interface' pim.c:(.text+0x5274): undefined reference to `join_leave_group' pim.c:(.text+0x52be): undefined reference to `igmp_interface' pim.c:(.text+0x553b): undefined reference to `igmp_interface' pim.c:(.text+0x5802): undefined reference to `socket_open' pim.c:(.text+0x581a): undefined reference to `socket_reuse' pim.c:(.text+0x5827): undefined reference to `socket_rcvbuf' pim.c:(.text+0x5834): undefined reference to `ip_hdrincl' pim.c:(.text+0x583e): undefined reference to `ip_multicast_loop' pim.c:(.text+0x584b): undefined reference to `ip_pktinfo' pim.c:(.text+0x5858): undefined reference to `ip_recvttl' ../../lib/libpim.a(cache.o): In function `cache_timer_expire': cache.c:(.text+0x188): undefined reference to `mc_req_mfc' cache.c:(.text+0x23c): undefined reference to `mc_del_mfc' ../../lib/libpim.a(cache.o): In function `cache_update_mfc': cache.c:(.text+0x4c5): undefined reference to `mc_add_mfc' ../../lib/libpim.a(cache.o): In function `cache_control_from_kernel': cache.c:(.text+0x783): undefined reference to `mc_del_mfc' ../../lib/libpim.a(cache.o): In function `cache_init': cache.c:(.text+0x120a): undefined reference to `IGMP' ../../lib/libpim.a(cache.o): In function `show_cache_entries': cache.c:(.text+0x12af): undefined reference to `find_interface_byname' cache.c:(.text+0x154f): undefined reference to `find_interface_byindex' collect2: ld returned 1 exit status *** Error code 1 Stop. bmake: stopped in /tmp/pkgsrc/net/mrt/work/mrt/src/programs/mrtd cd ricd; /usr/pkg/bin/bmake gcc -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include -DFUNCPROTO -I../../include -I/usr/local/include -c ricd.c In file included from ricd.c:12:0: ricd.h:164:8: warning: extra tokens at end of #endif directive ricd.c:159:1: warning: return type of 'main' is not 'int' gcc -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include -DFUNCPROTO -I../../include -I/usr/local/include -c hqlip.c In file included from hqlip.c:5:0: ricd.h:164:8: warning: extra tokens at end of #endif directive hqlip.c: In function 'hqlip_calc_ilink': hqlip.c:651:15: warning: unused variable 'req_qos' hqlip.c: In function 'spath_calc_elink': hqlip.c:725:15: warning: unused variable 'req_qos' hqlip.c: In function 'hqlip_send_hello': hqlip.c:913:22: warning: pointer targets in passing argument 2 of 'send_packet' differ in signedness ../../include/interface.h:189:5: note: expected 'u_char *' but argument is of type 'char *' hqlip.c: In function 'hqlip_put_area': hqlip.c:1074:20: warning: pointer targets in initialization differ in signedness hqlip.c: In function 'hqlip_put_addr': hqlip.c:1144:20: warning: pointer targets in initialization differ in signedness hqlip.c: In function 'hqlip_prepare_link_qos': hqlip.c:1199:5: warning: pointer targets in passing argument 2 of 'hqlip_put_area' differ in signedness hqlip.c:1070:1: note: expected 'u_char *' but argument is of type 'char *' hqlip.c:1199:8: warning: pointer targets in assignment differ in signedness hqlip.c:1200:5: warning: pointer targets in passing argument 2 of 'hqlip_put_area' differ in signedness hqlip.c:1070:1: note: expected 'u_char *' but argument is of type 'char *' hqlip.c:1200:8: warning: pointer targets in assignment differ in signedness hqlip.c: In function 'hqlip_send_link_qos': hqlip.c:1279:11: warning: pointer targets in passing argument 8 of 'hqlip_send_message' differ in signedness hqlip.c:985:1: note: expected 'u_char *' but argument is of type 'char *' hqlip.c: In function 'hqlip_send_area_center': hqlip.c:1468:9: warning: pointer targets in passing argument 2 of 'hqlip_put_area' differ in signedness hqlip.c:1070:1: note: expected 'u_char *' but argument is of type 'char *' hqlip.c:1468:12: warning: pointer targets in assignment differ in signedness hqlip.c:1486:11: warning: pointer targets in passing argument 8 of 'hqlip_send_message' differ in signedness hqlip.c:985:1: note: expected 'u_char *' but argument is of type 'char *' hqlip.c: In function 'hqlip_send_area_addr': hqlip.c:1979:9: warning: pointer targets in passing argument 2 of 'hqlip_put_area' differ in signedness hqlip.c:1070:1: note: expected 'u_char *' but argument is of type 'char *' hqlip.c:1979:12: warning: pointer targets in assignment differ in signedness hqlip.c:1982:17: warning: pointer targets in passing argument 2 of 'hqlip_put_addr' differ in signedness hqlip.c:1139:1: note: expected 'u_char *' but argument is of type 'char *' hqlip.c:1982:20: warning: pointer targets in assignment differ in signedness hqlip.c:1997:11: warning: pointer targets in passing argument 8 of 'hqlip_send_message' differ in signedness hqlip.c:985:1: note: expected 'u_char *' but argument is of type 'char *' hqlip.c: In function 'hqlip_connect_ready': hqlip.c:2296:4: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness /usr/include/sys/socket.h:133:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' hqlip.c: In function 'hqlip_vif_udp_init': hqlip.c:2866:25: warning: pointer targets in initialization differ in signedness hqlip.c: In function 'hqlip_vif_tcp_init': hqlip.c:2934:25: warning: pointer targets in initialization differ in signedness hqlip.c: At top level: hqlip.c:52:1: warning: 'my_area_is_center' defined but not used hqlip.c:448:1: warning: 'list_link_qos' defined but not used hqlip.c:790:1: warning: 'hqlip_update_elink' defined but not used hqlip.c: In function 'hqlip_recv_area_addr.clone.21': hqlip.c:2035:16: warning: 'prefix' may be used uninitialized in this function gcc -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include -DFUNCPROTO -I../../include -I/usr/local/include -c ricdconf.c In file included from ricdconf.c:5:0: ricd.h:164:8: warning: extra tokens at end of #endif directive gcc -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include -DFUNCPROTO -I../../include -I/usr/local/include -c area.c In file included from area.c:5:0: ricd.h:164:8: warning: extra tokens at end of #endif directive area.c: In function 'add_area': area.c:51:10: warning: unused variable 'sbuf' gcc -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include -DFUNCPROTO -I../../include -I/usr/local/include -c srsvp.c In file included from srsvp.c:5:0: ricd.h:164:8: warning: extra tokens at end of #endif directive srsvp.c: In function 'srsvp_connect_ready': srsvp.c:399:4: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness /usr/include/sys/socket.h:133:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' srsvp.c: In function 'srsvp_vif_tcp_init': srsvp.c:910:25: warning: pointer targets in initialization differ in signedness gcc -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include -DFUNCPROTO -I../../include -I/usr/local/include -c qif.c In file included from qif.c:5:0: ricd.h:164:8: warning: extra tokens at end of #endif directive gcc -Wl,-R/usr/pkg/lib -L/usr/local/lib ricd.o hqlip.o ricdconf.o area.o srsvp.o qif.o ../../lib/libcfg.a ../../lib/librib.a ../../lib/libmrt.a -o ricd -lresolv ricd.o: In function `main': ricd.c:(.text+0x218): undefined reference to `init_interfaces' ricd.c:(.text+0x348): undefined reference to `kernel_init' hqlip.o: In function `hqlip_vif_udp_init': hqlip.c:(.text+0xe47): undefined reference to `socket_open' hqlip.c:(.text+0xe5d): undefined reference to `socket_reuse' hqlip.c:(.text+0xe79): undefined reference to `join_leave_group' hqlip.c:(.text+0xe8a): undefined reference to `socket_bind_port' hqlip.c:(.text+0xe9f): undefined reference to `ip_multicast_loop' hqlip.c:(.text+0xeab): undefined reference to `ip_multicast_hops' hqlip.c:(.text+0xeb7): undefined reference to `ip_pktinfo' hqlip.c:(.text+0xec3): undefined reference to `ip_recvttl' hqlip.c:(.text+0xf2a): undefined reference to `socket_open' hqlip.c:(.text+0xf3c): undefined reference to `socket_reuse' hqlip.c:(.text+0xf4c): undefined reference to `socket_bind_port' hqlip.c:(.text+0xf61): undefined reference to `ip_pktinfo' hqlip.c:(.text+0xf6d): undefined reference to `ip_recvttl' hqlip.c:(.text+0xfc8): undefined reference to `ipv6_multicast_loop' hqlip.c:(.text+0xfd4): undefined reference to `ipv6_multicast_hops' hqlip.c:(.text+0xfe0): undefined reference to `ipv6_pktinfo' hqlip.c:(.text+0xfec): undefined reference to `ipv6_recvhops' hqlip.c:(.text+0x1000): undefined reference to `ipv6_pktinfo' hqlip.c:(.text+0x100c): undefined reference to `ipv6_recvhops' hqlip.o: In function `hqlip_send_hello': hqlip.c:(.text+0x5901): undefined reference to `send_packet' hqlip.o: In function `hqlip_register_neighbor': hqlip.c:(.text+0x7a8a): undefined reference to `socket_bind_port' hqlip.o: In function `hqlip_recv_hello': hqlip.c:(.text+0x7c43): undefined reference to `recvmsgfrom' hqlip.o: In function `hqlip_open_accept': hqlip.c:(.text+0x7ff2): undefined reference to `get_socket_addr' hqlip.o: In function `hqlip_activate_interface': hqlip.c:(.text+0x9aa7): undefined reference to `socket_open' hqlip.c:(.text+0x9aba): undefined reference to `socket_reuse' hqlip.c:(.text+0x9acd): undefined reference to `socket_bind_port' hqlip.c:(.text+0x9beb): undefined reference to `socket_open' hqlip.c:(.text+0x9c02): undefined reference to `socket_reuse' hqlip.c:(.text+0x9c15): undefined reference to `socket_bind_port' hqlip.c:(.text+0x9d6a): undefined reference to `join_leave_group' hqlip.o: In function `hqlip_show_neighbors': hqlip.c:(.text+0xa7c4): undefined reference to `find_interface_byname' ricdconf.o: In function `config_ric_network_if_qos_prefix': ricdconf.c:(.text+0x4683): undefined reference to `find_interface_byname' srsvp.o: In function `srsvp_keep_alive': srsvp.c:(.text+0x266): undefined reference to `get_socket_addr' srsvp.o: In function `srsvp_tcp_connect': srsvp.c:(.text+0xc3a): undefined reference to `socket_bind_port' srsvp.o: In function `srsvp_open_accept': srsvp.c:(.text+0x12b4): undefined reference to `get_socket_addr' srsvp.o: In function `srsvp_activate_interface': srsvp.c:(.text+0x59aa): undefined reference to `socket_open' srsvp.c:(.text+0x59c1): undefined reference to `socket_reuse' srsvp.c:(.text+0x59d4): undefined reference to `socket_bind_port' srsvp.o: In function `srsvp_show_neighbors': srsvp.c:(.text+0x60d4): undefined reference to `find_interface_byname' ../../lib/libcfg.a(commconf.o): In function `re_evaluate_static_routes': commconf.c:(.text+0x137): undefined reference to `find_interface' commconf.c:(.text+0x14d): undefined reference to `find_interface_local' ../../lib/libcfg.a(commconf.o): In function `config_gateway': commconf.c:(.text+0x425): undefined reference to `find_interface_byname' ../../lib/libcfg.a(commconf.o): In function `config_interface': commconf.c:(.text+0x65e): undefined reference to `find_interface_byname' ../../lib/libcfg.a(commconf.o): In function `config_ip_route': commconf.c:(.text+0x879): undefined reference to `find_interface_byname' commconf.c:(.text+0xc61): undefined reference to `find_interface' commconf.c:(.text+0xc7c): undefined reference to `find_interface_local' ../../lib/libcfg.a(commconf.o): In function `init_mrtd_config': commconf.c:(.text+0x122d): undefined reference to `show_interfaces' collect2: ld returned 1 exit status *** Error code 1 Stop. bmake: stopped in /tmp/pkgsrc/net/mrt/work/mrt/src/programs/ricd cd route_atob; /usr/pkg/bin/bmake gcc -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include -DFUNCPROTO -I../../include -I/usr/local/include -c route_atob.c route_atob.c: In function 'read_ascii': route_atob.c:428:6: warning: implicit declaration of function 'strptime' route_atob.c: At top level: route_atob.c:690:1: warning: return type of 'main' is not 'int' gcc -Wl,-R/usr/pkg/lib -L/usr/local/lib route_atob.o ../../lib/libbgp.a ../../lib/libmrt.a -o route_atob -lresolv cd route_btoa; /usr/pkg/bin/bmake gcc -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include -DFUNCPROTO -I../../include -I/usr/local/include -c route_btoa.c route_btoa.c:698:1: warning: return type of 'main' is not 'int' gcc -Wl,-R/usr/pkg/lib -L/usr/local/lib route_btoa.o ../../lib/libbgp.a ../../lib/libmrt.a -o route_btoa -lresolv cd sbgp; /usr/pkg/bin/bmake gcc -O2 -O3 -pipe -fstack-protector -Wall -DHAVE_CONFIG_H -DFUNCPROTO -I../../include -I/usr/local/include -DFUNCPROTO -I../../include -I/usr/local/include -c simple_bgp.c gcc -Wl,-R/usr/pkg/lib -L/usr/local/lib simple_bgp.o ../../lib/libbgp.a ../../lib/libcfg.a ../../lib/librib.a ../../lib/libmrt.a ../../lib/libbgp.a -o sbgp -lresolv simple_bgp.o: In function `main': simple_bgp.c:(.text+0x817): undefined reference to `init_interfaces' ../../lib/libbgp.a(bgp_util.o): In function `peer_set_gateway': bgp_util.c:(.text+0x267f): undefined reference to `get_socket_addr' bgp_util.c:(.text+0x2697): undefined reference to `get_socket_addr' bgp_util.c:(.text+0x26c4): undefined reference to `find_interface_local' bgp_util.c:(.text+0x2822): undefined reference to `find_interface_local' bgp_util.c:(.text+0x2865): undefined reference to `find_interface' bgp_util.c:(.text+0x2895): undefined reference to `find_interface_local' ../../lib/libbgp.a(bgp_util.o): In function `bgp_start_transport_connection': bgp_util.c:(.text+0x29cc): undefined reference to `socket_reuse' ../../lib/libbgp.a(bgp_util.o): In function `init_BGP_listen': bgp_util.c:(.text+0x3474): undefined reference to `socket_reuse' ../../lib/libbgp.a(bgp_util.o): In function `bgp_in_recv_open': bgp_util.c:(.text+0x7015): undefined reference to `get_socket_addr' ../../lib/libbgp.a(view.o): In function `bgp_policy': view.c:(.text+0x749): undefined reference to `find_interface_local' ../../lib/libbgp.a(view.o): In function `bgp_resolve_nexthop': view.c:(.text+0x16fb): undefined reference to `find_interface' view.c:(.text+0x1748): undefined reference to `find_interface_local' ../../lib/libbgp.a(view.o): In function `view_set_nexthop_self': view.c:(.text+0x3928): undefined reference to `find_interface' ../../lib/libbgp.a(view.o): In function `view_add_aggregate': view.c:(.text+0x614d): undefined reference to `find_interface' view.c:(.text+0x617d): undefined reference to `find_interface' view.c:(.text+0x61ca): undefined reference to `find_interface' ../../lib/libcfg.a(commconf.o): In function `re_evaluate_static_routes': commconf.c:(.text+0x137): undefined reference to `find_interface' commconf.c:(.text+0x14d): undefined reference to `find_interface_local' ../../lib/libcfg.a(commconf.o): In function `config_gateway': commconf.c:(.text+0x425): undefined reference to `find_interface_byname' ../../lib/libcfg.a(commconf.o): In function `config_interface': commconf.c:(.text+0x65e): undefined reference to `find_interface_byname' ../../lib/libcfg.a(commconf.o): In function `config_ip_route': commconf.c:(.text+0x879): undefined reference to `find_interface_byname' commconf.c:(.text+0xc61): undefined reference to `find_interface' commconf.c:(.text+0xc7c): undefined reference to `find_interface_local' ../../lib/libcfg.a(commconf.o): In function `init_mrtd_config': commconf.c:(.text+0x122d): undefined reference to `show_interfaces' collect2: ld returned 1 exit status *** Error code 1 Stop. bmake: stopped in /tmp/pkgsrc/net/mrt/work/mrt/src/programs/sbgp => Unwrapping files-to-be-installed.