Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-05-2014, 10:23 PM
|
#1
|
Member
Registered: Dec 2013
Location: Ontario, Canada
Distribution: CentOS/Fedora/Arch
Posts: 35
Rep:
|
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
winegcc: gcc failed
make: *** [wineasio.dll.so] Error 2
Anybody know what's up? 
|
|
|
01-06-2014, 09:28 AM
|
#2
|
Member
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328
Rep:
|
more log lines required 
|
|
|
01-06-2014, 10:55 AM
|
#3
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
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
Then compile a 32-bit version of jack-audio-connection-kit by running the jack-audio-connection-kit.SlackBuild script:
Code:
ARCH=i486 jack-audio-connection-kit.SlackBuild
Next, convert the resulting package to a "compat32" package and install that:
Code:
convertpkg-compat32 -i /tmp/jack-audio-connection-kit-0.121.3-i486-*.t?z
upgradepkg --install-new /tmp/jack-audio-connection-kit-compat32-0.121.3-*.t?z
And then proceed with compiling a wineasio package. I think that will work now.
Eric
|
|
|
01-06-2014, 03:52 PM
|
#4
|
Member
Registered: Dec 2013
Location: Ontario, Canada
Distribution: CentOS/Fedora/Arch
Posts: 35
Original Poster
Rep:
|
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
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/tmp/SBo/jack-audio-connection-kit-0.121.3':
configure: error: C compiler cannot create executables
Any idea why this is happening? 
|
|
|
01-06-2014, 04:03 PM
|
#5
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
So it would be nice to have a little more feedback:
Code:
uname -a
cat /etc/slackware-version
ls -l /var/log/packages/gcc-*
ls -l /var/log/packages/glibc-*
ls -l /var/log/packages/wine-*
ls -l /var/log/packages/*compat32 | wc -l
Eric
|
|
|
01-06-2014, 04:27 PM
|
#6
|
Member
Registered: Dec 2013
Location: Ontario, Canada
Distribution: CentOS/Fedora/Arch
Posts: 35
Original Poster
Rep:
|
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
cat /etc/slackware-version:
ls -l /var/log/packages/gcc-*
Code:
-rw-r--r-- 1 root root 25528 Dec 12 02:25 /var/log/packages/gcc-4.8.2_multilib-x86_64-1alien
-rw-r--r-- 1 root root 40287 Dec 12 02:25 /var/log/packages/gcc-g++-4.8.2_multilib-x86_64-1alien
-rw-r--r-- 1 root root 2284 Dec 12 02:25 /var/log/packages/gcc-gfortran-4.8.2_multilib-x86_64-1alien
-rw-r--r-- 1 root root 250536 Dec 12 02:25 /var/log/packages/gcc-gnat-4.8.2_multilib-x86_64-1alien
-rw-r--r-- 1 root root 19679 Dec 12 02:25 /var/log/packages/gcc-go-4.8.2_multilib-x86_64-1alien
-rw-r--r-- 1 root root 236525 Dec 12 02:25 /var/log/packages/gcc-java-4.8.2_multilib-x86_64-1alien
-rw-r--r-- 1 root root 2232 Dec 12 02:26 /var/log/packages/gcc-objc-4.8.2_multilib-x86_64-1alien
ls -l /var/log/packages/glibc-*
Code:
-rw-r--r-- 1 root root 571847 Dec 12 02:26 /var/log/packages/glibc-2.17_multilib-x86_64-7alien
-rw-r--r-- 1 root root 473870 Dec 12 02:26 /var/log/packages/glibc-i18n-2.17_multilib-x86_64-7alien
-rw-r--r-- 1 root root 1303 Dec 12 02:26 /var/log/packages/glibc-profile-2.17_multilib-x86_64-7alien
-rw-r--r-- 1 root root 15532 Dec 12 02:26 /var/log/packages/glibc-solibs-2.17_multilib-x86_64-7alien
-rw-r--r-- 1 root root 70234 Dec 12 02:27 /var/log/packages/glibc-zoneinfo-2013d_multilib-noarch-7alien
ls -l /var/log/packages/wine-*
Code:
-rw-r--r-- 1 root root 67937 Dec 12 15:44 /var/log/packages/wine-1.6.1-x86_64-1_SBo
ls -l /var/log/packages/*compat32 | wc -l
Regards,
Simon
|
|
|
01-06-2014, 04:35 PM
|
#7
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
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
Eric
|
|
|
01-06-2014, 07:10 PM
|
#8
|
Member
Registered: Dec 2013
Location: Ontario, Canada
Distribution: CentOS/Fedora/Arch
Posts: 35
Original Poster
Rep:
|
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
|
|
|
01-07-2014, 04:28 AM
|
#9
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
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
# cd /path/to/jack-audio-connection-kit
# ARCH=i486 ./jack-audio-connection-kit.SlackBuild
# installpkg /tmp/jack-audio-connection-kit-*.t?z
# cd /path/to/wineasio
# ARCH=i486 ./wineasio.SlackBuild
Zero issues.
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 04:59 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|