Carla icon indicating copy to clipboard operation
Carla copied to clipboard

ld fails when linking carla-bridge-native on x64 Linux

Open simply-silver opened this issue 2 years ago • 3 comments

Compiling Carla 2.5.4 on Arch Linux fails at the linking step of carla-bridge-native with the following output.

Linking carla-bridge-native
/usr/bin/ld: i386 architecture of input file `../../build/modules/Release/jackbridge.a(JackBridge1.cpp.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `../../build/modules/Release/jackbridge.a(JackBridge2.cpp.o)' is incompatible with i386:x86-64 output
collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped
compilation terminated.
make[1]: *** [Makefile:292: ../../bin/carla-bridge-native] Error 1
make[1]: Leaving directory '/home/silver/dev/misc/Carla-2.5.4/source/bridges-plugin'
make: *** [Makefile:179: bridges-plugin] Error 2

simply-silver avatar Apr 03 '23 19:04 simply-silver

did you build for 32bit first or something? why are there leftovers from a 32bit build?

falkTX avatar Apr 03 '23 20:04 falkTX

I built the wine bridges first, that was the only thing I did after downloading the release.

simply-silver avatar Apr 03 '23 20:04 simply-silver

After cleaning up the build folders, and building the bridges last, it compiles and installs without issue

simply-silver avatar Apr 03 '23 22:04 simply-silver