glgrab.pas(26,3) Fatal: Can't find unit GL used by glgrab Fatal: Compilation aborted fixed adding /usr/lib/codetyphon/fpcsrc/packages/opengl/src/ to fpc.cfg in in /usr/lib/codetyphon/allzips/src/typhon/lcl/interfaces/carbon/agl.pp was unknow type identifier PGLvoid so I added PGLvoid = Pointer to type declaration cairocanvas.pas(17,13) Fatal: Can't find unit Cairo used by CairoCanvas Fatal: Compilation aborted fixed adding: /usr/lib/codetyphon/fpcsrc/packages/cairo/src/ to fpc.cfg cairocanvas.pas(19,4) Fatal: Can't find unit Pango used by CairoCanvas Fatal: Compilation aborted fixed adding: /usr/lib/codetyphon/fpcsrc/packages/gtk2/src/* to fpc.cfg compiling registersqldb.pas registersqldb.pas(44,5) Fatal: Can't find unit mssqlconn used by registersqldb Fatal: Compilation aborted fixed adding: /usr/lib/codetyphon/fpcsrc/packages/fcl-db/src/sqldb/* to fpc.cfg lin_agg_platform_support.inc(15,2) Fatal: Can't find unit X used by agg_platform_support Fatal: Compilation aborted make[2]: *** [pl_aggpas.ppu] Error 1 make[1]: *** [bigide] Error 2 make: *** [bigidecomponents] Error 2 fixed adding: /usr/lib/codetyphon/fpcsrc/packages/x11/src/ to fpc.cfg carbonmouseinput.pas(25,3) Fatal: Can't find unit FPCMacOSAll used by CarbonMouseInput Fatal: Compilation aborted make[2]: *** [lazmouseandkeyinput.ppu] Error 1 make[1]: *** [bigide] Error 2 make: *** [bigidecomponents] Error 2 fixed: Hello, The FPCMacOSAll unit has been renamed to MacOSAll (both for 2.3.1 and 2.2.1). The reason is that the same has been done in the Common Pascal Interfaces repository from which we import it. And the reason it has been done there, is that these Common Pascal Interfaces can be used with FPC, GPC and Metrowerks Pascal, and it doesn't make sense to force people to add ifdefs to their source for a unit which is virtually identical for all three compilers. If you require compatibility with previously released FPC versions, you can use the following: uses {$if defined(VER2_2_0) or defined(VER2_0_4)} FPCMacOSAll {$else} MacOSAll {$endif} ; carbonmouseinput.pas(55,67) Error: Expected another 2 array elements carbonmouseinput.pas(77) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted MouseButtonToCarbonButton: array [TMouseButton] of Integer = (kCGMouseButtonLeft, kCGMouseButtonRight ,kCGMouseButtonCenter,3,4); // 3,4,) by zbyňa // TmouseButton = (mbLeft, mbRight, mbMiddle, mbExtra1, mbExtra2) // but Discussion on Mac Developer Library: // Quartz supports up to 32 mouse buttons. The first three buttons are specified using these // three constants. Additional buttons are specified in USB order using the integers 3 to 31. carbonkeyinput.pas(25,3) Fatal: Can't find unit FPCMacOSAll used by CarbonKeyInput Fatal: Compilation aborted - see above usr/lib/codetyphon/typhon/components/pl_OnGuard/./source/ogutil.pas(222,10) Error: (5005) Forward declaration not solved "GetDiskSerialNumber(Char):LongInt;" /usr/lib/codetyphon/typhon/components/pl_OnGuard/./source/ogutil.pas(223,10) Error: (5005) Forward declaration not solved "MyHashElf(const ;LongInt):LongInt;" ogutil.pas(1798) Fatal: (10026) There were 2 errors compiling module, stopping Fatal: (1018) Compilation aborted {$IfDef Darwin} // by zbyňa function GetDiskSerialNumber(Drive : AnsiChar) : LongInt; begin {$NOTE: Still to be implemented } Result := 0; end; function MyHashElf(const Buf; BufSize : LongInt) : LongInt; begin Result := 0; end; {$ENDIF} // by zbyňa /usr/lib/codetyphon/typhon/components/pl_OnGuard/./source/ognetwrk.pas(455,35) Error: (5000) Identifier not found "HiWord" ognetwrk.pas(532) Fatal: (10026) There were 1 errors compiling module, stopping Fatal: (1018) Compilation aborted make[2]: *** [pl_onguard.ppu] Error 1 uses lcltype /usr/lib/codetyphon/typhon/components/pl_OnGuard/./source/ogproexe.pas(464,42) Error: (5000) Identifier not found "timeGetTime" /usr/lib/codetyphon/typhon/components/pl_OnGuard/./source/ogproexe.pas(465,42) Error: (5000) Identifier not found "timeGetTime" /usr/lib/codetyphon/typhon/components/pl_OnGuard/./source/ogproexe.pas(466,42) Error: (5000) Identifier not found "timeGetTime" /usr/lib/codetyphon/typhon/components/pl_OnGuard/./source/ogproexe.pas(467,42) Error: (5000) Identifier not found "timeGetTime" /usr/lib/codetyphon/typhon/components/pl_OnGuard/./source/ogproexe.pas(468,42) Error: (5000) Identifier not found "timeGetTime" /usr/lib/codetyphon/typhon/components/pl_OnGuard/./source/ogproexe.pas(469,42) Error: (5000) Identifier not found "timeGetTime" ogproexe.pas(715) Fatal: (10026) There were 6 errors compiling module, stopping Fatal: (1018) Compilation aborted Sig.Sig1 := Sig.Sig1 xor DWord(Trunc(Now * 24 * 60 * 60 * 1000)); //by zbyňa timeGetTime is only win thanks Theo http://forum.lazarus.freepascal.org/index.php/topic,10932.msg54640.html#msg54640 /usr/lib/codetyphon/typhon/components/pl_OnGuard/./source/ogfirst.pas(180,77) Error: (5000) Identifier not found "O_NOFOLLOW" ogfirst.pas(206) Fatal: (10026) There were 1 errors compiling module, stopping Fatal: (1018) Compilation aborted server_lock := fpopen(PChar(server_name), O_RDWR or O_CREAT or O_TRUNC or {$IfNDef Darwin} O_NOFOLLOW or {$ENDIF}O_EXCL, S_IRWXU); // seems like O_NOFOLLOW is not implemented for osx Compiling ./source/platform/agg_platform_support.pas lin_agg_platform_support.inc(15,2) Fatal: Can't find unit X used by agg_platform_support Fatal: Compilation aborted /usr/lib/codetyphon/fpcsrc/packages/x11/src/ to fpc.cfg /usr/lib/codetyphon/typhon/components/pl_GLScene/./source/OpenGLTokens.pas(61,82) Error: (5002) Duplicate identifier "opengl32" /usr/lib/codetyphon/typhon/components/pl_GLScene/./source/OpenGLTokens.pas(61,82) Hint: (5003) Identifier already defined in OpenGLTokens.pas at line 54 /usr/lib/codetyphon/typhon/components/pl_GLScene/./source/OpenGLTokens.pas(62,79) Error: (5002) Duplicate identifier "glu32" /usr/lib/codetyphon/typhon/components/pl_GLScene/./source/OpenGLTokens.pas(62,79) Hint: (5003) Identifier already defined in OpenGLTokens.pas at line 55 /usr/lib/codetyphon/typhon/components/pl_GLScene/./source/OpenGLTokens.pas(65,70) Error: (5002) Duplicate identifier "libGLES2" /usr/lib/codetyphon/typhon/components/pl_GLScene/./source/OpenGLTokens.pas(65,70) Hint: (5003) Identifier already defined in OpenGLTokens.pas at line 57 /usr/lib/codetyphon/typhon/components/pl_GLScene/./source/OpenGLTokens.pas(7996,1) Fatal: (10026) There were 3 errors compiling module, stopping Fatal: (1018) Compilation aborted {$IFDEF LINUX}// -9999 // seems to be {$IFDEF LINUX} instead of {$IFDEF UNIX} changed opengl32 = 'libGL.so'; glu32 = 'libGLU.so'; libEGL = 'libEGL.so'; libGLES2 = 'libGLESv2.so'; {$ENDIF} /usr/lib/codetyphon/typhon/components/pl_GLScene/./source/GLCarbonContext.pas(468,3) Error: (5000) Identifier not found "GLSLogger" /usr/lib/codetyphon/typhon/components/pl_GLScene/./source/GLCarbonContext.pas(474,3) Error: (5000) Identifier not found "GLSLogger" /usr/lib/codetyphon/typhon/components/pl_GLScene/./source/GLCarbonContext.pas(479,5) Error: (5000) Identifier not found "GLSLogger" /usr/lib/codetyphon/typhon/components/pl_GLScene/./source/GLCarbonContext.pas(487,5) Error: (5000) Identifier not found "GLSLogger" /usr/lib/codetyphon/typhon/components/pl_GLScene/./source/GLCarbonContext.pas(496,3) Error: (5000) Identifier not found "GLSLogger" /usr/lib/codetyphon/typhon/components/pl_GLScene/./source/GLCarbonContext.pas(526,3) Error: (5000) Identifier not found "GLSLogger" /usr/lib/codetyphon/typhon/components/pl_GLScene/./source/GLCarbonContext.pas(532,3) Error: (5000) Identifier not found "GLSLogger" /usr/lib/codetyphon/typhon/components/pl_GLScene/./source/GLCarbonContext.pas(573,5) Error: (5000) Identifier not found "GLSLogger" /usr/lib/codetyphon/typhon/components/pl_GLScene/./source/GLCarbonContext.pas(587,9) Error: (5000) Identifier not found "GLSLogger" /usr/lib/codetyphon/typhon/components/pl_GLScene/./source/GLCarbonContext.pas(617,5) Error: (5000) Identifier not found "GLSLogger" /usr/lib/codetyphon/typhon/components/pl_GLScene/./source/GLCarbonContext.pas(658,3) Error: (5000) Identifier not found "GLSLogger" /usr/lib/codetyphon/typhon/components/pl_GLScene/./source/GLCarbonContext.pas(664,5) Error: (5000) Identifier not found "GLSLogger" GLCarbonContext.pas(729) Fatal: (10026) There were 14 errors compiling module, stopping Fatal: (1018) Compilation aborted quite puzzling for me :-) trying to enclose GLSLogger inside {$IFDEF GLS_LOGGING} {$ENDIF} /usr/lib/codetyphon/typhon/components/pl_GLScene/./source/LIBPNG.pas(48,146) Error: (5002) Duplicate identifier "LibPng13" /usr/lib/codetyphon/typhon/components/pl_GLScene/./source/LIBPNG.pas(48,146) Hint: (5003) Identifier already defined in LIBPNG.pas at line 45 /usr/lib/codetyphon/typhon/components/pl_GLScene/./source/LIBPNG.pas(1203,1) Fatal: (10026) There were 1 errors compiling module, stopping Fatal: (1018) Compilation aborted