Forum > Other OS

AmigaOs 3.1

(1/3) > >>

saashapont:
I try to compile for this os
1.  I make croscompilator,
2. I copy binutils,
3. i set mui for lcl
4. I use lazarus for morphos

Now i have error Hint: (11030) Start of reading config file /sw/etc/fpc.cfg
Hint: (11031) End of reading config file /sw/etc/fpc.cfg
Free Pascal Compiler version 3.0.0 [2016/09/25] for m68k
Copyright (c) 1993-2015 by Florian Klaempfl and others
(1002) Target OS: Commodore Amiga
(3104) Compiling lcl.pas
(3104) Compiling ./mui/alllclintfunits.pas
(3104) Compiling ./mui/interfaces.pp
(3104) Compiling ./mui/muiint.pp
(3104) Compiling ./mui/muithemes.pas
(3104) Compiling ./mui/muidrawing.pas
(3104) Compiling ./mui/muiglobal.pas
/Volumes/MacHD2/Downloads/lazarus-lazarus-morphos/lcl/interfaces/./mui/muiglobal.pas(103,15) Error: (5000) Identifier not found "ExecAllocMem"
/Volumes/MacHD2/Downloads/lazarus-lazarus-morphos/lcl/interfaces/./mui/muiglobal.pas(132,13) Error: (5000) Identifier not found "ExecAllocMem"
/Volumes/MacHD2/Downloads/lazarus-lazarus-morphos/lcl/interfaces/./mui/muiglobal.pas(243,20) Error: (5000) Identifier not found "HookEntry"
/Volumes/MacHD2/Downloads/lazarus-lazarus-morphos/lcl/interfaces/./mui/muiglobal.pas(307,20) Hint: (4055) Conversion between ordinals and pointers is not portable
/Volumes/MacHD2/Downloads/lazarus-lazarus-morphos/lcl/interfaces/./mui/muiglobal.pas(310,3) Error: (5000) Identifier not found "DoMethodA"
/Volumes/MacHD2/Downloads/lazarus-lazarus-morphos/lcl/interfaces/./mui/muiglobal.pas(326,13) Error: (3026) Wrong number of parameters specified for call to "AllocMem"
Error: (5088) Found declaration: AllocMem(LongWord;LongWord):^untyped; SysCall;
/Volumes/MacHD2/Downloads/lazarus-lazarus-morphos/lcl/interfaces/./mui/muiglobal.pas(332,13) Error: (3026) Wrong number of parameters specified for call to "AllocMem"
Error: (5088) Found declaration: AllocMem(LongWord;LongWord):^untyped; SysCall;
/Volumes/MacHD2/Downloads/lazarus-lazarus-morphos/lcl/interfaces/./mui/muiglobal.pas(355,13) Error: (5000) Identifier not found "DoMethodA"
/Volumes/MacHD2/Downloads/lazarus-lazarus-morphos/lcl/interfaces/./mui/muiglobal.pas(360,13) Error: (5000) Identifier not found "DoMethodA"
/Volumes/MacHD2/Downloads/lazarus-lazarus-morphos/lcl/interfaces/./mui/muiglobal.pas(360,23) Hint: (4055) Conversion between ordinals and pointers is not portable
muiglobal.pas(375) Fatal: (10026) There were 10 errors compiling module, stopping
Fatal: (1018) Compilation aborted

Is any way to fix that?

Jonas Maebe:
It probably only works with the latest trunk version of FPC.

molly:
It is even more explicit. It only works with FPC from trunk and lazarus from ALB42's github account.

Tbh, i do not even know for sure if using the MorphOS branch to target Amiga classic OS 3.x is the correct one.

saashapont:
I try to make it with ALB42's MorphOS lazarus and 3.0.0 may be error in this. But i cannot make crosscompilator for amiga for 3.1.1. If anybody can do this for mac please upload it

molly:

--- Quote from: saashapont on September 25, 2016, 01:51:55 pm ---But i cannot make crosscompilator for amiga for 3.1.1. If anybody can do this for mac please upload it

--- End quote ---
Please forgive me if we've already discussed this topic but could you please elaborate on what is the problem exactly (error logs please) ? I have no problem creating fpc 3.1.1 cross compiler from/for windows. Having that said, it has been a while (couple of months) that i created a new one.

Navigation

[0] Message Index

[#] Next page

Go to full version