Hi guys,

Thought I'd give it a whirl...

Installed from the tarball, had to add "plugins/bochs/" to these lines
in user/gui/gui.cc to get it to compile:
----------------------------------------------------------------------
#include "plugins/bochs/gui/bitmaps/floppya.h"
#include "plugins/bochs/gui/bitmaps/floppyb.h"
#include "plugins/bochs/gui/bitmaps/mouse.h"
#include "plugins/bochs/gui/bitmaps/reset.h"
#include "plugins/bochs/gui/bitmaps/power.h"
#include "plugins/bochs/gui/bitmaps/snapshot.h"
#include "plugins/bochs/gui/bitmaps/commit.h"
----------------------------------------------------------------------
Then plex86 compiled OK on RH6.2 (RH was literally out of the box) but
not on Slackware 7.1 which seems to be missing linux/autoconf.h.
"configure" gave me some unimportant errors, see log below.  I ran
through the DOS622.HOWTO (thanks, Michael!) with appropriate changes,
had to delete the line which reads
----------------------------------------------------------------------
bochs-init
----------------------------------------------------------------------
("grep -r" on the directory tree and the only places this command
appear are in the config files, so I guess they all need editing).

.oOo.

Made disc image, fired up X, loaded kernel module, ran "plex86 -f..."
It didn't seem to look at the floppy but I got the following output:
----------------------------------------------------------------------
[root@RH62 user]# ../misc/load_module.sh 
The kernel module is sucessfully installed.
[root@RH62 user]# ./plex86 -f ../conf/DOS_6.22.conf 
Processing command-line options
Opening VM (/dev/plex86)
Processing config file ../conf/DOS_6.22.conf...
Allocating 16MB of physical memory in VM
Mapping virtualized physical memory into monitor
Zeroing virtualized physical memory
Mapping monitor print buffer into user mem.
replaying IO events from log file '../misc/vga_io.log'.
plugin_emulate_inport:
Shutting down plugins
bochs: Note: X11: bx_gui_c::exit() not implemented yet.
Unmapping guest physical memory.
Unmapping monitor print buffer.
Tearing down VM
Closing VM
[root@RH62 user]# 
----------------------------------------------------------------------

Am I getting somewhere?

73,
Ged.


======================================================================
config.log:  From the Slackware system, almost identical from RH6.2.
----------------------------------------------------------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:559: checking for gcc
configure:672: checking whether the C compiler (gcc  ) works
configure:688: gcc -o conftest    conftest.c  1>&5
configure:714: checking whether the C compiler (gcc  ) is a cross-compiler
configure:719: checking whether we are using GNU C
configure:728: gcc -E conftest.c
configure:747: checking whether gcc accepts -g
configure:783: checking for c++
configure:815: checking whether the C++ compiler (c++  ) works
configure:831: c++ -o conftest    conftest.C  1>&5
configure:857: checking whether the C++ compiler (c++  ) is a cross-compiler
configure:862: checking whether we are using GNU C++
configure:871: c++ -E conftest.C
configure:890: checking whether c++ accepts -g
configure:922: checking whether make sets ${MAKE}
configure:951: checking for ranlib
configure:980: checking how to run the C preprocessor
configure:1001: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1064: checking for X
configure:1378: checking for dnet_ntoa in -ldnet
configure:1397: gcc -o conftest -g -O2   conftest.c -ldnet   1>&5
/usr/i386-slackware-linux/bin/ld: cannot open -ldnet: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 1386 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:1419: checking for dnet_ntoa in -ldnet_stub
configure:1438: gcc -o conftest -g -O2   conftest.c -ldnet_stub   1>&5
/usr/i386-slackware-linux/bin/ld: cannot open -ldnet_stub: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 1427 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:1467: checking for gethostbyname
configure:1495: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1565: checking for connect
configure:1593: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1657: checking for remove
configure:1685: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1749: checking for shmat
configure:1777: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1850: checking for IceConnectionNumber in -lICE
configure:1869: gcc -o conftest -g -O2   -L/usr/X11R6/lib conftest.c -lICE   1>&5
configure:1895: checking for inline
configure:1909: gcc -c -g -O2  conftest.c 1>&5
configure:1935: checking size of unsigned char
configure:1954: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1974: checking size of unsigned short
configure:1993: gcc -o conftest -g -O2   conftest.c  1>&5
configure:2013: checking size of unsigned int
configure:2032: gcc -o conftest -g -O2   conftest.c  1>&5
configure:2052: checking size of unsigned long
configure:2071: gcc -o conftest -g -O2   conftest.c  1>&5
configure:2091: checking size of unsigned long long
configure:2110: gcc -o conftest -g -O2   conftest.c  1>&5
configure:2132: checking for select
configure:2160: gcc -o conftest -g -O2   conftest.c  1>&5
configure:2188: checking for dlopen in -ldl
configure:2207: gcc -o conftest -g -O2   conftest.c -ldl   1>&5
configure:2276: checking for CDROM support
configure:2318: checking for instrumentation support
----------------------------------------------------------------------





Reply via email to