=> Bootstrap dependency digest>=20010302: found digest-20111104
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 -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include aspath.c
In file included from aspath.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - aspath.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include bgp_attr.c
In file included from bgp_attr.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - bgp_attr.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include as_regexp.c
In file included from as_regexp.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - as_regexp.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include as_alist.c
In file included from as_alist.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - as_alist.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include bgp_msg.c
In file included from bgp_msg.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - bgp_msg.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include community.c
In file included from community.c:6:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - community.o
cd bgp_proto; /usr/pkg/bin/bmake
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include bgp_util.c
In file included from bgp_util.c:6:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
bgp_util.c: In function 'bgp_connect_ready':
bgp_util.c:131: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness
bgp_util.c: In function 'bgp_schedule_recv_in':
bgp_util.c:361: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness
bgp_util.c: In function 'bgp_in_accept_connection':
bgp_util.c:778: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness
bgp_util.c: In function 'bgp_make_tail':
bgp_util.c:2275: warning: pointer targets in initialization differ in signedness
bgp_util.c: In function 'bgp_put_a_line':
bgp_util.c:2316: warning: pointer targets in passing argument 10 of 'rib_show_route_line' differ in signedness
bgp_util.c: In function 'bgp_dump_rtin':
bgp_util.c:2606: warning: pointer targets in passing argument 10 of 'rib_show_route_line' differ in signedness
a - bgp_util.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include bgp_sm.c
In file included from bgp_sm.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - bgp_sm.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include bgp_pdu.c
In file included from bgp_pdu.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - bgp_pdu.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include view.c
In file included from view.c:6:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - view.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include bgp_timer.c
In file included from bgp_timer.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - bgp_timer.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include bgp_thread.c
In file included from bgp_thread.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - bgp_thread.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include bgp_dump.c
In file included from bgp_dump.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - bgp_dump.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include bgp_dump2.c
In file included from bgp_dump2.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - bgp_dump2.o
cd config; /usr/pkg/bin/bmake
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include config_file.c
In file included from config_file.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - config_file.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include commconf.c
In file included from commconf.c:6:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - commconf.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include bgpconf.c
In file included from bgpconf.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - bgpconf.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include rtmapconf.c
In file included from rtmapconf.c:6:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - rtmapconf.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include load.c
In file included from load.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - load.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include ripconf.c
In file included from ripconf.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - ripconf.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include multiconf.c
In file included from multiconf.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
In file included from multiconf.c:11:
../../include/pim.h:147: error: 'MAXVIFS' undeclared here (not in a function)
*** Error code 1

Stop.
bmake: stopped in /Users/kristerw/pbulk/scratch/net/mrt/work/mrt/src/lib/config
cd filter; /usr/pkg/bin/bmake
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include filter.c
In file included from filter.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - filter.o
cd io; /usr/pkg/bin/bmake
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include io.c
In file included from io.c:12:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - io.o
cd kernel; /usr/pkg/bin/bmake
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include none.c
In file included from none.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - none.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include common.c
In file included from common.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - common.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include kernel_uii.c
In file included from kernel_uii.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - kernel_uii.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include socket.c
In file included from socket.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
socket.c: In function 'ip_multicast_loop_get':
socket.c:144: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness
socket.c:285:9: warning: unknown escape sequence '\m'
socket.c: In function 'ipv6_multicast_loop_get':
socket.c:399: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness
socket.c: In function 'join_leave_group':
socket.c:525: warning: statement with no effect
socket.c: In function 'send_packet':
socket.c:777: error: 'IPV6_PKTINFO' undeclared (first use in this function)
socket.c:777: error: (Each undeclared identifier is reported only once
socket.c:777: error: for each function it appears in.)
socket.c: In function 'get_socket_addr':
socket.c:1305: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness
socket.c:1307: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness
*** Error code 1

