Naively downloaded bochs from bochs.sourceforge.net, typed “configure”,
and then “make”.
Got the following:
[wintermute@ttypc] make
cd iodev &&
make libiodev.a
make[1]: Entering directory /source/lang/bochs/bochs-2.1.1/iodev' g++ -c -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs -g -O2 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES devices.cc -o devices.o In file included from ../bochs.h:82, from devices.cc:28: /usr/include/string.h: In function
void * memchr(void *, int, unsigned int)’:
/usr/include/string.h:125: declaration of C function void * memchr(void *, int, unsigned int)' conflicts with /usr/include/string.h:49: previous declaration
const void * memchr(const void *, int, unsigned int)’ here
/usr/include/string.h: In function void * memchr(void *, int, unsigned int)': /usr/include/string.h:127: passing
const void *’ as argument 1 of memchr(void *, int, unsigned int)' discards qualifiers /usr/include/string.h: In function
char * strchr(char *, int)’:
/usr/include/string.h:130: declaration of C function char * strchr(char *, int)' conflicts with /usr/include/string.h:50: previous declaration
const char * strchr(const char *, int)’ here
/usr/include/string.h: In function char * strchr(char *, int)': /usr/include/string.h:132: passing
const char *’ as argument 1 of strchr(char *, int)' discards qualifiers /usr/include/string.h: In function
char * strpbrk(char *, const char *)’:
/usr/include/string.h:135: declaration of C function char * strpbrk(char *, const char *)' conflicts with /usr/include/string.h:51: previous declaration
const char * strpbrk(const char *, const char *)’ here
/usr/include/string.h: In function char * strpbrk(char *, const char *)': /usr/include/string.h:137: passing
const char *’ as argument 1 of strpbrk(char *, const char *)' discards qualifiers /usr/include/string.h: In function
char * strrchr(char *, int)’:
/usr/include/string.h:140: declaration of C function char * strrchr(char *, int)' conflicts with /usr/include/string.h:52: previous declaration
const char * strrchr(const char *, int)’ here
/usr/include/string.h: In function char * strrchr(char *, int)': /usr/include/string.h:142: passing
const char *’ as argument 1 of strrchr(char *, int)' discards qualifiers /usr/include/string.h: In function
char * strstr(char *, const char *)’:
/usr/include/string.h:145: declaration of C function char * strstr(char *, const char *)' conflicts with /usr/include/string.h:53: previous declaration
const char * strstr(const char *, const char *)’ here
/usr/include/string.h: In function char * strstr(char *, const char *)': /usr/include/string.h:147: passing
const char ’ as argument 1 of strstr(char *, const char *)' discards qualifiers In file included from ../bochs.h:94, from devices.cc:28: .../gui/siminterface.h: At top level: .../gui/siminterface.h:1315: non-local function
void bx_simulator_interface_c::set_quit_context({anonymous struct} ()[1])’ uses anonymous type
make[1]: *** [devices.o] Error 1
make[1]: Leaving directory `/source/lang/bochs/bochs-2.1.1/iodev’
make: *** [iodev/libiodev.a] Error 2
Anyone have any suggestions? Once it says “.cc” on the extension I run away in panic
Cheers,
-RK
–
[If replying via email, you’ll need to click on the URL that’s emailed to you
afterwards to forward the email to me – spam filters and all that]
Robert Krten, PDP minicomputer collector http://www.parse.com/~pdp8/