Hello!
I use FPC 2.3.1 to let FPC compile shared libraries with PIC code. (PIC
support is broken in FPC 2.2.4)
My shared lib compiles successful, but if I compile a project which uses
this library, I get this:

Linking build/project1
/usr/bin/ld: warning: bin/link.res contains output sections; did you forget
-T?
./libipkinject.so: undefined reference to `fpc_geteipasebx'
project1.lpr(42,1) Error: Error while linking

Do you have any idea why this happens? The project compiles successfully on
the AMD64 architecture, but not on i386.

(Tested under Linux, Ubuntu 9.10, Fedora 12)
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to