Hi,

```
/usr/bin/ld:
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libplibsg.a(sg.o):
relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making
a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libplibsg.a: error adding
symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [lib64/games/speed-dreams-2/modules/graphic/osggraph.so] Error
1
make[1]: *** [src/modules/graphic/osggraph/CMakeFiles/osggraph.dir/all]
Error 2
make: *** [all] Error 2
```
This is the error I get while compiling the code. Its saying to turn on the
-fPIC option, but I dont know how to. What should I do?
------------------------------------------------------------------------------
_______________________________________________
Speed-dreams-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/speed-dreams-users

Reply via email to