Skip to content

Unable to compile PascalScript_Core_D26.dpk for Linux64/MacOS64 #208

@jdavison-mo

Description

@jdavison-mo

I have latest revision with patches from issue #202 (commit 86a057c) but I am unable to compile the files that are part of the PascalScript_Core_D26.dpk for that platform for Linux64 nor MacOS64.

Here's some compiler output using Delphi 10.3.2 Rio dccosx64 compiler (similar results exist for dcclinux64):

[dcc] ./PascalScript_Core_D26.dpk
[dcc] ./uPSUtils.pas (730)
[dcc] Error: E2008 Incompatible types
[dcc] ./uPSCompiler.pas (1374)
[dcc] Fatal: F2063 Could not compile used unit 'uPSUtils.pas'

If I comment out that offending code then I get the following which is starting to look non-trivial...

[dcc] ./PascalScript_Core_D26.dpk
[dcc] ./uPSRuntime.pas (8923)
[dcc] Warning: W1057 Implicit string cast from 'AnsiString' to 'string'
[dcc] ./uPSRuntime.pas (11640)
[dcc] Error: E1025 Unsupported language feature: 'ASM'
[dcc] ./uPSRuntime.pas (11640)
[dcc] Error: E2029 ';' expected but 'ASM' found
[dcc] ./uPSRuntime.pas (11640)
[dcc] Warning: W1011 Text after final 'END.' - ignored by compiler
[dcc] ./uPSRuntime.pas (58)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSProcRec.Create'
[dcc] ./uPSRuntime.pas (60)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSProcRec.Destroy'
[dcc] ./uPSRuntime.pas (106)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSInternalProcRec.Destroy'
[dcc] ./uPSRuntime.pas (163)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSTypeRec_ProcPtr.CalcSize'
[dcc] ./uPSRuntime.pas (191)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSTypeRec_Array.CalcSize'
[dcc] ./uPSRuntime.pas (203)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSTypeRec_StaticArray.CalcSize'
[dcc] ./uPSRuntime.pas (214)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSTypeRec_Set.CalcSize'
[dcc] ./uPSRuntime.pas (535)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSRuntimeAttribute.GetValue'
[dcc] ./uPSRuntime.pas (536)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSRuntimeAttribute.GetValueCount'
[dcc] ./uPSRuntime.pas (549)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSRuntimeAttribute.AddValue'
[dcc] ./uPSRuntime.pas (551)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSRuntimeAttribute.DeleteValue'
[dcc] ./uPSRuntime.pas (553)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSRuntimeAttribute.AdjustSize'
[dcc] ./uPSRuntime.pas (556)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSRuntimeAttribute.Create'
[dcc] ./uPSRuntime.pas (558)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSRuntimeAttribute.Destroy'
[dcc] ./uPSRuntime.pas (565)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSRuntimeAttributes.GetCount'
[dcc] ./uPSRuntime.pas (566)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSRuntimeAttributes.GetItem'
[dcc] ./uPSRuntime.pas (575)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSRuntimeAttributes.Delete'
[dcc] ./uPSRuntime.pas (577)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSRuntimeAttributes.Add'
[dcc] ./uPSRuntime.pas (579)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSRuntimeAttributes.FindAttribute'
[dcc] ./uPSRuntime.pas (582)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSRuntimeAttributes.Create'
[dcc] ./uPSRuntime.pas (584)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSRuntimeAttributes.Destroy'
[dcc] ./uPSRuntime.pas (759)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSExec.RegisterDelphiFunction'
[dcc] ./uPSRuntime.pas (761)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSExec.RegisterDelphiMethod'
[dcc] ./uPSRuntime.pas (803)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.GetItem'
[dcc] ./uPSRuntime.pas (804)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.SetCapacity'
[dcc] ./uPSRuntime.pas (805)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.AdjustLength'
[dcc] ./uPSRuntime.pas (815)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.Create'
[dcc] ./uPSRuntime.pas (817)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.Destroy'
[dcc] ./uPSRuntime.pas (819)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.Clear'
[dcc] ./uPSRuntime.pas (821)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.Push'
[dcc] ./uPSRuntime.pas (823)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.PushType'
[dcc] ./uPSRuntime.pas (825)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.Pop'
[dcc] ./uPSRuntime.pas (826)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.GetInt'
[dcc] ./uPSRuntime.pas (827)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.GetUInt'
[dcc] ./uPSRuntime.pas (829)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.GetInt64'
[dcc] ./uPSRuntime.pas (831)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.GetString'
[dcc] ./uPSRuntime.pas (832)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.GetAnsiString'
[dcc] ./uPSRuntime.pas (834)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.GetWideString'
[dcc] ./uPSRuntime.pas (835)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.GetUnicodeString'
[dcc] ./uPSRuntime.pas (837)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.GetReal'
[dcc] ./uPSRuntime.pas (838)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.GetCurrency'
[dcc] ./uPSRuntime.pas (839)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.GetBool'
[dcc] ./uPSRuntime.pas (840)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.GetClass'
[dcc] ./uPSRuntime.pas (842)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.SetInt'
[dcc] ./uPSRuntime.pas (843)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.SetUInt'
[dcc] ./uPSRuntime.pas (845)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.SetInt64'
[dcc] ./uPSRuntime.pas (847)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.SetString'
[dcc] ./uPSRuntime.pas (848)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.SetAnsiString'
[dcc] ./uPSRuntime.pas (850)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.SetWideString'
[dcc] ./uPSRuntime.pas (851)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.SetUnicodeString'
[dcc] ./uPSRuntime.pas (853)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.SetReal'
[dcc] ./uPSRuntime.pas (854)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.SetCurrency'
[dcc] ./uPSRuntime.pas (855)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.SetBool'
[dcc] ./uPSRuntime.pas (856)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSStack.SetClass'
[dcc] ./uPSRuntime.pas (988)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'EPSException.Create'
[dcc] ./uPSRuntime.pas (1046)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'TPSRuntimeClassImporter.FindClass'
[dcc] ./uPSRuntime.pas (1100)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'IDispatchInvoke'
[dcc] ./uPSRuntime.pas (11632)
[dcc] Error: E2065 Unsatisfied forward or external declaration: 'MyAllMethodsHandler2'
[dcc] ./uPSRuntime.pas (531)
[dcc] Hint: H2219 Private symbol 'FValues' declared but never used
[dcc] ./uPSRuntime.pas (563)
[dcc] Hint: H2219 Private symbol 'FAttributes' declared but never used
[dcc] ./uPSComponent.pas (1374)
[dcc] Fatal: F2063 Could not compile used unit 'uPSRuntime.pas'

I am grateful for your assistance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions