[fpc-pascal] FpGetRLimit and FpSetRLimit reference an undefined symbol

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Dec 21 13:11:21 CET 2011


On 20 Dec 2011, at 20:54, Seth Grover wrote:

> When I attempt to use fpgetrlimit and fpsetrlimit from the baseunix
> unit (see http://www.freepascal.org/docs-html/rtl/baseunix/fpgetrlimit.html
> and  http://www.freepascal.org/docs-html/rtl/baseunix/fpsetrlimit.html),
> compilation fails with:
> 
> undefined reference to `FPC_SYSC_GETRLIMIT'
> 
> This happens targetting Linux for both i386 and x86_64.
> 
> Is this a bug?

Yes, it seems like a missing public alias for the FpGetRLimit function in the Linux system unit.


Jonas


More information about the fpc-pascal mailing list