Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Wineasio on Debian Testing

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
vlas
Posts: 2
Joined: 2018-08-12 09:58
Location: Russia

Wineasio on Debian Testing

#1 Post by vlas »

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

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Wineasio on Debian Testing

#2 Post by bw123 »

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.
resigned by AI ChatGPT

vlas
Posts: 2
Joined: 2018-08-12 09:58
Location: Russia

Re: Wineasio on Debian Testing

#3 Post by vlas »

This is
https://forum.cockos.com/showpost.php?p ... count=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.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Wineasio on Debian Testing

#4 Post by stevepusser »

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.
MX Linux packager and developer

Post Reply