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.
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal