Can't build latest Bochs CVS
Posted: Thu May 29, 2008 9:16 pm
I'm trying to build the latest 2.3.6 Bochs from CVS and I'm getting the following error using --enable-debugger, --enable-disasm, --with-sdl and --with-x11:
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/backward/hash_map:64,
from symbols.cc:86:
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
symbols.cc:143: error: ISO C++ forbids declaration of ‘hash_map’ with no type
symbols.cc:143: error: expected ‘;’ before ‘<’ token
symbols.cc:151: error: expected constructor, destructor, or type conversion before ‘<’ token
symbols.cc: In constructor ‘context_t::context_t(Bit32u)’:
symbols.cc:158: error: ‘map’ was not declared in this scope
symbols.cc: In static member function ‘static context_t* context_t::get_context(Bit32u)’:
symbols.cc:180: error: ‘map’ was not declared in this scope
make[1]: *** [symbols.o] Error 1
make[1]: Leaving directory `/home/hernan/abs/local/bochs/bx_debug'
make: *** [bx_debug/libdebug.a] Error 2
Any help? Thanks.
2) There is some other valuable options to pass ./configure for OS development?
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/backward/hash_map:64,
from symbols.cc:86:
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../include/c++/4.3.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
symbols.cc:143: error: ISO C++ forbids declaration of ‘hash_map’ with no type
symbols.cc:143: error: expected ‘;’ before ‘<’ token
symbols.cc:151: error: expected constructor, destructor, or type conversion before ‘<’ token
symbols.cc: In constructor ‘context_t::context_t(Bit32u)’:
symbols.cc:158: error: ‘map’ was not declared in this scope
symbols.cc: In static member function ‘static context_t* context_t::get_context(Bit32u)’:
symbols.cc:180: error: ‘map’ was not declared in this scope
make[1]: *** [symbols.o] Error 1
make[1]: Leaving directory `/home/hernan/abs/local/bochs/bx_debug'
make: *** [bx_debug/libdebug.a] Error 2
Any help? Thanks.
2) There is some other valuable options to pass ./configure for OS development?