Make error trying to install WineASIO from SlackBuild
Hello, I'm trying to install WineASIO. Thus far, I've got the asio.h header file from the ASIO SDK and the Jack Audio Connection Kit. When I go to run the SlackBuild for wineasio, I receive an error saying the following:
Code:
collect2: error: ld returned 1 exit status |
more log lines required :)
|
Your earlier posts indicate that you are running a 64-bit Slackware. If you have wine installed I assume that you also installed the Slackware multilib packages.
If you want to compile a 32-bit program (for using it with the 32-bit Wine) then first you need to have installed the 32-bit versions of the dependencies, which in case of wineasio means that you need the 32-bit "compat32" version of jack-audio-connection-kit. In order to compile a 32-bit program on Slackware64 multilib, you start with "sourcing" the /etc/profile.d/32dev/sh script (note that there is a dot at the start of the line): Code:
. /etc/profile.d/32dev.sh Code:
ARCH=i486 jack-audio-connection-kit.SlackBuild Code:
convertpkg-compat32 -i /tmp/jack-audio-connection-kit-0.121.3-i486-*.t?z Eric |
Hey Eric,
Whenever I try to compile the Jack Audio Connection Kit as a 32 bit package, I get the following errors: Code:
checking for i486-slackware-linux-gcc... no |
So it would be nice to have a little more feedback:
Code:
uname -a |
My apologies Eric, I will remember to include my information in the future when posting on here :/
Here is the output of the commands uname: Code:
Linux slacktop 3.10.17 #2 SMP Wed Oct 23 16:34:38 CDT 2013 x86_64 Intel(R) Core(TM) i3 CPU M 350 @ 2.27GHz GenuineIntel GNU/Linux Code:
Slackware 14.1 Code:
-rw-r--r-- 1 root root 25528 Dec 12 02:25 /var/log/packages/gcc-4.8.2_multilib-x86_64-1alien Code:
-rw-r--r-- 1 root root 571847 Dec 12 02:26 /var/log/packages/glibc-2.17_multilib-x86_64-7alien Code:
-rw-r--r-- 1 root root 67937 Dec 12 15:44 /var/log/packages/wine-1.6.1-x86_64-1_SBo Code:
126 Simon |
OK I think you compiled a 64-bit version of Wine instead of a 32-bit version.
What gives: Code:
file /usr/lib*/libwine.so.1.0 |
Okay, here is the output:
Code:
/usr/lib/libwine.so.1.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped |
Your wine is 32-bit which is OK.
I tried compiling a 32-bit version of jack-audio-connection-kit and wineasio on mutilib Slackware64-14.1 and that worked without issues. This is the build log for jack-audio-connection-kit: http://pastebin.com/bHSZFmxd And this is the log for compiling wineasio: http://pastebin.com/6eC1c862 What I ran after installing my own wine package, and a 32-bit "compat32" version of OpenAL: Code:
# . /etc/profile.d/32dev.sh Note that running ". /etc/profile.d/32dev.sh" alters your environment to compile 32-bit software. If you are done with that and want to compile your regular 64-bit programs again, just logout root and login again. That will "reset" your environment and undo the effects of the 32dev.sh script. Eric |
All times are GMT -5. The time now is 11:26 AM. |