On Tue, 03 Nov 2015 14:58:18 +0100
Filipe Coelho <falktx(a)gmail.com> wrote:
But what exactly is that linker error?
'-fPIC' is used in carla code already, so the issue must be somewhere
else..
Yes, it's in ../source/Makefile:
ifneq ($(WIN32),true)
# not needed for Windows
BASE_FLAGS += -fPIC -DPIC
endif
The error is:
Linking libcarla_standalone2.so
/usr/bin/ld:
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/liblo.a(liblo_la-address.o):
réadressage de R_X86_64_32S en vertu de «_.rodata_» ne peut être
utilisé lors de la création d'un objet partagé; recompilez avec -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/liblo.a: error
adding symbols: Mauvaise valeur
collect2: error: ld returned 1 exit status
Eg.:
The re-addressing of R_X86_64_32S, because of .rodata, cannot be used in
the creation of a shared object, please recompile with -fPIC. ... Wrong
value.