Sign in Join

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

Mailing lists / fpc-devel / 2004-11

system.pp(31,1) Fatal: Internal error 200309141

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Tony Maro

I just downloaded FPC CVS and Lazarus CVS.

FPC compiled and installed fine, Lazarus fails:

Free Pascal Compiler version 1.9.5 [2004/11/07] for i386 Copyright (c) 1993-2004 by Florian Klaempfl
Target OS: Linux for i386
Compiling alllclunits.pp
system.pp(31,1) Fatal: Internal error 200309141
make[1]: *** [alllclunits.ppu] Error 1
make[1]: Leaving directory `/home/tony/lazarus/lcl' make: *** [lcl] Error 2
lazarus]$

Happens on an older Lazarus as well, so I assume it's an FPC issue.

-Tony Maro

Reply by email

Jonas Maebe
to Tony Maro
Tony Maro wrote 15 lines
I just downloaded FPC CVS and Lazarus CVS. FPC compiled and installed fine, Lazarus fails: Free Pascal Compiler version 1.9.5 [2004/11/07] for i386 Copyright (c) 1993-2004 by Florian Klaempfl Target OS: Linux for i386 Compiling alllclunits.pp system.pp(31,1) Fatal: Internal error 200309141 make[1]: *** [alllclunits.ppu] Error 1 make[1]: Leaving directory `/home/tony/lazarus/lcl' make: *** [lcl] Error 2 lazarus]$ Happens on an older Lazarus as well, so I assume it's an FPC issue.

That means that the compiler is finding an older system unit and is using that one. Use -vt to check which system unit it uses, and adapt your config file so it uses fpc/rtl/units/$fpctarget as unit search directory (before it searches /usr/local/lib/fpc/...).

Jonas

Reply by email

Tony Maro
to Jonas Maebe
Jonas Maebe wrote 16 lines
On 7 nov 2004, at 20:45, Tony Maro wrote: > system.pp(31,1) Fatal: Internal error 200309141 > make[1]: *** [alllclunits.ppu] Error 1 > make[1]: Leaving directory `/home/tony/lazarus/lcl' > make: *** [lcl] Error 2 > lazarus]$ > > Happens on an older Lazarus as well, so I assume it's an FPC issue. That means that the compiler is finding an older system unit and is using that one. Use -vt to check which system unit it uses, and adapt your config file so it uses fpc/rtl/units/$fpctarget as unit search directory (before it searches /usr/local/lib/fpc/...).

Ahh...

Well I blew away all units from /usr/local/lib/fpc/ and then reinstalled...

Then I got other errors.

It seems the $target variable in my fpc.cfg isn't working quite right with the recent changes.

I had to change:
-Fu/usr/local/lib/fpc/1.9.5/units/$target/
to:
-Fu/usr/local/lib/fpc/1.9.5/units/i386-linux/

It kept looking for $target = "linux" instead of "i386-linux".

-Tony

Reply by email

Florian Klaempfl
to Tony Maro
Tony Maro wrote 36 lines
Jonas Maebe wrote: > > On 7 nov 2004, at 20:45, Tony Maro wrote: > >> system.pp(31,1) Fatal: Internal error 200309141 >> make[1]: *** [alllclunits.ppu] Error 1 >> make[1]: Leaving directory `/home/tony/lazarus/lcl' >> make: *** [lcl] Error 2 >> lazarus]$ >> >> Happens on an older Lazarus as well, so I assume it's an FPC issue. > > > > That means that the compiler is finding an older system unit and is > using that one. Use -vt to check which system unit it uses, and adapt > your config file so it uses fpc/rtl/units/$fpctarget as unit search > directory (before it searches /usr/local/lib/fpc/...). Ahh... Well I blew away all units from /usr/local/lib/fpc/ and then reinstalled... Then I got other errors. It seems the $target variable in my fpc.cfg isn't working quite right with the recent changes. I had to change: -Fu/usr/local/lib/fpc/1.9.5/units/$target/ to: -Fu/usr/local/lib/fpc/1.9.5/units/i386-linux/ It kept looking for $target = "linux" instead of "i386-linux".

You should read fpc-devel not only asking here ;)

Reply by email

Jonas Maebe
to Tony Maro: Ahh... Well I blew away all units from /usr/local/lib/fpc/ and then reinstalled... Then I…
Tony Maro wrote 21 lines
> That means that the compiler is finding an older system unit and is > using that one. Use -vt to check which system unit it uses, and adapt > your config file so it uses fpc/rtl/units/$fpctarget as unit search > directory (before it searches /usr/local/lib/fpc/...). Ahh... Well I blew away all units from /usr/local/lib/fpc/ and then reinstalled... Then I got other errors. It seems the $target variable in my fpc.cfg isn't working quite right with the recent changes. I had to change: -Fu/usr/local/lib/fpc/1.9.5/units/$target/ to: -Fu/usr/local/lib/fpc/1.9.5/units/i386-linux/ It kept looking for $target = "linux" instead of "i386-linux".

From Peter's recent mail:

***
Since yesterday then possible macro's that can be used in the paths are changed. The following macro's are now supported, with examples of the value:

$fpcversion = 1.9.4
$fpcdate = compiler date
$fpccpu = i386
$fpcos = linux
$fpctarget = i386-linux
***

Jonas

Reply by email