[fpc-pascal] Error compile library on Linux.
Fred van Stappen
fiens at hotmail.com
Tue Mar 11 15:15:16 CET 2014
Hello.
After successfully translate a useful unit into a universal library, i want to do the same with something bigger.
I have compile that unit into a Windows library.
Perfect, it compile and works.
But when i try to compile it on Linux a get that error message, even if i compile it with -fPIC parameter :
/usr/bin/ld: /home/fred/mylib/lib/x86_64-linux/thefile.o: réadressage de R_X86_64_32S en vertu de « .bss.n_u_$thefile_$$_usedfirstmessage » cannot be used when creation of shared object, recompile with -fPIC
/home/fred/fmylib/lib/x86_64-linux/thefile.o: error adding symbols: Bad value
What is wrong ?
Many thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140311/0f8aeb41/attachment.html>
More information about the fpc-pascal
mailing list