Sign in Join

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

Mailing lists / lazarus / 2010-05

Revision 25204 fails to build

4 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

tim launchbury

The above revision ( and all subsequent ones ) fail to build with the followinf messages

Linking ../lazarus
/usr/bin/ld: warning: ../link.res contains output sections; did you forget -T?
../units/i386-linux/sourcesyneditor.o: In function `DRAWDEBUGMARK': /home/tim/misc/new-laz/ide/sourcesyneditor.pas:172: undefined reference to `CONTROLS_TCONTROL_$__GETCONTROLCLASSDEFAULTSIZE$$TPOINT' lazarus.pp(127,1) Error: Error while linking
lazarus.pp(127,1) Fatal: There were 1 errors compiling module, stopping

Regards

Tim

Reply by email

Kjow
to tim launchbury

2010/5/7 tim launchbury :

Show quoted text 17 lines
The above revision ( and all subsequent ones ) fail to build with the followinf messages Linking ../lazarus /usr/bin/ld: warning: ../link.res contains output sections; did you forget -T? ../units/i386-linux/sourcesyneditor.o: In function `DRAWDEBUGMARK': /home/tim/misc/new-laz/ide/sourcesyneditor.pas:172: undefined reference to `CONTROLS_TCONTROL_$__GETCONTROLCLASSDEFAULTSIZE$$TPOINT' lazarus.pp(127,1) Error: Error while linking lazarus.pp(127,1) Fatal: There were 1 errors compiling module, stopping Regards Tim

No problems with today's r25236 svn (I made a script that updates and rebuilds all automatically)

Regards,
Kjow

Reply by email

Mattias Gärtner
to Kjow

Zitat von Kjow :

Show quoted text 13 lines
2010/5/7 tim launchbury : > > The above revision ( and all subsequent ones ) fail to build with the > followinf messages > > Linking ../lazarus > /usr/bin/ld: warning: ../link.res contains output sections; did you > forget -T? > ../units/i386-linux/sourcesyneditor.o: In function `DRAWDEBUGMARK': > /home/tim/misc/new-laz/ide/sourcesyneditor.pas:172: undefined reference > to `CONTROLS_TCONTROL_$__GETCONTROLCLASSDEFAULTSIZE$$TPOINT' > lazarus.pp(127,1) Error: Error while linking > lazarus.pp(127,1) Fatal: There were 1 errors compiling module, stopping

There are some cases, where FPC does not recompile all changed units. The bug is already reported.
Workaround is simple: You have to check the 'clean all' checkbox in the configure build lazarus dialog.

Mattias

Reply by email

Samuel Herzog
to Mattias Gärtner

Hello Matthias,

I had the same problem in win32.
The "Clean all" Option did not solve the problem.
I downloaded the latest daily snapshot and installed it over my previous installation. This solved the problem.

________________________________
Von: Mattias G?rtner
An:
Gesendet: Freitag, den 7. Mai 2010, 10:25:25 Uhr
Betreff: Re: [Lazarus] Revision 25204 fails to build

Zitat von Kjow :

Show quoted text 13 lines
2010/5/7 tim launchbury : > > The above revision ( and all subsequent ones ) fail to build with the > followinf messages > > Linking ../lazarus > /usr/bin/ld: warning: ../link.res contains output sections; did you > forget -T? > ../units/i386-linux/sourcesyneditor.o: In function `DRAWDEBUGMARK': > /home/tim/misc/new-laz/ide/sourcesyneditor.pas:172: undefined reference > to `CONTROLS_TCONTROL_$__GETCONTROLCLASSDEFAULTSIZE$$TPOINT' > lazarus.pp(127,1) Error: Error while linking > lazarus.pp(127,1) Fatal: There were 1 errors compiling module, stopping

There are some cases, where FPC does not recompile all changed units. The bug is already reported. Workaround is simple: You have to check the 'clean all' checkbox in the configure build lazarus dialog.

Mattias

Reply by email