[fpc-pascal] RichMemo in shared SO library - relocation error

2010-09-23 Thread Dibo
Hi, I have no problem with LCL and Richmemo in DLL, but on linux I can't build SO library with TRichMemo. I get this error: /usr/bin/ld: /home/dibo/Programowanie/Lazarus/components/richmemo/lib/x86_64-linux/richmemo.o: relocation R_X86_64_32S against `TC_RICHMEMO_RTFLOADSTREAM'

Re: [fpc-pascal] RichMemo in shared SO library - relocation error

2010-09-28 Thread Dibo
> You can probably work around the problem for now by going to line 1448 > of compiler/ptconst.pas and changing > > if sym.varspez=vs_const then >cursectype:=sec_rodata > else >cursectype:=sec_data; > > into > > cursectype:=sec_data; Hm, it