Log started at: Fri 20 Mar 23:33:38 GMT 2020 RetroPie-Setup version: 4.5.17 (3e827c1c) System: Linux Mint 19.3 Tricia - Linux marden2020 5.3.0-42-generic #34~18.04.1-Ubuntu SMP Fri Feb 28 13:42:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux = = = = = = = = = = = = = = = = = = = = = Installing dependencies for 'lr-hatari' : Atari emulator - Hatari port for libretro = = = = = = = = = = = = = = = = = = = = = ~/RetroPie-Setup/tmp/build/lr-hatari ~/RetroPie-Setup = = = = = = = = = = = = = = = = = = = = = Getting sources for 'lr-hatari' : Atari emulator - Hatari port for libretro = = = = = = = = = = = = = = = = = = = = = Already on 'master' Your branch is up-to-date with 'origin/master'. Already up-to-date. HEAD is now in branch 'master' at commit 'c312475ce14fd8120b343a0ad11961cfd709778c' Archive: /tmp/tmp.NvHW4CMog1/spsdeclib_5.1_source.zip inflating: /home/pi/RetroPie-Setup/tmp/build/lr-hatari/capsimg_source_linux_macosx.zip inflating: /home/pi/RetroPie-Setup/tmp/build/lr-hatari/capsimg_source_windows.zip inflating: /home/pi/RetroPie-Setup/tmp/build/lr-hatari/DONATIONS.txt inflating: /home/pi/RetroPie-Setup/tmp/build/lr-hatari/HISTORY.txt inflating: /home/pi/RetroPie-Setup/tmp/build/lr-hatari/LICENCE.txt inflating: /home/pi/RetroPie-Setup/tmp/build/lr-hatari/RELEASE.txt Archive: capsimg_source_linux_macosx.zip inflating: capsimg_source_linux_macosx/CAPSImg/bootstrap.sh inflating: capsimg_source_linux_macosx/CAPSImg/CapsAPI.cpp inflating: capsimg_source_linux_macosx/CAPSImg/CapsCore.h inflating: capsimg_source_linux_macosx/CAPSImg/CapsFDCEmulator.cpp inflating: capsimg_source_linux_macosx/CAPSImg/CapsFDCEmulator.h inflating: capsimg_source_linux_macosx/CAPSImg/CapsFile.cpp inflating: capsimg_source_linux_macosx/CAPSImg/CapsFile.h inflating: capsimg_source_linux_macosx/CAPSImg/CapsFormatMFM.cpp inflating: capsimg_source_linux_macosx/CAPSImg/CapsFormatMFM.h inflating: capsimg_source_linux_macosx/CAPSImg/CapsImage.cpp inflating: capsimg_source_linux_macosx/CAPSImg/CapsImage.h inflating: capsimg_source_linux_macosx/CAPSImg/CapsImageStd.cpp inflating: capsimg_source_linux_macosx/CAPSImg/CapsImageStd.h inflating: capsimg_source_linux_macosx/CAPSImg/CAPSImg.aps inflating: capsimg_source_linux_macosx/CAPSImg/CAPSImg.cpp inflating: capsimg_source_linux_macosx/CAPSImg/CAPSImg.rc inflating: capsimg_source_linux_macosx/CAPSImg/CAPSImg.vcxproj inflating: capsimg_source_linux_macosx/CAPSImg/CAPSImg.vcxproj.filters inflating: capsimg_source_linux_macosx/CAPSImg/CAPSImg.vcxproj.user inflating: capsimg_source_linux_macosx/CAPSImg/CapsLoader.cpp inflating: capsimg_source_linux_macosx/CAPSImg/CapsLoader.h inflating: capsimg_source_linux_macosx/CAPSImg/config.guess inflating: capsimg_source_linux_macosx/CAPSImg/config.h.in inflating: capsimg_source_linux_macosx/CAPSImg/config.sub inflating: capsimg_source_linux_macosx/CAPSImg/configure inflating: capsimg_source_linux_macosx/CAPSImg/configure.in inflating: capsimg_source_linux_macosx/CAPSImg/Debug/CAPSImg.log inflating: capsimg_source_linux_macosx/CAPSImg/DiskImage.cpp inflating: capsimg_source_linux_macosx/CAPSImg/DiskImage.h inflating: capsimg_source_linux_macosx/CAPSImg/DiskImageFactory.cpp inflating: capsimg_source_linux_macosx/CAPSImg/DiskImageFactory.h inflating: capsimg_source_linux_macosx/CAPSImg/dllmain.cpp inflating: capsimg_source_linux_macosx/CAPSImg/install-sh inflating: capsimg_source_linux_macosx/CAPSImg/libcapsimage.map inflating: capsimg_source_linux_macosx/CAPSImg/LICENSE inflating: capsimg_source_linux_macosx/CAPSImg/Makefile.in inflating: capsimg_source_linux_macosx/CAPSImg/Release/CAPSImg.log inflating: capsimg_source_linux_macosx/CAPSImg/resource.h inflating: capsimg_source_linux_macosx/CAPSImg/stdafx.cpp inflating: capsimg_source_linux_macosx/CAPSImg/stdafx.h inflating: capsimg_source_linux_macosx/CAPSImg/StreamCueImage.cpp inflating: capsimg_source_linux_macosx/CAPSImg/StreamCueImage.h inflating: capsimg_source_linux_macosx/CAPSImg/StreamImage.cpp inflating: capsimg_source_linux_macosx/CAPSImg/StreamImage.h inflating: capsimg_source_linux_macosx/CAPSImg/targetver.h inflating: capsimg_source_linux_macosx/CAPSImg/x64/Debug/CAPSImg.log inflating: capsimg_source_linux_macosx/CAPSImg/x64/Release/CAPSImg.log inflating: capsimg_source_linux_macosx/Codec/CapsDefinitions.h inflating: capsimg_source_linux_macosx/Codec/CTRawCodec.cpp inflating: capsimg_source_linux_macosx/Codec/CTRawCodec.h inflating: capsimg_source_linux_macosx/Codec/CTRawCodecDecompressor.cpp inflating: capsimg_source_linux_macosx/Codec/DiskEncoding.cpp inflating: capsimg_source_linux_macosx/Codec/DiskEncoding.h inflating: capsimg_source_linux_macosx/Compatibility/dirent.h inflating: capsimg_source_linux_macosx/Core/BaseFile.cpp inflating: capsimg_source_linux_macosx/Core/BaseFile.h inflating: capsimg_source_linux_macosx/Core/BitBuffer.cpp inflating: capsimg_source_linux_macosx/Core/BitBuffer.h inflating: capsimg_source_linux_macosx/Core/CommonTypes.h inflating: capsimg_source_linux_macosx/Core/CRC.cpp inflating: capsimg_source_linux_macosx/Core/CRC.h inflating: capsimg_source_linux_macosx/Core/DiskFile.cpp inflating: capsimg_source_linux_macosx/Core/DiskFile.h inflating: capsimg_source_linux_macosx/Core/MemoryFile.cpp inflating: capsimg_source_linux_macosx/Core/MemoryFile.h inflating: capsimg_source_linux_macosx/Device/C2Comm.h inflating: capsimg_source_linux_macosx/LibIPF/CapsAPI.h inflating: capsimg_source_linux_macosx/LibIPF/CapsFDC.h inflating: capsimg_source_linux_macosx/LibIPF/CapsForm.h inflating: capsimg_source_linux_macosx/LibIPF/CapsLib.h inflating: capsimg_source_linux_macosx/LibIPF/CapsLibAll.h inflating: capsimg_source_linux_macosx/LibIPF/CapsLibVersion.h inflating: capsimg_source_linux_macosx/LibIPF/ComLib.h inflating: capsimg_source_linux_macosx/SPStudio_Dev.sln ~/RetroPie-Setup ~/RetroPie-Setup/tmp/build/lr-hatari ~/RetroPie-Setup = = = = = = = = = = = = = = = = = = = = = Building 'lr-hatari' : Atari emulator - Hatari port for libretro = = = = = = = = = = = = = = = = = = = = = checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c checking for tar... tar checking for sfd... no checking for fd2inline... no checking for autodoc... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged rm -f libcapsimage.so.5.1 ../Codec/CTRawCodec.o ../Codec/CTRawCodecDecompressor.o ../Codec/DiskEncoding.o ../Core/BaseFile.o ../Core/BitBuffer.o ../Core/CRC.o ../Core/DiskFile.o ../Core/MemoryFile.o CapsAPI.o CapsFDCEmulator.o CapsFile.o CapsFormatMFM.o CapsImage.o CapsImageStd.o CapsLoader.o DiskImage.o DiskImageFactory.o stdafx.o StreamCueImage.o StreamImage.o g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11 -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c ../Codec/CTRawCodec.cpp -o ../Codec/CTRawCodec.o g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11 -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c ../Codec/CTRawCodecDecompressor.cpp -o ../Codec/CTRawCodecDecompressor.o g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11 -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c ../Codec/DiskEncoding.cpp -o ../Codec/DiskEncoding.o g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11 -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c ../Core/BaseFile.cpp -o ../Core/BaseFile.o g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11 -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c ../Core/BitBuffer.cpp -o ../Core/BitBuffer.o g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11 -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c ../Core/CRC.cpp -o ../Core/CRC.o g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11 -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c ../Core/DiskFile.cpp -o ../Core/DiskFile.o g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11 -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c ../Core/MemoryFile.cpp -o ../Core/MemoryFile.o g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11 -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c CapsAPI.cpp -o CapsAPI.o g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11 -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c CapsFDCEmulator.cpp -o CapsFDCEmulator.o g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11 -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c CapsFile.cpp -o CapsFile.o g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11 -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c CapsFormatMFM.cpp -o CapsFormatMFM.o g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11 -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c CapsImage.cpp -o CapsImage.o g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11 -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c CapsImageStd.cpp -o CapsImageStd.o g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11 -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c CapsLoader.cpp -o CapsLoader.o g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11 -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c DiskImage.cpp -o DiskImage.o g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11 -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c DiskImageFactory.cpp -o DiskImageFactory.o g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11 -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c stdafx.cpp -o stdafx.o g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11 -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c StreamCueImage.cpp -o StreamCueImage.o g++ -Wall -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -g -O2 -fomit-frame-pointer -fconserve-space -fno-exceptions -fno-rtti -std=c++11 -I./../LibIPF -I./../Codec -I./../Core -I./../Device -I. -fPIC -c StreamImage.cpp -o StreamImage.o g++ -shared -Wl,-soname,libcapsimage.so.5 -Wl,--version-script,libcapsimage.map -fPIC ../Codec/CTRawCodec.o ../Codec/CTRawCodecDecompressor.o ../Codec/DiskEncoding.o ../Core/BaseFile.o ../Core/BitBuffer.o ../Core/CRC.o ../Core/DiskFile.o ../Core/MemoryFile.o CapsAPI.o CapsFDCEmulator.o CapsFile.o CapsFormatMFM.o CapsImage.o CapsImageStd.o CapsLoader.o DiskImage.o DiskImageFactory.o stdafx.o StreamCueImage.o StreamImage.o -o libcapsimage.so.5.1 install -d /home/pi/RetroPie-Setup/tmp/build/lr-hatari/lib install libcapsimage.so.5.1 /home/pi/RetroPie-Setup/tmp/build/lr-hatari/lib/libcapsimage.so.5.1 cc -std=gnu99 -fPIC -fsigned-char -D__LIBRETRO__ -fno-builtin -funroll-loops -ffast-math -fomit-frame-pointer -march=native -O2 -pipe -D__cdecl='' -DHAVE_CAPSIMAGE=1 -DCAPSIMAGE_VERSION=5 -DGIT_VERSION=\"" c312475"\" -O3 -DLSB_FIRST -DALIGN_DWORD -I./src -I./src/uae-cpu -I./src/falcon -I./src/includes -I./src/debug -I./src -I./libretro -I./libretro/libretro-sdk/include -I./libretro/include -I./libretro/utils -I./libretro/uae-cpu-pregen -c -o src/floppy_ipf.o src/floppy_ipf.c cc -std=gnu99 -fPIC -fsigned-char -D__LIBRETRO__ -fno-builtin -funroll-loops -ffast-math -fomit-frame-pointer -march=native -O2 -pipe -D__cdecl='' -DHAVE_CAPSIMAGE=1 -DCAPSIMAGE_VERSION=5 -DGIT_VERSION=\"" c312475"\" -O3 -DLSB_FIRST -DALIGN_DWORD -I./src -I./src/uae-cpu -I./src/falcon -I./src/includes -I./src/debug -I./src -I./libretro -I./libretro/libretro-sdk/include -I./libretro/include -I./libretro/utils -I./libretro/uae-cpu-pregen -c -o src/floppy_stx.o src/floppy_stx.c cc -std=gnu99 -fPIC -fsigned-char -D__LIBRETRO__ -fno-builtin -funroll-loops -ffast-math -fomit-frame-pointer -march=native -O2 -pipe -D__cdecl='' -DHAVE_CAPSIMAGE=1 -DCAPSIMAGE_VERSION=5 -DGIT_VERSION=\"" c312475"\" -O3 -DLSB_FIRST -DALIGN_DWORD -I./src -I./src/uae-cpu -I./src/falcon -I./src/includes -I./src/debug -I./src -I./libretro -I./libretro/libretro-sdk/include -I./libretro/include -I./libretro/utils -I./libretro/uae-cpu-pregen -c -o src/gemdos.o src/gemdos.c cc -std=gnu99 -fPIC -fsigned-char -D__LIBRETRO__ -fno-builtin -funroll-loops -ffast-math -fomit-frame-pointer -march=native -O2 -pipe -D__cdecl='' -DHAVE_CAPSIMAGE=1 -DCAPSIMAGE_VERSION=5 -DGIT_VERSION=\"" c312475"\" -O3 -DLSB_FIRST -DALIGN_DWORD -I./src -I./src/uae-cpu -I./src/falcon -I./src/includes -I./src/debug -I./src -I./libretro -I./libretro/libretro-sdk/include -I./libretro/include -I./libretro/utils -I./libretro/uae-cpu-pregen -c -o src/hd6301_cpu.o src/hd6301_cpu.c In file included from ./src/includes/caps5/CapsLibAll.h:5:0, from src/floppy_ipf.c:30: ./src/includes/caps5/CommonTypes.h:13:9: error: unknown type name ‘uint8_t’ typedef uint8_t UBYTE; ^~~~~~~ ./src/includes/caps5/CommonTypes.h:14:9: error: unknown type name ‘uint16_t’ typedef uint16_t UWORD; ^~~~~~~~ ./src/includes/caps5/CommonTypes.h:15:9: error: unknown type name ‘uint32_t’ typedef uint32_t UDWORD; ^~~~~~~~ ./src/includes/caps5/CommonTypes.h:16:9: error: unknown type name ‘uint64_t’ typedef uint64_t UQUAD; ^~~~~~~~ src/floppy_ipf.c:49:2: error: unknown type name ‘CapsLong’ CapsLong CapsImage[ MAX_FLOPPYDRIVES ]; /* For the IPF disk images */ ^~~~~~~~ src/floppy_ipf.c:66:53: error: unknown type name ‘CapsULong’ static void IPF_CallBack_Trk ( struct CapsFdc *pc , CapsULong State ); ^~~~~~~~~ src/floppy_ipf.c:67:53: error: unknown type name ‘CapsULong’ static void IPF_CallBack_Irq ( struct CapsFdc *pc , CapsULong State ); ^~~~~~~~~ src/floppy_ipf.c:68:53: error: unknown type name ‘CapsULong’ static void IPF_CallBack_Drq ( struct CapsFdc *pc , CapsULong State ); ^~~~~~~~~ src/floppy_ipf.c: In function ‘IPF_MemorySnapShot_Capture’: src/floppy_ipf.c:133:26: error: ‘IPF_CallBack_Irq’ undeclared (first use in this function) IPF_State.Fdc.cbirq = IPF_CallBack_Irq; ^~~~~~~~~~~~~~~~ src/floppy_ipf.c:133:26: note: each undeclared identifier is reported only once for each function it appears in src/floppy_ipf.c:134:26: error: ‘IPF_CallBack_Drq’ undeclared (first use in this function); did you mean ‘IPF_CallBack_Irq’? IPF_State.Fdc.cbdrq = IPF_CallBack_Drq; ^~~~~~~~~~~~~~~~ IPF_CallBack_Irq src/floppy_ipf.c:135:26: error: ‘IPF_CallBack_Trk’ undeclared (first use in this function); did you mean ‘IPF_CallBack_Drq’? IPF_State.Fdc.cbtrk = IPF_CallBack_Trk; ^~~~~~~~~~~~~~~~ IPF_CallBack_Drq src/floppy_ipf.c: In function ‘IPF_Init’: src/floppy_ipf.c:284:24: error: ‘IPF_CallBack_Irq’ undeclared (first use in this function) IPF_State.Fdc.cbirq = IPF_CallBack_Irq; ^~~~~~~~~~~~~~~~ src/floppy_ipf.c:285:24: error: ‘IPF_CallBack_Drq’ undeclared (first use in this function); did you mean ‘IPF_CallBack_Irq’? IPF_State.Fdc.cbdrq = IPF_CallBack_Drq; ^~~~~~~~~~~~~~~~ IPF_CallBack_Irq src/floppy_ipf.c:286:24: error: ‘IPF_CallBack_Trk’ undeclared (first use in this function); did you mean ‘IPF_CallBack_Drq’? IPF_State.Fdc.cbtrk = IPF_CallBack_Trk; ^~~~~~~~~~~~~~~~ IPF_CallBack_Drq src/floppy_ipf.c: In function ‘IPF_Insert’: src/floppy_ipf.c:320:2: error: unknown type name ‘CapsLong’ CapsLong ImageId; ^~~~~~~~ src/floppy_ipf.c:321:2: error: unknown type name ‘CapsLong’ CapsLong ImageType; ^~~~~~~~ src/floppy_ipf.c:331:39: warning: passing argument 1 of ‘CAPSGetImageTypeMemory’ from incompatible pointer type [-Wincompatible-pointer-types] ImageType = CAPSGetImageTypeMemory ( pImageBuffer , ImageSize ); ^~~~~~~~~~~~ In file included from ./src/includes/caps5/CapsLibAll.h:9:0, from src/floppy_ipf.c:30: ./src/includes/caps5/CapsLib.h:41:23: note: expected ‘PUBYTE {aka int *}’ but argument is of type ‘Uint8 * {aka unsigned char *}’ ExtSub SDWORD __cdecl CAPSGetImageTypeMemory(PUBYTE buffer, UDWORD length); ^~~~~~~~~~~~~~~~~~~~~~ src/floppy_ipf.c:354:55: error: ‘CapsULong’ undeclared (first use in this function) if ( CAPSLockImageMemory ( ImageId , pImageBuffer , (CapsULong)ImageSize , DI_LOCK_MEMREF ) == imgeOk ) ^~~~~~~~~ src/floppy_ipf.c:354:65: error: expected ‘)’ before ‘ImageSize’ if ( CAPSLockImageMemory ( ImageId , pImageBuffer , (CapsULong)ImageSize , DI_LOCK_MEMREF ) == imgeOk ) ^~~~~~~~~ src/floppy_ipf.c:354:39: warning: passing argument 2 of ‘CAPSLockImageMemory’ from incompatible pointer type [-Wincompatible-pointer-types] if ( CAPSLockImageMemory ( ImageId , pImageBuffer , (CapsULong)ImageSize , DI_LOCK_MEMREF ) == imgeOk ) ^~~~~~~~~~~~ In file included from ./src/includes/caps5/CapsLibAll.h:9:0, from src/floppy_ipf.c:30: ./src/includes/caps5/CapsLib.h:21:23: note: expected ‘PUBYTE {aka int *}’ but argument is of type ‘Uint8 * {aka unsigned char *}’ ExtSub SDWORD __cdecl CAPSLockImageMemory(SDWORD id, PUBYTE buffer, UDWORD length, UDWORD flag); ^~~~~~~~~~~~~~~~~~~ src/floppy_ipf.c:354:7: error: too few arguments to function ‘CAPSLockImageMemory’ if ( CAPSLockImageMemory ( ImageId , pImageBuffer , (CapsULong)ImageSize , DI_LOCK_MEMREF ) == imgeOk ) ^~~~~~~~~~~~~~~~~~~ In file included from ./src/includes/caps5/CapsLibAll.h:9:0, from src/floppy_ipf.c:30: ./src/includes/caps5/CapsLib.h:21:23: note: declared here ExtSub SDWORD __cdecl CAPSLockImageMemory(SDWORD id, PUBYTE buffer, UDWORD length, UDWORD flag); ^~~~~~~~~~~~~~~~~~~ src/floppy_ipf.c: At top level: src/floppy_ipf.c:470:53: error: unknown type name ‘CapsULong’ static void IPF_CallBack_Trk ( struct CapsFdc *pc , CapsULong State ) ^~~~~~~~~ src/floppy_ipf.c:499:53: error: unknown type name ‘CapsULong’ static void IPF_CallBack_Irq ( struct CapsFdc *pc , CapsULong State ) ^~~~~~~~~ src/floppy_ipf.c:518:53: error: unknown type name ‘CapsULong’ static void IPF_CallBack_Drq ( struct CapsFdc *pc , CapsULong State ) ^~~~~~~~~ Makefile.libretro:219: recipe for target 'src/floppy_ipf.o' failed make: *** [src/floppy_ipf.o] Error 1 make: *** Waiting for unfinished jobs.... src/gemdos.c: In function ‘PopulateDTA’: src/gemdos.c:283:44: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] snprintf(tempstr, sizeof(tempstr), "%s%c%s", path, PATHSEP, file->d_name); ^ In file included from /usr/include/stdio.h:862:0, from ./src/includes/main.h:13, from src/gemdos.c:39: /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 257) into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~/RetroPie-Setup Could not successfully build lr-hatari - Atari emulator - Hatari port for libretro (/home/pi/RetroPie-Setup/tmp/build/lr-hatari/hatari_libretro.so not found). Log ended at: Fri 20 Mar 23:33:46 GMT 2020 Total running time: 0 hours, 0 mins, 8 secs