[lazarus] registry unit?

Vincent Snijders vslist at zonnet.nl
Sun Dec 7 04:37:06 EST 2003


On Sun, 7 Dec 2003 10:23:34 +0100
Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:

> On Sun, 07 Dec 2003 16:54:32 +1100  Jason King <pizza at netspace.net.au>
> wrote:
> 
> > (just after "cvs update")
> > 
> > jason at whitestar:~/src/lazarus$ make
> > make -C lcl all
> > make[1]: Entering directory `/home/jason/src/lazarus/lcl'
> > /bin/rm -f units/alllclunits.ppu
> > /usr/bin/ppc386 -gl -Fu./units/gtk -Fu./units -Fu. -Funonwin32
> > -Fu/usr/lib/fpc/1.0.10/units/linux/rtl
> > -Fu/usr/lib/fpc/1.0.10/units/linux/paszlib
> > -Fu/usr/lib/fpc/1.0.10/units/linux/netdb
> > -Fu/usr/lib/fpc/1.0.10/units/linux/fcl
> > -Fu/usr/lib/fpc/1.0.10/units/linux/mysql
> > -Fu/usr/lib/fpc/1.0.10/units/linux/ibase
> > -Fu/usr/lib/fpc/1.0.10/units/linux/x11
> > -Fu/usr/lib/fpc/1.0.10/units/linux/opengl
> > -Fu/usr/lib/fpc/1.0.10/units/linux/gtk -Fiinclude -FUunits
> > -Fl/usr/lib/gcc-lib/i486-linux/3.3.2 -Fl/usr/X11R6/lib
> > -Fl/usr/lib/atlas-di386 alllclunits.pp
> > Free Pascal Compiler version 1.0.10 [2003/08/18] for i386
> > Copyright (c) 1993-2003 by Florian Klaempfl
> > Target OS: Linux for i386
> > Compiling alllclunits.pp
> > alllclunits.pp(38,30) Fatal: Can't find unit REGISTRY
> > make[1]: *** [alllclunits.ppu] Error 1
> > make[1]: Leaving directory `/home/jason/src/lazarus/lcl'
> > make: *** [lcl] Error 2
> > 
> > where is the registry unit supposed to be? (haven't been able to
> > compile for days now)
> 
> The registry unit in the LCL was only a workaround. Now the registry
> unit that comes with the fcl is used.
> It seems the 1.0.10 from 2003/08/18 does not have it. I will add some
> ifdefs.. .
> 
> 
> Mattias
I had the same error lately, and I thought the same
thing. 
registry.ppu is supposed to be at /usr/lib/fpc/1.0.10/units/linux/fcl.
See if it is there. Check if there is a stale registry.ppu in the
your_lazarus-dir/lcl/units. If so, remove this file, so the one in 
/usr/lib/fpc/1.0.10/units/linux/fcl will be found. It solved my problem
with fpc-1.0.10 on win32.

Regards,
Vincent.






More information about the Lazarus mailing list