Recent

Author Topic: Fatal: Can't find unit process used by RegisterFCL  (Read 8829 times)

anta40

  • New Member
  • *
  • Posts: 28
Fatal: Can't find unit process used by RegisterFCL
« on: April 05, 2012, 04:28:42 pm »
As usual, I built fpc & lazarus from svn, and always work,
Today, I got this error:
Quote
make -C packager/registration all
make[1]: Entering directory `/home/anta40/lazarus-svn/packager/registration'
/bin/rm -f ../units/x86_64-linux/fcllaz.ppu
/usr/bin/ppcx64 -MObjFPC -Scghi -O1 -g -gl -vewnhi -l -Fu. -Fu/usr/local/lib/fpc/2.7.1/units/x86_64-linux/rtl -FE. -FU../units/x86_64-linux -Cg -dx86_64 fcllaz.pas
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.7.1 [2012/04/05] for x86_64
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling fcllaz.pas
Compiling registerfcl.pas
PPU Loading /usr/lib/fpc/2.7.1/units/x86_64-linux/fcl-process/process.ppu
Recompiling process, checksum changed for Classes
registerfcl.pas(45,22) Fatal: Can't find unit process used by RegisterFCL
Fatal: Compilation aborted
make[1]: *** [fcllaz.ppu] Error 1
make[1]: Leaving directory `/home/anta40/lazarus-svn/packager/registration'
make: *** [packager/registration] Error 2

Any idea why? I already removed the fpc & lazarus sources, grabbed the latest from svn and built them. fpc went fine, but not with lazarus

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Fatal: Can't find unit process used by RegisterFCL
« Reply #1 on: April 05, 2012, 04:40:57 pm »
Quote
Recompiling process, checksum changed for Classes
Got any unit named classes in the search path? Try adding -vt to compiler option and see which classes unit does the compiler pick such that it detects the checksum has changed.

anta40

  • New Member
  • *
  • Posts: 28
Re: Fatal: Can't find unit process used by RegisterFCL
« Reply #2 on: April 06, 2012, 04:36:22 am »
How do I add the -vt option? by editing the Makefile?

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Fatal: Can't find unit process used by RegisterFCL
« Reply #3 on: April 06, 2012, 06:16:20 am »
Quote
How do I add the -vt option? by editing the Makefile?
Nope, simply:
Code: [Select]
make OPT='-vt'

anta40

  • New Member
  • *
  • Posts: 28
Re: Fatal: Can't find unit process used by RegisterFCL
« Reply #4 on: April 06, 2012, 01:01:07 pm »

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Fatal: Can't find unit process used by RegisterFCL
« Reply #5 on: April 06, 2012, 04:42:52 pm »
Hmm... weird. Try cleaning up (and check manually afterwards whether there are .o, .ppu, .a, .rst lying around in the compiler search path) and build again.

anta40

  • New Member
  • *
  • Posts: 28
Re: Fatal: Can't find unit process used by RegisterFCL
« Reply #6 on: April 06, 2012, 06:13:06 pm »
Yeah, remove all *.o, *.a, *.rst, *.ppu in /usr/local/lib/fpc/2.7.1/units/x86_64-linux, and them I'm able to built lazarus again.

;)

 

TinyPortal © 2005-2018