[fpc-devel] system.pp(31,1) Fatal: Internal error 200309141

Tony Maro tony at maro.net
Sun Nov 7 21:48:13 CET 2004


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
>> [tony at voyager 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





More information about the fpc-devel mailing list