Stop.
bmake: stopped in /Users/kristerw/pbulk/scratch/net/mrt/work/mrt/src/lib/kernel
cd mrt; /usr/pkg/bin/bmake
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include util.c
In file included from util.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - util.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include prefix.c
In file included from prefix.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - prefix.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include route_util.c
In file included from route_util.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
route_util.c:71: warning: type qualifiers ignored on function return type
a - route_util.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include gateway.c
In file included from gateway.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - gateway.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include mrt.c
In file included from mrt.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
mrt.c: In function 'mrt_accept':
mrt.c:580: warning: pointer targets in passing argument 3 of 'accept' differ in signedness
a - mrt.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include user.c
In file included from user.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
user.c: In function 'uii_translate_machine_token_to_human':
user.c:2372: warning: format not a string literal and no format arguments
a - user.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include schedule.c
In file included from schedule.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - schedule.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include alist.c
In file included from alist.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - alist.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include trace.c
In file included from trace.c:6:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
trace.c: In function 'trace':
trace.c:139: warning: format not a string literal and no format arguments
trace.c: In function 'get_trace_fd':
trace.c:395: warning: format not a string literal and no format arguments
trace.c:395: warning: format not a string literal and no format arguments
trace.c:410: warning: format not a string literal and no format arguments
trace.c:410: warning: format not a string literal and no format arguments
a - trace.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include select.c
In file included from select.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - select.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include connect.c
In file included from connect.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
connect.c: In function 'nonblock_connect':
connect.c:97: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness
a - connect.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include reboot.c
In file included from reboot.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - reboot.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include user_old.c
In file included from user_old.c:7:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - user_old.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include user_util.c
In file included from user_util.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - user_util.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include compat.c
/usr/bin/ranlib: file: ../../lib/libmrt.a(compat.o) has no symbols
a - compat.o
ranlib: file: ../../lib/libmrt.a(compat.o) has no symbols
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include vars.c
In file included from vars.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
/usr/bin/ranlib: file: ../../lib/libmrt.a(compat.o) has no symbols
a - vars.o
ranlib: file: ../../lib/libmrt.a(compat.o) has no symbols
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include nexthop.c
In file included from nexthop.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
nexthop.c: In function 'is_prefix_local_on':
nexthop.c:393: warning: unused variable 'sin6_addr'
/usr/bin/ranlib: file: ../../lib/libmrt.a(compat.o) has no symbols
a - nexthop.o
ranlib: file: ../../lib/libmrt.a(compat.o) has no symbols
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include buffer.c
In file included from buffer.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
buffer.c:232: error: expected declaration specifiers or '...' before numeric constant
buffer.c:232: error: expected declaration specifiers or '...' before '__builtin_object_size'
buffer.c:233: warning: conflicting types for built-in function '__builtin___snprintf_chk'
*** Error code 1

Stop.
bmake: stopped in /Users/kristerw/pbulk/scratch/net/mrt/work/mrt/src/lib/mrt
cd pim; /usr/pkg/bin/bmake
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include dvmrp.c
In file included from dvmrp.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
dvmrp.c:1277: warning: 'dvmrp_timer_probe' defined but not used
dvmrp.c:1760: warning: 'dvmrp_route_compare' defined but not used
a - dvmrp.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include pim.c
In file included from pim.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
In file included from pim.c:12:
../../include/pim.h:147: error: 'MAXVIFS' undeclared here (not in a function)
*** Error code 1

