Sign in Join

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

Mailing lists / lazarus / 2011-06

error compiling latest SVN laz...

6 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

waldo kitty

FPC 2.4.5 r17621 (17628??) svn.freepascal.org/svn/fpc/branches/fixes_2_4 LAZ 0.9.31 r31002 svn.freepascal.org/svn/lazarus/trunk

i wiped my existing svn installs, ran an svn update on both, then did the make thing... i'm following the Installing_Lazarus page from the wiki and have to start all over each time for some reason but that's another thread... in any case, my OS is w2ksp4 (Microsoft (R) Windows Version 5.0 (Build 2195; Service Pack 4))... here's the logged output...

[...]
Compiling cleandirdlg.pas
Compiling showdeletingfilesdlg.pas
Compiling compatibilityrestrictions.pas
Compiling restrictionbrowser.pas
Compiling projectwizarddlg.pas
Compiling idecmdline.pas
Compiling resource ..\units\i386-win32\lazarus.or
Linking ..\lazarus.exe
Fatal: Compilation aborted
An unhandled exception occurred at $00420D86 :
Exception : Unknown Run-Time error : 112
$00420D86
$0044FC4C
$0044FAD8
$00401836

make[2]: *** [lazarus.exe] Error 217
make[2]: Leaving directory `C:/freepascal/laz/ide' make[1]: *** [ide] Error 2
make[1]: Leaving directory `C:/freepascal/laz/ide' make: *** [ide] Error 2

C:\freepascal\laz>cd \freepascal

i have complete compile logs for both, FPC and LAZ... these include both stdout and stderr output... what else do you need to know to help me get back to a working LAZ??

Reply by email

Unknown author

a quick workaround is to update to a stable revision number via

svn update -r31000?? <-- or any other number you think that was stable

and compile again.

But that did not solve your first problem.

Compiling resource ..\units\i386-win32\lazarus.or Linking ..\lazarus.exe Fatal: Compilation aborted

tells me that the compiling itself worked, the problem seems to be the linker i could compile the revision number 31002 with FPC 2.4.2, maybe you try this FPC version ..

corpsman

--?

Auf?meiner?Homepage?www.Corpsman.de?ist?immer?was?los,?st?ndig?wird?sie?aktualisiert?und?erweitert.?Da?ist?f?r?jeden?was?dabei.

-----Urspr?ngliche Nachricht-----
Von: "waldo kitty"
Gesendet: Jun 2, 2011 2:05:45 AM
An: "Lazarus mailing list"
Betreff: [Lazarus] error compiling latest SVN laz...

Show quoted text 46 lines
FPC 2.4.5 r17621 (17628??) svn.freepascal.org/svn/fpc/branches/fixes_2_4 LAZ 0.9.31 r31002 svn.freepascal.org/svn/lazarus/trunk i wiped my existing svn installs, ran an svn update on both, then did the make thing... i'm following the Installing_Lazarus page from the wiki and have to start all over each time for some reason but that's another thread... in any case, my OS is w2ksp4 (Microsoft (R) Windows Version 5.0 (Build 2195; Service Pack 4))... here's the logged output... [...] Compiling cleandirdlg.pas Compiling showdeletingfilesdlg.pas Compiling compatibilityrestrictions.pas Compiling restrictionbrowser.pas Compiling projectwizarddlg.pas Compiling idecmdline.pas Compiling resource ..\units\i386-win32\lazarus.or Linking ..\lazarus.exe Fatal: Compilation aborted An unhandled exception occurred at $00420D86 : Exception : Unknown Run-Time error : 112 $00420D86 $0044FC4C $0044FAD8 $00401836 make[2]: *** [lazarus.exe] Error 217 make[2]: Leaving directory `C:/freepascal/laz/ide' make[1]: *** [ide] Error 2 make[1]: Leaving directory `C:/freepascal/laz/ide' make: *** [ide] Error 2 C:\freepascal\laz>cd \freepascal i have complete compile logs for both, FPC and LAZ... these include both stdout and stderr output... what else do you need to know to help me get back to a working LAZ?? -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

___________________________________________________________ Schon geh?rt? WEB.DE hat einen genialen Phishing-Filter in die Toolbar eingebaut! http://produkte.web.de/go/toolbar

Reply by email

Mattias Gaertner
to waldo kitty: FPC 2.4.5 r17621 (17628??) svn.freepascal.org/svn/fpc/branches/fixes_2_4 LAZ 0.9.31…
Show quoted text 39 lines
FPC 2.4.5 r17621 (17628??) svn.freepascal.org/svn/fpc/branches/fixes_2_4 LAZ 0.9.31 r31002 svn.freepascal.org/svn/lazarus/trunk i wiped my existing svn installs, ran an svn update on both, then did the make thing... i'm following the Installing_Lazarus page from the wiki and have to start all over each time for some reason but that's another thread... in any case, my OS is w2ksp4 (Microsoft (R) Windows Version 5.0 (Build 2195; Service Pack 4))... here's the logged output... [...] Compiling cleandirdlg.pas Compiling showdeletingfilesdlg.pas Compiling compatibilityrestrictions.pas Compiling restrictionbrowser.pas Compiling projectwizarddlg.pas Compiling idecmdline.pas Compiling resource ..\units\i386-win32\lazarus.or Linking ..\lazarus.exe Fatal: Compilation aborted An unhandled exception occurred at $00420D86 : Exception : Unknown Run-Time error : 112 $00420D86 $0044FC4C $0044FAD8 $00401836 make[2]: *** [lazarus.exe] Error 217 make[2]: Leaving directory `C:/freepascal/laz/ide' make[1]: *** [ide] Error 2 make[1]: Leaving directory `C:/freepascal/laz/ide' make: *** [ide] Error 2 C:\freepascal\laz>cd \freepascal i have complete compile logs for both, FPC and LAZ... these include both stdout and stderr output... what else do you need to know to help me get back to a working LAZ??

