[fpc-pascal] Error compile library on Linux.
Fabio Luis Girardi
fluisgirardi at gmail.com
Tue Mar 11 15:28:56 CET 2014
Same problem here when I try to compile a form on a library... I know that
Forms on lib don't work yet because of other problems, not because linking
problems.
I'm using Lazarus 1.3 and FPC 2.7.1 x64.
2014-03-11 11:15 GMT-03:00 Fred van Stappen <fiens at hotmail.com>:
> 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 at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
--
The best regards,
Fabio Luis Girardi
PascalSCADA Project
http://sourceforge.net/projects/pascalscada
http://www.pascalscada.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140311/d202c461/attachment.html>
More information about the fpc-pascal
mailing list