Stop.
bmake: stopped in /Users/kristerw/pbulk/scratch/net/mrt/work/mrt/src/lib/pim
cd portserver; /usr/pkg/bin/bmake
cd radix; /usr/pkg/bin/bmake
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include radix.c
In file included from radix.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
/usr/bin/ranlib: file: ../../lib/libmrt.a(compat.o) has no symbols
a - radix.o
ranlib: file: ../../lib/libmrt.a(compat.o) has no symbols
cd rib; /usr/pkg/bin/bmake
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include rib.c
In file included from rib.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
rib.c:933: warning: 'rib_if_call_fn' defined but not used
a - rib.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include rib_uii.c
In file included from rib_uii.c:6:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - rib_uii.o
cd rip; /usr/pkg/bin/bmake
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include rip_proto.c
In file included from rip_proto.c:6:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - rip_proto.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include rip2.c
In file included from rip2.c:15:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - rip2.o
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include ripng.c
In file included from ripng.c:23:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
a - ripng.o
cd struct; /usr/pkg/bin/bmake
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include New.c
/usr/bin/ranlib: file: ../../lib/libmrt.a(compat.o) has no symbols
a - New.o
ranlib: file: ../../lib/libmrt.a(compat.o) has no symbols
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include stack.c
/usr/bin/ranlib: file: ../../lib/libmrt.a(compat.o) has no symbols
a - stack.o
ranlib: file: ../../lib/libmrt.a(compat.o) has no symbols
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include array.c
/usr/bin/ranlib: file: ../../lib/libmrt.a(compat.o) has no symbols
a - array.o
ranlib: file: ../../lib/libmrt.a(compat.o) has no symbols
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include linked_list.c
/usr/bin/ranlib: file: ../../lib/libmrt.a(compat.o) has no symbols
a - linked_list.o
ranlib: file: ../../lib/libmrt.a(compat.o) has no symbols
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include hash.c
/usr/bin/ranlib: file: ../../lib/libmrt.a(compat.o) has no symbols
a - hash.o
ranlib: file: ../../lib/libmrt.a(compat.o) has no symbols
cd timer; /usr/pkg/bin/bmake
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include timer.c
In file included from timer.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
/usr/bin/ranlib: file: ../../lib/libmrt.a(compat.o) has no symbols
a - timer.o
ranlib: file: ../../lib/libmrt.a(compat.o) has no symbols
gcc -c -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include signal.c
In file included from signal.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
/usr/bin/ranlib: file: ../../lib/libmrt.a(compat.o) has no symbols
a - signal.o
ranlib: file: ../../lib/libmrt.a(compat.o) has no symbols
Making programs
cd bgpsim; /usr/pkg/bin/bmake
gcc -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include -DINET6 -DFUNCPROTO -I../../include -c bgpsim.c
In file included from bgpsim.c:6:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
bgpsim.c: In function 'main':
bgpsim.c:579: warning: format not a string literal and no format arguments
bgpsim.c:579: warning: format not a string literal and no format arguments
gcc -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include -DINET6 -DFUNCPROTO -I../../include -c simulate.c
In file included from simulate.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
gcc -L/usr/pkg/lib bgpsim.o simulate.o ../../lib/libcfg.a ../../lib/libbgp.a ../../lib/librib.a ../../lib/libmrt.a -o bgpsim -lresolv
Undefined symbols for architecture i386:
  "_Delete_Buffer", referenced from:
      _Destroy_Trace in libmrt.a(trace.o)
      _bgp_dump_rtin in libbgp.a(bgp_util.o)
      _bgp_put_a_line in libbgp.a(bgp_util.o)
      _config_from_file2 in libcfg.a(config_file.o)
      _uii_destroy_connection in libmrt.a(user.o)
      _uii_proccess_command in libmrt.a(user.o)
      _uii_send_buffer_del in libmrt.a(user_util.o)
      ...
  "_New_Buffer", referenced from:
      _trace in libmrt.a(trace.o)
      _bgp_dump_rtin in libbgp.a(bgp_util.o)
      _bgp_put_a_line in libbgp.a(bgp_util.o)
      _config_add_output in libcfg.a(config_file.o)
      _uii_add_bulk_output in libmrt.a(user.o)
      _uii_proccess_command in libmrt.a(user.o)
      _uii_accept_connection in libmrt.a(user.o)
      ...
  "_New_Buffer_Stream", referenced from:
      _config_from_file2 in libcfg.a(config_file.o)
  "_buffer_adjust", referenced from:
      _trace in libmrt.a(trace.o)
      _show_config in libcfg.a(config_file.o)
      _config_write in libcfg.a(config_file.o)
      _uii_command_tab_complete in libmrt.a(user.o)
      _uii_send_bulk_data in libmrt.a(user.o)
      _uii_yes_no in libmrt.a(user.o)
      _uii_read_command in libmrt.a(user.o)
      ...
  "_buffer_delete", referenced from:
      _uii_read_command in libmrt.a(user.o)
  "_buffer_gets", referenced from:
      _config_from_file2 in libcfg.a(config_file.o)
  "_buffer_insert", referenced from:
      _uii_read_command in libmrt.a(user.o)
  "_buffer_peek", referenced from:
      _uii_read_command in libmrt.a(user.o)
  "_buffer_printf", referenced from:
      _print_pref_prefix_list_buffer in libmrt.a(prefix.o)
      _print_prefix_list_buffer in libmrt.a(prefix.o)
      _trace in libmrt.a(trace.o)
      _bgp_make_tail in libbgp.a(bgp_util.o)
      _uii_command_tab_complete in libmrt.a(user.o)
      _route_toa_buffer in librib.a(rib.o)
      _bgp_print_attr_buffer in libbgp.a(bgp_msg.o)
      ...
  "_buffer_putc", referenced from:
      _bgp_make_tail in libbgp.a(bgp_util.o)
  "_buffer_puts", referenced from:
      _uii_proccess_command in libmrt.a(user.o)
      _uii_read_command in libmrt.a(user.o)
      _uii_send_buffer in libmrt.a(user_util.o)
  "_buffer_vprintf", referenced from:
      _trace in libmrt.a(trace.o)
      _config_add_output in libcfg.a(config_file.o)
      _uii_add_bulk_output in libmrt.a(user.o)
      _uii_send_data in libmrt.a(user_util.o)
      _user_vnotice in libmrt.a(user_util.o)
  "_get_socket_addr", referenced from:
      _peer_set_gateway in libbgp.a(bgp_util.o)
      _bgp_in_recv_open in libbgp.a(bgp_util.o)
  "_ip_hash_fn", referenced from:
      _init_mrtd_config in libcfg.a(commconf.o)
      _bgp_resolve_nexthop in libbgp.a(view.o)
      _init_mrtd_config in libcfg.a(commconf.o)
      _bgp_resolve_nexthop in libbgp.a(view.o)
  "_ip_lookup_fn", referenced from:
      _init_mrtd_config in libcfg.a(commconf.o)
      _bgp_resolve_nexthop in libbgp.a(view.o)
      _init_mrtd_config in libcfg.a(commconf.o)
      _bgp_resolve_nexthop in libbgp.a(view.o)
  "_socket_reuse", referenced from:
      _init_BGP_listen in libbgp.a(bgp_util.o)
      _bgp_start_transport_connection in libbgp.a(bgp_util.o)
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in /Users/kristerw/pbulk/scratch/net/mrt/work/mrt/src/programs/bgpsim
cd mrtd; /usr/pkg/bin/bmake
gcc -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include -DINET6 -DFUNCPROTO -I../../include -c mrtd.c
In file included from mrtd.c:14:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
In file included from mrtd.c:17:
../../include/pim.h:147: error: 'MAXVIFS' undeclared here (not in a function)
mrtd.c:120: warning: return type of 'main' is not 'int'
mrtd.c: In function 'main':
mrtd.c:139: warning: unused variable 'pp'
*** Error code 1

