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