Recent

Author Topic: Compile of IDE has failed - Cannot find ParseTreeNode used by Converter  (Read 2235 times)

ocpaul20

  • New Member
  • *
  • Posts: 18
I am trying to compile and install sqlite3laz 0.4 to get the SQLDataset component, although why it is not already in the pallette I cannot understand.. The compile of the component went OK without problems but it has not installed into the component pallette due to a compile error of the IDE.

The 'find' on ParseTreeNode has produced this(see below) so I assume it can find it really. However there is a message which says 'incompatible ppu' which is more worrying.

Can anyone help and tell me what I need to do please?
Thanks.

P.S. Currently all my projects are in a directory under ~/ and all the Lazarus and fpc stuff is on sda5. The IDE compiles the projects OK and they run without problems.

Code: [Select]
# find / -name ParseTreeNode*.ppu
/mnt/sda5/development/lazarus/components/jcf2/IdePlugin/lazarus/lib/i386-linux/gtk2/ParseTreeNodeType.ppu
/mnt/sda5/development/lazarus/components/jcf2/IdePlugin/lazarus/lib/i386-linux/gtk2/ParseTreeNode.ppu

Error message when compiling the IDE
Code: [Select]
Build IDE: Exit code 2, Errors: 1, Warnings: 1
Warning: Recompiling ParseTreeNode, checksum changed for tokens
Converter.pas(41,27) Fatal: Cannot find ParseTreeNode used by Converter, incompatible ppu=/mnt/sda5/development/lazarus/components/jcf2/IdePlugin/lazarus/lib/i386-linux/gtk2/ParseTreeNode.ppu, package jcfidelazarus

=======================
Puppy Linux Slacko 5.7 Frugal
Lazarus 1.5 r48750 FPC 2.6.5 i386-linux-gtk 2
=======================================
Free Pascal Compiler version 2.6.5 [2015/04/26] for i386
Puppy Linux Slacko 5.7 Frugal

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12326
  • FPC developer.

Quote
... checksum changed for tokens

This is the important bit.

From that my guess would be that the problem is related to unit "tokens" (Multiple versions, left over .o/.ppu's or multiple versions of includefiles used in that unit).


ocpaul20

  • New Member
  • *
  • Posts: 18
Yes, you are correct there are multiple versions.

Where should I look to find which one I need to keep and which one the compiler is looking to use to rebuild the IDE ?

After a little pruning, there is now only one for Lazarus but all 3 of the ppu files have been compiled and I still get the error.
Code: [Select]
/mnt/sda5/development/fpc/compiler/tokens.pas
/mnt/sda5/development/fpc/compiler/i386/units/i386-linux/tokens.ppu
/mnt/sda5/development/fpc/compiler/i386/units/i386-linux/tokens.o
/mnt/sda5/development/fpc/compiler/utils/units/i386-linux/tokens.ppu
/mnt/sda5/development/fpc/compiler/utils/units/i386-linux/tokens.o
/mnt/sda5/development/lazarus/units/i386-linux/gtk2/tokens.ppu
/mnt/sda5/development/lazarus/units/i386-linux/gtk2/tokens.o
« Last Edit: April 21, 2015, 12:02:00 pm by ocpaul20 »
=======================================
Free Pascal Compiler version 2.6.5 [2015/04/26] for i386
Puppy Linux Slacko 5.7 Frugal

 

TinyPortal © 2005-2018