bochs build trouble

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
sancho1980
Member
Member
Posts: 199
Joined: Fri Jul 13, 2007 6:37 am
Location: Stuttgart/Germany
Contact:

bochs build trouble

Post 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
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

Sounds like a problem for the bochs forums, mailing list or irc channel to me. They'll be able to help more.
User avatar
bluecode
Member
Member
Posts: 202
Joined: Wed Nov 17, 2004 12:00 am
Location: Germany
Contact:

Post 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?
sancho1980
Member
Member
Posts: 199
Joined: Fri Jul 13, 2007 6:37 am
Location: Stuttgart/Germany
Contact:

Post by sancho1980 »

Thanks again.
Yeah that was me :-)
Post Reply