Stop.
bmake: stopped in /Users/kristerw/pbulk/scratch/net/mrt/work/mrt/src/programs/mrtd
cd ricd; /usr/pkg/bin/bmake
gcc -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include -DINET6 -DFUNCPROTO -I../../include -c ricd.c
In file included from ricd.h:8,
                 from ricd.c:12:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
ricd.c:160: warning: return type of 'main' is not 'int'
gcc -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include -DINET6 -DFUNCPROTO -I../../include -c hqlip.c
In file included from ricd.h:8,
                 from hqlip.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
hqlip.c: In function 'hqlip_calc_ilink':
hqlip.c:651: warning: unused variable 'req_qos'
hqlip.c: In function 'spath_calc_elink':
hqlip.c:725: warning: unused variable 'req_qos'
hqlip.c: In function 'hqlip_send_hello':
hqlip.c:913: warning: pointer targets in passing argument 2 of 'send_packet' differ in signedness
hqlip.c: In function 'hqlip_put_area':
hqlip.c:1074: warning: pointer targets in initialization differ in signedness
hqlip.c: In function 'hqlip_put_addr':
hqlip.c:1144: warning: pointer targets in initialization differ in signedness
hqlip.c: In function 'hqlip_prepare_link_qos':
hqlip.c:1199: warning: pointer targets in passing argument 2 of 'hqlip_put_area' differ in signedness
hqlip.c:1199: warning: pointer targets in assignment differ in signedness
hqlip.c:1200: warning: pointer targets in passing argument 2 of 'hqlip_put_area' differ in signedness
hqlip.c:1200: warning: pointer targets in assignment differ in signedness
hqlip.c: In function 'hqlip_send_link_qos':
hqlip.c:1279: warning: pointer targets in passing argument 8 of 'hqlip_send_message' differ in signedness
hqlip.c: In function 'hqlip_send_area_center':
hqlip.c:1468: warning: pointer targets in passing argument 2 of 'hqlip_put_area' differ in signedness
hqlip.c:1468: warning: pointer targets in assignment differ in signedness
hqlip.c:1486: warning: pointer targets in passing argument 8 of 'hqlip_send_message' differ in signedness
hqlip.c: In function 'hqlip_send_area_addr':
hqlip.c:1979: warning: pointer targets in passing argument 2 of 'hqlip_put_area' differ in signedness
hqlip.c:1979: warning: pointer targets in assignment differ in signedness
hqlip.c:1982: warning: pointer targets in passing argument 2 of 'hqlip_put_addr' differ in signedness
hqlip.c:1982: warning: pointer targets in assignment differ in signedness
hqlip.c:1997: warning: pointer targets in passing argument 8 of 'hqlip_send_message' differ in signedness
hqlip.c: In function 'hqlip_connect_ready':
hqlip.c:2296: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness
hqlip.c: In function 'hqlip_vif_udp_init':
hqlip.c:2866: warning: pointer targets in initialization differ in signedness
hqlip.c: In function 'hqlip_vif_tcp_init':
hqlip.c:2934: warning: pointer targets in initialization differ in signedness
hqlip.c: At top level:
hqlip.c:53: warning: 'my_area_is_center' defined but not used
hqlip.c:449: warning: 'list_link_qos' defined but not used
hqlip.c:791: warning: 'hqlip_update_elink' defined but not used
gcc -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include -DINET6 -DFUNCPROTO -I../../include -c ricdconf.c
In file included from ricd.h:8,
                 from ricdconf.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