First of all: Always have a backup of a working lazarus executable.

You encountered a fpc bug.

Revert any have local modifications to lazarus and/or fpc (TortoiseSVN or whatever you use).

Build lazarus clean again. If the same bug happens, do a normal build.

If this does not work: try another version of fpc.

Mattias

Reply by email

waldo kitty
to Mattias Gaertner
Mattias Gaertner wrote 6 lines
On Wed, 01 Jun 2011 20:05:45 -0400 waldo kitty wrote: > FPC 2.4.5 r17621 (17628??) svn.freepascal.org/svn/fpc/branches/fixes_2_4 > LAZ 0.9.31 r31002 svn.freepascal.org/svn/lazarus/trunk >

[...]

Show quoted text 30 lines
> [...] > Compiling cleandirdlg.pas > Compiling showdeletingfilesdlg.pas > Compiling compatibilityrestrictions.pas > Compiling restrictionbrowser.pas > Compiling projectwizarddlg.pas > Compiling idecmdline.pas > Compiling resource ..\units\i386-win32\lazarus.or > Linking ..\lazarus.exe > Fatal: Compilation aborted > An unhandled exception occurred at $00420D86 : > Exception : Unknown Run-Time error : 112 > $00420D86 > $0044FC4C > $0044FAD8 > $00401836 > > make[2]: *** [lazarus.exe] Error 217 > make[2]: Leaving directory `C:/freepascal/laz/ide' > make[1]: *** [ide] Error 2 > make[1]: Leaving directory `C:/freepascal/laz/ide' > make: *** [ide] Error 2 > > C:\freepascal\laz>cd \freepascal > > i have complete compile logs for both, FPC and LAZ... these include both stdout > and stderr output... what else do you need to know to help me get back to a > working LAZ?? First of all: Always have a backup of a working lazarus executable.

yes, i'm trying to work out a way that goes with the method on the Installing_Lazarus wiki page... not sure how best to work it in...

You encountered a fpc bug.

i thought about that later but wanted to wait and see what responses i got...

Revert any have local modifications to lazarus and/or fpc (TortoiseSVN or whatever you use).

there are no mods, AFAIK... i tortoise them, fpc and laz, down to their own directories on my machine, run the .bat file and wait to see if it completes or fails on building fpc... then i run the other .bat file and wait to see if it completes or fails on building laz...

Build lazarus clean again. If the same bug happens, do a normal build.

here's my makelaz.bat...

@echo on
set myversion=2.4.5
set mypath=c:\freepascal\fpc\%myversion%
set mybinutils=c:\freepascal\binutils
set PATH=%mybinutils%\i386-win32;%mypath%\bin\i386-win32;%PATH% cd c:\freepascal\laz
make clean all OPT="-glw2"
cd \freepascal

what's a normal build??

If this does not work: try another version of fpc.

this might have been a drive space problem... i got down to less than 2M available and discovered it after running into this problem... i shall try the above .bat again and see what happens...

i guess i should also report this over on fpc-devel??

Reply by email

Mattias Gaertner
to waldo kitty: [...] yes, i'm trying to work out a way that goes with the method on the…
Show quoted text 23 lines
[...] >> Compiling resource ..\units\i386-win32\lazarus.or >> Linking ..\lazarus.exe >> Fatal: Compilation aborted >> An unhandled exception occurred at $00420D86 : >> Exception : Unknown Run-Time error : 112 >>[...] > You encountered a fpc bug. [...] > Build lazarus clean again. If the same bug happens, do a normal build. here's my makelaz.bat... @echo on set myversion=2.4.5 set mypath=c:\freepascal\fpc\%myversion% set mybinutils=c:\freepascal\binutils set PATH=%mybinutils%\i386-win32;%mypath%\bin\i386-win32;%PATH% cd c:\freepascal\laz make clean all OPT="-glw2" cd \freepascal what's a normal build??

make OPT="-glw2"

Show quoted text 7 lines
> If this does not work: try another version of fpc. this might have been a drive space problem... i got down to less than 2M available and discovered it after running into this problem... i shall try the above .bat again and see what happens... i guess i should also report this over on fpc-devel??

Yes. Maybe the compiler can give a nicer error message for no free disk space.

Mattias

Reply by email