<div dir="ltr">The output of "readelf -a" with libraries built in C and FPC... <div><br></div><div>The command line used to build the library in fpc is:</div><div><br></div><div>fpc ulib.pas<br></div><div>fpc -Cg -Xc -CD -CX library1.fpr <br>
</div><div><br></div><div>I guess that FPC forgot something... </div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-26 22:45 GMT-03:00 Fabio Luis Girardi <span dir="ltr"><<a href="mailto:fluisgirardi@gmail.com" target="_blank">fluisgirardi@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hi!</p>
<p dir="ltr">I did more tests, with a clean raspbian image, using fpc that comes with raspbian repositories. Now I can compile a program and the shared library, but I can't load my shared library on my program, but my program can load and use a shared library built in C. Maybe a FPC bug??<br>
</p><div class="HOEnZb"><div class="h5">
<div style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">No, I installed FPC on Rpi using this file: <br><br><div><a href="http://sourceforge.net/projects/freepascal/files/Linux/2.6.4/fpc-2.6.4.arm-linux.tar" target="_blank">http://sourceforge.net/projects/freepascal/files/Linux/2.6.4/fpc-2.6.4.arm-linux.tar</a></div>
<div><br></div><div>Using the FPC 2.6.4, I tried build a fresh FPC 2.7.1 on Rpi, but I found the same error. </div><div><br></div><div><br></div><div>So, I have to go back and install FPC from Raspibian repositories...</div>
<div><br></div> </div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-26 10:57 GMT-03:00 Marco van de Voort <span dir="ltr"><<a href="mailto:marcov@stack.nl" target="_blank">marcov@stack.nl</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>In our previous episode, Fabio Luis Girardi said:<br>
> Someone can say if this is a problem with my raspbian image or a problem<br>
> with my FPC installation?<br>
<br>
</div>Did you use the raspbian provided (and patched!) FPC or did you build your<br>
own?<br>
<br>
Stock 2.6.4 does NOT run armhf systems, Raspbian patched theirs.<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>The best regards,<br><br>Fabio Luis Girardi<br>PascalSCADA Project<br><a href="http://sourceforge.net/projects/pascalscada" target="_blank">http://sourceforge.net/projects/pascalscada</a><br>
<a href="http://www.pascalscada.com" target="_blank">http://www.pascalscada.com</a>
</div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>The best regards,<br><br>Fabio Luis Girardi<br>PascalSCADA Project<br><a href="http://sourceforge.net/projects/pascalscada" target="_blank">http://sourceforge.net/projects/pascalscada</a><br>
<a href="http://www.pascalscada.com" target="_blank">http://www.pascalscada.com</a>
</div>