[Lazarus] FPC and Lazarus trunk

Marco van de Voort marcov at stack.nl
Sat Jan 11 15:13:39 CET 2014


On Fri, Jan 10, 2014 at 07:23:18PM -0500, waldo kitty wrote:
> 
> i've just updated my FPC trunk and now my Lazarus trunk won't compile...
> -vewnhi -l -Fu. -FE. -FU../units/i386-win32 -gl -gh -dHEAPTRC_WINDOW -di386 
> fcllaz.pas
> Hint: Start of reading config file c:\freepascal\fpc\trunk\bin\i386-win32\fpc.cfg
> Hint: End of reading config file c:\freepascal\fpc\trunk\bin\i386-win32\fpc.cfg
> Free Pascal Compiler version 2.7.1 [2014/01/10] for i386
> Copyright (c) 1993-2013 by Florian Klaempfl and others
> Target OS: Win32 for i386
> Compiling fcllaz.pas
> Compiling registerfcl.pas
> Compiling lazaruspackageintf.pas
> PPU Loading C:\freepascal\fpc\trunk\units\i386-win32\rtl\variants.ppu
> PPU Source: variants.pp not available
> Recompiling variants, checksum changed for System
> Fatal: Can't find unit variants used by db
> Fatal: Compilation aborted
> make[1]: *** [fcllaz.ppu] Error 1
> make[1]: Leaving directory `c:/freepascal/laz/packager/registration'
> make: *** [registration] Error 2

Wipe (or move out the compiler's unit path) the rtl/ directory in the
installed FPC, and rebuild FPC.

Note that not erasing the unit dir when doing a snapshot update is a bad
idea for exactly this reason (moving an unit in SVN will permanently leave
multiple compiled versions in the units dir)




More information about the Lazarus mailing list