[hatari-devel] Unable to compile Hatari.App

Christer Solskogen christer.solskogen at gmail.com
Wed Oct 7 14:25:06 CEST 2009


Although I mostly use hatari from command line on Mac OS X, I tried to
compile the latest sources from mercurial with the Xcode IDE.
I have no problems to compile hatari from command line, so I guess
that there is something wrong with the Hatari.xcodeproj rather than
the source.

Most of the errors is include files that Xcode is not able to find
(they are marked red) - I have created a patch, but beware I'm far
away from beeing a developer so please-PLEASE recheck and recheck
again that is alright. The patch will not fully work on 10.6 as it
fails with missing symbols:

Undefined symbols:
  "_Crossbar_SrcControler_ReadWord", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_Crossbar_TrackRecSelect_WriteByte", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_DebugCpu_MemorySnapShot_Capture", referenced from:
      _DebugUI_MemorySnapShot_Capture in debugui.o
  "_Crossbar_FreqDivInt_WriteByte", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_Crossbar_CodecInput_WriteByte", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_Crossbar_DmaTrckCtrl_WriteByte", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_Crossbar_DmaCtrlReg_WriteWord", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_DebugCpu_Init", referenced from:
      _DebugUI in debugui.o
  "_Crossbar_OutputReduct_WriteWord", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_Crossbar_SoundModeCtrl_ReadByte", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_Crossbar_FreqDivInt_ReadByte", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_Crossbar_InputAmp_WriteByte", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_Crossbar_BufferInter_ReadWord", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_DebugCpu_GetRegisterAddress", referenced from:
      _BreakCond_ParseRegister in breakcond.o
  "_Crossbar_DmaCtrlReg_ReadWord", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_Crossbar_DstControler_WriteWord", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_Crossbar_GenerateSamples", referenced from:
      _Sound_Update in sound.o
  "_Crossbar_TrackRecSelect_ReadByte", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_Crossbar_BufferInter_WriteWord", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_Crossbar_AdcInput_ReadByte", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_Crossbar_FrameCountMed_ReadByte", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_Crossbar_AdcInput_WriteByte", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_Crossbar_InterruptHandler_ADCXmit", referenced from:
      _pIntHandlerFunctions in int.o
  "_Crossbar_FrameCountLow_ReadByte", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_Crossbar_FreqDivExt_ReadByte", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_Crossbar_SoundModeCtrl_WriteByte", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_Crossbar_Reset", referenced from:
      _Reset_ST in reset.o
  "_Crossbar_InterruptHandler_DspXmit", referenced from:
      _pIntHandlerFunctions in int.o
  "_Crossbar_OutputReduct_ReadWord", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_Crossbar_CodecStatus_ReadWord", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_DebugCpu_SetDebugging", referenced from:
      _DebugUI in debugui.o
  "_Crossbar_DstControler_ReadWord", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_Crossbar_InputAmp_ReadByte", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_nCbar_DmaSoundControl", referenced from:
      _MFP_GPIP_ReadByte in mfp.o
  "_Crossbar_FrameCountHigh_ReadByte", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_Crossbar_FreqDivExt_WriteByte", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_Crossbar_CodecInput_ReadByte", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_DebugCpu_Check", referenced from:
      _do_specialties in newcpu.o
  "_Crossbar_CodecStatus_WriteWord", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_Crossbar_InterruptHandler_DmaSound", referenced from:
      _pIntHandlerFunctions in int.o
  "_calculate", referenced from:
      _DebugUI_Evaluate in debugui.o
  "_Crossbar_SrcControler_WriteWord", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
  "_Crossbar_DmaTrckCtrl_ReadByte", referenced from:
      _IoMemTable_Falcon in ioMemTabFalcon.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
** BUILD FAILED **


The following build commands failed:
Hatari:
        Ld /Users/solskogen/source/hatari/build/Development/Hatari.app/Contents/MacOS/Hatari
normal x86_64
(1 failure)



Please note that I'm using Mac OS X 10.6 (Snow Leopard) - And it seems
like there will and can be problems linking libsdl-framework since
10.6 is Intel only.
-- 
chs,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Hatari.xcodeproj.diff
Type: application/octet-stream
Size: 23301 bytes
Desc: not available
URL: <https://lists.berlios.de/pipermail/hatari-devel/attachments/20091007/06ef718c/attachment.obj>


More information about the hatari-devel mailing list