just some bochs configure issues
i keep getting hits from google along these lines:
Google: bochs “error GDB stub was written for single processor support”and from searchers who are more elaborate…
Google: ../bochs.h:381:2: error: #error GDB stub was written for single processor support. If multiprocessor support is added, then we can remove this check.the reason for this is that i posted a blog entry a few months ago with my personal experience with the (current at that time) bochs ebuild. the exact error messages below for reference…
make libiodev.a
make[1]: Entering directory `/var/tmp/portage/bochs-2.2.6/work/bochs-2.2.6/iodev'
i386-pc-linux-gnu-g++ -c -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs -O2 -mcpu=i686 \
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/SDL -D_REENTRANT devices.cc \
-o devices.o
In file included from iodev.h:32,
from devices.cc:30:
../bochs.h:381:2: #error GDB stub was written for single processor support. If multiprocessor support \
is added, then we can remove this check.
make[1]: *** [devices.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/bochs-2.2.6/work/bochs-2.2.6/iodev'
make: *** [iodev/libiodev.a] Error 2
i recieved this error message upon emerging bochs 2.6.6: “configure: error: –enable-debugger and –enable-gdb-stub are mutually exclusive” and of course, the obvious solution would be to separate those two configure flags. i haven’t bothered checking the “status quo” but in the mean time, to all who chance upon this blog in search for some interim fix… there is a three way mutex in –enable-debugger to –enable-gdb-stub and in –enable-gdb-stub to –enable-smp.
your best bet would be going to “–enable-debugger” and disabling the other two.
and lastly, some links for the community.
http://bugs.gentoo.org/show_bug.cgi?id=121426
http://bugs.gentoo.org/show_bug.cgi?id=135679
