[fpc-pascal] Library does not compile on freeBSD

fredvs fiens at hotmail.com
Sat Aug 2 00:48:47 CEST 2014


Hello.

I have a library-code who compiles perfectly on Linux 32/64 and Windows
32/64 with fpc 2.7 trunk.

Sadly, when i try to compile same code on freeBSD with fpc 2.7 trunk too, i
get that error message :

>> /usr/bin/ld: /usr/home/fred/fpGUI-develop/lib/x86_64-freebsd/fpg_base.o:
>> relocation R_X86_64_32S
>> against `RESSTR_$FPG_CONSTANTS_$$_RSKEYCTRL' can not be used when making
>> a shared object;
>> recompile with -fPIC

>> /usr/home/fred/fpGUI-develop/lib/x86_64-freebsd/fpg_base.o: could not
>> read symbols: Bad value

Compilation was done with -fPIC parameter...

What is wrong ?

Thanks.



-----
Many thanks ;-)
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Library-does-not-compile-on-freeBSD-tp5719852.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list