[fpc-devel] __stkptr

ochnap2 ochnap2 at yahoo.com.ar
Fri Feb 24 11:11:44 CET 2006


I have the same problem, but with libraries. dlopen() always fails to load 
them and dlerror() returns: "../test/libtest.so: undefined symbol: __stkptr"

I just updated to the latest svn.

Thanks,
Och

On Friday 24 February 2006 05:25, Peter Vreman wrote:
> > 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
>
>
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel

	
	
		
___________________________________________________________ 
1GB gratis, Antivirus y Antispam 
Correo Yahoo!, el mejor correo web del mundo 
http://correo.yahoo.com.ar 




More information about the fpc-devel mailing list