Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

[SOLVED] wineasio will not compile

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
statikregimen
Apprentice
Apprentice
Posts: 173
Joined: Sat Jul 16, 2011 7:31 am
Location: USA/Michigan
Contact:
Contact statikregimen
Website

[SOLVED] wineasio will not compile

  • Quote

Post by statikregimen » Fri Jun 15, 2018 2:53 pm

Hello and happy Friday \o/

I'm hoping this will turn out to be simple. Posting here because I can't help but think that I"m having a multilib issue more likely than wineasio is broken (otoh, wineasio doesn't appear to have been updated since Q4 2013 so who knows...hopefully someone can help me narrow it down either way). But I have no idea, so just gotta start somewhere. I'm trying to build wineasio and seem to be getting an error that only apparently a couple other people on the internet have encountered and of course, no solution was ever posted.

The included readme seems pretty straight forward. However, when I get to the make step:

Following 64-bit instructions (ideal for my use case), this happens:

Code: Select all

# make -f Makefile64 
winegcc -shared wineasio.dll.spec -mnocygwin -L/usr/lib/wine -L/usr/lib -o wineasio.dll.so asio.o main.o regsvr.o     -ljack  -lodbc32 -lole32 -lwinmm -luuid
main.o: In function `DllGetClassObject':
/home/statik/Downloads/asio_tmp/wineasio/main.c:134: undefined reference to `IID_IClassFactory'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.o: relocation R_X86_64_PC32 against undefined hidden symbol `IID_IClassFactory' can not be used when making a shared object
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
winegcc: x86_64-pc-linux-gnu-gcc failed
make: *** [Makefile64:113: wineasio.dll.so] Error 2
When trying 32-bit, this happens:

Code: Select all

# make
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
x86_64-pc-linux-gnu-ld: Relocatable linking with relocations from format elf64-x86-64 (asio.o) to format elf32-i386 (wineasio.WMT0yp.o) is not supported
winebuild: x86_64-pc-linux-gnu-ld failed with status 1
winegcc: winebuild failed
make: *** [Makefile:114: wineasio.dll.so] Error 2
I've installed wine via virtual/wine which nets:

Code: Select all

# wine --version
wine-2.0.3

Code: Select all

# emerge --info virtual/wine
...
virtual/wine-0-r5::gentoo was built with the following:
USE="(-d3d9) (-staging)" ABI_X86="32 64"
If more from emerge --info is required I can oblige...It's just long and not sure how to scroll while selecting in xterm (or otherwise how to copy long command outputs easily).

That's all the pertinent information I can think of to provide for now. I'm sure I've forgotten something obvious though so be gentle <3

My ultimate goal is to run 64-bit Reaper (DAW) for my home studio. So basically any solution to getting low latency is acceptable, should there be some other approach to this that I just haven't discovered yet.

Cheers and as always, thanks in advance for any help!

EDIT: I have found this http://gamesplusone.com/alsa_to_jack.html but I don't think it will solve my latency woes.
Last edited by statikregimen on Sat Jul 14, 2018 12:23 am, edited 2 times in total.
Top
bobbymcgee
n00b
n00b
Posts: 55
Joined: Thu Apr 12, 2018 2:03 pm

  • Quote

Post by bobbymcgee » Sat Jun 16, 2018 5:07 am

looks like a recompile with -fPIC error to me
Top
statikregimen
Apprentice
Apprentice
Posts: 173
Joined: Sat Jul 16, 2011 7:31 am
Location: USA/Michigan
Contact:
Contact statikregimen
Website

  • Quote

Post by statikregimen » Sat Jun 16, 2018 2:25 pm

Thanks for the reply. My lack of experience will now shine brightly. I'm not 100% sure what to do with that information, but to try not to be a complete dolt, I googled for a minute and then examined the makefile.

Makefile64 had:

Code: Select all

CEXTRA                = -g -O2 -D__WINESRC__ -DNATIVE_INT64 -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-ar$
CXXEXTRA              = -D__WINESRC__ -DNATIVE_INT64 -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith
So for giggles, I removed -fPIC from both lines, but the error persists. Let me know if I'm doing it wrong!

As a hail Mary, I also posted in the Reaper forums, and may have struck gold. The author of the current wineasio version replied, so I will be hopping on IRC with him at some point.

https://forum.cockos.com/showthread.php ... ost2001401
Top
bobbymcgee
n00b
n00b
Posts: 55
Joined: Thu Apr 12, 2018 2:03 pm

  • Quote

Post by bobbymcgee » Sat Jun 16, 2018 7:24 pm

you want it to be used and from what you posted above it looked like it was not being used. try to use this overlay to install it. portage is more predictable than your own config.
https://github.com/internethering/hering-overlay
Top
statikregimen
Apprentice
Apprentice
Posts: 173
Joined: Sat Jul 16, 2011 7:31 am
Location: USA/Michigan
Contact:
Contact statikregimen
Website

  • Quote

Post by statikregimen » Sat Jun 16, 2018 7:28 pm

