[Lazarus] Compiler-Error
Mattias Gaertner
nc-gaertnma at netcologne.de
Mon Dec 7 00:27:44 CET 2009
On Sun, 6 Dec 2009 19:45:31 +0100
Thomas Moritz <thm_ml at thmoritz.de> wrote:
> 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!
Strange. See below.
>
> > 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
Yes, I can reproduce this error. Reason is that staticpackages.inc has
two times codetools.
I fixed that.
Are you sure that your staticpackages.inc did not contain codetools two
times?
Mattias
More information about the Lazarus
mailing list