Zitat von wile64 <wile64@gmail.com>:

> 2008/3/25, Felipe Monteiro de Carvalho <felipemonteiro.carvalho@gmail.com>:
> > I got that today too, and eventually solved it after lot's of tryes.
> >
> >  Any ideas what causes that?

Short: unit circles and inline dont play together.
Long: The LCL has some circle dependencies between units. And there was an
inline procedure. This is known to raise problems and should be avoided.
I removed the inline in svn rev 14629.


> >  --
> >
> > Felipe Monteiro de Carvalho
> >
>
> After 5 make clean all, unable to build ? (win32/fpc 2.2.0 or 2.2.1)
>
> see error ?
>
> make -C interfaces all
> make[2]: Entering directory `D:/lazsrc/lcl/interfaces'
> make -C win32 all
> make[3]: Entering directory `D:/lazsrc/lcl/interfaces/win32'
> /lazarus/fpc/2.2.0/bin/i386-win32/rm.exe -f
> ../../units/i386-win32/win32/interfa
> ces.ppu \
>         ../../units/i386-win32/win32/interfaces.o
> D:/lazarus/fpc/2.2.0/bin/i386-win32/ppc386.exe -gl -Fu../../units/i386-win32
> -Fu
> . -FE. -FU../../units/i386-win32/win32 -di386 interfaces.pp
> Free Pascal Compiler version 2.2.0 [2008/01/29] for i386
> Copyright (c) 1993-2007 by Florian Klaempfl
> Target OS: Win32 for i386
> Compiling interfaces.pp
> PPU Loading D:\lazsrc\lcl\units\i386-win32\WSComCtrls.ppu
> PPU Source: WSComCtrls.pp not found
> Recompiling WSComCtrls, checksum changed for ComCtrls
> PPU Loading D:\lazsrc\lcl\units\i386-win32\WSComCtrls.ppu
> Fatal: Can't find unit WSComCtrls used by ComCtrls
> Fatal: Compilation aborted
> make[3]: *** [interfaces.ppu] Error 1
> make[3]: Leaving directory `D:/lazsrc/lcl/interfaces/win32'
> make[2]: *** [win32_all] Error 2
> make[2]: Leaving directory `D:/lazsrc/lcl/interfaces'
> make[1]: *** [interfaces] Error 2
> make[1]: Leaving directory `D:/lazsrc/lcl'
> make: *** [lcl] Error 2

Fixed.

Mattias


