[Evogrid-dev] lievogrid on 64bit build error (relocation R_X86_64_32S)

Miroslav Karpis miroslav.karpis at gmail.com
Sat Aug 28 19:45:50 UTC 2010


Hi,

during compiling libevogrid on 64-bit architecture (Ubuntu 10.04) I got
following error:

------
/../dependencies/libiniparser.a
/usr/bin/ld: ./obj/historyloader.o: relocation R_X86_64_32S against
`.rodata' can not be used when making a shared object; recompile with -fPIC
./obj/historyloader.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [lib/libevogrid.so.0] Error 1
-------

To get it to work I needed to add new flag -fPIC to libevogrid makefile.
After that it compiled well.

If I should commit the makefile...Peter can you please add me to the
project? (sourceForge user karpis /ID 3038722)

Regards,
Miro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digitalspace.com/pipermail/evogrid-dev/attachments/20100828/9269d258/attachment.html 


More information about the Evogrid-dev mailing list