Sign in Join

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

Mailing lists / lazarus / 2003-12

Error Compiling with FPC 1.9.1

11 messages · 6 people ·

Reply by email Subscribe to this list Your subscription

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

Vasily I. Volchenko
to Matt Henley: Forgive me if this has come up before, but I received the following error while trying to…

Mattias Gaertner �����:

Show quoted text 9 lines
On Mon, 08 Dec 2003 15:37:16 +0300 "Vasily I. Volchenko" wrote: > Besides, I have a problem compiling with current fpc-1.9.1 too. > Compiler (or so) with internal error 9999. or so? :) It works for me.

It fails on 250th line of the code. Commenting the procedure body at that lines results in correct bould, but lazarus can't be started (fails with access violation in controls.inc).
fpc-1.0.10 works fine with both unmodified and midified code. Besides, worked OK with lazarus (except debugger) about 3 weeks ago fpc-1.9.1.

Reply by email

Peter Vreman
to Matt Henley: Forgive me if this has come up before, but I received the following error while trying to…
Show quoted text 22 lines
Mattias Gaertner �����: > On Mon, 08 Dec 2003 15:37:16 +0300 "Vasily I. Volchenko" > wrote: > > > Besides, I have a problem compiling with current fpc-1.9.1 too. > > Compiler (or so) with internal error > 9999. > > or so? :) > > It works for me. It fails on 250th line of the code. Commenting the procedure body at that lines results in correct bould, but lazarus can't be started (fails with access violation in controls.inc). fpc-1.0.10 works fine with both unmodified and midified code. Besides, worked OK with lazarus (except debugger) about 3 weeks ago fpc-1.9.1.

Compile the compiler with the extra options '-gl -dEXTDEBUG'. This should give you a backtrace where the crash happens.

Reply by email

Marc Weustink
to Mattias Gaertner: On Mon, 08 Dec 2003 15:37:16 +0300 "Vasily I. Volchenko" or so? :) It works for me.…
Mattias Gaertner wrote 25 lines
On Mon, 8 Dec 2003 16:04:15 +0100 "Marc Weustink" wrote: > + From: Mattias Gaertner > + Sent: maandag 8 december 2003 15:43 > + > + On Mon, 08 Dec 2003 15:37:16 +0300 "Vasily I. Volchenko" > + wrote: > + > + > And, at last, is the problem with debugger and 1.9.x fixed? (it didn't > + > work at all). > + > + Fixed. > > ??? > > What was the problem Someone or something added the wrong IFDEFs: cmdlinedebugger.pp function WaitForHandles FpFD_ISSET(AHandles[n],FDSWait)=1 was set to =0.

AH, I still have to switch to the 1.9 compiler one day :)

Marc

Reply by email

Matt Henley

Forgive me if this has come up before, but I received the following error while trying to compile lazarus from CVS with FPC from CVS tonight. I just swithched to 1.9.1. Using Gentoo Linux. I deleted my lazarus directory and checked it all out.

Thanks for any information on how to fix.
Matt

make[2]: Entering directory `/home/matt/lazarus/packager/registration' /bin/rm -f ../units/lazaruspackageintf.ppu
/usr/local/bin/ppc386 -gl -Fu.
-Fu/usr/local/lib/fpc/1.9.1/units/linux/rtl
-Fu/usr/local/lib/fpc/1.9.1/units/linux/paszlib
-Fu/usr/local/lib/fpc/1.9.1/units/linux/netdb
-Fu/usr/local/lib/fpc/1.9.1/units/linux/libasync
-Fu/usr/local/lib/fpc/1.9.1/units/linux/fcl
-Fu/usr/local/lib/fpc/1.9.1/units/linux/mysql
-Fu/usr/local/lib/fpc/1.9.1/units/linux/ibase -FU../units -Fl/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2 -Fl/usr/local/lib -Fl/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2
-Fl/usr/lib/opengl/nvidia/lib -Fl/usr/lib/mozilla -Fl/usr/X11R6/lib -Fl/opt/blackdown-jdk-1.4.1/jre/lib/i386/
-Fl/opt/blackdown-jdk-1.4.1/jre/lib/i386/native_threads/ -Fl/opt/blackdown-jdk-1.4.1/jre/lib/i386/classic/ -Fl/usr/qt/3/lib -Fl/usr/kde/3.1/lib -Fl/usr/qt/2/lib -Fl/usr/games/lib -Fl/usr/lib/fltk-1.1 -di386 lazaruspackageintf.pas Free Pascal Compiler version 1.9.1 [2003/12/07] for i386 Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: Linux for i386
Compiling lazaruspackageintf.pas
109 Lines compiled, 175107604.6 sec
make[2]: Leaving directory `/home/matt/lazarus/packager/registration' make[1]: Leaving directory `/home/matt/lazarus/packager' make --assume-new=lazarus.pp lazarus
make[1]: Entering directory `/home/matt/lazarus'
/usr/local/bin/ppc386 -gl -Fulcl/units -Fulcl/units/gtk -Fucomponents/units -Fucomponents/custom -Fucomponents/mpaslex -Fudesigner -Fudesigner/units -Fudebugger -Fupackager -Fupackager/units -Fu. -Fu/usr/local/lib/fpc/1.9.1/units/linux/rtl
-Fu/usr/local/lib/fpc/1.9.1/units/linux/paszlib
-Fu/usr/local/lib/fpc/1.9.1/units/linux/netdb
-Fu/usr/local/lib/fpc/1.9.1/units/linux/libasync
-Fu/usr/local/lib/fpc/1.9.1/units/linux/pthreads
-Fu/usr/local/lib/fpc/1.9.1/units/linux/fcl
-Fu/usr/local/lib/fpc/1.9.1/units/linux/regexpr
-Fu/usr/local/lib/fpc/1.9.1/units/linux/mysql
-Fu/usr/local/lib/fpc/1.9.1/units/linux/ibase -Fiinclude -Fiinclude/linux -FE. -Fl/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2 -Fl/usr/local/lib -Fl/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2 -Fl/usr/lib/opengl/nvidia/lib -Fl/usr/lib/mozilla -Fl/usr/X11R6/lib -Fl/opt/blackdown-jdk-1.4.1/jre/lib/i386/
-Fl/opt/blackdown-jdk-1.4.1/jre/lib/i386/native_threads/ -Fl/opt/blackdown-jdk-1.4.1/jre/lib/i386/classic/ -Fl/usr/qt/3/lib -Fl/usr/kde/3.1/lib -Fl/usr/qt/2/lib -Fl/usr/games/lib -Fl/usr/lib/fltk-1.1 -di386 lazarus.pp
Free Pascal Compiler version 1.9.1 [2003/12/07] for i386 Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: Linux for i386
Compiling lazarus.pp
Fatal: Can't find unit GLIB
make[1]: *** [lazarus] Error 1
make[1]: Leaving directory `/home/matt/lazarus'
make: *** [ide] Error 2

