Sign in Join

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

Mailing lists / lazarus / 2011-01

Revision 28960 Compilation Error

9 messages · 8 people ·

Reply by email Subscribe to this list Your subscription

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

Dave Coventry

On Ubuntu 10.10 I've run the following command:

root at SNECCII:/opt# svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus Checked out revision 28960.

I've got this error:

compileroptions.pp(427,14) Error: There is no method in an ancestor class to be overridden:
"TCompilerMessagesList.Equals(TObject):Boolean;"
compileroptions.pp(734,39) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted
make[2]: *** [lazarus] Error 1
make[2]: Leaving directory
`/root/tmp/lazarus0.9.31.28960/lazarus_build/usr/share/lazarus/0.9.31.28960/ide' make[1]: *** [bigide] Error 2
make[1]: Leaving directory
`/root/tmp/lazarus0.9.31.28960/lazarus_build/usr/share/lazarus/0.9.31.28960/ide' make: *** [idebig] Error 2

Anyone got an idea of what's going on? My root partition is awfully close to full, but I think I have enough space yet.

Reply by email

Mattias Gaertner
to Dave Coventry
Show quoted text 10 lines
On Ubuntu 10.10 I've run the following command: root at SNECCII:/opt# svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus Checked out revision 28960. I've got this error: compileroptions.pp(427,14) Error: There is no method in an ancestor class to be overridden: "TCompilerMessagesList.Equals(TObject):Boolean;"

What fpc version do you use?
fpc -v

[...] Anyone got an idea of what's going on? My root partition is awfully close to full, but I think I have enough space yet.

Mattias

Reply by email

Paul Ishenin
to Dave Coventry: On Ubuntu 10.10 I've run the following command: root at SNECCII:/opt# svn co…
Dave Coventry wrote 10 lines
On Ubuntu 10.10 I've run the following command: root at SNECCII:/opt# svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus Checked out revision 28960. I've got this error: compileroptions.pp(427,14) Error: There is no method in an ancestor class to be overridden: "TCompilerMessagesList.Equals(TObject):Boolean;"

Then problem is that you are using a development version of lazarus but old fpc version. Please either use a released lazarus version or use both development lazarus and development fpc version. Or at least the latest released fpc version.

Best regards,
Paul Ishenin

Reply by email

Dave Coventry
to Mattias Gaertner: On Tue, 11 Jan 2011 16:03:06 +0200 What fpc version do you use? fpc -v Mattias

Thanks Mattias.

On 11 January 2011 16:12, Mattias Gaertner > What fpc version do you use?

fpc -v

root at SNECCII:/usr/share/fpcsrc/fpc# fpc -v
Free Pascal Compiler version 2.4.0-2 [2010/03/06] for i386 Copyright (c) 1993-2009 by Florian Klaempfl
Fatal: No source file name in command line
Fatal: Compilation aborted
Error: /usr/bin/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled)

It looks like I cocked up my fpc installation.

Reply by email

Marco van de Voort
to Dave Coventry: On Ubuntu 10.10 I've run the following command: root at SNECCII:/opt# svn co…

In our previous episode, Dave Coventry said:

Show quoted text 6 lines
compileroptions.pp(427,14) Error: There is no method in an ancestor class to be overridden: "TCompilerMessagesList.Equals(TObject):Boolean;" compileroptions.pp(734,39) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted

equals was added in FPC 2.4.2, so probably your compiler is too old.

Reply by email

Torsten Bonde Christiansen
to Marco van de Voort
Marco van de Voort wrote 7 lines
In our previous episode, Dave Coventry said: > compileroptions.pp(427,14) Error: There is no method in an ancestor > class to be overridden: > "TCompilerMessagesList.Equals(TObject):Boolean;" > compileroptions.pp(734,39) Fatal: There were 1 errors compiling module, stopping > Fatal: Compilation aborted equals was added in FPC 2.4.2, so probably your compiler is too old.

I hope i'm not picking on anyone here, but in a previous discussion (which I started some time ago, similar to this) it was said that Lazarus trunk should still be able to compile with fpc v2.4.0.

Perhaps the Lazarus developer should make a public (read here on the mailinglist) statement that requirements have now changed.

Just my two cents.

Kind regards,
Torsten Bonde Christiansen.

Reply by email

Andreas Schneider
to Torsten Bonde Christiansen
Torsten Bonde Christiansen wrote 8 lines
I hope i'm not picking on anyone here, but in a previous discussion (which I started some time ago, similar to this) it was said that Lazarus trunk should still be able to compile with fpc v2.4.0. Perhaps the Lazarus developer should make a public (read here on the mailinglist) statement that requirements have now changed. Just my two cents.

I think the general rule was and is, that Lazarus should always compile with the most recent release of FPC as well as the fixes branch. In most cases it should also compile with trunk, but all out-dated versions aren't guaranteed.

I might be wrong with this though, but I guess everything else would be a maintenance nightmare.

Best Regards,
Andreas

Reply by email

Alexsander Rosa
to Andreas Schneider

I saw this earlier today, but I've preferred to switch to the 9.30 branch. BTW: how do I setup a "3rd party" component (like Zeos) to make it get compiled with "make clean all" at command line? I would love to do only 1) "svn update" and 2) "make clean all" everyday.

2011/1/11 Andreas Schneider

Show quoted text 28 lines
On 11.01.2011, 19:51 Torsten Bonde Christiansen wrote: > I hope i'm not picking on anyone here, but in a previous discussion > (which I started some time ago, similar to this) it was said that > Lazarus trunk should still be able to compile with fpc v2.4.0. > Perhaps the Lazarus developer should make a public (read here on the > mailinglist) statement that requirements have now changed. > Just my two cents. I think the general rule was and is, that Lazarus should always compile with the most recent release of FPC as well as the fixes branch. In most cases it should also compile with trunk, but all out-dated versions aren't guaranteed. I might be wrong with this though, but I guess everything else would be a maintenance nightmare. Best Regards, Andreas -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Atenciosamente, Alexsander da Rosa Linux User #113925 "Extremismo na defesa da liberdade n?o ? defeito. Modera??o na busca por justi?a n?o ? virtude." -- Barry Goldwater -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110111/06d2e75d/attachment.html>

Reply by email

Marc Weustink
to Alexsander Rosa
Alexsander Rosa wrote
I saw this earlier today, but I've preferred to switch to the 9.30 branch. BTW: how do I setup a "3rd party" component (like Zeos) to make it get compiled with "make clean all" at command line? I would love to do only 1) "svn update" and 2) "make clean all" everyday.

make idepkg

(iirc)

Reply by email