All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomas Carnecky <tom@dbservice.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: internal structures and 32/64bit compatibility
Date: Mon, 05 Dec 2005 20:30:19 +0000	[thread overview]
Message-ID: <4394A35B.1030101@dbservice.com> (raw)
In-Reply-To: <s5h4q5nmkp6.wl%tiwai@suse.de>

Takashi Iwai wrote:
> At Mon, 05 Dec 2005 19:59:08 +0000,
> Tomas Carnecky wrote:
> 
>>Takashi Iwai wrote:
>>
>>>At Sun, 04 Dec 2005 01:12:26 +0000,
>>>Tomas Carnecky wrote:
>>>
>>>
>>>>but the aoss wrapper library (version 1.0.10) still fails:
>>>>
>>>>$ ALSA_OSS_DEBUG=1 LD_PRELOAD=/emul/linux/x86/usr/lib/libaoss.so.0.0.0 
>>>>TeamSpeak
>>>>ERROR: ld.so: object '/emul/linux/x86/usr/lib/libaoss.so.0.0.0' from 
>>>>LD_PRELOAD cannot be preloaded: ignored.
>>>
>>>
>>>Do you really have this shlib file?
>>>
>>>
>>
>>if alsa does some output, then the library was preloaded, if the preload 
>>would fail, I wouldn't see any output I guess.
> 
> 
> Right, but still I'm wondering how it did work.  Maybe you have
> another libaoss and it was loaded instead of the above?
> 
> 

if I do:

LD_PRELOAD=./mylib.so wine /games/World.of.Warcraft/WoW.exe

it also prints that 'can't preload' message, but if I supply the full 
path to the library, it doesn't print that anymore. But since I've 
supplied the full path to LD_PRELOAD, I have no clue what might cause 
this error.

After I've changed some parts of libaoss.so it started to work, I had to 
comment out one function call, replace a return value in another place 
and add two function calls to the snd_pcm_read/write functions.

What I've done is described here: 
http://gentoo-wiki.com/HOWTO_ALSA_and_TeamSpeak_on_amd64

read the section 'compile patched alsa-oss' to find out what exactly 
I've changed.

tom


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

      reply	other threads:[~2005-12-05 20:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-04  0:25 internal structures and 32/64bit compatibility Tomas Carnecky
2005-12-04  1:12 ` Tomas Carnecky
2005-12-05 15:05   ` Takashi Iwai
2005-12-05 19:59     ` Tomas Carnecky
2005-12-05 19:02       ` Takashi Iwai
2005-12-05 20:30         ` Tomas Carnecky [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4394A35B.1030101@dbservice.com \
    --to=tom@dbservice.com \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.