Hello!

Before I start, I just want to say that I am a *total* newbie to Plex86
and this mailinglist.

Anyway, I downloaded (does the plex86 site actually get updated?):

plex86-2001-0302-1106.tar.gz
bochs-2000_0325a.tar.gz

I unpacked bochs into /home/kpl/bochs/bochs-2000_0325a/
(the plex86 source code seems to refer to this hard-coded path --
anyone know why?).

I am using Linux Mandrake 7.2 (gcc 2.95.3) on a Pentium II.

I typed:
./configure --with-x --enable-cosimulation --enable-cdrom
--with-Linux --with-gui=x

Then, "make":

make -C user   CC="gcc" CFLAGS="-g -O2 -Wall -Wstrict-prototypes" LDFLAGS=""
make[1]: Entering directory `/usr/local/src/plex86/user'
gcc -I.. -I./.. -I. -g -O2 -Wall -Wstrict-prototypes -c  plex86.c
gcc -I.. -I./.. -I. -g -O2 -Wall -Wstrict-prototypes -c  user.c
user.c:109: warning: #warning "fix: need exclusive access to variable in 
async handler"                                                                
         user.c:394: warning: #warning "put physical mem limit check here"
user.c: In function `vm_debug_exception':
user.c:616: warning: implicit declaration of function 
`bx_print_last_sync_icount'                                                   
                            user.c: At top level:
user.c:108: warning: `vm_timer_handler' defined but not used
gcc -I.. -I./.. -I. -g -O2 -Wall -Wstrict-prototypes -c  decode.c
gcc -I.. -I./.. -I. -g -O2 -Wall -Wstrict-prototypes -c  plugin.c
plugin.c:893: warning: #warning "fix: need exclusive access to variable used 
by async handler"                                                             
     gcc -I.. -I./.. -I. -g -O2 -Wall -Wstrict-prototypes -c  cosim.c
In file included from /home/kpl/bochs/bochs-2000_0325a/debug/debug.h:26,
                 from cosim.c:57:
../config.h:14: redefinition of `Bit8u'
../config.h:14: `Bit8u' previously declared here
../config.h:15: redefinition of `Bit8s'
../config.h:15: `Bit8s' previously declared here
../config.h:21: redefinition of `Bit16u'
../config.h:21: `Bit16u' previously declared here
../config.h:22: redefinition of `Bit16s'
../config.h:22: `Bit16s' previously declared here
../config.h:26: redefinition of `Bit32u'
../config.h:26: `Bit32u' previously declared here
../config.h:27: redefinition of `Bit32s'
../config.h:27: `Bit32s' previously declared here
../config.h:39: redefinition of `Bit64u'
../config.h:39: `Bit64u' previously declared here
../config.h:40: redefinition of `Bit64s'
../config.h:40: `Bit64s' previously declared here
../config.h:45: redefinition of `Boolean'
../config.h:45: `Boolean' previously declared here
In file included from cosim.c:57:
/home/kpl/bochs/bochs-2000_0325a/debug/debug.h:88: warning: function 
declaration isn't a prototype                                                 
             cosim.c:73: parse error before `*'
cosim.c:73: warning: function declaration isn't a prototype
cosim.c:74: parse error before `*'
cosim.c:74: warning: function declaration isn't a prototype
cosim.c:75: parse error before `*'
cosim.c:75: warning: function declaration isn't a prototype
cosim.c:84: parse error before `*'
cosim.c:84: warning: function declaration isn't a prototype
cosim.c:112: parse error before `*'
cosim.c:113: warning: function declaration isn't a prototype
cosim.c: In function `bx_dbg_init_cpu_mem_env1':
cosim.c:114: `callback' undeclared (first use in this function)
cosim.c:114: (Each undeclared identifier is reported only once
cosim.c:114: for each function it appears in.)
cosim.c: At top level:
cosim.c:209: parse error before `*'
cosim.c:210: warning: function declaration isn't a prototype
cosim.c:217: parse error before `*'
cosim.c:218: warning: function declaration isn't a prototype
cosim.c:225: parse error before `*'
cosim.c:226: warning: function declaration isn't a prototype
cosim.c: In function `sim1_get_cpu':
cosim.c:231: `cpu' undeclared (first use in this function)
cosim.c: In function `sim1_cpu_loop':
cosim.c:335: `bx_guard' undeclared (first use in this function)
cosim.c:335: `BX_DBG_GUARD_ICOUNT' undeclared (first use in this function)
cosim.c:391: warning: implicit declaration of function `bx_dbg_inp'
cosim.c:403: warning: implicit declaration of function `bx_dbg_outp'
cosim.c:429: warning: implicit declaration of function `bx_dbg_ucmem_read'
cosim.c:447: warning: implicit declaration of function `bx_dbg_ucmem_write'
cosim.c:500: `bx_guard_found' undeclared (first use in this function)
cosim.c: In function `sim1_force_interrupt':
cosim.c:589: `bx_guard' undeclared (first use in this function)
make[1]: *** [cosim.o] Error 1
make[1]: Leaving directory `/usr/local/src/plex86/user'
make: *** [all] Error 2

I want to use Plex86 ASAP to play Age of Empires in Linux.
Does anyone know why it doesn't compile?

Thanks in advance,
George

Reply via email to