<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'>>> The main program should not need to do anything here.<br>>> It's more likely that there is a problem in our FreeBSD startup files for libraries.<div>
>> Regards,<br>
>> Sven<BR>
<br>Many thanks to take care on freeBSD + fpc libraries...<br><br>Please, read that topic, it talks about the same problem and it has a solution: =><br><br> <a href="http://lists.freepascal.org/pipermail/fpc-devel/2013-November/032950.html" target="_top" rel="nofollow">> http://lists.freepascal.org/pipermail/fpc-devel/2013-November/032950.html</a><br><br>Hum, i thing also that it could be a problem on FreeBSD startup files of libraries.<br>The same code compiled in Linux and Windows works.<br><br>With that library, i have also same problem with Python, C, Java. =><br><pre style="margin: 0; padding: 0;"><code class="bbc_code">////////////////////////////<br>library test ;<br>{$mode objfpc}<br><br>procedure fpctest(); cdecl;<br>begin<br>////// NOTHING !<br>end;<br><br>exports<br>fpctest name 'fpctest';<br><br>begin<br>end.</code><br>///////////////////////////<br></pre><br>It gives that error : =><br>>> ~/libtest.so: Undefined symbol<br>>> OSerror : "operatingsystem_parameter_envp"<br><br>Many thanks.<br><br>Fred<br></div> </div></body>
</html>