[Coladam] compiling adamem under Linux

Ron MItchell bytehacker at shaw.ca
Sat Jun 9 03:35:47 EDT 2007


Anyone tried compiling the Adam Emulator under Linux?

I seem to be running into some difficulty. Below is what I get when I
type the <make svga> command.

I'm running Ubuntu 7.04.

have added the sources for zlib to the working directory

here's what I get (pasted below)

Any ideas?

Ron

--------------------------------------------------------------------------------------

ronaldm at Acer:~/ADAM/linux$ make
To compile ADAMEm, use one of the following:
 make svga  - Make the Linux/SVGALib version
 make x     - Make the Unix/X version
 make msdos - Make the MS-DOS version (DJGPP only)
 make linux - Build both the Linux/SVGALib and the Unix/X versions
When compiling the SVGALib version, make sure you are logged in as root
Please check Makefile.MSDOS, Makefile.SVGALib, Makefile.X and Z80.h
before compiling ADAMEm
ronaldm at Acer:~/ADAM/linux$ sudo make svga
Password:
make -f Makefile.SVGALib
make[1]: Entering directory `/home/ronaldm/ADAM/linux'
gcc      -Wall -m486 -O2 -fomit-frame-pointer -DZLIB -DLSB_FIRST
-DHAVE_CLOCK -DLINUX_SVGA -DUNIX -DJOYSTICK -DSOUND -DX86_ASM   -c -o
Coleco.o Coleco.c
Coleco.c:20:18: error: zlib.h: No such file or directory
Coleco.c:620: error: conflicting types for ‘Z80_Out’
Z80IO.h:33: error: previous declaration of ‘Z80_Out’ was here
Coleco.c:767: error: conflicting types for ‘Z80_In’
Z80IO.h:28: error: previous declaration of ‘Z80_In’ was here
Coleco.c: In function ‘CheckGZ’:
Coleco.c:870: warning: implicit declaration of function ‘gzopen’
Coleco.c:870: warning: assignment makes pointer from integer without a
cast
Coleco.c:875: warning: implicit declaration of function ‘gzclose’
Coleco.c:878: warning: implicit declaration of function ‘gzread’
Coleco.c: In function ‘GZ_Copy’:
Coleco.c:900: warning: assignment makes pointer from integer without a
cast
Coleco.c:904: warning: implicit declaration of function ‘gzwrite’
Coleco.c: In function ‘GetSnapshotParams’:
Coleco.c:1128: warning: pointer targets in passing argument 1 of
‘strlen’ differ in signedness
Coleco.c:1128: warning: pointer targets in passing argument 1 of
‘__builtin_strcmp’ differ in signedness
Coleco.c:1128: warning: pointer targets in passing argument 1 of
‘strlen’ differ in signedness
Coleco.c:1128: warning: pointer targets in passing argument 1 of
‘__builtin_strcmp’ differ in signedness
Coleco.c:1128: warning: pointer targets in passing argument 1 of
‘__builtin_strcmp’ differ in signedness
Coleco.c:1128: warning: pointer targets in passing argument 1 of
‘__builtin_strcmp’ differ in signedness
Coleco.c: In function ‘_SaveSnapshotFile’:
Coleco.c:1254: warning: pointer targets in passing argument 1 of
‘strcpy’ differ in signedness
Coleco.c:1259: warning: pointer targets in passing argument 1 of
‘strcpy’ differ in signedness
Coleco.c:1265: warning: pointer targets in passing argument 1 of
‘strcpy’ differ in signedness
Coleco.c: In function ‘SaveSnapshotFile’:
Coleco.c:1344: warning: assignment makes pointer from integer without a
cast
Coleco.c: In function ‘StartColeco’:
Coleco.c:1387: warning: assignment makes pointer from integer without a
cast
Coleco.c:1471: warning: assignment makes pointer from integer without a
cast
Coleco.c:1486: warning: assignment makes pointer from integer without a
cast
Coleco.c:1496: warning: suggest explicit braces to avoid ambiguous
‘else’
Coleco.c:1514: warning: assignment makes pointer from integer without a
cast
Coleco.c:1524: warning: assignment makes pointer from integer without a
cast
make[1]: *** [Coleco.o] Error 1
make[1]: Leaving directory `/home/ronaldm/ADAM/linux'
make: *** [svga] Error 2
ronaldm at Acer:~/ADAM/linux$ 







More information about the Coladam mailing list