in the name of zero

October 14, 2006

just some bochs configure issues

Filed under: hermetic studies

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

Comments »

The URI to TrackBack this entry is: http://gnurbs.blogsome.com/2006/10/14/283/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>


Get free blog up and running in minutes with Blogsome | Theme designs available here