=> 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 vmips-1.3.1
--- ./stamp-h.in ---
cd . && autoheader
WARNING: `autoheader' is missing on your system.  You should only need it if
         you modified `acconfig.h' or `configure.in'.  You might want
         to install the `Autoconf' and `GNU m4' packages.  Grab them
         from any GNU archive site.
--- all-recursive-am ---
/usr/pkg/bin/bmake  all-recursive
--- all-recursive ---
Making all in libopcodes_mips
--- dis-buf.o ---
--- libbfd-support.o ---
--- mips-dis.o ---
--- mips-opc.o ---
--- mips16-opc.o ---
--- dis-buf.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I..     -O3 -pipe -fstack-protector -Wno-format -fno-builtin -Wall -fno-strict-aliasing -c dis-buf.c
--- libbfd-support.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I..     -O3 -pipe -fstack-protector -Wno-format -fno-builtin -Wall -fno-strict-aliasing -c libbfd-support.c
--- mips-dis.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I..     -O3 -pipe -fstack-protector -Wno-format -fno-builtin -Wall -fno-strict-aliasing -c mips-dis.c
--- mips-opc.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I..     -O3 -pipe -fstack-protector -Wno-format -fno-builtin -Wall -fno-strict-aliasing -c mips-opc.c
--- mips16-opc.o ---
gcc -DHAVE_CONFIG_H -I. -I. -I..     -O3 -pipe -fstack-protector -Wno-format -fno-builtin -Wall -fno-strict-aliasing -c mips16-opc.c
--- libopcodes_mips.a ---
rm -f libopcodes_mips.a
ar cru libopcodes_mips.a dis-buf.o libbfd-support.o mips-dis.o  mips-opc.o mips16-opc.o 
ranlib libopcodes_mips.a
Making all in .
--- fileutils.o ---
--- clock.o ---
--- clockdev.o ---
--- cpu.o ---
--- cpzero.o ---
--- fileutils.o ---
g++ -DHAVE_CONFIG_H -I. -I. -I.     -I./libopcodes_mips -O3 -pipe -fstack-protector -Wno-format -fno-builtin -Wall -fno-strict-aliasing  -DSYSCONFDIR=\"/usr/pkg/etc\" -DPKGDATADIR=\"/usr/pkg/share/vmips\" -c fileutils.cc
--- clock.o ---
g++ -DHAVE_CONFIG_H -I. -I. -I.     -I./libopcodes_mips -O3 -pipe -fstack-protector -Wno-format -fno-builtin -Wall -fno-strict-aliasing  -DSYSCONFDIR=\"/usr/pkg/etc\" -DPKGDATADIR=\"/usr/pkg/share/vmips\" -c clock.cc
--- clockdev.o ---
g++ -DHAVE_CONFIG_H -I. -I. -I.     -I./libopcodes_mips -O3 -pipe -fstack-protector -Wno-format -fno-builtin -Wall -fno-strict-aliasing  -DSYSCONFDIR=\"/usr/pkg/etc\" -DPKGDATADIR=\"/usr/pkg/share/vmips\" -c clockdev.cc
--- cpu.o ---
g++ -DHAVE_CONFIG_H -I. -I. -I.     -I./libopcodes_mips -O3 -pipe -fstack-protector -Wno-format -fno-builtin -Wall -fno-strict-aliasing  -DSYSCONFDIR=\"/usr/pkg/etc\" -DPKGDATADIR=\"/usr/pkg/share/vmips\" -c cpu.cc
--- cpzero.o ---
g++ -DHAVE_CONFIG_H -I. -I. -I.     -I./libopcodes_mips -O3 -pipe -fstack-protector -Wno-format -fno-builtin -Wall -fno-strict-aliasing  -DSYSCONFDIR=\"/usr/pkg/etc\" -DPKGDATADIR=\"/usr/pkg/share/vmips\" -c cpzero.cc
--- debug.o ---
g++ -DHAVE_CONFIG_H -I. -I. -I.     -I./libopcodes_mips -O3 -pipe -fstack-protector -Wno-format -fno-builtin -Wall -fno-strict-aliasing  -DSYSCONFDIR=\"/usr/pkg/etc\" -DPKGDATADIR=\"/usr/pkg/share/vmips\" -c debug.cc
--- cpzero.o ---
In file included from cpzero.cc:25:0:
cpzero.h:56:50: error: redefinition of 'uint32 asid'
cpzero.h:56:37: error: 'uint32 asid' previously declared here
cpzero.cc:162:1: error: prototype for 'int CPZero::find_matching_tlb_entry(uint32, uint32)' does not match any in class 'CPZero'
cpzero.h:56:6: error: candidate is: int CPZero::find_matching_tlb_entry(uint32)
cpzero.cc: In member function 'uint32 CPZero::tlb_translate(uint32, uint32, int, bool*, DeviceExc*)':
cpzero.cc:176:50: error: no matching function for call to 'CPZero::find_matching_tlb_entry(uint32&, uint32&)'
cpzero.h:56:6: note: candidate is: int CPZero::find_matching_tlb_entry(uint32)
cpzero.cc: In member function 'void CPZero::tlbp_emulate(uint32, uint32)':
cpzero.cc:270:49: error: no matching function for call to 'CPZero::find_matching_tlb_entry(uint32&, uint32&)'
cpzero.h:56:6: note: candidate is: int CPZero::find_matching_tlb_entry(uint32)
cpzero.cc: In member function 'bool CPZero::debug_tlb_translate(uint32, uint32*)':
cpzero.cc:436:55: error: no matching function for call to 'CPZero::find_matching_tlb_entry(uint32&, uint32&)'
cpzero.h:56:6: note: candidate is: int CPZero::find_matching_tlb_entry(uint32)
*** [cpzero.o] Error code 1

