[fpc-devel] __stkptr
Peter Vreman
peter at freepascal.org
Fri Feb 24 09:25:58 CET 2006
> Hi,
>
> with latest fpc 2.1.1 I get:
>
> cat test.pas
> program test; begin writeln('test'); end.
> [root at here]# ppc386 test
> Free Pascal Compiler version 2.1.1 [2006/02/23] for i386
> Copyright (c) 1993-2005 by Florian Klaempfl
> Target OS: Linux for i386
> Compiling test.pas
> Linking test
> /usr/lib/fpc/2.1.1/units/i386-linux/rtl/system.o: In function
> `SYSTEM_init':
> system.pp:(.text+0x169e8): undefined reference to `__stkptr'
> test.pas(1,38) Error: Error while linking
Make sure you have updated all files from svn. The __stkptr is defined in
the loader files named *ptr*.o
More information about the fpc-devel
mailing list