[Evogrid-dev] lievogrid on 64bit build error (relocation R_X86_64_32S)
Peter Newman
wizarth at wizarth.is-a-geek.org
Sat Aug 28 22:39:51 UTC 2010
I've added you to the project with SVN commit access.
Peter N
On 28/08/2010 8:45 PM, Miroslav Karpis wrote:
> 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
>
>
> _______________________________________________
> Evogrid-dev mailing list
> Evogrid-dev at lists.digitalspace.com
> http://lists.digitalspace.com/cgi-bin/mailman/listinfo/evogrid-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digitalspace.com/pipermail/evogrid-dev/attachments/20100828/4c73c99f/attachment.htm
More information about the Evogrid-dev
mailing list