falkTX / Carla

Audio plugin host
https://kx.studio/carla
1.6k stars 147 forks source link

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

Open simply-silver opened 1 year ago

simply-silver commented 1 year ago

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
falkTX commented 1 year ago

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

simply-silver commented 1 year ago

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

simply-silver commented 1 year ago

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