Thanks to help here, I found my issue with *DETECTING* libcapsimage.so.5.1
on Ubuntu,
- the .h files need to all be in /usr/local/include/caps5
- the libcapsimage.so.5.1 file that gets built from source and installed into /usr/local/lib needs to be copied to /usr/local/lib/caps5
- you must symlink libcapsimage.so.5.1 in /usr/local/lib/caps5 to libcapsimage.so.5 and libcapsimage.so
...
NOW configure and cmake will detect capsimage 5!
however, when I attempt to build I get errors. I've tried make clean, clean source checkout, I've different compilers.. still no luck.
No luck with capsimage 5.1 or capsimage 4.2... am I missing something?
-Ross
=====
Here's the output when I try to build with gcc:
rcampbel@Godzilla~/project/hatari $ ./configure
-- The C compiler identification is GNU 4..8.5
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test MUDFLAP_AVAILABLE
-- Performing Test MUDFLAP_AVAILABLE - Failed
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- 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
-- Found SDL2: /usr/lib/x86_64-linux-gnu/libSDL2main.a;/usr/lib/x86_64-linux-gnu/libSDL2.so;-lpthread
-- Found MATH: /usr/lib/x86_64-linux-gnu/libm.so
-- Found READLINE: /usr/lib/x86_64-linux-gnu/libreadline.so
-- Looking for rl_filename_completion_function
-- Looking for rl_filename_completion_function - found
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.2.50")
-- 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
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found PORTAUDIO: /usr/lib/libportaudio.so
-- Looking for Pa_GetDefaultInputDevice
-- Looking for Pa_GetDefaultInputDevice - not found
-- Found PORTMIDI: /usr/lib/libportmidi.so
-- Looking for Pm_Initialize
-- Looking for Pm_Initialize - found
-- Found CAPSIMAGE: /usr/local/lib/caps5/libcapsimage.so
-- Found UDEV: /usr/lib/x86_64-linux-gnu/libudev.so
-- Looking for include file termios.h
-- Looking for include file termios.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/SDL2/SDL_config.h
-- Looking for include file /usr/include/SDL2/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 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/python (found version "2.7.6")
Libraries summary :
-------------------
- sdl : using SDL2 v2.0.2
- readline : found, enables history/completion in the debugger
- zlib : found, allows to use zip/gz files directly
- png : found, allows to compress screenshot/avi files using png
- portaudio : not found, install it to enable the Falcon microphone input
- portmidi : found, required for (non-Linux) MIDI support
- capsimage : v5 found, allow to use .IPF, .RAW and .CTR disk images
- udev : found, required for media change detection in NatFeats SCSI
devices on udev-based systems (Linux)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/rcampbel/project/hatari
Now you must type: make; make install
to actually build and install the software
rcampbel@Godzilla~/project/hatari $ make
Scanning dependencies of target build68k
[ 0%] Building C object src/cpu/CMakeFiles/build68k.dir/build68k.c.o
[ 1%] Building C object src/cpu/CMakeFiles/build68k.dir/writelog.c.o
[ 1%] Linking C executable build68k
[ 1%] Built target build68k
[ 2%] Generating cpudefs.c
Scanning dependencies of target gencpu
[ 2%] Building C object src/cpu/CMakeFiles/gencpu.dir/gencpu.c.o
[ 3%] Building C object src/cpu/CMakeFiles/gencpu.dir/readcpu.c.o
[ 3%] Building C object src/cpu/CMakeFiles/gencpu.dir/cpudefs.c.o
[ 4%] Linking C executable gencpu
[ 4%] 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
[ 6%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpustbl.c.o
[ 6%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_0.c.o
[ 7%] 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
[ 8%] 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
[ 9%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_22.c.o
[ 10%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_23.c.o
[ 10%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_24.c.o
[ 11%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_31.c.o
[ 11%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_32.c.o
[ 12%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_33.c.o
[ 12%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_34.c.o
[ 13%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_35.c.o
[ 13%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_40.c.o
[ 14%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_50.c.o
[ 15%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpudefs.c.o
[ 15%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpummu.c.o
[ 16%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpummu030.c.o
[ 16%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/debug.c.o
[ 17%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/newcpu_common.c.o
[ 17%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/newcpu.c.o
[ 18%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/readcpu.c.o
[ 19%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/writelog.c.o
[ 19%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/fpp.c.o
[ 20%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/fpp_native.c.o
[ 20%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/fpp_softfloat.c.o
[ 21%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/softfloat/softfloat.c.o
[ 21%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/softfloat/softfloat_decimal.c..o
[ 22%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/softfloat/softfloat_fpsp.c.o
[ 22%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/custom.c.o
[ 23%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/events.c.o
[ 24%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/memory.c.o
[ 24%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/hatari-glue.c.o
[ 25%] Linking C static library libUaeCpu.a
[ 25%] Built target UaeCpu
Scanning dependencies of target Floppy
[ 26%] Building C object src/CMakeFiles/Floppy.dir/createBlankImage.c.o
[ 26%] Building C object src/CMakeFiles/Floppy.dir/dim.c.o
[ 27%] Building C object src/CMakeFiles/Floppy.dir/msa.c.o
[ 27%] Building C object src/CMakeFiles/Floppy.dir/st.c.o
[ 28%] Building C object src/CMakeFiles/Floppy.dir/zip.c..o
[ 28%] Linking C static library libFloppy.a
[ 28%] Built target Floppy
Scanning dependencies of target Debug
[ 28%] Building C object src/debug/CMakeFiles/Debug.dir/log.c.o
[ 29%] Building C object src/debug/CMakeFiles/Debug.dir/debugui.c.o
[ 29%] Building C object src/debug/CMakeFiles/Debug.dir/breakcond.c.o
[ 30%] Building C object src/debug/CMakeFiles/Debug.dir/debugcpu.c..o
[ 30%] Building C object src/debug/CMakeFiles/Debug.dir/debugInfo.c.o
[ 31%] Building C object src/debug/CMakeFiles/Debug.dir/debugdsp.c.o
[ 31%] Building C object src/debug/CMakeFiles/Debug.dir/evaluate.c.o
[ 32%] Building C object src/debug/CMakeFiles/Debug.dir/history.c.o
[ 33%] Building C object src/debug/CMakeFiles/Debug.dir/symbols.c.o
[ 33%] Building C object src/debug/CMakeFiles/Debug.dir/vars.c.o
[ 34%] Building C object src/debug/CMakeFiles/Debug.dir/profile.c.o
[ 34%] Building C object src/debug/CMakeFiles/Debug.dir/profilecpu.c.o
[ 35%] Building C object src/debug/CMakeFiles/Debug.dir/profiledsp.c.o
[ 35%] Building C object src/debug/CMakeFiles/Debug.dir/natfeats.c.o
[ 36%] Building C object src/debug/CMakeFiles/Debug.dir/console.c.o
[ 36%] Building C object src/debug/CMakeFiles/Debug.dir/68kDisass.c.o
[ 37%] Linking C static library libDebug.a
[ 37%] Built target Debug
Scanning dependencies of target Falcon
[ 38%] Building C object src/falcon/CMakeFiles/Falcon.dir/crossbar.c.o
[ 38%] Building C object src/falcon/CMakeFiles/Falcon.dir/microphone.c.o
[ 39%] Building C object src/falcon/CMakeFiles/Falcon.dir/nvram.c.o
[ 39%] Building C object src/falcon/CMakeFiles/Falcon.dir/videl.c.o
[ 40%] Building C object src/falcon/CMakeFiles/Falcon.dir/dsp.c.o
[ 40%] Building C object src/falcon/CMakeFiles/Falcon.dir/dsp_core.c.o
[ 41%] Building C object src/falcon/CMakeFiles/Falcon.dir/dsp_cpu.c.o
[ 41%] Building C object src/falcon/CMakeFiles/Falcon.dir/dsp_disasm.c.o
[ 42%] Linking C static library libFalcon.a
[ 42%] Built target Falcon
Scanning dependencies of target GuiSdl
[ 43%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgAbout.c.o
[ 43%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgAlert.c.o
[ 44%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgCpu.c.o
[ 45%] Building C object src/gui-sdl/CMakeFiles/GuiSdl..dir/dlgDevice.c.o
[ 45%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgFileSelect.c.o
[ 46%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgFloppy.c.o
[ 46%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgHalt.c.o
[ 47%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgHardDisk.c.o
[ 47%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgJoystick.c.o
[ 48%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgKeyboard.c.o
[ 49%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgMain.c.o
[ 49%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgMemory.c.o
[ 50%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgNewDisk.c.o
[ 50%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgRom.c.o
[ 51%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgScreen.c.o
[ 51%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgSound.c.o
[ 52%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgSystem.c.o
[ 52%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/sdlgui.c.o
[ 53%] Linking C static library libGuiSdl.a
[ 53%] Built target GuiSdl
Scanning dependencies of target hatari
[ 54%] Building C object src/CMakeFiles/hatari.dir/acia.c.o
[ 55%] Building C object src/CMakeFiles/hatari.dir/audio.c.o
[ 55%] Building C object src/CMakeFiles/hatari.dir/avi_record.c.o
[ 56%] Building C object src/CMakeFiles/hatari.dir/bios.c.o
[ 56%] Building C object src/CMakeFiles/hatari.dir/blitter.c.o
[ 57%] Building C object src/CMakeFiles/hatari.dir/cart.c.o
[ 57%] Building C object src/CMakeFiles/hatari.dir/cfgopts.c.o
[ 58%] Building C object src/CMakeFiles/hatari.dir/clocks_timings.c.o
[ 59%] Building C object src/CMakeFiles/hatari.dir/configuration.c.o
[ 59%] Building C object src/CMakeFiles/hatari.dir/options.c.o
[ 60%] Building C object src/CMakeFiles/hatari.dir/change.c.o
[ 60%] Building C object src/CMakeFiles/hatari.dir/control.c.o
[ 61%] Building C object src/CMakeFiles/hatari.dir/cycInt.c.o
[ 61%] Building C object src/CMakeFiles/hatari.dir/cycles.c.o
[ 62%] Building C object src/CMakeFiles/hatari.dir/dialog.c.o
[ 62%] Building C object src/CMakeFiles/hatari.dir/dmaSnd.c.o
[ 63%] Building C object src/CMakeFiles/hatari.dir/fdc.c.o
[ 64%] Building C object src/CMakeFiles/hatari.dir/file.c..o
[ 64%] Building C object src/CMakeFiles/hatari.dir/floppy.c.o
[ 65%] Building C object src/CMakeFiles/hatari.dir/floppy_ipf.c.o
In file included from /home/rcampbel/project/hatari/caps5/CapsLibAll.h:7:0,
from /home/rcampbel/project/hatari/src/floppy_ipf.c:33:
/home/rcampbel/project/hatari/caps5/CapsFDC.h:134:23: error: expected ‘)’ before ‘*’ token
typedef void (__cdecl *CAPSFDCHOOK)(PCAPSFDC pfdc, UDWORD state);
^
/home/rcampbel/project/hatari/caps5/CapsFDC.h:198:2: error: unknown type name ‘CAPSFDCHOOK’
CAPSFDCHOOK cbirq; // irq line change callback
^
/home/rcampbel/project/hatari/caps5/CapsFDC.h:199:2: error: unknown type name ‘CAPSFDCHOOK’
CAPSFDCHOOK cbdrq; // drq line change callback
^
/home/rcampbel/project/hatari/caps5/CapsFDC.h:200:2: error: unknown type name ‘CAPSFDCHOOK’
CAPSFDCHOOK cbtrk; // track change callback
^
In file included from /home/rcampbel/project/hatari/caps5/CapsLibAll.h:9:0,
from /home/rcampbel/project/hatari/src/floppy_ipf.c:33:
/home/rcampbel/project/hatari/caps5/CapsLib.h:16:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSInit’
ExtSub SDWORD __cdecl CAPSInit();
^
/home/rcampbel/project/hatari/caps5/CapsLib.h:17:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSExit’
ExtSub SDWORD __cdecl CAPSExit();
^
/home/rcampbel/project/hatari/caps5/CapsLib.h:18:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSAddImage’
ExtSub SDWORD __cdecl CAPSAddImage();
^
/home/rcampbel/project/hatari/caps5/CapsLib.h:19:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSRemImage’
ExtSub SDWORD __cdecl CAPSRemImage(SDWORD id);
^
/home/rcampbel/project/hatari/caps5/CapsLib.h:20:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSLockImage’
ExtSub SDWORD __cdecl CAPSLockImage(SDWORD id, PCHAR name);
^
/home/rcampbel/project/hatari/caps5/CapsLib.h:21:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSLockImageMemory’
ExtSub SDWORD __cdecl CAPSLockImageMemory(SDWORD id, PUBYTE buffer, UDWORD length, UDWORD flag);
^
/home/rcampbel/project/hatari/caps5/CapsLib.h:22:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSUnlockImage’
ExtSub SDWORD __cdecl CAPSUnlockImage(SDWORD id);
^
/home/rcampbel/project/hatari/caps5/CapsLib..h:23:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSLoadImage’
ExtSub SDWORD __cdecl CAPSLoadImage(SDWORD id, UDWORD flag);
^
/home/rcampbel/project/hatari/caps5/CapsLib.h:24:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSGetImageInfo’
ExtSub SDWORD __cdecl CAPSGetImageInfo(PCAPSIMAGEINFO pi, SDWORD id);
^
/home/rcampbel/project/hatari/caps5/CapsLib.h:25:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSLockTrack’
ExtSub SDWORD __cdecl CAPSLockTrack(PVOID ptrackinfo, SDWORD id, UDWORD cylinder, UDWORD head, UDWORD flag);
^
/home/rcampbel/project/hatari/caps5/CapsLib.h:26:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSUnlockTrack’
ExtSub SDWORD __cdecl CAPSUnlockTrack(SDWORD id, UDWORD cylinder, UDWORD head);
^
/home/rcampbel/project/hatari/caps5/CapsLib.h:27:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSUnlockAllTracks’
ExtSub SDWORD __cdecl CAPSUnlockAllTracks(SDWORD id);
^
/home/rcampbel/project/hatari/caps5/CapsLib.h:28:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSGetPlatformName’
ExtSub PCHAR __cdecl CAPSGetPlatformName(UDWORD pid);
^
/home/rcampbel/project/hatari/caps5/CapsLib.h:29:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSGetVersionInfo’
ExtSub SDWORD __cdecl CAPSGetVersionInfo(PVOID pversioninfo, UDWORD flag);
^
/home/rcampbel/project/hatari/caps5/CapsLib.h:30:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSFdcGetInfo’
ExtSub UDWORD __cdecl CAPSFdcGetInfo(SDWORD iid, PCAPSFDC pc, SDWORD ext);
^
/home/rcampbel/project/hatari/caps5/CapsLib.h:31:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSFdcInit’
ExtSub SDWORD __cdecl CAPSFdcInit(PCAPSFDC pc);
^
/home/rcampbel/project/hatari/caps5/CapsLib.h:32:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSFdcReset’
ExtSub void __cdecl CAPSFdcReset(PCAPSFDC pc);
^
/home/rcampbel/project/hatari/caps5/CapsLib.h:33:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSFdcEmulate’
ExtSub void __cdecl CAPSFdcEmulate(PCAPSFDC pc, UDWORD cyclecnt);
^
/home/rcampbel/project/hatari/caps5/CapsLib.h:34:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSFdcRead’
ExtSub UDWORD __cdecl CAPSFdcRead(PCAPSFDC pc, UDWORD address);
^
/home/rcampbel/project/hatari/caps5/CapsLib.h:35:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSFdcWrite’
ExtSub void __cdecl CAPSFdcWrite(PCAPSFDC pc, UDWORD address, UDWORD data);
^
/home/rcampbel/project/hatari/caps5/CapsLib.h:36:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSFdcInvalidateTrack’
ExtSub SDWORD __cdecl CAPSFdcInvalidateTrack(PCAPSFDC pc, SDWORD drive);
^
/home/rcampbel/project/hatari/caps5/CapsLib.h:37:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSFormatDataToMFM’
ExtSub SDWORD __cdecl CAPSFormatDataToMFM(PVOID pformattrack, UDWORD flag);
^
/home/rcampbel/project/hatari/caps5/CapsLib.h:38:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSGetInfo’
ExtSub SDWORD __cdecl CAPSGetInfo(PVOID pinfo, SDWORD id, UDWORD cylinder, UDWORD head, UDWORD inftype, UDWORD infid);
^
/home/rcampbel/project/hatari/caps5/CapsLib.h:39:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSSetRevolution’
ExtSub SDWORD __cdecl CAPSSetRevolution(SDWORD id, UDWORD value);
^
/home/rcampbel/project/hatari/caps5/CapsLib.h:40:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSGetImageType’
ExtSub SDWORD __cdecl CAPSGetImageType(PCHAR name);
^
/home/rcampbel/project/hatari/caps5/CapsLib.h:41:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSGetImageTypeMemory’
ExtSub SDWORD __cdecl CAPSGetImageTypeMemory(PUBYTE buffer, UDWORD length);
^
/home/rcampbel/project/hatari/caps5/CapsLib.h:42:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CAPSGetDebugRequest’
ExtSub SDWORD __cdecl CAPSGetDebugRequest();
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:64:2: error: unknown type name ‘CapsLong’
CapsLong CapsImage[ MAX_FLOPPYDRIVES ]; /* Image Id or -1 if drive empty */
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:65:2: error: unknown type name ‘CapsLong’
CapsLong CapsImageType[ MAX_FLOPPYDRIVES ]; /* ImageType or -1 if not known */
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:86:53: error: unknown type name ‘CapsULong’
static void IPF_CallBack_Trk ( struct CapsFdc *pc , CapsULong State );
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:87:53: error: unknown type name ‘CapsULong’
static void IPF_CallBack_Irq ( struct CapsFdc *pc , CapsULong State );
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:88:53: error: unknown type name ‘CapsULong’
static void IPF_CallBack_Drq ( struct CapsFdc *pc , CapsULong State );
^
/home/rcampbel/project/hatari/src/floppy_ipf.c: In function ‘IPF_MemorySnapShot_Capture’:
/home/rcampbel/project/hatari/src/floppy_ipf.c:166:4: warning: implicit declaration of function ‘CAPSFdcInvalidateTrack’ [-Wimplicit-function-declaration]
CAPSFdcInvalidateTrack ( &IPF_State.Fdc , 0 ); /* Invalidate buffered track data for drive 0 */
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:170:26: error: ‘IPF_CallBack_Irq’ undeclared (first use in this function)
IPF_State.Fdc.cbirq = IPF_CallBack_Irq;
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:170:26: note: each undeclared identifier is reported only once for each function it appears in
/home/rcampbel/project/hatari/src/floppy_ipf.c:171:26: error: ‘IPF_CallBack_Drq’ undeclared (first use in this function)
IPF_State.Fdc.cbdrq = IPF_CallBack_Drq;
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:172:26: error: ‘IPF_CallBack_Trk’ undeclared (first use in this function)
IPF_State.Fdc.cbtrk = IPF_CallBack_Trk;
^
/home/rcampbel/project/hatari/src/floppy_ipf.c: In function ‘IPF_Init’:
/home/rcampbel/project/hatari/src/floppy_ipf.c:332:2: warning: implicit declaration of function ‘CAPSInit’ [-Wimplicit-function-declaration]
if ( CAPSInit() != imgeOk )
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:338:2: warning: implicit declaration of function ‘CAPSGetVersionInfo’ [-Wimplicit-function-declaration]
if ( CAPSGetVersionInfo ( &caps_vi , 0 ) != imgeOk )
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:371:2: warning: implicit declaration of function ‘CAPSFdcInit’ [-Wimplicit-function-declaration]
if ( CAPSFdcInit ( &IPF_State.Fdc ) != imgeOk)
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:386:24: error: ‘IPF_CallBack_Irq’ undeclared (first use in this function)
IPF_State.Fdc.cbirq = IPF_CallBack_Irq;
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:387:24: error: ‘IPF_CallBack_Drq’ undeclared (first use in this function)
IPF_State.Fdc.cbdrq = IPF_CallBack_Drq;
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:388:24: error: ‘IPF_CallBack_Trk’ undeclared (first use in this function)
IPF_State.Fdc.cbtrk = IPF_CallBack_Trk;
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:390:2: warning: implicit declaration of function ‘CAPSFdcReset’ [-Wimplicit-function-declaration]
CAPSFdcReset ( &IPF_State.Fdc );
^
/home/rcampbel/project/hatari/src/floppy_ipf.c: In function ‘IPF_Exit’:
/home/rcampbel/project/hatari/src/floppy_ipf.c:406:2: warning: implicit declaration of function ‘CAPSExit’ [-Wimplicit-function-declaration]
CAPSExit();
^
/home/rcampbel/project/hatari/src/floppy_ipf.c: In function ‘IPF_Insert’:
/home/rcampbel/project/hatari/src/floppy_ipf.c:422:2: error: unknown type name ‘CapsLong’
CapsLong ImageId;
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:423:2: error: unknown type name ‘CapsLong’
CapsLong ImageType;
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:425:2: warning: implicit declaration of function ‘CAPSAddImage’ [-Wimplicit-function-declaration]
ImageId = CAPSAddImage();
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:433:2: warning: implicit declaration of function ‘CAPSGetImageTypeMemory’ [-Wimplicit-function-declaration]
ImageType = CAPSGetImageTypeMemory ( pImageBuffer , ImageSize );
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:437:3: warning: implicit declaration of function ‘CAPSRemImage’ [-Wimplicit-function-declaration]
CAPSRemImage ( ImageId ) ;
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:473:2: warning: implicit declaration of function ‘CAPSLockImageMemory’ [-Wimplicit-function-declaration]
if ( CAPSLockImageMemory ( ImageId , pImageBuffer , (CapsULong)ImageSize , DI_LOCK_MEMREF ) == imgeOk )
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:473:55: error: ‘CapsULong’ undeclared (first use in this function)
if ( CAPSLockImageMemory ( ImageId , pImageBuffer , (CapsULong)ImageSize , DI_LOCK_MEMREF ) == imgeOk )
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:473:65: error: expected ‘)’ before ‘ImageSize’
if ( CAPSLockImageMemory ( ImageId , pImageBuffer , (CapsULong)ImageSize , DI_LOCK_MEMREF ) == imgeOk )
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:479:3: warning: implicit declaration of function ‘CAPSGetImageInfo’ [-Wimplicit-function-declaration]
if ( CAPSGetImageInfo ( &cii , ImageId ) == imgeOk )
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:492:6: warning: implicit declaration of function ‘CAPSGetPlatformName’ [-Wimplicit-function-declaration]
printf ( " %s" , CAPSGetPlatformName(cii.platform[i]) );
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:492:6: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘int’ [-Wformat=]
/home/rcampbel/project/hatari/src/floppy_ipf.c:508:2: warning: implicit declaration of function ‘CAPSLoadImage’ [-Wimplicit-function-declaration]
if ( CAPSLoadImage ( ImageId , DI_LOCK_DENALT | DI_LOCK_DENVAR | DI_LOCK_UPDATEFD ) != imgeOk )
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:511:3: warning: implicit declaration of function ‘CAPSUnlockImage’ [-Wimplicit-function-declaration]
CAPSUnlockImage ( ImageId );
^
/home/rcampbel/project/hatari/src/floppy_ipf.c: At top level:
/home/rcampbel/project/hatari/src/floppy_ipf.c:706:53: error: unknown type name ‘CapsULong’
static void IPF_CallBack_Trk ( struct CapsFdc *pc , CapsULong State )
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:735:53: error: unknown type name ‘CapsULong’
static void IPF_CallBack_Irq ( struct CapsFdc *pc , CapsULong State )
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:754:53: error: unknown type name ‘CapsULong’
static void IPF_CallBack_Drq ( struct CapsFdc *pc , CapsULong State )
^
/home/rcampbel/project/hatari/src/floppy_ipf.c: In function ‘IPF_FDC_WriteReg’:
/home/rcampbel/project/hatari/src/floppy_ipf.c:920:5: warning: implicit declaration of function ‘CAPSSetRevolution’ [-Wimplicit-function-declaration]
CAPSSetRevolution ( IPF_State.CapsImage[ Drive ] , 0 );
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:928:2: warning: implicit declaration of function ‘CAPSFdcWrite’ [-Wimplicit-function-declaration]
CAPSFdcWrite ( &IPF_State.Fdc , Reg , Byte );
^
/home/rcampbel/project/hatari/src/floppy_ipf.c: In function ‘IPF_FDC_ReadReg’:
/home/rcampbel/project/hatari/src/floppy_ipf.c:948:2: warning: implicit declaration of function ‘CAPSFdcRead’ [-Wimplicit-function-declaration]
Byte = CAPSFdcRead ( &IPF_State.Fdc , Reg );
^
/home/rcampbel/project/hatari/src/floppy_ipf.c: In function ‘IPF_Emulate’:
/home/rcampbel/project/hatari/src/floppy_ipf.c:1109:2: warning: implicit declaration of function ‘CAPSFdcEmulate’ [-Wimplicit-function-declaration]
CAPSFdcEmulate ( &IPF_State.Fdc , NbCycles ); /* Process at max NbCycles */
^
make[2]: *** [src/CMakeFiles/hatari.dir/floppy_ipf.c.o] Error 1
make[1]: *** [src/CMakeFiles/hatari.dir/all] Error 2
make: *** [all] Error 2
=====
Here's the output when I try to build with clang:
rcampbel@Godzilla~/project/hatari $ ./configure
-- The C compiler identification is Clang 5.0.0
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test MUDFLAP_AVAILABLE
-- Performing Test MUDFLAP_AVAILABLE - Failed
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- 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
-- Found SDL2: /usr/lib/x86_64-linux-gnu/libSDL2main.a;/usr/lib/x86_64-linux-gnu/libSDL2.so;-lpthread
-- Found MATH: /usr/lib/x86_64-linux-gnu/libm.so
-- Found READLINE: /usr/lib/x86_64-linux-gnu/libreadline.so
-- Looking for rl_filename_completion_function
-- Looking for rl_filename_completion_function - found
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.2.50")
-- 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
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found PORTAUDIO: /usr/lib/libportaudio.so
-- Looking for Pa_GetDefaultInputDevice
-- Looking for Pa_GetDefaultInputDevice - not found
-- Found PORTMIDI: /usr/lib/libportmidi.so
-- Looking for Pm_Initialize
-- Looking for Pm_Initialize - found
-- Found CAPSIMAGE: /usr/local/lib/caps5/libcapsimage.so
-- Found UDEV: /usr/lib/x86_64-linux-gnu/libudev.so
-- Looking for include file termios.h
-- Looking for include file termios.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/SDL2/SDL_config.h
-- Looking for include file /usr/include/SDL2/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 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/python (found version "2.7.6")
Libraries summary :
-------------------
- sdl : using SDL2 v2.0.2
- readline : found, enables history/completion in the debugger
- zlib : found, allows to use zip/gz files directly
- png : found, allows to compress screenshot/avi files using png
- portaudio : not found, install it to enable the Falcon microphone input
- portmidi : found, required for (non-Linux) MIDI support
- capsimage : v5 found, allow to use .IPF, .RAW and .CTR disk images
- udev : found, required for media change detection in NatFeats SCSI
devices on udev-based systems (Linux)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/rcampbel/project/hatari
Now you must type: make; make install
to actually build and install the software
rcampbel@Godzilla~/project/hatari $ make
Scanning dependencies of target build68k
[ 0%] Building C object src/cpu/CMakeFiles/build68k.dir/build68k.c.o
[ 1%] Building C object src/cpu/CMakeFiles/build68k.dir/writelog.c.o
[ 1%] Linking C executable build68k
[ 1%] Built target build68k
[ 2%] Generating cpudefs.c
Scanning dependencies of target gencpu
[ 2%] Building C object src/cpu/CMakeFiles/gencpu.dir/gencpu.c.o
[ 3%] Building C object src/cpu/CMakeFiles/gencpu.dir/readcpu.c.o
[ 3%] Building C object src/cpu/CMakeFiles/gencpu.dir/cpudefs.c.o
[ 4%] Linking C executable gencpu
[ 4%] 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
[ 6%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpustbl.c.o
[ 6%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_0.c.o
[ 7%] 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
[ 8%] 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
[ 9%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_22.c.o
[ 10%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_23.c.o
[ 10%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_24.c.o
[ 11%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_31.c.o
[ 11%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_32.c.o
[ 12%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_33.c.o
[ 12%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_34.c.o
[ 13%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_35.c.o
[ 13%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_40.c.o
[ 14%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_50.c.o
[ 15%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpudefs.c.o
[ 15%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpummu.c.o
[ 16%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpummu030.c..o
[ 16%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/debug.c..o
[ 17%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/newcpu_common.c.o
[ 17%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/newcpu.c.o
/home/rcampbel/project/hatari/src/cpu/newcpu.c:11591:13: warning: variable 'v'
is used uninitialized whenever 'if' condition is false
[-Wsometimes-uninitialized]
} else if (offset == 14) {
^~~~~~~~~~~~
/home/rcampbel/project/hatari/src/cpu/newcpu.c:11595:9: note: uninitialized use
occurs here
return v;
^
/home/rcampbel/project/hatari/src/cpu/newcpu.c:11591:9: note: remove the 'if' if
its condition is always true
} else if (offset == 14) {
^~~~~~~~~~~~~~~~~~
/home/rcampbel/project/hatari/src/cpu/newcpu.c:11583:11: note: initialize the
variable 'v' to silence this warning
uae_u32 v;
^
= 0
1 warning generated.
[ 18%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/readcpu.c.o
[ 19%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/writelog.c.o
[ 19%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/fpp.c.o
[ 20%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/fpp_native.c.o
[ 20%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/fpp_softfloat.c.o
[ 21%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/softfloat/softfloat.c.o
[ 21%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/softfloat/softfloat_decimal.c.o
[ 22%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/softfloat/softfloat_fpsp.c.o
[ 22%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/custom.c.o
[ 23%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/events.c.o
[ 24%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/memory.c.o
[ 24%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/hatari-glue.c.o
[ 25%] Linking C static library libUaeCpu.a
[ 25%] Built target UaeCpu
Scanning dependencies of target Floppy
[ 26%] Building C object src/CMakeFiles/Floppy.dir/createBlankImage.c.o
[ 26%] Building C object src/CMakeFiles/Floppy.dir/dim.c.o
[ 27%] Building C object src/CMakeFiles/Floppy.dir/msa.c.o
[ 27%] Building C object src/CMakeFiles/Floppy.dir/st.c.o
[ 28%] Building C object src/CMakeFiles/Floppy.dir/zip.c.o
[ 28%] Linking C static library libFloppy.a
[ 28%] Built target Floppy
Scanning dependencies of target Debug
[ 28%] Building C object src/debug/CMakeFiles/Debug.dir/log.c.o
[ 29%] Building C object src/debug/CMakeFiles/Debug.dir/debugui..c.o
[ 29%] Building C object src/debug/CMakeFiles/Debug.dir/breakcond.c.o
[ 30%] Building C object src/debug/CMakeFiles/Debug.dir/debugcpu.c.o
[ 30%] Building C object src/debug/CMakeFiles/Debug..dir/debugInfo.c.o
[ 31%] Building C object src/debug/CMakeFiles/Debug.dir/debugdsp.c.o
[ 31%] Building C object src/debug/CMakeFiles/Debug.dir/evaluate.c.o
[ 32%] Building C object src/debug/CMakeFiles/Debug.dir/history.c.o
[ 33%] Building C object src/debug/CMakeFiles/Debug.dir/symbols.c.o
[ 33%] Building C object src/debug/CMakeFiles/Debug.dir/vars.c.o
[ 34%] Building C object src/debug/CMakeFiles/Debug.dir/profile.c.o
[ 34%] Building C object src/debug/CMakeFiles/Debug.dir/profilecpu.c.o
[ 35%] Building C object src/debug/CMakeFiles/Debug.dir/profiledsp.c.o
[ 35%] Building C object src/debug/CMakeFiles/Debug.dir/natfeats.c.o
[ 36%] Building C object src/debug/CMakeFiles/Debug.dir/console.c.o
[ 36%] Building C object src/debug/CMakeFiles/Debug.dir/68kDisass.c.o
[ 37%] Linking C static library libDebug.a
[ 37%] Built target Debug
Scanning dependencies of target Falcon
[ 38%] Building C object src/falcon/CMakeFiles/Falcon.dir/crossbar.c.o
[ 38%] Building C object src/falcon/CMakeFiles/Falcon.dir/microphone.c.o
[ 39%] Building C object src/falcon/CMakeFiles/Falcon.dir/nvram.c.o
[ 39%] Building C object src/falcon/CMakeFiles/Falcon.dir/videl.c.o
[ 40%] Building C object src/falcon/CMakeFiles/Falcon.dir/dsp.c.o
[ 40%] Building C object src/falcon/CMakeFiles/Falcon.dir/dsp_core.c.o
[ 41%] Building C object src/falcon/CMakeFiles/Falcon.dir/dsp_cpu..c.o
[ 41%] Building C object src/falcon/CMakeFiles/Falcon.dir/dsp_disasm.c.o
[ 42%] Linking C static library libFalcon.a
[ 42%] Built target Falcon
Scanning dependencies of target GuiSdl
[ 43%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgAbout.c.o
[ 43%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgAlert.c.o
[ 44%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgCpu.c.o
[ 45%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgDevice.c.o
[ 45%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgFileSelect.c.o
[ 46%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgFloppy.c.o
[ 46%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgHalt.c.o
[ 47%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgHardDisk.c.o
[ 47%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgJoystick.c.o
[ 48%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgKeyboard.c.o
[ 49%] Building C object src/gui-sdl/CMakeFiles/GuiSdl..dir/dlgMain.c.o
[ 49%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgMemory.c.o
[ 50%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgNewDisk.c.o
[ 50%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgRom.c.o
[ 51%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgScreen.c.o
[ 51%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgSound.c.o
[ 52%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgSystem.c.o
[ 52%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/sdlgui.c.o
[ 53%] Linking C static library libGuiSdl.a
[ 53%] Built target GuiSdl
Scanning dependencies of target hatari
[ 54%] Building C object src/CMakeFiles/hatari.dir/acia.c.o
[ 55%] Building C object src/CMakeFiles/hatari.dir/audio.c.o
[ 55%] Building C object src/CMakeFiles/hatari.dir/avi_record.c.o
[ 56%] Building C object src/CMakeFiles/hatari.dir/bios.c.o
[ 56%] Building C object src/CMakeFiles/hatari.dir/blitter.c.o
[ 57%] Building C object src/CMakeFiles/hatari.dir/cart.c.o
[ 57%] Building C object src/CMakeFiles/hatari.dir/cfgopts.c.o
[ 58%] Building C object src/CMakeFiles/hatari.dir/clocks_timings.c.o
[ 59%] Building C object src/CMakeFiles/hatari.dir/configuration.c.o
[ 59%] Building C object src/CMakeFiles/hatari.dir/options.c.o
[ 60%] Building C object src/CMakeFiles/hatari.dir/change.c.o
[ 60%] Building C object src/CMakeFiles/hatari.dir/control.c.o
[ 61%] Building C object src/CMakeFiles/hatari.dir/cycInt.c.o
[ 61%] Building C object src/CMakeFiles/hatari.dir/cycles.c.o
[ 62%] Building C object src/CMakeFiles/hatari.dir/dialog.c.o
[ 62%] Building C object src/CMakeFiles/hatari.dir/dmaSnd.c.o
[ 63%] Building C object src/CMakeFiles/hatari.dir/fdc.c.o
[ 64%] Building C object src/CMakeFiles/hatari..dir/file.c.o
[ 64%] Building C object src/CMakeFiles/hatari.dir/floppy.c.o
[ 65%] Building C object src/CMakeFiles/hatari.dir/floppy_ipf.c.o
In file included from /home/rcampbel/project/hatari/src/floppy_ipf.c:33:
In file included from /home/rcampbel/project/hatari/caps5/CapsLibAll.h:9:
/home/rcampbel/project/hatari/caps5/CapsLib.h:16:31: warning: this function
declaration is not a prototype [-Wstrict-prototypes]
ExtSub SDWORD __cdecl CAPSInit();
^
void
/home/rcampbel/project/hatari/caps5/CapsLib.h:17:31: warning: this function
declaration is not a prototype [-Wstrict-prototypes]
ExtSub SDWORD __cdecl CAPSExit();
^
void
/home/rcampbel/project/hatari/caps5/CapsLib.h:18:35: warning: this function
declaration is not a prototype [-Wstrict-prototypes]
ExtSub SDWORD __cdecl CAPSAddImage();
^
void
/home/rcampbel/project/hatari/caps5/CapsLib.h:42:42: warning: this function
declaration is not a prototype [-Wstrict-prototypes]
ExtSub SDWORD __cdecl CAPSGetDebugRequest();
^
void
/home/rcampbel/project/hatari/src/floppy_ipf.c:64:2: error: unknown type name
'CapsLong'
CapsLong CapsImage[ MAX_FLOPPYDRIVES ]; /* Imag...
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:65:2: error: unknown type name
'CapsLong'
CapsLong CapsImageType[ MAX_FLOPPYDRIVES ]; /* Im...
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:86:53: error: unknown type name
'CapsULong'
static void IPF_CallBack_Trk ( struct CapsFdc *pc , CapsULong State );
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:87:53: error: unknown type name
'CapsULong'
static void IPF_CallBack_Irq ( struct CapsFdc *pc , CapsULong State );
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:88:53: error: unknown type name
'CapsULong'
static void IPF_CallBack_Drq ( struct CapsFdc *pc , CapsULong State );
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:422:2: error: use of undeclared
identifier 'CapsLong'
CapsLong ImageId;
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:423:2: error: use of undeclared
identifier 'CapsLong'
CapsLong ImageType;
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:425:2: error: use of undeclared
identifier 'ImageId'
ImageId = CAPSAddImage();
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:426:7: error: use of undeclared
identifier 'ImageId'
if ( ImageId < 0 )
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:433:2: error: use of undeclared
identifier 'ImageType'; did you mean 'ImageSize'?
ImageType = CAPSGetImageTypeMemory ( pImageBuffer , ImageSize );
^~~~~~~~~
ImageSize
/home/rcampbel/project/hatari/src/floppy_ipf.c:416:58: note: 'ImageSize'
declared here
bool IPF_Insert ( int Drive , Uint8 *pImageBuffer , long ImageSize )
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:434:7: error: use of undeclared
identifier 'ImageType'; did you mean 'imgeType'?
if ( ImageType == citError )
^~~~~~~~~
imgeType
/home/rcampbel/project/hatari/caps5/CapsAPI.h:258:2: note: 'imgeType' declared
here
imgeType,
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:437:18: error: use of undeclared
identifier 'ImageId'
CAPSRemImage ( ImageId ) ;
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:440:12: error: use of undeclared
identifier 'ImageType'; did you mean 'imgeType'?
else if ( ImageType == citUnknown )
^~~~~~~~~
imgeType
/home/rcampbel/project/hatari/caps5/CapsAPI.h:258:2: note: 'imgeType' declared
here
imgeType,
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:443:18: error: use of undeclared
identifier 'ImageId'
CAPSRemImage ( ImageId ) ;
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:447:119: error: use of undeclared
identifier 'ImageId'
...imageid=%d type=" , Drive , pImageBuffer , ImageSize , ImageId );
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:448:11: error: use of undeclared
identifier 'ImageType'; did you mean 'imgeType'?
switch ( ImageType ) {
^~~~~~~~~
imgeType
/home/rcampbel/project/hatari/caps5/CapsAPI.h:258:2: note: 'imgeType' declared
here
imgeType,
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:454:21: error: use of undeclared
identifier 'ImageId'
CAPSRemImage ( ImageId ) ;
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:459:7: error: use of undeclared
identifier 'ImageType'; did you mean 'imgeType'?
if ( ImageType == citKFStream )
^~~~~~~~~
imgeType
/home/rcampbel/project/hatari/caps5/CapsAPI.h:258:2: note: 'imgeType' declared
here
imgeType,
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:464:19: error: use of undeclared
identifier 'ImageId'
CAPSRemImage ( ImageId ) ;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
4 warnings and 20 errors generated.
make[2]: *** [src/CMakeFiles/hatari.dir/floppy_ipf.c.o] Error 1
make[1]: *** [src/CMakeFiles/hatari.dir/all] Error 2
make: *** [all] Error 2
=====
So, I tried to build using capsimage 4.2 and editing cmake/FindCapsImage.cmake to set
SET(CAPSIMAGE_VERSION 4)
and still no luck:
rcampbel@Godzilla~/project/hatari $ ./configure
-- The C compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test MUDFLAP_AVAILABLE
-- Performing Test MUDFLAP_AVAILABLE - Failed
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- 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
-- Found SDL2: /usr/lib/x86_64-linux-gnu/libSDL2main.a;/usr/lib/x86_64-linux-gnu/libSDL2.so;-lpthread
-- Found MATH: /usr/lib/x86_64-linux-gnu/libm.so
-- Found READLINE: /usr/lib/x86_64-linux-gnu/libreadline.so
-- Looking for rl_filename_completion_function
-- Looking for rl_filename_completion_function - found
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.2.50")
-- 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
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found PORTAUDIO: /usr/lib/libportaudio.so
-- Looking for Pa_GetDefaultInputDevice
-- Looking for Pa_GetDefaultInputDevice - not found
-- Found PORTMIDI: /usr/lib/libportmidi.so
-- Looking for Pm_Initialize
-- Looking for Pm_Initialize - found
-- Found CAPSIMAGE: /usr/local/lib/caps/libcapsimage.so
-- Found UDEV: /usr/lib/x86_64-linux-gnu/libudev.so
-- Looking for include file termios.h
-- Looking for include file termios.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/SDL2/SDL_config.h
-- Looking for include file /usr/include/SDL2/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 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/python (found version "2.7.6")
Libraries summary :
-------------------
- sdl : using SDL2 v2.0.2
- readline : found, enables history/completion in the debugger
- zlib : found, allows to use zip/gz files directly
- png : found, allows to compress screenshot/avi files using png
- portaudio : not found, install it to enable the Falcon microphone input
- portmidi : found, required for (non-Linux) MIDI support
- capsimage : v4 found, allow to use .IPF, .RAW and .CTR disk images
- udev : found, required for media change detection in NatFeats SCSI
devices on udev-based systems (Linux)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/rcampbel/project/hatari
Now you must type: make; make install
to actually build and install the software
rcampbel@Godzilla~/project/hatari $ make
Scanning dependencies of target build68k
[ 0%] Building C object src/cpu/CMakeFiles/build68k.dir/build68k.c.o
[ 1%] Building C object src/cpu/CMakeFiles/build68k.dir/writelog.c.o
[ 1%] Linking C executable build68k
[ 1%] Built target build68k
[ 2%] Generating cpudefs.c
Scanning dependencies of target gencpu
[ 2%] Building C object src/cpu/CMakeFiles/gencpu.dir/gencpu.c.o
[ 3%] Building C object src/cpu/CMakeFiles/gencpu.dir/readcpu.c.o
[ 3%] Building C object src/cpu/CMakeFiles/gencpu.dir/cpudefs.c.o
[ 4%] Linking C executable gencpu
[ 4%] 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
[ 6%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpustbl.c..o
[ 6%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_0.c.o
[ 7%] 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
[ 8%] 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
[ 9%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_22.c.o
[ 10%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_23.c.o
[ 10%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_24.c.o
[ 11%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_31.c.o
[ 11%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_32.c.o
[ 12%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_33.c.o
[ 12%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_34..c.o
[ 13%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_35.c.o
[ 13%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_40.c.o
[ 14%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpuemu_50.c.o
[ 15%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpudefs.c.o
[ 15%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpummu.c.o
[ 16%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/cpummu030.c.o
[ 16%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/debug.c.o
[ 17%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/newcpu_common.c.o
[ 17%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/newcpu.c.o
[ 18%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/readcpu.c.o
[ 19%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/writelog.c.o
[ 19%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/fpp.c.o
[ 20%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/fpp_native.c.o
[ 20%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/fpp_softfloat.c.o
[ 21%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/softfloat/softfloat.c.o
[ 21%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/softfloat/softfloat_decimal.c.o
[ 22%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/softfloat/softfloat_fpsp.c.o
[ 22%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/custom.c.o
[ 23%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/events.c.o
[ 24%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/memory.c.o
[ 24%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/hatari-glue.c.o
[ 25%] Linking C static library libUaeCpu.a
[ 25%] Built target UaeCpu
Scanning dependencies of target Floppy
[ 26%] Building C object src/CMakeFiles/Floppy.dir/createBlankImage.c.o
[ 26%] Building C object src/CMakeFiles/Floppy.dir/dim.c.o
[ 27%] Building C object src/CMakeFiles/Floppy.dir/msa.c.o
[ 27%] Building C object src/CMakeFiles/Floppy.dir/st.c.o
[ 28%] Building C object src/CMakeFiles/Floppy.dir/zip.c.o
[ 28%] Linking C static library libFloppy.a
[ 28%] Built target Floppy
Scanning dependencies of target Debug
[ 28%] Building C object src/debug/CMakeFiles/Debug.dir/log.c.o
[ 29%] Building C object src/debug/CMakeFiles/Debug.dir/debugui.c.o
[ 29%] Building C object src/debug/CMakeFiles/Debug.dir/breakcond.c.o
[ 30%] Building C object src/debug/CMakeFiles/Debug.dir/debugcpu.c.o
[ 30%] Building C object src/debug/CMakeFiles/Debug.dir/debugInfo.c.o
[ 31%] Building C object src/debug/CMakeFiles/Debug.dir/debugdsp.c.o
[ 31%] Building C object src/debug/CMakeFiles/Debug.dir/evaluate.c.o
[ 32%] Building C object src/debug/CMakeFiles/Debug.dir/history.c.o
[ 33%] Building C object src/debug/CMakeFiles/Debug.dir/symbols.c.o
[ 33%] Building C object src/debug/CMakeFiles/Debug.dir/vars.c.o
[ 34%] Building C object src/debug/CMakeFiles/Debug.dir/profile.c.o
[ 34%] Building C object src/debug/CMakeFiles/Debug.dir/profilecpu.c.o
[ 35%] Building C object src/debug/CMakeFiles/Debug.dir/profiledsp.c.o
[ 35%] Building C object src/debug/CMakeFiles/Debug.dir/natfeats.c.o
[ 36%] Building C object src/debug/CMakeFiles/Debug.dir/console.c.o
[ 36%] Building C object src/debug/CMakeFiles/Debug.dir/68kDisass.c.o
[ 37%] Linking C static library libDebug.a
[ 37%] Built target Debug
Scanning dependencies of target Falcon
[ 38%] Building C object src/falcon/CMakeFiles/Falcon.dir/crossbar.c.o
[ 38%] Building C object src/falcon/CMakeFiles/Falcon.dir/microphone.c.o
[ 39%] Building C object src/falcon/CMakeFiles/Falcon.dir/nvram.c.o
[ 39%] Building C object src/falcon/CMakeFiles/Falcon.dir/videl.c.o
[ 40%] Building C object src/falcon/CMakeFiles/Falcon.dir/dsp.c.o
[ 40%] Building C object src/falcon/CMakeFiles/Falcon.dir/dsp_core.c.o
[ 41%] Building C object src/falcon/CMakeFiles/Falcon.dir/dsp_cpu.c.o
[ 41%] Building C object src/falcon/CMakeFiles/Falcon.dir/dsp_disasm.c.o
[ 42%] Linking C static library libFalcon.a
[ 42%] Built target Falcon
Scanning dependencies of target GuiSdl
[ 43%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgAbout.c.o
[ 43%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgAlert.c.o
[ 44%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgCpu.c.o
[ 45%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgDevice.c.o
[ 45%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgFileSelect.c.o
[ 46%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgFloppy.c.o
[ 46%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgHalt.c.o
[ 47%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgHardDisk.c.o
[ 47%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgJoystick.c.o
[ 48%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgKeyboard.c.o
[ 49%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgMain.c.o
[ 49%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgMemory.c.o
[ 50%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgNewDisk.c.o
[ 50%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgRom.c.o
[ 51%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgScreen.c.o
[ 51%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgSound.c.o
[ 52%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/dlgSystem.c.o
[ 52%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/sdlgui.c.o
[ 53%] Linking C static library libGuiSdl.a
[ 53%] Built target GuiSdl
Scanning dependencies of target hatari
[ 54%] Building C object src/CMakeFiles/hatari.dir/acia.c.o
[ 55%] Building C object src/CMakeFiles/hatari.dir/audio.c.o
[ 55%] Building C object src/CMakeFiles/hatari.dir/avi_record.c.o
[ 56%] Building C object src/CMakeFiles/hatari.dir/bios.c.o
[ 56%] Building C object src/CMakeFiles/hatari.dir/blitter.c.o
[ 57%] Building C object src/CMakeFiles/hatari.dir/cart.c.o
[ 57%] Building C object src/CMakeFiles/hatari.dir/cfgopts.c.o
[ 58%] Building C object src/CMakeFiles/hatari.dir/clocks_timings.c.o
[ 59%] Building C object src/CMakeFiles/hatari.dir/configuration.c.o
[ 59%] Building C object src/CMakeFiles/hatari.dir/options.c.o
[ 60%] Building C object src/CMakeFiles/hatari.dir/change.c.o
[ 60%] Building C object src/CMakeFiles/hatari.dir/control.c.o
[ 61%] Building C object src/CMakeFiles/hatari.dir/cycInt.c.o
[ 61%] Building C object src/CMakeFiles/hatari.dir/cycles.c.o
[ 62%] Building C object src/CMakeFiles/hatari.dir/dialog.c.o
[ 62%] Building C object src/CMakeFiles/hatari.dir/dmaSnd.c.o
[ 63%] Building C object src/CMakeFiles/hatari.dir/fdc.c.o
[ 64%] Building C object src/CMakeFiles/hatari.dir/file.c.o
[ 64%] Building C object src/CMakeFiles/hatari.dir/floppy.c.o
[ 65%] Building C object src/CMakeFiles/hatari.dir/floppy_ipf.c.o
/home/rcampbel/project/hatari/src/floppy_ipf.c: In function ‘IPF_Eject’:
/home/rcampbel/project/hatari/src/floppy_ipf.c:642:43: error: ‘citKFStream’ undeclared (first use in this function)
if ( IPF_State.CapsImageType[ Drive ] == citKFStream )
^
/home/rcampbel/project/hatari/src/floppy_ipf.c:642:43: note: each undeclared identifier is reported only once for each function it appears in
/home/rcampbel/project/hatari/src/floppy_ipf.c: At top level:
/home/rcampbel/project/hatari/src/floppy_ipf.c:538:13: warning: ‘IPF_Insert_RawStreamImage’ defined but not used [-Wunused-function]
static bool IPF_Insert_RawStreamImage ( int Drive )
^
make[2]: *** [src/CMakeFiles/hatari.dir/floppy_ipf.c.o] Error 1
make[1]: *** [src/CMakeFiles/hatari.dir/all] Error 2
make: *** [all] Error 2