Recent

Author Topic: [SOLVED] Can't explain errors when cross compiling  (Read 1879 times)

tintinux

  • Sr. Member
  • ****
  • Posts: 353
    • Gestinux
[SOLVED] Can't explain errors when cross compiling
« on: December 16, 2024, 05:43:14 pm »
Hi

When I cross compile on Linux for Win32 any project using ZeosLib 8.0, I get errors during compilation of this package :

ZDataset.pas(52,14) Error: Illegal unit name: ZDataset (expecting ZDATASETUTILS)
ZAbstractRODataset.pas(81,22) Error: Circular unit reference between ZAbstractRODataset and ZAbstractConnection

I have not these errors in a mere compilation on Linux for Linux, and I'm pretty sure they don't exist on Windows for Windows. 
And of course, I can cross compile projects not using ZeosLib without error.

It is certain that the issue is somewhere in the package, but to try to solve i'd like to know if someone have seen such problems and share ideas on the origin of the error.

Why ZDataset is an illegal unit name in a file named ZDataset.pas, and why ZDATASETUTILS (in uppercase) is expected ?

How can we have circular unit reference when cross compiling and not during simple compilation ?

I have checked the compilation directives and don't see any which can explain that.

Thanks for help !

« Last Edit: December 18, 2024, 02:30:23 pm by tintinux »
Initiator of gestinux, open-source, multi-database and multilingual accounting and billing software made with LAZARUS.

You can help to develop, to make and improve translations, and to provide examples of legal charts and reports from more countries.

tintinux

  • Sr. Member
  • ****
  • Posts: 353
    • Gestinux
Can't explain errors when cross compiling
« Reply #1 on: December 18, 2024, 02:30:03 pm »
It was fixed by a fresh reinstallation....
Initiator of gestinux, open-source, multi-database and multilingual accounting and billing software made with LAZARUS.

You can help to develop, to make and improve translations, and to provide examples of legal charts and reports from more countries.

 

TinyPortal © 2005-2018