Quote:
Originally Posted by lightnb
Not sure if I should post here or in a new thread. I'm running into an issue running make to compile LinVst. The error is:
wineg++ -m32 lin-vst-server.wine32.o remotepluginserver.wine32.o paths.wine32.o -L/usr/lib/i386-linux-gnu/wine-development -lpthread -lrt -o lin-vst-servertrack32.exe
ld: Relocatable linking with relocations from format elf64-x86-64 (/usr/lib/x86_64-linux-gnu/wine-development/libwinecrt0.a(exe_entry.o)) to format elf32-i386 (lin-vst-servertrack32.0M6XKy.o) is not supported
winebuild: ld failed with status 1
winegcc: /usr/lib/wine-development/winebuild failed
Makefile-embed-6432:40: recipe for target 'lin-vst-servertrack32.exe' failed
make: *** [lin-vst-servertrack32.exe] Error 2
Using the latest stable wine, downloaded from them today and the latest LinVst from Github.
The command is: make -f Makefile-embed-6432
Which is supposed to make it work for 32 bit and 64 bit dlls.
I'm running Mint 19 64bit.
Thoughts?
|
That error happens because it's trying to link 32 bit code with 64 bit code/libraries and it should be linking with 32 bit code/libraries.
32 bit code is needed so that 32 bit vst's can run.
It can run without 32 bit vst support and just run 64 bit vst's which is what the default Makefile does.
I don't know the exact 32 bit packages to install on Mint but on Debian/Ubuntu it's
sudo dpkg --add-architecture i386
sudo apt-get install libc6-dev-i386
sudo apt-get install gcc-multilib g++-multilib
sudo apt-get install libwine-development-dev:i386