gcc -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include -DINET6 -DFUNCPROTO -I../../include -c area.c
In file included from ricd.h:8,
                 from area.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
area.c: In function 'add_area':
area.c:51: warning: unused variable 'sbuf'
gcc -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include -DINET6 -DFUNCPROTO -I../../include -c srsvp.c
In file included from ricd.h:8,
                 from srsvp.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
srsvp.c: In function 'srsvp_connect_ready':
srsvp.c:399: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness
srsvp.c: In function 'srsvp_vif_tcp_init':
srsvp.c:910: warning: pointer targets in initialization differ in signedness
gcc -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include -DINET6 -DFUNCPROTO -I../../include -c qif.c
In file included from ricd.h:8,
                 from qif.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
gcc -L/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
Undefined symbols for architecture i386:
  "_Delete_Buffer", referenced from:
      _Destroy_Trace in libmrt.a(trace.o)
      _config_from_file2 in libcfg.a(config_file.o)
      _uii_destroy_connection in libmrt.a(user.o)
      _uii_proccess_command in libmrt.a(user.o)
      _rib_replace_active in librib.a(rib.o)
      _rib_delete_route_node in librib.a(rib.o)
      _rib_add_route in librib.a(rib.o)
      ...
  "_New_Buffer", referenced from:
      _trace in libmrt.a(trace.o)
      _config_add_output in libcfg.a(config_file.o)
      _uii_add_bulk_output in libmrt.a(user.o)
      _uii_proccess_command in libmrt.a(user.o)
      _uii_accept_connection in libmrt.a(user.o)
      _route_toa_buffer in librib.a(rib.o)
      _rib_replace_active in librib.a(rib.o)
      ...
  "_New_Buffer_Stream", referenced from:
      _config_from_file2 in libcfg.a(config_file.o)
  "_buffer_adjust", referenced from:
      _trace in libmrt.a(trace.o)
      _show_config in libcfg.a(config_file.o)
      _config_write in libcfg.a(config_file.o)
      _uii_command_tab_complete in libmrt.a(user.o)
      _uii_send_bulk_data in libmrt.a(user.o)
      _uii_yes_no in libmrt.a(user.o)
      _uii_read_command in libmrt.a(user.o)
      ...
  "_buffer_delete", referenced from:
      _uii_read_command in libmrt.a(user.o)
  "_buffer_gets", referenced from:
      _config_from_file2 in libcfg.a(config_file.o)
  "_buffer_insert", referenced from:
      _uii_read_command in libmrt.a(user.o)
  "_buffer_peek", referenced from:
      _uii_read_command in libmrt.a(user.o)
  "_buffer_printf", referenced from:
      _print_pref_prefix_list_buffer in libmrt.a(prefix.o)
      _print_prefix_list_buffer in libmrt.a(prefix.o)
      _trace in libmrt.a(trace.o)
      _uii_command_tab_complete in libmrt.a(user.o)
      _route_toa_buffer in librib.a(rib.o)
  "_buffer_puts", referenced from:
      _uii_proccess_command in libmrt.a(user.o)
      _uii_read_command in libmrt.a(user.o)
      _uii_send_buffer in libmrt.a(user_util.o)
  "_buffer_vprintf", referenced from:
      _trace in libmrt.a(trace.o)
      _config_add_output in libcfg.a(config_file.o)
      _uii_add_bulk_output in libmrt.a(user.o)
      _uii_send_data in libmrt.a(user_util.o)
      _user_vnotice in libmrt.a(user_util.o)
  "_get_socket_addr", referenced from:
      _hqlip_open_accept in hqlip.o
      _srsvp_open_accept in srsvp.o
      _srsvp_keep_alive in srsvp.o
  "_ip_hash_fn", referenced from:
      _area_hash_fn in area.o
      _srsvp_flow_hash_fn in srsvp.o
      _init_mrtd_config in libcfg.a(commconf.o)
  "_ip_lookup_fn", referenced from:
      _init_mrtd_config in libcfg.a(commconf.o)
  "_ip_multicast_hops", referenced from:
      _hqlip_vif_udp_init in hqlip.o
  "_ip_multicast_loop", referenced from:
      _hqlip_vif_udp_init in hqlip.o
  "_ip_pktinfo", referenced from:
      _hqlip_vif_udp_init in hqlip.o
  "_ip_recvttl", referenced from:
      _hqlip_vif_udp_init in hqlip.o
  "_ipv6_multicast_hops", referenced from:
      _hqlip_vif_udp_init in hqlip.o
  "_ipv6_multicast_loop", referenced from:
      _hqlip_vif_udp_init in hqlip.o
  "_ipv6_pktinfo", referenced from:
      _hqlip_vif_udp_init in hqlip.o
  "_ipv6_recvhops", referenced from:
      _hqlip_vif_udp_init in hqlip.o
  "_join_leave_group", referenced from:
      _hqlip_vif_udp_init in hqlip.o
      _hqlip_activate_interface in hqlip.o
  "_recvmsgfrom", referenced from:
      _hqlip_recv_hello in hqlip.o
  "_send_packet", referenced from:
      _hqlip_send_hello in hqlip.o
  "_socket_bind_port", referenced from:
      _hqlip_vif_udp_init in hqlip.o
      _hqlip_register_neighbor in hqlip.o
      _hqlip_vif_tcp_init in hqlip.o
      _srsvp_vif_tcp_init in srsvp.o
      _srsvp_tcp_connect in srsvp.o
  "_socket_open", referenced from:
      _hqlip_vif_udp_init in hqlip.o
      _hqlip_vif_tcp_init in hqlip.o
      _srsvp_vif_tcp_init in srsvp.o
  "_socket_reuse", referenced from:
      _hqlip_vif_udp_init in hqlip.o
      _hqlip_vif_tcp_init in hqlip.o
      _srsvp_vif_tcp_init in srsvp.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in /Users/kristerw/pbulk/scratch/net/mrt/work/mrt/src/programs/ricd
