[fpc-pascal] Error compile library on Linux.

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Mar 18 13:01:37 CET 2014


On 18 Mar 2014, at 12:52, Fred van Stappen wrote:

>>
>> /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
>
> Cftr compliling a library on Linux 64 bit...( ok for Linux 32 bit,  
> ok for Windows 32/64 bit)
> Please, what is wrong, what must i change, where is the problem ?

We have several tests for libraries in our testsuite and they work  
fine for Linux/x86-64. It's quite possible that there is nevertheless  
a bug, but you will have to provide the source code required to  
reproduce it and compilation instructions, otherwise there is nothing  
we can do (as always).


Jonas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140318/96ae12af/attachment.html>


More information about the fpc-pascal mailing list