Reply by email

Mattias Gaertner
to Mattias Gaertner: On Mon, 08 Dec 2003 15:37:16 +0300 "Vasily I. Volchenko" or so? :) It works for me.…
Show quoted text 14 lines
+ From: Mattias Gaertner + Sent: maandag 8 december 2003 15:43 + + On Mon, 08 Dec 2003 15:37:16 +0300 "Vasily I. Volchenko" + wrote: + + > And, at last, is the problem with debugger and 1.9.x fixed? (it didn't + > work at all). + + Fixed. ??? What was the problem

Someone or something added the wrong IFDEFs:

cmdlinedebugger.pp function WaitForHandles

FpFD_ISSET(AHandles[n],FDSWait)=1

was set to =0.

Mattias

Reply by email

Mattias Gaertner
to Mattias Gaertner: On Mon, 08 Dec 2003 15:37:16 +0300 "Vasily I. Volchenko" or so? :) It works for me.…
Show quoted text 28 lines
At 16:20 8-12-2003, Mattias Gaertner wrote: >On Mon, 8 Dec 2003 16:04:15 +0100 "Marc Weustink" > wrote: > > > + From: Mattias Gaertner > > + Sent: maandag 8 december 2003 15:43 > > + > > + On Mon, 08 Dec 2003 15:37:16 +0300 "Vasily I. Volchenko" > > + wrote: > > + > > + > And, at last, is the problem with debugger and 1.9.x fixed? (it > > didn't+ > work at all). > > + > > + Fixed. > > > > ??? > > > > What was the problem > >Someone or something added the wrong IFDEFs: > >cmdlinedebugger.pp function WaitForHandles > >FpFD_ISSET(AHandles[n],FDSWait)=1 > >was set to =0. AH, I still have to switch to the 1.9 compiler one day :)

It works pretty nice and Peter has fixed nearly all ugly warning bugs. I will report the last one.
And even the long time compile time has been fixed. :)

Mattias

Reply by email

Florian Klaempfl
to Matt Henley: Forgive me if this has come up before, but I received the following error while trying to…
Mattias Gaertner wrote 17 lines
On Sun, 07 Dec 2003 20:24:17 -0600 Matt Henley wrote: >Forgive me if this has come up before, but I received the following >error while trying to compile lazarus from CVS with FPC from CVS >tonight. I just swithched to 1.9.1. Using Gentoo Linux. I deleted my >lazarus directory and checked it all out. >[...] >Free Pascal Compiler version 1.9.1 [2003/12/07] for i386 >Copyright (c) 1993-2002 by Florian Klaempfl >Target OS: Linux for i386 >Compiling lazaruspackageintf.pas >109 Lines compiled, 175107604.6 sec ^^^^^^^^^^^ I wonder, when the fpc team notices this. ;)

We know that it happens but we don't know the reason yet :(

Reply by email

Mattias Gaertner
to Matt Henley: Forgive me if this has come up before, but I received the following error while trying to…
Show quoted text 10 lines
Forgive me if this has come up before, but I received the following error while trying to compile lazarus from CVS with FPC from CVS tonight. I just swithched to 1.9.1. Using Gentoo Linux. I deleted my lazarus directory and checked it all out. [...] Free Pascal Compiler version 1.9.1 [2003/12/07] for i386 Copyright (c) 1993-2002 by Florian Klaempfl Target OS: Linux for i386 Compiling lazaruspackageintf.pas 109 Lines compiled, 175107604.6 sec

^^^^^^^^^^^
I wonder, when the fpc team notices this. ;)

[...] Compiling lazarus.pp Fatal: Can't find unit GLIB

see FAQ.

Mattias

Reply by email