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

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


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





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