bmake: stopped in /tmp/pkgsrc/emulators/vmips/work/vmips-1.3.1
--- cpu.o ---
In file included from cpu.cc:21:0:
cpzero.h:56:50: error: redefinition of 'uint32 asid'
cpzero.h:56:37: error: 'uint32 asid' previously declared here
cpu.cc: In member function 'char* const CPU::strdelaystate(int)':
cpu.cc:50:64: warning: deprecated conversion from string constant to 'char*'
cpu.cc:50:64: warning: deprecated conversion from string constant to 'char*'
cpu.cc:50:64: warning: deprecated conversion from string constant to 'char*'
cpu.cc: In constructor 'CPU::CPU(Mapper&, IntCtrl&)':
cpu.cc:60:44: warning: deprecated conversion from string constant to 'char*'
cpu.cc:61:50: warning: deprecated conversion from string constant to 'char*'
cpu.cc:62:52: warning: deprecated conversion from string constant to 'char*'
cpu.cc:63:50: warning: deprecated conversion from string constant to 'char*'
cpu.cc:64:46: warning: deprecated conversion from string constant to 'char*'
cpu.cc:65:48: warning: deprecated conversion from string constant to 'char*'
cpu.cc:66:46: warning: deprecated conversion from string constant to 'char*'
cpu.cc:67:50: warning: deprecated conversion from string constant to 'char*'
cpu.cc:68:56: warning: deprecated conversion from string constant to 'char*'
cpu.cc:69:52: warning: deprecated conversion from string constant to 'char*'
cpu.cc:70:50: warning: deprecated conversion from string constant to 'char*'
cpu.cc: In member function 'char* const CPU::strexccode(uint16)':
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:220:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc: In member function 'char* const CPU::strmemmode(int)':
cpu.cc:234:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:234:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:234:2: warning: deprecated conversion from string constant to 'char*'
cpu.cc:234:2: warning: deprecated conversion from string constant to 'char*'
--- debug.o ---
debug.cc: In constructor 'Debug::Debug(CPU&, Mapper&)':
debug.cc:44:50: warning: deprecated conversion from string constant to 'char*'
debug.cc: In member function 'uint32 Debug::packet_pop_word(char**)':
debug.cc:170:32: error: 'strtoul' was not declared in this scope
debug.cc: In member function 'uint8 Debug::packet_pop_byte(char**)':
debug.cc:191:40: error: 'strtoul' was not declared in this scope
debug.cc: In member function 'void Debug::targetloop()':
debug.cc:322:14: error: 'free' was not declared in this scope
debug.cc: In member function 'char* Debug::target_kill(char*)':
debug.cc:334:23: warning: deprecated conversion from string constant to 'char*'
debug.cc: In member function 'char* Debug::target_set_thread(char*)':
debug.cc:343:36: error: 'strtol' was not declared in this scope
debug.cc:355:23: warning: deprecated conversion from string constant to 'char*'
debug.cc: In member function 'char* Debug::rawpacket(char*)':
debug.cc:369:40: error: 'strlen' was not declared in this scope
debug.cc:371:20: error: 'strcpy' was not declared in this scope
debug.cc: In member function 'char* Debug::target_write_registers(char*)':
debug.cc:382:23: warning: deprecated conversion from string constant to 'char*'
debug.cc: In member function 'char* Debug::target_read_memory(char*)':
debug.cc:405:32: error: 'strchr' was not declared in this scope
debug.cc:418:34: error: 'strtoul' was not declared in this scope
debug.cc: In member function 'char* Debug::target_write_memory(char*)':
debug.cc:443:32: error: 'strchr' was not declared in this scope
debug.cc:466:34: error: 'strtoul' was not declared in this scope
debug.cc:486:23: warning: deprecated conversion from string constant to 'char*'
debug.cc: In member function 'char* Debug::target_continue(char*)':
debug.cc:513:35: error: 'strtoul' was not declared in this scope
debug.cc: In member function 'char* Debug::target_step(char*)':
debug.cc:539:35: error: 'strtoul' was not declared in this scope
debug.cc: In member function 'char* Debug::target_set_or_remove_breakpoint(char*, bool)':
debug.cc:558:34: error: 'strchr' was not declared in this scope
debug.cc:572:34: error: 'strtoul' was not declared in this scope
debug.cc:583:24: warning: deprecated conversion from string constant to 'char*'
debug.cc:588:22: warning: deprecated conversion from string constant to 'char*'
debug.cc: In member function 'char* Debug::target_unimplemented(char*)':
debug.cc:596:21: warning: deprecated conversion from string constant to 'char*'
--- cpu.o ---
cpu.cc: In member function 'void CPU::debug_packet_push_word(char*, uint32)':
cpu.cc:2035:28: error: 'strcat' was not declared in this scope
cpu.cc: In member function 'void CPU::debug_packet_push_byte(char*, uint8)':
cpu.cc:2043:28: error: 'strcat' was not declared in this scope
--- debug.o ---
*** [debug.o] Error code 1

bmake: stopped in /tmp/pkgsrc/emulators/vmips/work/vmips-1.3.1
--- cpu.o ---
*** [cpu.o] Error code 1

bmake: stopped in /tmp/pkgsrc/emulators/vmips/work/vmips-1.3.1
3 errors

bmake: stopped in /tmp/pkgsrc/emulators/vmips/work/vmips-1.3.1
*** [all-recursive] Error code 1

bmake: stopped in /tmp/pkgsrc/emulators/vmips/work/vmips-1.3.1
1 error

bmake: stopped in /tmp/pkgsrc/emulators/vmips/work/vmips-1.3.1
*** [all-recursive-am] Error code 2

bmake: stopped in /tmp/pkgsrc/emulators/vmips/work/vmips-1.3.1
1 error

bmake: stopped in /tmp/pkgsrc/emulators/vmips/work/vmips-1.3.1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/emulators/vmips
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/emulators/vmips