Re: [hatari-users] Re: [hatari-devel] Hatari 2.2.1 has been released

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-users Archives ]


Am Sun, 10 Feb 2019 04:26:28 +0100
schrieb tuxic@xxxxxxxxx:

> On 02/09 11:02, Nicolas Pomarède wrote:
> > Hello
> > 
> > A bugfix version 2.2.1 of Hatari was just released to cover a
> > regression in a CPU instruction
> > 
> > Because of this bug, the 'UNPK' instruction could lead to some
> > errors in the emulated program and some crash.
> > 
> > The macOS version of Hatari 2.2.1 is also compiled with SDL 2.0.9
> > now, as some users reported display problems with some recent macOS
> > setups (thanks to Troed for providing this build)
> > 
> > Get the files here :
> > 
> > http://download.tuxfamily.org/hatari/2.2.1/
> > 
> > Nicolas
> > 
> >   
> 
> Hi,
> 
> when compiling this version, I get the following error:
> 
> [ 53%] Building C object src/CMakeFiles/hatari.dir/clocks_timings.c.o
> [ 54%] Building C object src/CMakeFiles/hatari.dir/configuration.c.o
> [ 54%] Building C object src/CMakeFiles/hatari.dir/options.c.o
> [ 55%] Building C object src/CMakeFiles/hatari.dir/change.c.o
> [ 55%] Building C object src/CMakeFiles/hatari.dir/control.c.o
> [ 56%] Building C object src/CMakeFiles/hatari.dir/cycInt.c.o
> [ 56%] Building C object src/CMakeFiles/hatari.dir/cycles.c.o
> [ 57%] Building C object src/CMakeFiles/hatari.dir/dialog.c.o
> [ 57%] Building C object src/CMakeFiles/hatari.dir/dmaSnd.c.o
> [ 58%] Building C object src/CMakeFiles/hatari.dir/fdc.c.o
> [ 58%] Building C object src/CMakeFiles/hatari.dir/file.c.o
> [ 59%] Building C object src/CMakeFiles/hatari.dir/floppy.c.o
> [ 59%] Building C object src/CMakeFiles/hatari.dir/floppy_ipf.c.o
> /home/user/data/pools/pool05/hatari-2.2.1/src/floppy_ipf.c:64:2:
> error: unknown type name ‘CapsLong’ CapsLong

Does this patch fix the issue for you:

diff -r src/floppy_ipf.c
--- a/src/floppy_ipf.c  Sat Feb 09 18:45:35 2019 +0100
+++ b/src/floppy_ipf.c  Sun Feb 10 13:48:35 2019 +0100
@@ -31,6 +31,8 @@
 #ifdef HAVE_CAPSIMAGE
 #if CAPSIMAGE_VERSION == 5
 #include <caps5/CapsLibAll.h>
+#define CapsLong SDWORD
+#define CapsULong UDWORD
 #else
 #include <caps/fdc.h>
 #define CAPS_LIB_RELEASE       4

?

 Thomas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/