cd route_atob; /usr/pkg/bin/bmake
gcc -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include -DINET6 -DFUNCPROTO -I../../include -c route_atob.c
In file included from route_atob.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
route_atob.c:691: warning: return type of 'main' is not 'int'
route_atob.c: In function 'main':
route_atob.c:743: warning: format not a string literal and no format arguments
route_atob.c:743: warning: format not a string literal and no format arguments
gcc -L/usr/pkg/lib route_atob.o ../../lib/libbgp.a ../../lib/libmrt.a -o route_atob -lresolv
Undefined symbols for architecture i386:
  "_Delete_Buffer", referenced from:
      _main in route_atob.o
      _Destroy_Trace in libmrt.a(trace.o)
  "_New_Buffer", referenced from:
      _trace in libmrt.a(trace.o)
      _bgp_uii_attr in libbgp.a(bgp_msg.o)
  "_New_Buffer_Stream", referenced from:
      _main in route_atob.o
  "_buffer_adjust", referenced from:
      _trace in libmrt.a(trace.o)
  "_buffer_gets", referenced from:
      _main in route_atob.o
  "_buffer_printf", referenced from:
      _print_pref_prefix_list_buffer in libmrt.a(prefix.o)
      _print_prefix_list_buffer in libmrt.a(prefix.o)
      _trace in libmrt.a(trace.o)
      _bgp_print_attr_buffer in libbgp.a(bgp_msg.o)
      _bgp_attr_buffer in libbgp.a(bgp_msg.o)
  "_buffer_vprintf", referenced from:
      _trace in libmrt.a(trace.o)
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in /Users/kristerw/pbulk/scratch/net/mrt/work/mrt/src/programs/route_atob
cd route_btoa; /usr/pkg/bin/bmake
gcc -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include -DINET6 -DFUNCPROTO -I../../include -c route_btoa.c
In file included from route_btoa.c:5:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
route_btoa.c:699: warning: return type of 'main' is not 'int'
route_btoa.c: In function 'main':
route_btoa.c:747: warning: format not a string literal and no format arguments
route_btoa.c:747: warning: format not a string literal and no format arguments
route_btoa.c:754: warning: format not a string literal and no format arguments
route_btoa.c:754: warning: format not a string literal and no format arguments
gcc -L/usr/pkg/lib route_btoa.o ../../lib/libbgp.a ../../lib/libmrt.a -o route_btoa -lresolv
Undefined symbols for architecture i386:
  "_Delete_Buffer", referenced from:
      _Destroy_Trace in libmrt.a(trace.o)
  "_New_Buffer", referenced from:
      _trace in libmrt.a(trace.o)
      _bgp_uii_attr in libbgp.a(bgp_msg.o)
  "_New_Buffer_Stream", referenced from:
      _main in route_btoa.o
  "_buffer_adjust", referenced from:
      _trace in libmrt.a(trace.o)
  "_buffer_printf", referenced from:
      _print_routing_table_msg in route_btoa.o
      _print_msg_hdr in route_btoa.o
      _process_input in route_btoa.o
      _print_pref_prefix_list_buffer in libmrt.a(prefix.o)
      _print_prefix_list_buffer in libmrt.a(prefix.o)
      _trace in libmrt.a(trace.o)
      _bgp_print_attr_buffer in libbgp.a(bgp_msg.o)
      ...
  "_buffer_vprintf", referenced from:
      _trace in libmrt.a(trace.o)
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in /Users/kristerw/pbulk/scratch/net/mrt/work/mrt/src/programs/route_btoa
cd sbgp; /usr/pkg/bin/bmake
gcc -pipe -O2 -Wall -DHAVE_CONFIG_H  -DINET6 -DFUNCPROTO -I../../include -DINET6 -DFUNCPROTO -I../../include -c simple_bgp.c
In file included from simple_bgp.c:10:
../../include/mrt.h:729: warning: type qualifiers ignored on function return type
simple_bgp.c: In function 'main':
simple_bgp.c:277: warning: format not a string literal and no format arguments
simple_bgp.c:277: warning: format not a string literal and no format arguments
simple_bgp.c:373: warning: format not a string literal and no format arguments
simple_bgp.c:373: warning: format not a string literal and no format arguments
gcc -L/usr/pkg/lib simple_bgp.o ../../lib/libbgp.a ../../lib/libcfg.a ../../lib/librib.a ../../lib/libmrt.a ../../lib/libbgp.a -o sbgp -lresolv
Undefined symbols for architecture i386:
  "_Delete_Buffer", referenced from:
      _bgp_dump_rtin in libbgp.a(bgp_util.o)
      _bgp_put_a_line in libbgp.a(bgp_util.o)
      _Destroy_Trace in libmrt.a(trace.o)
      _rib_replace_active in librib.a(rib.o)
      _rib_delete_route_node in librib.a(rib.o)
      _rib_add_route in librib.a(rib.o)
      _dump_view_bgp_routes in libbgp.a(bgp_dump.o)
      ...
  "_New_Buffer", referenced from:
      _bgp_dump_rtin in libbgp.a(bgp_util.o)
      _bgp_put_a_line in libbgp.a(bgp_util.o)
      _trace in libmrt.a(trace.o)
      _route_toa_buffer in librib.a(rib.o)
      _rib_replace_active in librib.a(rib.o)
      _rib_delete_route_node in librib.a(rib.o)
      _rib_add_route in librib.a(rib.o)
      ...
  "_New_Buffer_Stream", referenced from:
      _config_from_file2 in libcfg.a(config_file.o)
  "_buffer_adjust", referenced from:
      _trace in libmrt.a(trace.o)
      _show_config in libcfg.a(config_file.o)
      _config_write in libcfg.a(config_file.o)
      _uii_command_tab_complete in libmrt.a(user.o)
      _uii_send_bulk_data in libmrt.a(user.o)
      _uii_yes_no in libmrt.a(user.o)
      _uii_read_command in libmrt.a(user.o)
      ...
  "_buffer_delete", referenced from:
      _uii_read_command in libmrt.a(user.o)
  "_buffer_gets", referenced from:
      _config_from_file2 in libcfg.a(config_file.o)
  "_buffer_insert", referenced from:
      _uii_read_command in libmrt.a(user.o)
  "_buffer_peek", referenced from:
      _uii_read_command in libmrt.a(user.o)
  "_buffer_printf", referenced from:
      _bgp_make_tail in libbgp.a(bgp_util.o)
      _trace in libmrt.a(trace.o)
      _print_pref_prefix_list_buffer in libmrt.a(prefix.o)
      _print_prefix_list_buffer in libmrt.a(prefix.o)
      _route_toa_buffer in librib.a(rib.o)
      _bgp_print_attr_buffer in libbgp.a(bgp_msg.o)
      _bgp_attr_buffer in libbgp.a(bgp_msg.o)
      ...
  "_buffer_putc", referenced from:
      _bgp_make_tail in libbgp.a(bgp_util.o)
  "_buffer_puts", referenced from:
      _uii_proccess_command in libmrt.a(user.o)
      _uii_read_command in libmrt.a(user.o)
      _uii_send_buffer in libmrt.a(user_util.o)
  "_buffer_vprintf", referenced from:
      _trace in libmrt.a(trace.o)
      _config_add_output in libcfg.a(config_file.o)
      _uii_add_bulk_output in libmrt.a(user.o)
      _uii_send_data in libmrt.a(user_util.o)
      _user_vnotice in libmrt.a(user_util.o)
  "_get_socket_addr", referenced from:
      _peer_set_gateway in libbgp.a(bgp_util.o)
      _bgp_in_recv_open in libbgp.a(bgp_util.o)
  "_ip_hash_fn", referenced from:
      _init_mrtd_config in libcfg.a(commconf.o)
      _bgp_resolve_nexthop in libbgp.a(view.o)
      _init_mrtd_config in libcfg.a(commconf.o)
      _bgp_resolve_nexthop in libbgp.a(view.o)
  "_ip_lookup_fn", referenced from:
      _init_mrtd_config in libcfg.a(commconf.o)
      _bgp_resolve_nexthop in libbgp.a(view.o)
      _init_mrtd_config in libcfg.a(commconf.o)
      _bgp_resolve_nexthop in libbgp.a(view.o)
  "_socket_reuse", referenced from:
      _init_BGP_listen in libbgp.a(bgp_util.o)
      _bgp_start_transport_connection in libbgp.a(bgp_util.o)
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in /Users/kristerw/pbulk/scratch/net/mrt/work/mrt/src/programs/sbgp
=> Unwrapping files-to-be-installed.