Re: [hatari-users] Re: [hatari-devel] Hatari 2.2.1 has been released |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-users Archives
]
- To: tuxic@xxxxxxxxx
- Subject: Re: [hatari-users] Re: [hatari-devel] Hatari 2.2.1 has been released
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Sun, 10 Feb 2019 13:52:09 +0100
- Cc: hatari-users@xxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1549803132; bh=kimLPCT6hqJ0F/KgQGGEa5lGLVUQFJIMkEDyJaKOmEk=; h=Date:From:To:Cc:Subject:From; b=RjTEiY7Eutmi0cRk3H9jTz5WI10l1BCnUHe7TRZnpJIf+ku8Bdc+qDpfcCf6Zgafa oSd/VapbrlfxhZqdJBQNpPwcu4i1kDexpXZHBHHTLraryXgCe7VwlCf1HPEQRL9DPV 03t6cU8zJP3eH58ASNNtIhd8K6jxyPevFWGD6u8aobj3q25cl/smKUDfkZp7TQt3iQ 5yyjD3Mcf6jbeqleY/78DLe+S5RALQpYzvwv93T9ppLnU5YL6ByDbanmKeuAgwadOz 166v2SUXmh5hc5sOlkgTDSMRG88vKAi9V2zhpqmesGEAfaYJpPKodR0Kq3G7WeaYvt 2s3vvvy75YYYQ==
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