我最近安装了 Ubuntu 10.04,并安装了 g++(我使用 'sudo apt-get install g++')。
我想在这个系统中使用 bochs-2.3.5 并执行以下操作:
./configure --enable-debugger --enable-disasm
一切似乎都很好。但是当我输入'make'时,会出现以下错误消息:
symbols.cc: At global scope:
symbols.cc:137:10: error: ‘hash_map’ does not name a type
symbols.cc:145:1: error: ‘hash_map’ does not name a type
symbols.cc: In constructor ‘context_t::context_t(Bit32u)’:
symbols.cc:152:5: error: ‘map’ was not declared in this scope
symbols.cc: In static member function ‘static context_t* context_t::get_context(Bit32u)’:
symbols.cc:173:12: error: ‘map’ was not declared in this scope
make[1]: *** [symbols.o] 错误 1
make[1]:正在离开目录 `/home/song/下载/bochs-2.3.5/bx_debug'
make: *** [bx_debug/libdebug.a] 错误 2
我找了一会儿,他们说我的STL端口少,是真的吗?