Recent

Author Topic: [solved thanks] WARNING: ppu exists twice: /usr/lib/fpc/2.4.0/units/i386-linux/  (Read 7408 times)

AlistairG

  • Jr. Member
  • **
  • Posts: 70
In wiki it says:
A ppu exists twice. Find out with -vut. Remove the wrong ppu.

Can someone explain this to me? eg how to apply -vut and how to determine and remove wrong ppu?

I did this and got this:
startlazarus -vut
[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF
Adding "-vut" as a parameter
TLazarusManager.Run starting /home/alistair/.lazarus/bin/lazarus ...
[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF


Thanks vm.
« Last Edit: March 04, 2011, 07:37:20 am by Alistair George/New Zealand/Laz 2.4/Ubuntu »
Lazarus 0.9.28.2-10ubuntu1 r22277 FPC 2.4.0 i386-linux-gtk 2 (beta)
       My pledge - if I waste your time, I donate to Lazarus.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8294
  • Programming + Glam Metal + Tae Kwon Do = Me
Call the compiler (fpc), not the IDE ([start]lazarus).

AlistairG

  • Jr. Member
  • **
  • Posts: 70
Oh, did this:
fpc -vut

but still get same errors as subject matter on Project/Compiler Options/[Test]
Lazarus 0.9.28.2-10ubuntu1 r22277 FPC 2.4.0 i386-linux-gtk 2 (beta)
       My pledge - if I waste your time, I donate to Lazarus.

Blaazen

  • Hero Member
  • *****
  • Posts: 3011
  • POKE 54296,15
    • Eye-Candy Controls
Quote
but still get same errors

Not errors, only warnings.

When I choose Project -> Compiler Options -> [Test]  then I get

Code: [Select]
WARNING: UnitPath contains unusual characters
WARNING: IncludePath contains unusual characters
WARNING: ppu exists twice: /usr/local/lib/fpc/2.5.1/units/x86_64-linux/httpd20/httpd.ppu, /usr/local/lib/fpc/2.5.1/units/x86_64-linux/httpd13/httpd.ppu
WARNING: ppu exists twice: /usr/local/lib/fpc/2.5.1/units/x86_64-linux/httpd22/apriconv.ppu, /usr/local/lib/fpc/2.5.1/units/x86_64-linux/httpd20/apriconv.ppu
WARNING: ppu exists twice: /usr/local/lib/fpc/2.5.1/units/x86_64-linux/httpd22/apr.ppu, /usr/local/lib/fpc/2.5.1/units/x86_64-linux/httpd20/apr.ppu
WARNING: ppu exists twice: /usr/local/lib/fpc/2.5.1/units/x86_64-linux/httpd22/aprutil.ppu, /usr/local/lib/fpc/2.5.1/units/x86_64-linux/httpd20/aprutil.ppu
WARNING: ppu exists twice: /usr/local/lib/fpc/2.5.1/units/x86_64-linux/httpd22/httpd.ppu, /usr/local/lib/fpc/2.5.1/units/x86_64-linux/httpd20/httpd.ppu
WARNING: ppu exists twice: /usr/local/lib/fpc/2.5.1/units/x86_64-linux/lua/lauxlib.ppu, /usr/local/lib/fpc/2.5.1/units/x86_64-linux/bfd/lauxlib.ppu
WARNING: ppu exists twice: /usr/local/lib/fpc/2.5.1/units/x86_64-linux/lua/lualib.ppu, /usr/local/lib/fpc/2.5.1/units/x86_64-linux/bfd/lualib.ppu
WARNING: ppu exists twice: /usr/local/lib/fpc/2.5.1/units/x86_64-linux/lua/lua.ppu, /usr/local/lib/fpc/2.5.1/units/x86_64-linux/bfd/lua.ppu
WARNING: ppu exists twice: /usr/local/lib/fpc/2.5.1/units/x86_64-linux/fv/dialogs.ppu, /home/v1/Lazarus_Qt/lazarus/lcl/units/x86_64-linux/dialogs.ppu
WARNING: ppu exists twice: /usr/local/lib/fpc/2.5.1/units/x86_64-linux/fv/menus.ppu, /home/v1/Lazarus_Qt/lazarus/lcl/units/x86_64-linux/menus.ppu

I don't use these  *.ppu in my projects so I don't care. I had never real problems with it.

Does it make problems in your projects? If no, ignore it.
Lazarus 2.1.0 r64115 FPC 3.3.1 r40507 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

DirkS

  • Sr. Member
  • ****
  • Posts: 251
Oh, did this:
fpc -vut

but still get same errors as subject matter on Project/Compiler Options/[Test]
The extra options are meant to show you which units fpc found, not to solve the problem automatically. From the output you should be able to tell where the 2 conflicting units are located.

BTW: FPC is shipped with 2 or 3 versions of httpd.xxx; one for each supported Apache version. It looks as if all of them are found. The default fpc.cfg has some entries to distinguish between these.

Gr.
Dirk.

 

TinyPortal © 2005-2018