Page 1 of 1

Bochs compile failing on Ubuntu?

Posted: Thu Jul 02, 2009 3:37 pm
by vwrobc
Hi all!

I am trying to compile Bochs with debugging support on Ubuntu 8.04 (and gcc 4.2.4) but it fails with this error:

Code: Select all

proc_ctrl.cc: In static member function ‘static void bx_cpu_c::MOV_CdRd(bxInstruction_c*)’:
proc_ctrl.cc:654: error: ‘CheckPDPTR’ was not declared in this scope
proc_ctrl.cc:668: error: ‘CheckPDPTR’ was not declared in this scope
make[1]: *** [proc_ctrl.o] Error 1
make[1]: Leaving directory `/usr/local/src/bochs-2.4.1/cpu'
make: *** [cpu/libcpu.a] Error 2
I have tried searching and come up with only one reference by Gman to the same issue in this thread. Apparently it was solved but it doesn't say how :(

I'm just getting stuck into a kernel dev tutorial and really need to see what is going on with debug support. Can anyone help me out, please?

Thanks!

Re: Bochs compile failing on Ubuntu?

Posted: Thu Jul 02, 2009 4:01 pm
by 01000101
http://www.nabble.com/Debian-5-i386-com ... 65954.html

maybe you should be using the CVS build.

Re: Bochs compile failing on Ubuntu?

Posted: Thu Jul 02, 2009 4:34 pm
by vwrobc
Thankyou! I now have cvs bochs up and running with debug. =D>