Re: [LAU] Carla (Was: The Quiet Moon)

From: <jonetsu@email-addr-hidden>
Date: Tue Nov 03 2015 - 16:55:50 EET

On Tue, 03 Nov 2015 14:58:18 +0100
Filipe Coelho <falktx@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.

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Tue Nov 3 20:15:02 2015

This archive was generated by hypermail 2.1.8 : Tue Nov 03 2015 - 20:15:02 EET