[hatari-users] Need Help compiling Hatari under ubuntu 20.20 x64 |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-users Archives ]
Hello, I am trying to compile the latest version of Hitari using Ubuntu 20.20 x86_64. To the best of my knowledge, I installed the following: PortMIDI SDL ZLIB LibPNG Port Audio And IPF 5.1 The ‘CMake’ process has no issues; please see below: -- The C compiler identification is GNU 9.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Performing Test ASAN_AVAILABLE -- Performing Test ASAN_AVAILABLE - Failed -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Could NOT find SDL2 (missing: SDL2_LIBRARY SDL2_INCLUDE_DIR) -- Found SDL: /usr/lib/x86_64-linux-gnu/libSDLmain.a;/usr/lib/x86_64-linux-gnu/libSDL.so;-lpthread (found version "1.2.15") -- Found Math: /usr/lib/x86_64-linux-gnu/libm.so -- Could NOT find Readline (missing: READLINE_LIBRARY READLINE_INCLUDE_DIR) -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") -- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.6.37") -- Found X11: /usr/include -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Found PortAudio: /usr/lib/x86_64-linux-gnu/libportaudio.so -- Looking for Pa_GetDefaultInputDevice -- Looking for Pa_GetDefaultInputDevice - found -- Found PortMidi: /usr/lib/x86_64-linux-gnu/libportmidi.so -- Looking for Pm_Initialize -- Looking for Pm_Initialize - found -- Found CapsImage: /usr/local/lib/caps/libcapsimage.so -- Could NOT find Udev (missing: UDEV_LIBRARY UDEV_INCLUDE_DIR) -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of off_t -- Check size of off_t - done -- Looking for include file termios.h -- Looking for include file termios.h - found -- Looking for include file sys/ioctl.h -- Looking for include file sys/ioctl.h - found -- Looking for include file strings.h -- Looking for include file strings.h - found -- Looking for include file malloc.h -- Looking for include file malloc.h - found -- Looking for include file /usr/include/SDL/SDL_config.h -- Looking for include file /usr/include/SDL/SDL_config.h - found -- Looking for include file sys/time.h -- Looking for include file sys/time.h - found -- Looking for include file sys/times.h -- Looking for include file sys/times.h - found -- Looking for include file utime.h -- Looking for include file utime.h - found -- Looking for include file sys/utime.h -- Looking for include file sys/utime.h - not found -- Looking for include files sys/socket.h, sys/un.h -- Looking for include files sys/socket.h, sys/un.h - found -- Looking for cfmakeraw -- Looking for cfmakeraw - found -- Looking for tcsetattr -- Looking for tcsetattr - found -- Looking for setenv -- Looking for setenv - found -- Looking for select -- Looking for select - found -- Looking for gettimeofday -- Looking for gettimeofday - found -- Looking for nanosleep -- Looking for nanosleep - found -- Looking for alphasort -- Looking for alphasort - found -- Looking for scandir -- Looking for scandir - found -- Looking for statvfs -- Looking for statvfs - found -- Looking for fseeko -- Looking for fseeko - found -- Looking for ftello -- Looking for ftello - found -- Looking for flock -- Looking for flock - found -- Looking for strlcpy -- Looking for strlcpy - not found -- Performing Test HAVE_DIRENT_D_TYPE -- Performing Test HAVE_DIRENT_D_TYPE - Success -- Found PythonInterp: /usr/bin/python3.8 (found version "3.8.5") Libraries summary : ------------------- - sdl : using SDL v1.2.15 NOTE: The SDL1 support is deprecated and will be removed soon - readline : not found, install it to enable debugger history/completion - zlib : found, allows to use zip/gz files directly - png : found, allows to compress screenshot/avi files using png - portaudio : found, enables the microphone input in Falcon mode - portmidi : found, required for (non-Linux) MIDI support - capsimage : v5 found, allow to use .IPF, .RAW and .CTR disk images - udev : not found, install it to enable media change detection in NatFeats SCSI devices on udev-based systems (Linux) - LFS : Large File Support is available (size of off_t = 8), AVI recording and HD image files can be bigger than 2 GB -- Configuring done -- Generating done -- Build files have been written to: /home/mike/sourcecode/hatari/build The ‘make’ process runs into some trouble when it tries to compile code for IPF as shown below: Scanning dependencies of target build68k [ 1%] Building C object src/cpu/CMakeFiles/build68k.dir/build68k.c.o [ 1%] Building C object src/cpu/CMakeFiles/build68k.dir/writelog.c.o [ 2%] Linking C executable build68k [ 2%] Built target build68k [ 3%] Generating cpudefs.c Scanning dependencies of target gencpu [ 3%] Building C object src/cpu/CMakeFiles/gencpu.dir/gencpu.c.o [ 4%] Building C object src/cpu/CMakeFiles/gencpu.dir/readcpu.c.o [ 4%] Building C object src/cpu/CMakeFiles/gencpu.dir/cpudefs.c.o [ 5%] Linking C executable gencpu [ 5%] Built target gencpu [ 5%] Generating cpustbl.c, cpuemu_0.c, cpuemu_11.c, cpuemu_13.c, cpuemu_20.c, cpuemu_21.c, cpuemu_22.c, cpuemu_23.c, cpuemu_24.c, cpuemu_31.c, cpuemu_32.c, cpuemu_33.c, cpuemu_34.c, cpuemu_35.c, cpuemu_40.c, cpuemu_50.c Scanning dependencies of target UaeCpu [ 5%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpustbl.c.o [ 6%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_0.c.o [ 6%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_11.c.o [ 7%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_13.c.o [ 7%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_20.c.o [ 8%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_21.c.o [ 8%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_22.c.o [ 9%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_23.c.o [ 9%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_24.c.o [ 10%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_31.c.o [ 10%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_32.c.o [ 11%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_33.c.o [ 11%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_34.c.o [ 12%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_35.c.o [ 12%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_40.c.o [ 13%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_50.c.o [ 13%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpudefs.c.o [ 14%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpummu.c.o [ 14%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpummu030.c.o [ 15%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/debug.c.o [ 15%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/disasm.c.o [ 16%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/newcpu_common.c.o [ 16%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/newcpu.c.o [ 17%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/readcpu.c.o [ 17%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/writelog.c.o [ 18%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/fpp.c.o [ 18%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/fpp_native.c.o [ 19%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/fpp_softfloat.c.o [ 19%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/softfloat/softfloat.c.o [ 20%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/softfloat/softfloat_decimal.c.o [ 20%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/softfloat/softfloat_fpsp.c.o [ 21%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/machdep/m68k.c.o [ 21%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/custom.c.o [ 22%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/events.c.o [ 22%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/memory.c.o [ 23%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/hatari-glue.c.o [ 23%] Linking C static library libUaeCpu.a [ 24%] Built target UaeCpu Scanning dependencies of target Floppy [ 25%] Building C object src/CMakeFiles/Floppy.dir/createBlankImage.c.o [ 25%] Building C object src/CMakeFiles/Floppy.dir/dim.c.o [ 26%] Building C object src/CMakeFiles/Floppy.dir/msa.c.o [ 26%] Building C object src/CMakeFiles/Floppy.dir/st.c.o [ 27%] Building C object src/CMakeFiles/Floppy.dir/zip.c.o [ 27%] Linking C static library libFloppy.a [ 27%] Built target Floppy Scanning dependencies of target Debug [ 27%] Building C object src/debug/CMakeFiles/Debug.dir/log.c.o [ 28%] Building C object src/debug/CMakeFiles/Debug.dir/debugui.c.o [ 28%] Building C object src/debug/CMakeFiles/Debug.dir/breakcond.c.o [ 29%] Building C object src/debug/CMakeFiles/Debug.dir/debugcpu.c.o [ 29%] Building C object src/debug/CMakeFiles/Debug.dir/debugInfo.c.o [ 30%] Building C object src/debug/CMakeFiles/Debug.dir/debugdsp.c.o [ 30%] Building C object src/debug/CMakeFiles/Debug.dir/evaluate.c.o [ 31%] Building C object src/debug/CMakeFiles/Debug.dir/history.c.o [ 31%] Building C object src/debug/CMakeFiles/Debug.dir/symbols.c.o [ 32%] Building C object src/debug/CMakeFiles/Debug.dir/vars.c.o [ 32%] Building C object src/debug/CMakeFiles/Debug.dir/profile.c.o [ 33%] Building C object src/debug/CMakeFiles/Debug.dir/profilecpu.c.o [ 33%] Building C object src/debug/CMakeFiles/Debug.dir/profiledsp.c.o [ 34%] Building C object src/debug/CMakeFiles/Debug.dir/natfeats.c.o [ 34%] Building C object src/debug/CMakeFiles/Debug.dir/console.c.o [ 35%] Building C object src/debug/CMakeFiles/Debug.dir/68kDisass.c.o [ 35%] Linking C static library libDebug.a [ 35%] Built target Debug Scanning dependencies of target Falcon [ 35%] Building C object src/falcon/CMakeFiles/Falcon.dir/crossbar.c.o [ 36%] Building C object src/falcon/CMakeFiles/Falcon.dir/microphone.c.o [ 36%] Building C object src/falcon/CMakeFiles/Falcon.dir/nvram.c.o [ 37%] Building C object src/falcon/CMakeFiles/Falcon.dir/videl.c.o [ 37%] Building C object src/falcon/CMakeFiles/Falcon.dir/dsp.c.o [ 38%] Building C object src/falcon/CMakeFiles/Falcon.dir/dsp_core.c.o [ 38%] Building C object src/falcon/CMakeFiles/Falcon.dir/dsp_cpu.c.o [ 39%] Building C object src/falcon/CMakeFiles/Falcon.dir/dsp_disasm.c.o [ 39%] Linking C static library libFalcon.a [ 39%] Built target Falcon Scanning dependencies of target GuiSdl [ 40%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgAbout.c.o [ 40%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgAlert.c.o [ 41%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgCpu.c.o [ 41%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgDevice.c.o [ 42%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgFileSelect.c.o [ 42%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgFloppy.c.o [ 43%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgHalt.c.o [ 43%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgHardDisk.c.o [ 44%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgJoystick.c.o [ 44%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgKeyboard.c.o [ 45%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgMain.c.o [ 45%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgMemory.c.o [ 46%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgNewDisk.c.o [ 46%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgRom.c.o [ 47%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgScreen.c.o [ 47%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgSound.c.o [ 48%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgSystem.c.o [ 48%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/sdlgui.c.o [ 49%] Linking C static library libGuiSdl.a [ 49%] Built target GuiSdl Scanning dependencies of target hatari [ 50%] Building C object src/CMakeFiles/hatari.dir/acia.c.o [ 50%] Building C object src/CMakeFiles/hatari.dir/audio.c.o [ 51%] Building C object src/CMakeFiles/hatari.dir/avi_record.c.o [ 51%] Building C object src/CMakeFiles/hatari.dir/bios.c.o [ 52%] Building C object src/CMakeFiles/hatari.dir/blitter.c.o [ 52%] Building C object src/CMakeFiles/hatari.dir/cart.c.o [ 53%] Building C object src/CMakeFiles/hatari.dir/cfgopts.c.o [ 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 In file included from /usr/local/include/caps/CapsLib.h:8, from /usr/local/include/caps/CapsLibAll.h:9, from /home/mike/sourcecode/hatari/src/floppy_ipf.c:35: /usr/local/include/caps/CapsLib.h:12:1: error: expected identifier or ‘(’ before string constant 12 | ExtSub SDWORD __cdecl CAPSInit(); | ^~~~~~ /usr/local/include/caps/CapsLib.h:13:1: error: expected identifier or ‘(’ before string constant 13 | ExtSub SDWORD __cdecl CAPSExit(); | ^~~~~~ /usr/local/include/caps/CapsLib.h:14:1: error: expected identifier or ‘(’ before string constant 14 | ExtSub SDWORD __cdecl CAPSAddImage(); | ^~~~~~ /usr/local/include/caps/CapsLib.h:15:1: error: expected identifier or ‘(’ before string constant 15 | ExtSub SDWORD __cdecl CAPSRemImage(SDWORD id); | ^~~~~~ /usr/local/include/caps/CapsLib.h:16:1: error: expected identifier or ‘(’ before string constant 16 | ExtSub SDWORD __cdecl CAPSLockImage(SDWORD id, PCHAR name); | ^~~~~~ /usr/local/include/caps/CapsLib.h:17:1: error: expected identifier or ‘(’ before string constant 17 | ExtSub SDWORD __cdecl CAPSLockImageMemory(SDWORD id, PUBYTE buffer, UDWORD length, UDWORD flag); | ^~~~~~ /usr/local/include/caps/CapsLib.h:18:1: error: expected identifier or ‘(’ before string constant 18 | ExtSub SDWORD __cdecl CAPSUnlockImage(SDWORD id); | ^~~~~~ /usr/local/include/caps/CapsLib.h:19:1: error: expected identifier or ‘(’ before string constant 19 | ExtSub SDWORD __cdecl CAPSLoadImage(SDWORD id, UDWORD flag); | ^~~~~~ /usr/local/include/caps/CapsLib.h:20:1: error: expected identifier or ‘(’ before string constant 20 | ExtSub SDWORD __cdecl CAPSGetImageInfo(PCAPSIMAGEINFO pi, SDWORD id); | ^~~~~~ /usr/local/include/caps/CapsLib.h:21:1: error: expected identifier or ‘(’ before string constant 21 | ExtSub SDWORD __cdecl CAPSLockTrack(PVOID ptrackinfo, SDWORD id, UDWORD cylinder, UDWORD head, UDWORD flag); | ^~~~~~ /usr/local/include/caps/CapsLib.h:22:1: error: expected identifier or ‘(’ before string constant 22 | ExtSub SDWORD __cdecl CAPSUnlockTrack(SDWORD id, UDWORD cylinder, UDWORD head); | ^~~~~~ /usr/local/include/caps/CapsLib.h:23:1: error: expected identifier or ‘(’ before string constant 23 | ExtSub SDWORD __cdecl CAPSUnlockAllTracks(SDWORD id); | ^~~~~~ /usr/local/include/caps/CapsLib.h:24:1: error: expected identifier or ‘(’ before string constant 24 | ExtSub PCHAR __cdecl CAPSGetPlatformName(UDWORD pid); | ^~~~~~ /usr/local/include/caps/CapsLib.h:25:1: error: expected identifier or ‘(’ before string constant 25 | ExtSub SDWORD __cdecl CAPSGetVersionInfo(PVOID pversioninfo, UDWORD flag); | ^~~~~~ /usr/local/include/caps/CapsLib.h:26:1: error: expected identifier or ‘(’ before string constant 26 | ExtSub UDWORD __cdecl CAPSFdcGetInfo(SDWORD iid, PCAPSFDC pc, SDWORD ext); | ^~~~~~ /usr/local/include/caps/CapsLib.h:27:1: error: expected identifier or ‘(’ before string constant 27 | ExtSub SDWORD __cdecl CAPSFdcInit(PCAPSFDC pc); | ^~~~~~ /usr/local/include/caps/CapsLib.h:28:1: error: expected identifier or ‘(’ before string constant 28 | ExtSub void __cdecl CAPSFdcReset(PCAPSFDC pc); | ^~~~~~ /usr/local/include/caps/CapsLib.h:29:1: error: expected identifier or ‘(’ before string constant 29 | ExtSub void __cdecl CAPSFdcEmulate(PCAPSFDC pc, UDWORD cyclecnt); | ^~~~~~ /usr/local/include/caps/CapsLib.h:30:1: error: expected identifier or ‘(’ before string constant 30 | ExtSub UDWORD __cdecl CAPSFdcRead(PCAPSFDC pc, UDWORD address); | ^~~~~~ /usr/local/include/caps/CapsLib.h:31:1: error: expected identifier or ‘(’ before string constant 31 | ExtSub void __cdecl CAPSFdcWrite(PCAPSFDC pc, UDWORD address, UDWORD data); | ^~~~~~ /usr/local/include/caps/CapsLib.h:32:1: error: expected identifier or ‘(’ before string constant 32 | ExtSub SDWORD __cdecl CAPSFdcInvalidateTrack(PCAPSFDC pc, SDWORD drive); | ^~~~~~ /usr/local/include/caps/CapsLib.h:33:1: error: expected identifier or ‘(’ before string constant 33 | ExtSub SDWORD __cdecl CAPSFormatDataToMFM(PVOID pformattrack, UDWORD flag); | ^~~~~~ /usr/local/include/caps/CapsLib.h:34:1: error: expected identifier or ‘(’ before string constant 34 | ExtSub SDWORD __cdecl CAPSGetInfo(PVOID pinfo, SDWORD id, UDWORD cylinder, UDWORD head, UDWORD inftype, UDWORD infid); | ^~~~~~ /usr/local/include/caps/CapsLib.h:35:1: error: expected identifier or ‘(’ before string constant 35 | ExtSub SDWORD __cdecl CAPSSetRevolution(SDWORD id, UDWORD value); | ^~~~~~ /usr/local/include/caps/CapsLib.h:36:1: error: expected identifier or ‘(’ before string constant 36 | ExtSub SDWORD __cdecl CAPSGetImageType(PCHAR name); | ^~~~~~ /usr/local/include/caps/CapsLib.h:37:1: error: expected identifier or ‘(’ before string constant 37 | ExtSub SDWORD __cdecl CAPSGetImageTypeMemory(PUBYTE buffer, UDWORD length); | ^~~~~~ /usr/local/include/caps/CapsLib.h:38:1: error: expected identifier or ‘(’ before string constant 38 | ExtSub SDWORD __cdecl CAPSGetDebugRequest(); | ^~~~~~ /home/mike/sourcecode/hatari/src/floppy_ipf.c: In function ‘IPF_MemorySnapShot_Capture’: /home/mike/sourcecode/hatari/src/floppy_ipf.c:165:4: warning: implicit declaration of function ‘CAPSFdcInvalidateTrack’ [-Wimplicit-function-declaration] 165 | CAPSFdcInvalidateTrack ( &IPF_State.Fdc , 0 ); /* Invalidate buffered track data for drive 0 */ | ^~~~~~~~~~~~~~~~~~~~~~ /home/mike/sourcecode/hatari/src/floppy_ipf.c: In function ‘IPF_Init’: /home/mike/sourcecode/hatari/src/floppy_ipf.c:329:7: warning: implicit declaration of function ‘CAPSInit’ [-Wimplicit-function-declaration] 329 | if ( CAPSInit() != imgeOk ) | ^~~~~~~~ /home/mike/sourcecode/hatari/src/floppy_ipf.c:335:7: warning: implicit declaration of function ‘CAPSGetVersionInfo’ [-Wimplicit-function-declaration] 335 | if ( CAPSGetVersionInfo ( &caps_vi , 0 ) != imgeOk ) | ^~~~~~~~~~~~~~~~~~ /home/mike/sourcecode/hatari/src/floppy_ipf.c:368:7: warning: implicit declaration of function ‘CAPSFdcInit’ [-Wimplicit-function-declaration] 368 | if ( CAPSFdcInit ( &IPF_State.Fdc ) != imgeOk) | ^~~~~~~~~~~ /home/mike/sourcecode/hatari/src/floppy_ipf.c:387:2: warning: implicit declaration of function ‘CAPSFdcReset’ [-Wimplicit-function-declaration] 387 | CAPSFdcReset ( &IPF_State.Fdc ); | ^~~~~~~~~~~~ /home/mike/sourcecode/hatari/src/floppy_ipf.c: In function ‘IPF_Exit’: /home/mike/sourcecode/hatari/src/floppy_ipf.c:403:2: warning: implicit declaration of function ‘CAPSExit’ [-Wimplicit-function-declaration] 403 | CAPSExit(); | ^~~~~~~~ /home/mike/sourcecode/hatari/src/floppy_ipf.c: In function ‘IPF_Insert’: /home/mike/sourcecode/hatari/src/floppy_ipf.c:425:12: warning: implicit declaration of function ‘CAPSAddImage’ [-Wimplicit-function-declaration] 425 | ImageId = CAPSAddImage(); | ^~~~~~~~~~~~ /home/mike/sourcecode/hatari/src/floppy_ipf.c:432:14: warning: implicit declaration of function ‘CAPSGetImageTypeMemory’ [-Wimplicit-function-declaration] 432 | ImageType = CAPSGetImageTypeMemory ( pImageBuffer , ImageSize ); | ^~~~~~~~~~~~~~~~~~~~~~ /home/mike/sourcecode/hatari/src/floppy_ipf.c:436:3: warning: implicit declaration of function ‘CAPSRemImage’ [-Wimplicit-function-declaration] 436 | CAPSRemImage ( ImageId ) ; | ^~~~~~~~~~~~ /home/mike/sourcecode/hatari/src/floppy_ipf.c:476:7: warning: implicit declaration of function ‘CAPSLockImageMemory’ [-Wimplicit-function-declaration] 476 | if ( CAPSLockImageMemory ( ImageId , pImageBuffer , (CapsULong)ImageSize , DI_LOCK_MEMREF ) == imgeOk ) | ^~~~~~~~~~~~~~~~~~~ /home/mike/sourcecode/hatari/src/floppy_ipf.c:482:8: warning: implicit declaration of function ‘CAPSGetImageInfo’ [-Wimplicit-function-declaration] 482 | if ( CAPSGetImageInfo ( &cii , ImageId ) == imgeOk ) | ^~~~~~~~~~~~~~~~ /home/mike/sourcecode/hatari/src/floppy_ipf.c:495:23: warning: implicit declaration of function ‘CAPSGetPlatformName’ [-Wimplicit-function-declaration] 495 | printf ( " %s" , CAPSGetPlatformName(cii.platform[i]) ); | ^~~~~~~~~~~~~~~~~~~ /home/mike/sourcecode/hatari/src/floppy_ipf.c:495:18: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘int’ [-Wformat=] 495 | printf ( " %s" , CAPSGetPlatformName(cii.platform[i]) ); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | int | char * | %d /home/mike/sourcecode/hatari/src/floppy_ipf.c:511:7: warning: implicit declaration of function ‘CAPSLoadImage’ [-Wimplicit-function-declaration] 511 | if ( CAPSLoadImage ( ImageId , DI_LOCK_DENALT | DI_LOCK_DENVAR | DI_LOCK_UPDATEFD ) != imgeOk ) | ^~~~~~~~~~~~~ /home/mike/sourcecode/hatari/src/floppy_ipf.c:514:3: warning: implicit declaration of function ‘CAPSUnlockImage’ [-Wimplicit-function-declaration] 514 | CAPSUnlockImage ( ImageId ); | ^~~~~~~~~~~~~~~ /home/mike/sourcecode/hatari/src/floppy_ipf.c: In function ‘IPF_CallBack_Trk’: /home/mike/sourcecode/hatari/src/floppy_ipf.c:716:7: warning: implicit declaration of function ‘CAPSLockTrack’ [-Wimplicit-function-declaration] 716 | if ( CAPSLockTrack ( &cti , IPF_State.CapsImage[ Drive ] , pd->buftrack , pd->bufside , | ^~~~~~~~~~~~~ /home/mike/sourcecode/hatari/src/floppy_ipf.c: In function ‘IPF_CallBack_Drq’: /home/mike/sourcecode/hatari/src/floppy_ipf.c:767:3: warning: implicit declaration of function ‘CAPSFdcWrite’ [-Wimplicit-function-declaration] 767 | CAPSFdcWrite ( &IPF_State.Fdc , 3 , Byte ); /* Write to FDC's reg 3 */ | ^~~~~~~~~~~~ /home/mike/sourcecode/hatari/src/floppy_ipf.c:774:10: warning: implicit declaration of function ‘CAPSFdcRead’ [-Wimplicit-function-declaration] 774 | Byte = CAPSFdcRead ( &IPF_State.Fdc , 3 ); /* Read from FDC's reg 3 */ | ^~~~~~~~~~~ /home/mike/sourcecode/hatari/src/floppy_ipf.c: In function ‘IPF_FDC_WriteReg’: /home/mike/sourcecode/hatari/src/floppy_ipf.c:918:5: warning: implicit declaration of function ‘CAPSSetRevolution’ [-Wimplicit-function-declaration] 918 | CAPSSetRevolution ( IPF_State.CapsImage[ Drive ] , 0 ); | ^~~~~~~~~~~~~~~~~ /home/mike/sourcecode/hatari/src/floppy_ipf.c: In function ‘IPF_Emulate’: /home/mike/sourcecode/hatari/src/floppy_ipf.c:1106:2: warning: implicit declaration of function ‘CAPSFdcEmulate’; did you mean ‘IPF_Emulate’? [-Wimplicit-function-declaration] 1106 | CAPSFdcEmulate ( &IPF_State.Fdc , NbCycles ); /* Process at max NbCycles */ | ^~~~~~~~~~~~~~ | IPF_Emulate make[2]: *** [src/CMakeFiles/hatari.dir/build.make:310: src/CMakeFiles/hatari.dir/floppy_ipf.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:637: src/CMakeFiles/hatari.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 I looked everywhere for an explanation of the error but found none for this particular situation. Ultimately, I am trying to compile the latest version of Hatari for windows 10 with IPF support. Can someone help me out or let me know a better environment to do this? I have no idea what to do next to get IPF support working correctly. Thank you for all that reply. Mike |
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |