<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hello.<br><br><div><div><font style="" face="Geneva, Arial, Sans-serif">After successfully translate a useful unit into a universal library, i want to do the same with something bigger.<br><br>I have compile that unit into a Windows library. <br>Perfect, it compile and works.<br><br>But when i try to compile it on Linux a get that error message, even if i compile it with -fPIC parameter :<br><br><i>/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
<br>/home/fred/fmylib/lib/x86_64-linux/thefile.o: error adding symbols: Bad value
<br><br></i>What is wrong ?<br><br>Many thanks.<br><br></font></div></div> </div></body>
</html>