Wineasio on Debian Testing

Everything about X, Gnome, KDE, ... and everything running on it

Wineasio on Debian Testing

Postby vlas » 2018-08-12 10:27

Hello! I can not install subj on my audio recording studio PC.
Tried with kxstudio repo - but packages from it much older than present in my system, and as result - some dependency errors which I can not resolve.

Tried to compile wineasio manually (With help on https://sourceforge.net/projects/wineasio/files/), but errors again.
Code: Select all
$ make clean
$ make
gcc -c -I. -I/usr/include -I/usr/include -I/usr/include/wine -I/usr/include/wine/windows    -m32 -g -O2 -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -o asio.o asio.c
gcc -c -I. -I/usr/include -I/usr/include -I/usr/include/wine -I/usr/include/wine/windows    -m32 -g -O2 -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -o main.o main.c
gcc -c -I. -I/usr/include -I/usr/include -I/usr/include/wine -I/usr/include/wine/windows    -m32 -g -O2 -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -o regsvr.o regsvr.c
winegcc -shared -m32 wineasio.dll.spec -mnocygwin -L/usr/lib32/wine -L/usr/lib32 -o wineasio.dll.so asio.o main.o regsvr.o     -ljack  -lodbc32 -lole32 -lwinmm -luuid
ld: i386:x86-64 architecture of input file `/usr/lib/x86_64-linux-gnu/wine/libuuid.a(uuid.o)' is incompatible with i386 output
ld: relocatable linking with relocations from format elf64-x86-64 (/usr/lib/x86_64-linux-gnu/wine/libwinecrt0.a(dll_entry.o)) to format elf32-i386 (wineasio.qehEsh.o) is not supported
winebuild: ld failed with status 1
winegcc: /usr/lib/wine/winebuild failed
make: *** [Makefile:114: wineasio.dll.so] Error 2

It's unbearable, I'm totally in stuck, please help me :(
On my primary Arch Linux system everything went smoothly (viva AUR!), but still no luck with Debian(

Now kxstudio repo is removed. I have wine and jack packages installed:
Code: Select all
$ dpkg -l | grep wine | awk '{print $2, $3}'
fonts-wine 3.0.2-3
libwine:amd64 3.0.2-3
libwine:i386 3.0.2-3
libwine-dev:amd64 3.0.2-3
libwine-development:amd64 3.13-3
libwine-development:i386 3.13-3
libwine-development-dev:amd64 3.13-3
libwine-development-dev:i386 3.13-3
wine 3.0.2-3
wine-development 3.13-3
wine32:i386 3.0.2-3
wine32-development:i386 3.13-3
wine32-development-tools:i386 3.13-3
wine64 3.0.2-3
wine64-development 3.13-3
wine64-tools 3.0.2-3
winetricks 0.0+20180603-1
$ dpkg -l | grep jack | awk '{print $2, $3}'
jackd 5
jackd1 1:0.125.0-3
jackd2 1.9.12~dfsg-2
libjack-jackd2-0:amd64 1.9.12~dfsg-2
libjack-jackd2-0:i386 1.9.12~dfsg-2
libjack-jackd2-dev:amd64 1.9.12~dfsg-2
qjackctl 0.5.0-1
vlas
 
Posts: 2
Joined: 2018-08-12 09:58
Location: Russia

Re: Wineasio on Debian Testing

Postby bw123 » 2018-08-12 10:47

Looks like an older project, the files are 2013 but they do have a forum with a few newer posts. https://sourceforge.net/p/wineasio/discussion/802003

One thread says try tweaking the makefile to use winegcc32 instead of winegcc to build on amd64 debian.

...
as result - some dependency errors which I can not resolve.
...


I would fix any dependency errors, maybe even reinstall before building anything. There's no point trying to figure out if build error is result of frankendebian... just get a nice new install and try it.
User avatar
bw123
 
Posts: 3578
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Wineasio on Debian Testing

Postby vlas » 2018-08-13 00:16

This is
https://forum.cockos.com/showpost.php?p=1824862&postcount=1244
very clearly explanation what to do, but it just not working! ((
I think I need lib32-jack or something, but there is no such in repos.
Code: Select all
$ make clean && make
gcc -c -I. -I/usr/include -I/usr/include -I/usr/include/wine -I/usr/include/wine/windows    -m32 -g -O2 -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -o asio.o asio.c
In file included from asio.c:36:
asio.c: In function 'CreateBuffers':
asio.c:956:11: warning: format '%i' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
     TRACE("The ASIO host supports ASIO v%i: ", This->asio_callbacks->asioMessage(kAsioEngineVersion, 0, 0, 0));
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -c -I. -I/usr/include -I/usr/include -I/usr/include/wine -I/usr/include/wine/windows    -m32 -g -O2 -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -o main.o main.c
gcc -c -I. -I/usr/include -I/usr/include -I/usr/include/wine -I/usr/include/wine/windows    -m32 -g -O2 -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -o regsvr.o regsvr.c
winegcc -shared -m32 wineasio.dll.spec -mnocygwin -L/usr/lib32/wine -L/usr/lib32 -o wineasio.dll.so asio.o main.o regsvr.o     -ljack  -lodbc32 -lole32 -lwinmm -luuid
/usr/bin/ld: skipping incompatible //usr/lib/x86_64-linux-gnu/libjack.so when searching for -ljack
/usr/bin/ld: cannot find -ljack
/usr/bin/ld: cannot find -lodbc32
/usr/bin/ld: cannot find -lole32
/usr/bin/ld: cannot find -lwinmm
/usr/bin/ld: cannot find -luuid
/usr/bin/ld: cannot find -ladvapi32
/usr/bin/ld: cannot find -luser32
/usr/bin/ld: cannot find -lwinecrt0
/usr/bin/ld: cannot find -lkernel32
/usr/bin/ld: cannot find -lntdll
/usr/bin/ld: cannot find -lwine
collect2: error: ld returned 1 exit status
winegcc: gcc failed
make: *** [Makefile:114: wineasio.dll.so] Error 2

Solution MUST be simple, I can't believe there is no way.
vlas
 
Posts: 2
Joined: 2018-08-12 09:58
Location: Russia

Re: Wineasio on Debian Testing

Postby stevepusser » 2018-08-13 18:38

A workaround might be to compile the 32-bit version on a 32-bit install, such as in Virtual Box or a chroot. Or you may just need to install libjack-jackd2-dev:i386. Note that only one architecture's dev package can be installed at a time.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, 4.19.5 kernel, wine-staging 4.0~rc1, Pale Moon 28.2.2, Mesa 18.2.6, Midori 7.0
User avatar
stevepusser
 
Posts: 10276
Joined: 2009-10-06 05:53


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable