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: hatari-users@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-users] Re: [hatari-devel] Hatari 2.2.1 has been released
- From: tuxic@xxxxxxxxx
- Date: Sun, 10 Feb 2019 04:26:28 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1549769189; bh=sQmO2d702T0f8FnotucLFIm/9Lt5LdgxVhqKKfYo+zQ=; h=Date:From:To:Subject:From; b=rBGOOmmxhAv0FhJumaN4WbQNH0AYaX58Bea5agUrjM8eSLy4m/hjrpUeo45wiHr0E Paxnm1fwn+26uAuZ4+DJTYngWTQ0/yE95R1BUAFL5H3WvfbmjmfhorTqXh7hG17nAf rE7AenMtmTRHows7aMoV7cGsrnl/B9JyZyA8XdE9ANASSweBD/uHbFy5MmzOuRiUuR +FxTR2DMqMnfN68nfjv5bPIB2B42QhJx6IpyMDX6cQ8P7o/6m/DOptCA84BakSrfJe cS4LnxhA7k6bfUutjE45KRAIyOcuQFVICds62bWs+2dl+YNEDSY2ke43CEvpRUwQp4 h8kdLUIOkydKA==
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 CapsImage[ MAX_FLOPPYDRIVES ]; /* Image Id or -1 if drive empty */
^~~~~~~~
/home/user/data/pools/pool05/hatari-2.2.1/src/floppy_ipf.c:65:2: error: unknown type name ‘CapsLong’
CapsLong CapsImageType[ MAX_FLOPPYDRIVES ]; /* ImageType or -1 if not known */
^~~~~~~~
/home/user/data/pools/pool05/hatari-2.2.1/src/floppy_ipf.c:86:53: error: unknown type name ‘CapsULong’
static void IPF_CallBack_Trk ( struct CapsFdc *pc , CapsULong State );
^~~~~~~~~
/home/user/data/pools/pool05/hatari-2.2.1/src/floppy_ipf.c:87:53: error: unknown type name ‘CapsULong’
static void IPF_CallBack_Irq ( struct CapsFdc *pc , CapsULong State );
^~~~~~~~~
/home/user/data/pools/pool05/hatari-2.2.1/src/floppy_ipf.c:88:53: error: unknown type name ‘CapsULong’
static void IPF_CallBack_Drq ( struct CapsFdc *pc , CapsULong State );
^~~~~~~~~
/home/user/data/pools/pool05/hatari-2.2.1/src/floppy_ipf.c: In function ‘IPF_MemorySnapShot_Capture’:
/home/user/data/pools/pool05/hatari-2.2.1/src/floppy_ipf.c:170:26: error: ‘IPF_CallBack_Irq’ undeclared (first use in this function)
IPF_State.Fdc.cbirq = IPF_CallBack_Irq;
^~~~~~~~~~~~~~~~
/home/user/data/pools/pool05/hatari-2.2.1/src/floppy_ipf.c:170:26: note: each undeclared identifier is reported only once for each function it appears in
/home/user/data/pools/pool05/hatari-2.2.1/src/floppy_ipf.c:171:26: error: ‘IPF_CallBack_Drq’ undeclared (first use in this function)
IPF_State.Fdc.cbdrq = IPF_CallBack_Drq;
^~~~~~~~~~~~~~~~
/home/user/data/pools/pool05/hatari-2.2.1/src/floppy_ipf.c:172:26: error: ‘IPF_CallBack_Trk’ undeclared (first use in this function)
IPF_State.Fdc.cbtrk = IPF_CallBack_Trk;
^~~~~~~~~~~~~~~~
/home/user/data/pools/pool05/hatari-2.2.1/src/floppy_ipf.c: In function ‘IPF_Init’:
/home/user/data/pools/pool05/hatari-2.2.1/src/floppy_ipf.c:386:24: error: ‘IPF_CallBack_Irq’ undeclared (first use in this function)
IPF_State.Fdc.cbirq = IPF_CallBack_Irq;
^~~~~~~~~~~~~~~~
/home/user/data/pools/pool05/hatari-2.2.1/src/floppy_ipf.c:387:24: error: ‘IPF_CallBack_Drq’ undeclared (first use in this function)
IPF_State.Fdc.cbdrq = IPF_CallBack_Drq;
^~~~~~~~~~~~~~~~
/home/user/data/pools/pool05/hatari-2.2.1/src/floppy_ipf.c:388:24: error: ‘IPF_CallBack_Trk’ undeclared (first use in this function)
IPF_State.Fdc.cbtrk = IPF_CallBack_Trk;
^~~~~~~~~~~~~~~~
/home/user/data/pools/pool05/hatari-2.2.1/src/floppy_ipf.c: In function ‘IPF_Insert’:
/home/user/data/pools/pool05/hatari-2.2.1/src/floppy_ipf.c:422:2: error: unknown type name ‘CapsLong’
CapsLong ImageId;
^~~~~~~~
/home/user/data/pools/pool05/hatari-2.2.1/src/floppy_ipf.c:423:2: error: unknown type name ‘CapsLong’
CapsLong ImageType;
^~~~~~~~
/home/user/data/pools/pool05/hatari-2.2.1/src/floppy_ipf.c:483:55: error: ‘CapsULong’ undeclared (first use in this function)
if ( CAPSLockImageMemory ( ImageId , pImageBuffer , (CapsULong)ImageSize , DI_LOCK_MEMREF ) == imgeOk )
^~~~~~~~~
/home/user/data/pools/pool05/hatari-2.2.1/src/floppy_ipf.c:483:65: error: expected ‘)’ before ‘ImageSiz ’
if ( CAPSLockImageMemory ( ImageId , pImageBuffer , (CapsULong)ImageSize , DI_LOCK_MEMREF ) == imgeOk )
^~~~~~~~~
)
/home/user/data/pools/pool05/hatari-2.2.1/src/floppy_ipf.c:483:7: error: too few arguments to function CAPSLockImageMemory’
if ( CAPSLockImageMemory ( ImageId , pImageBuffer , (CapsULong)ImageSize , DI_LOCK_MEMREF ) == imgeOk )
^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/caps5/CapsLibAll.h:9,
from /home/user/data/pools/pool05/hatari-2.2.1/src/floppy_ipf.c:33:
/usr/include/caps5/CapsLib.h:21:15: note: declared here
ExtSub SDWORD CAPSLockImageMemory(SDWORD id, PUBYTE buffer, UDWORD length, UDWORD flag);
^~~~~~~~~~~~~~~~~~~
/home/user/data/pools/pool05/hatari-2.2.1/src/floppy_ipf.c: At top level:
/home/user/data/pools/pool05/hatari-2.2.1/src/floppy_ipf.c:716:53: error: unknown type name ‘CapsULong’
static void IPF_CallBack_Trk ( struct CapsFdc *pc , CapsULong State )
^~~~~~~~~
/home/user/data/pools/pool05/hatari-2.2.1/src/floppy_ipf.c:745:53: error: unknown type name ‘CapsULong’
static void IPF_CallBack_Irq ( struct CapsFdc *pc , CapsULong State )
^~~~~~~~~
/home/user/data/pools/pool05/hatari-2.2.1/src/floppy_ipf.c:764:53: error: unknown type name ‘CapsULong’
static void IPF_CallBack_Drq ( struct CapsFdc *pc , CapsULong State )
^~~~~~~~~
make[2]: *** [src/CMakeFiles/hatari.dir/build.make:310: src/CMakeFiles/hatari.dir/floppy_ipf.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:172: src/CMakeFiles/hatari.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
[1] 9794 exit 2 make
I am compiling this on GENTOO-Linux.
The installed version of CAPS is:
* games-emulation/caps
Available versions: [M]20071115^s {doc}
Homepage: http://www.softpres.org/
Description: Support library for accessing and using C.A.P.S. images
There is a workaround for this: After configuring the sources remove
all CAPS-related entries from config.log.
The resulting Hatari will not be able to load various image formats
supported by the CAPS library therefore.
Can this bug be fixed?
Cheers
Meino