[Lazarus] LazUTF8
Antonio Fortuny
a.fortuny at sitasoftware.lu
Wed Aug 29 12:25:09 CEST 2012
Hi all.
Got a problem while compiling a project. Since I made some changes to
it, the project does not compile anymore.
It's a shared library for linux x64, on OpenSuse 12.1, Lazarus 1.1
It uses the UTF8 utility functions thru LazUTF8 unit
/usr/bin/ld: warning: /home/sources/compiled/link.res contains output
sections; did you forget -T?================> got on every compilation
==================================================================
/usr/bin/ld:
/usr/lib64/lazarus/components/lazutils/lib/x86_64-linux/lazutf8.o:
relocation R_X86_64_32S against `.data' can not be used when making a
shared object; recompile with -fPIC
/usr/lib64/lazarus/components/lazutils/lib/x86_64-linux/lazutf8.o: could
not read symbols: Bad value
================================================ ????????????????
SitaUdfLib.lpr(11) Error: Error while linking
SitaUdfLib.lpr(11) Fatal: There were 1 errors compiling module, stopping
project options, Other:
-fPIC
-dFPC_PIC
-dLogDebug
Any suggestions ?
Antonio.
More information about the Lazarus
mailing list