Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-08

LazUTF8

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Antonio Fortuny

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.

Reply by email