Hi!

I have a (very) huge project, and compilation of a shared library inside it fails at the linking stage:

/usr/bin/ld: </long/directory/file.o>: relocation R_X86_64_32S against `FPC_ABSMASK_SINGLE' can not be used when making a shared object; recompile with -fPIC
</long/directory/file.o>: could not read symbols: Bad value

How can I fix it? Should I pass -fPIC argument (and how to do this)?

fpc was built from trunk

uname -a:
Linux larion 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux

--
Victor Matuzenko (Виктор Матузенко)

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to