LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-05-2014, 09:23 PM   #1
SimonPalmieri
Member
 
Registered: Dec 2013
Location: Ontario, Canada
Distribution: CentOS/Fedora/Arch
Posts: 35

Rep: Reputation: 1
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?
 
Old 01-06-2014, 08:28 AM   #2
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 253

Rep: Reputation: 51
more log lines required
 
Old 01-06-2014, 09:55 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,184

Rep: Reputation: Disabled
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
 
Old 01-06-2014, 02:52 PM   #4
SimonPalmieri
Member
 
Registered: Dec 2013
Location: Ontario, Canada
Distribution: CentOS/Fedora/Arch
Posts: 35

Original Poster
Rep: Reputation: 1
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?
 
Old 01-06-2014, 03:03 PM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,184

Rep: Reputation: Disabled
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
 
Old 01-06-2014, 03:27 PM   #6
SimonPalmieri
Member
 
Registered: Dec 2013
Location: Ontario, Canada
Distribution: CentOS/Fedora/Arch
Posts: 35

Original Poster
Rep: Reputation: 1
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:
Code:
Slackware 14.1
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
Code:
126
Regards,

Simon
 
Old 01-06-2014, 03:35 PM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,184

Rep: Reputation: Disabled
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
 
Old 01-06-2014, 06:10 PM   #8
SimonPalmieri
Member
 
Registered: Dec 2013
Location: Ontario, Canada
Distribution: CentOS/Fedora/Arch
Posts: 35

Original Poster
Rep: Reputation: 1
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
 
Old 01-07-2014, 03:28 AM   #9
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,184

Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Error "make: *** No rule to make target `install'. Stop. chakra1 Linux - Newbie 11 11-01-2013 09:07 PM
error install gens slackbuild budi_mulyana Linux - Software 7 09-11-2011 06:38 PM
Slackbuild handbrake error-[gtk.install] Error 2 Swift&Smart Slackware 8 08-17-2010 03:42 PM
wineasio compile error stratotak Linux - Newbie 2 03-06-2009 01:48 AM
slackbuild vrs configure-make-make install garyg007 Slackware 12 12-21-2008 10:27 PM


All times are GMT -5. The time now is 03:37 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration