Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-03

Error compiling Lazarus svn 14407

6 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Luiz Americo Pereira Camara

When compiling Lazarus svn 14407, under win32, fpc 2.2.0 with make clean all, the following error occurs:

Compiling KeyMapping.pp
KeyMapping.pp(483,23) Error: Identifier not found "ecToggleIssueBrowser"
KeyMapping.pp(483,23) Error: Constant Expression expected
KeyMapping.pp(806,23) Error: Identifier not found "ecToggleIssueBrowser"
KeyMapping.pp(806,23) Error: Constant Expression expected
KeyMapping.pp(1432,31) Error: Identifier not found "ecToggleIssueBrowser"
KeyMapping.pp(1432,31) Error: Constant Expression expected
KeyMapping.pp(1432,31) Error: duplicate case label
KeyMapping.pp(3176) Fatal: There were 7 errors compiling module, stopping

Luiz

Reply by email

Tom Gregorovic
to Luiz Americo Pereira Camara
Luiz Americo Pereira Camara wrote 13 lines
When compiling Lazarus svn 14407, under win32, fpc 2.2.0 with make clean all, the following error occurs: Compiling KeyMapping.pp KeyMapping.pp(483,23) Error: Identifier not found "ecToggleIssueBrowser" KeyMapping.pp(483,23) Error: Constant Expression expected KeyMapping.pp(806,23) Error: Identifier not found "ecToggleIssueBrowser" KeyMapping.pp(806,23) Error: Constant Expression expected KeyMapping.pp(1432,31) Error: Identifier not found "ecToggleIssueBrowser" KeyMapping.pp(1432,31) Error: Constant Expression expected KeyMapping.pp(1432,31) Error: duplicate case label KeyMapping.pp(3176) Fatal: There were 7 errors compiling module, stopping

Hi,
the constant is defined in ideintf/idecommands.pas on line 179:

  ecToggleIssueBrowser      = ecFirstLazarus + 322;

Maybe it is some bug in make clean all.

Tom

Reply by email

wile64
to Luiz Americo Pereira Camara: When compiling Lazarus svn 14407, under win32, fpc 2.2.0 with make clean all, the…

2008/3/4, Luiz Americo Pereira Camara :

Show quoted text 14 lines
When compiling Lazarus svn 14407, under win32, fpc 2.2.0 with make clean all, the following error occurs: Compiling KeyMapping.pp KeyMapping.pp(483,23) Error: Identifier not found "ecToggleIssueBrowser" KeyMapping.pp(483,23) Error: Constant Expression expected KeyMapping.pp(806,23) Error: Identifier not found "ecToggleIssueBrowser" KeyMapping.pp(806,23) Error: Constant Expression expected KeyMapping.pp(1432,31) Error: Identifier not found "ecToggleIssueBrowser" KeyMapping.pp(1432,31) Error: Constant Expression expected KeyMapping.pp(1432,31) Error: duplicate case label KeyMapping.pp(3176) Fatal: There were 7 errors compiling module, stopping Luiz

I do not have that error (winxp, svn 14407, fpc 2.2.0)

regards

Reply by email

Mattias Gaertner
to Luiz Americo Pereira Camara: When compiling Lazarus svn 14407, under win32, fpc 2.2.0 with make clean all, the…
Show quoted text 13 lines
When compiling Lazarus svn 14407, under win32, fpc 2.2.0 with make clean all, the following error occurs: Compiling KeyMapping.pp KeyMapping.pp(483,23) Error: Identifier not found "ecToggleIssueBrowser" KeyMapping.pp(483,23) Error: Constant Expression expected KeyMapping.pp(806,23) Error: Identifier not found "ecToggleIssueBrowser" KeyMapping.pp(806,23) Error: Constant Expression expected KeyMapping.pp(1432,31) Error: Identifier not found "ecToggleIssueBrowser" KeyMapping.pp(1432,31) Error: Constant Expression expected KeyMapping.pp(1432,31) Error: duplicate case label KeyMapping.pp(3176) Fatal: There were 7 errors compiling module, stopping

Did you build the IDE clean after updating?
Do you have a svn merge conflict - is your ideintf/idecommands.pas uptodate?

Mattias

Reply by email

Luiz Americo Pereira Camara
to Mattias Gaertner
Mattias Gaertner wrote
Did you build the IDE clean after updating?

I type make clean all at command prompt. I don't use the IDE to rebuild after a update.

One thing that i did different from previous updates was to revert the changes done in some makefiles in Lazarus tree. I did not changed that. The IDE modify them?

Do you have a svn merge conflict - is your ideintf/idecommands.pas uptodate?

IdeCommands is updated. No conflicts.
The only change was in one win32 intf, that compiles fine (previously and now).

After i modified the win32 intf file (reverted and than changed back) it compiled.

I noticed that in this time the LCL was being built, differently than in the previous tries.
Somehow the ide units where left behind, leading to the conflict.

Thanks for the replies.

Luiz

Reply by email

Mattias Gaertner
to Luiz Americo Pereira Camara
Show quoted text 10 lines
Mattias Gaertner wrote: > Did you build the IDE clean after updating? > I type make clean all at command prompt. I don't use the IDE to rebuild after a update. One thing that i did different from previous updates was to revert the changes done in some makefiles in Lazarus tree. I did not changed that. The IDE modify them?

Only if something changed. For example the compiler options of the package or one of its dependencies.

Show quoted text 12 lines
> Do you have a svn merge conflict - is your ideintf/idecommands.pas > uptodate? > IdeCommands is updated. No conflicts. The only change was in one win32 intf, that compiles fine (previously and now). After i modified the win32 intf file (reverted and than changed back) it compiled. I noticed that in this time the LCL was being built, differently than in the previous tries.

What do yo mean with 'differently'?
The LCL is not built automatically by the IDE. You have to manually tell it to compile the LCL.

Somehow the ide units where left behind, leading to the conflict.

I just tested: 'make clean' removes all IDE and LCL ppu files of the current target under linux. Does this work for you too?

Mattias

Reply by email