bobbymcgee wrote:you want it to be used and from what you posted above it looked like it was not being used. try to use this overlay to install it. portage is more predictable than your own config.
https://github.com/internethering/hering-overlay
Thanks for the reply... I tried that first. It appears to be broken. It gives instructions for obtaining asiosdk2.3.zip and where to put it (which doesn't exist, so i create it), but it fails. In the error message, gives the instructions again, but lists a different location to put it - I put it there and it still fails. I chased my tail for a few hours trying to figure out what it wanted :(
Top
bobbymcgee
n00b
n00b
Posts: 55
Joined: Thu Apr 12, 2018 2:03 pm

  • Quote

Post by bobbymcgee » Sat Jun 16, 2018 7:38 pm

it just needs asio.h from the non-free package, I assume you have it anyways? This is where it looks for it in ebuild.

Code: Select all

/opt/asiosdk2.3/ASIOSDK2.3/common/asio.h
Top
statikregimen
Apprentice
Apprentice
Posts: 173
Joined: Sat Jul 16, 2011 7:31 am
Location: USA/Michigan
Contact:
Contact statikregimen
Website

  • Quote

Post by statikregimen » Sat Jun 16, 2018 7:45 pm

Tried putting asio.h in /opt/asiosdk2.3/ASIOSDK2.3/common and get the same thing I always get:

Code: Select all

# emerge --ask wineasio

 * IMPORTANT: 10 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N F  ~] media-libs/asio-sdk-2.3 
[ebuild  N    ~] app-emulation/wineasio-0.9.2  ABI_X86="(64) -32 (-x32)" 

Fetch instructions for media-libs/asio-sdk-2.3:
 * 1. Go to http://www.steinberg.net/en/company/developer.html
 * 2. Create a developer login if you do not have one (this is required)
 * 3. When you are logged in, click on the link for ASIO SDK
 * 4. Agree to license terms and click on 'proceed to download'
 * 5. move asiosdk2.3.zip to /var/tmp/tmpatpc8r7j/portage/media-libs/asio-sdk-2.3/distdir
 * 

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 2) media-libs/asio-sdk-2.3::hering-overlay
 * Fetching files in the background.
 * To view fetch progress, run in another terminal:
 * tail -f /var/log/emerge-fetch.log

!!! media-libs/asio-sdk-2.3 has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually.  See the comments in the ebuild for more information.

 * Fetch failed for 'media-libs/asio-sdk-2.3', Log file:
 *  '/var/tmp/portage/media-libs/asio-sdk-2.3/temp/build.log'
 * 1. Go to http://www.steinberg.net/en/company/developer.html
 * 2. Create a developer login if you do not have one (this is required)
 * 3. When you are logged in, click on the link for ASIO SDK
 * 4. Agree to license terms and click on 'proceed to download'
 * 5. move asiosdk2.3.zip to /var/tmp/portage/media-libs/asio-sdk-2.3/distdir
 * 

>>> Failed to emerge media-libs/asio-sdk-2.3, Log file:

>>>  '/var/tmp/portage/media-libs/asio-sdk-2.3/temp/build.log'

 * Messages for package media-libs/asio-sdk-2.3:

 * Fetch failed for 'media-libs/asio-sdk-2.3', Log file:
 *  '/var/tmp/portage/media-libs/asio-sdk-2.3/temp/build.log'
Top
bobbymcgee
n00b
n00b
Posts: 55
Joined: Thu Apr 12, 2018 2:03 pm

  • Quote

Post by bobbymcgee » Sat Jun 16, 2018 8:07 pm

oh i overlooked that dpeendency. add media-libs/asio-sdk to package.provided

/etc/portage/package.provided

Code: Select all

media-libs/asio-sdk-2.3 
EDIT: heres the link, just wget that in your distfiles, cuz we may fail elsewhere with the above.
http://www.steinberg.net/sdk_downloads/asiosdk2.3.zip
Top
statikregimen
Apprentice
Apprentice
Posts: 173
Joined: Sat Jul 16, 2011 7:31 am
Location: USA/Michigan
Contact:
Contact statikregimen
Website

  • Quote

Post by statikregimen » Sat Jun 16, 2018 8:17 pm

bobbymcgee wrote:oh i overlooked that dpeendency. add media-libs/asio-sdk to package.provided

/etc/portage/package.provided

Code: Select all

media-libs/asio-sdk-2.3 
EDIT: heres the link, just wget that in your distfiles, cuz we may fail elsewhere with the above.
http://www.steinberg.net/sdk_downloads/asiosdk2.3.zip
Unfortunately, this seems to have had no effect :(
Top
bobbymcgee
n00b
n00b
Posts: 55
Joined: Thu Apr 12, 2018 2:03 pm

  • Quote

Post by bobbymcgee » Sat Jun 16, 2018 8:18 pm

i never use package.provided. maybe im doing it wrong? try the edit.
Top
statikregimen
Apprentice
Apprentice
Posts: 173
Joined: Sat Jul 16, 2011 7:31 am
Location: USA/Michigan
Contact:
Contact statikregimen
Website

  • Quote

Post by statikregimen » Sat Jun 16, 2018 8:37 pm

I replied before I saw the edit.

I didn't know what you meant by "distfiles" so i ran find and came up with /usr/portage/distfiles/

Copied asiosdk2.3.zip to there and now it seems to have worked.

Thank you very much! I suppose somebody should alert the overlay maintainer that the instructions he provides are incorrect.
Top
Post Reply

11 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy