Sign in Join

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

Mailing lists / lazarus / 2012-09

error compile Lazarus svn

14 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

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

John Landmesser

Lazarus and Windows XP:

for some days now i get this error message

C:\lazarus\lcl\intfgraphics.pas(641,49) Error: Identifier not found
"TTiffIFD"

while trying to compile svn lazarus after svn update

I tried svn cleanup and deleted the whole /lazarus directory tree without success

Perhaps that happens due to an old svn vesrion? -> Subversion 1.6.3

No probs with Debian Linux!

Reply by email

Mattias Gaertner
to John Landmesser
Show quoted text 7 lines
Lazarus and Windows XP: for some days now i get this error message C:\lazarus\lcl\intfgraphics.pas(641,49) Error: Identifier not found "TTiffIFD"

To compile Lazarus svn you need fpc 2.6.0 or a recent fpc 2.6.1 or a recent fpc 2.7.1.

Show quoted text 8 lines
while trying to compile svn lazarus after svn update I tried svn cleanup and deleted the whole /lazarus directory tree without success Perhaps that happens due to an old svn vesrion? -> Subversion 1.6.3 No probs with Debian Linux!

Mattias

Reply by email

waldo kitty
to John Landmesser: Lazarus and Windows XP: for some days now i get this error message…
John Landmesser wrote
C:\lazarus\lcl\intfgraphics.pas(641,49) Error: Identifier not found "TTiffIFD" while trying to compile svn lazarus after svn update

we need a STLA (Search the List Archives) button :LOL:

what version of FPC are you compiling with? IIRC, that's the problem...

counting your message, there are 6 messages with TTiffIFD in them... make that 7 with mine... i've not seen other responses to your message yet...

the others are as follows...

subject author date [Lazarus] ./lcl/intfgraphics.pas and tiff ik 4 jun 2012 Re: [Lazarus] ./lcl/intfgraphics.pas and tiff ik 4 jun 2012 Re: [Lazarus] ./lcl/intfgraphics.pas and tiff Mattias Gaertner 4 jun 2012 Re: [Lazarus] ./lcl/intfgraphics.pas and tiff Bernd Kreuss 4 jun 2012 Re: [Lazarus] ./lcl/intfgraphics.pas and tiff Reinier Olislagers 4 jun 2012

HTH

Reply by email

Mark Morgan Lloyd
to waldo kitty
waldo kitty wrote 14 lines
On 9/11/2012 13:25, John Landmesser wrote: > > C:\lazarus\lcl\intfgraphics.pas(641,49) Error: Identifier not found > "TTiffIFD" > > while trying to compile svn lazarus after svn update we need a STLA (Search the List Archives) button :LOL: what version of FPC are you compiling with? IIRC, that's the problem... counting your message, there are 6 messages with TTiffIFD in them... make that 7 with mine... i've not seen other responses to your message yet...

Plus others in fpc-devel. What we need is a "I've just committed something to svn trunk which breaks it for 2.6.x, normal service will be resumed shortly" button.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

waldo kitty
to Mark Morgan Lloyd
Mark Morgan Lloyd wrote 15 lines
waldo kitty wrote: > On 9/11/2012 13:25, John Landmesser wrote: >> >> C:\lazarus\lcl\intfgraphics.pas(641,49) Error: Identifier not found "TTiffIFD" >> >> while trying to compile svn lazarus after svn update > > we need a STLA (Search the List Archives) button :LOL: > > what version of FPC are you compiling with? IIRC, that's the problem... > > counting your message, there are 6 messages with TTiffIFD in them... make that > 7 with mine... i've not seen other responses to your message yet... Plus others in fpc-devel.

hahaha... i *knew* that i had seen other posts about that problem but i got sidetracked and my message was waiting to be sent for over an hour... i should have searched those other lists in my thunderbird before sending it :?

What we need is a "I've just committed something to svn trunk which breaks it for 2.6.x, normal service will be resumed shortly" button.

hehehe... that, too!! :LOL:

Reply by email

Mark Morgan Lloyd
to waldo kitty
waldo kitty wrote 14 lines
>>> C:\lazarus\lcl\intfgraphics.pas(641,49) Error: Identifier not found >>> "TTiffIFD" hahaha... i *knew* that i had seen other posts about that problem but i got sidetracked and my message was waiting to be sent for over an hour... i should have searched those other lists in my thunderbird before sending it :? > What we need is a "I've just committed something to > svn trunk which breaks it for 2.6.x, normal service will be resumed > shortly" > button. hehehe... that, too!! :LOL:

Feeding that error message to Google results in one hit- a months-old bug report in Mantis that's now closed.

Now granted that this issue has arisen when somebody's trying to recompile Lazarus from the command line rather than from inside the IDE, but I wonder if there would be some way to extract error messages from reported bugs and have an "is this a known problem?" button?

In any event, having to know exactly what revision of FPC to use for/with Lazarus is a problem, and the potential of having (temporarily) broken Lazarus revisions is a bigger one.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Mattias Gaertner
to Mark Morgan Lloyd: Plus others in fpc-devel. What we need is a "I've just committed something to svn trunk…
Show quoted text 19 lines
waldo kitty wrote: > On 9/11/2012 13:25, John Landmesser wrote: >> >> C:\lazarus\lcl\intfgraphics.pas(641,49) Error: Identifier not found >> "TTiffIFD" >> >> while trying to compile svn lazarus after svn update > > we need a STLA (Search the List Archives) button :LOL: > > what version of FPC are you compiling with? IIRC, that's the problem... > > counting your message, there are 6 messages with TTiffIFD in them... > make that 7 with mine... i've not seen other responses to your message > yet... Plus others in fpc-devel. What we need is a "I've just committed something to svn trunk which breaks it for 2.6.x, normal service will be resumed shortly" button.

That would be wrong.
fpc 2.6.1 was changed, which broke Lazarus. Lazarus was adapted, so it can not compile with older fpc 2.6.1.
Compilation with fpc 2.6.0 was not affected.

Mattias

Reply by email

Mark Morgan Lloyd
to Mattias Gaertner
Mattias Gaertner wrote 11 lines
On Tue, 11 Sep 2012 19:39:08 +0000 Mark Morgan Lloyd wrote: > Plus others in fpc-devel. What we need is a "I've just committed > something to svn trunk which breaks it for 2.6.x, normal service will be > resumed shortly" button. That would be wrong. fpc 2.6.1 was changed, which broke Lazarus. Lazarus was adapted, so it can not compile with older fpc 2.6.1. Compilation with fpc 2.6.0 was not affected.

With emphasis please on my "normal service will be resumed shortly", I'm not suggesting that the core developers gratuitously break things. I was thinking of cases where something is changed in one or other of the projects, and where somebody knows that this will cause problems for minutes or hours (or, in very rare cases, days). Some sort of "health warning" would be useful, so that people (or scripts working on their behalf) know that it's best to hold off any updates to their local copy until the situation is resolved.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Mattias Gaertner
to Ludo Brands

Ludo Brands hat am 12. September 2012 um 12:33
geschrieben:

Show quoted text 5 lines
> To compile Lazarus svn you need fpc 2.6.0 or a recent fpc > 2.6.1 or a recent fpc 2.7.1. > Not too recent a 2.7.1. Anything newer than rev 22340 makes lazarus crash on some systems (it'll compile though).

Yes. It seems to be a compiler bug that somewhere causes memory corruption. It runs on my Linux 64bit without problems even with heaptrc and many checks on, so I have no idea how to help here.

Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120912/8f114b59/attachment.html>

Reply by email

Mark Morgan Lloyd
to Ludo Brands: Not too recent a 2.7.1. Anything newer than rev 22340 makes lazarus crash on some systems…
Ludo Brands wrote 5 lines
> To compile Lazarus svn you need fpc 2.6.0 or a recent fpc > 2.6.1 or a recent fpc 2.7.1. > Not too recent a 2.7.1. Anything newer than rev 22340 makes lazarus crash on some systems (it'll compile though).

I wonder if there is any way of maintaining an "islands of stability" graph, tracking e.g. which revisions of Lazarus trunk are known to compile and work with which revisions of FPC 2.x.1?

http://en.wikipedia.org/wiki/File:Island_of_Stability.svg

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email