Page 1 of 1

bochs build trouble

Posted: Thu May 08, 2008 2:42 pm
by sancho1980
hi

im trying to build and install the latest bochs source with debug and disassembly functionality:

Code: Select all

./configure --enable-disasm --enable-debugger
But then "make" gives me the following:

Code: Select all

bx_debug/libdebug.a(dbg_main.o): In function `bx_dbg_take_command':
/home/sancho/bochs-2.3.6/bx_debug/dbg_main.cc:2017: undefined reference to `bx_cpu_c::dbg_take_dma()'
/home/sancho/bochs-2.3.6/bx_debug/dbg_main.cc:2026: undefined reference to `bx_cpu_c::dbg_take_irq()'
bx_debug/libdebug.a(dbg_main.o): In function `bx_dbg_stepN_command':
/home/sancho/bochs-2.3.6/bx_debug/dbg_main.cc:1543: undefined reference to `bx_cpu_c::cpu_loop(unsigned int)'
bx_debug/libdebug.a(dbg_main.o): In function `bx_dbg_continue_command':
/home/sancho/bochs-2.3.6/bx_debug/dbg_main.cc:1466: undefined reference to `bx_cpu_c::cpu_loop(unsigned int)'
collect2: ld returned 1 exit status
make: *** [bochs] Error 1
Has anyone come across this before?

Thanks

Martin

Posted: Thu May 08, 2008 3:06 pm
by JamesM
Sounds like a problem for the bochs forums, mailing list or irc channel to me. They'll be able to help more.

Posted: Thu May 08, 2008 11:22 pm
by bluecode
Try the to build with the source code from the cvs repository. I once wrote the following script to automate the task:

Code: Select all

#!/bin/bash

cvs -z3 -d:pserver:[email protected]:/cvsroot/bochs co -P bochs
cd bochs && ./configure --enable-debugger --enable-idle-hack --enable-x86-64 --enable-smp --enable-apic --enable-ne2000 --enable-acpi --enable-pci --enable-usb --enable-port-e9-hack --enable-disasm --enable-all-optimizations --enable-vbe --enable-sse=4 --enable-sse-extension --enable-cdrom --enable-sb16=linux && make && sudo make install && cd ..
rm -rf bochs
Hope I could help! :-)
edit: I am wondering: Did you write me that email today/yesterday?

Posted: Thu May 08, 2008 11:34 pm
by sancho1980
Thanks again.
Yeah that was me :-)