[Lazarus] Compiler-Error
Thomas Moritz
thm_ml at thmoritz.de
Sun Dec 6 19:45:31 CET 2009
Am Sonntag 06 Dezember 2009 14:12:00 schrieb Martin:
> >>> Free Pascal Compiler version 2.2.4 [2009/10/14] for x86_64
> >>> Copyright (c) 1993-2008 by Florian Klaempfl
> >>> Target OS: Linux for x86-64
> >>> Compiling lazarus.pp
> >>> staticpackages.inc(2,10) Error: Duplicate identifier
> >>> "CODETOOLS" staticpackages.inc(2,10) Error: Duplicate
> >>> identifier "CodeTools"
> >>
> >> Does your staticpackages.inc has two times codetools?
No!
> Have you tried to rebuild really really clean? In the past I had
> similar issues (not with codetools though). The reason is that
> even "clean all" does not really clean all.
> So you should find and delete every .ppu and every .o file and
> then try to rebuild
All subdirs are clean, after
make clean
find -name *.ppu -delete
find -name *.o -delete
after this:
make # it compile to end!
but:
./lazbuild --build-ide= -B -r --pcp="$mypcp" --ws="$myws"
produce the error with codetools
> Another issue could be if you have more than one installation of
> Lazarus and you don't use --primary-config-path
The pcp of QT45 an GTK2 are strictly several!
MfG Th. Moritz
More information about the Lazarus
mailing list