[Lazarus] Indy compilation problem revisited.
Mattias Gaertner
nc-gaertnma at netcologne.de
Wed Mar 23 22:07:18 CET 2011
On Wed, 23 Mar 2011 20:47:36 +0000
Frank Church <vfclists at gmail.com> wrote:
> On 23 March 2011 20:43, Frank Church <vfclists at gmail.com> wrote:
>
> >
> >
> > On 23 March 2011 16:20, Frank Church <vfclists at gmail.com> wrote:
> >
> >>
> >>
> >> On 22 March 2011 18:15, Mattias Gaertner <nc-gaertnma at netcologne.de>wrote:
> >>
> >>> On Wed, 23 Mar 2011 00:44:43 +1100
> >>> Peter Williams <pewilliams2010 at live.com> wrote:
> >>>
> >>> >[...]
> >>> > >Recompiling IdStreamVCL, checksum changed for IdGlobal
> >>> > >IdStreamVCL.pas(13,20) Fatal: Can't find unit IdStreamVCL used by
> >>> IdStream
> >>>
> >>> You can try compiling the Indy package with -Ur. Add this to the
> >>> compiler options of the Indy package.
> >>>
> >>>
> >>> > >What do they actually mean, in particular which process is emitting
> >>> the message Fatal: Can't find unit IdStreamVCL used by IdStream?
> >>>
> >>> Process: fpc
> >>> Meaning: a ppu file is outdated. There is a bug in fpc that can trigger
> >>> this. There are several ways to work around the bug. One is to use -Ur.
> >>>
> >>>
> >>>
> >> I will test your suggestion. I have always suspected that there some bugs
> >> in FPC that Indy triggers.
> >
>
> PS. I missed out the relevant error message:
> Recompiling indylaz, checksum changed for IdAbout
> indylaz.pas(79,12) Fatal: Can't find unit indylaz used by Lazarus
Well, if -Ur does not work, you have to bite the bullet and change the
uses sections. Remove "inline" modifiers from functions and try to move
units from the implementation to the interface section.
> > After trying it out it now compiling is okay, but when it comes to
> > registration it stops on the file indylaz.pas, which is the file that
> > registers the components.
> >
> > It is sensible or the norm for the unit that does the registration to have
> > the same base name of the project file?
Yes.
Note: Since 0.9.29 you can select another name.
>[...]
Mattias
More information about the Lazarus
mailing list