Re: [fpc-pascal] Problems with "relocation errors"

2010-11-07 Thread Jonas Maebe
On 05 Nov 2010, at 18:29, Krzysztof wrote: > I build project with -fPIC switch and reinstall lNet package with -fPIC > switch and rebuild lazarus with -fPIC switch but nothing helped. > This error occurs in different files, depending on where I put the -fPIC > switch (lnet package installer, p

[fpc-pascal] Problems with "relocation errors"

2010-11-05 Thread Krzysztof
Hi, I often write shared library (DLL and SO). With DLL I have no serious problems, but with SO I often have "relocation R_X86_64_32S" error. If I use lazarus standard packages (LCL, etc.) then is ok, but If I try to use some external components (for example lNET, RichMemo) then I get this error.