[alsa-devel] is statically linking libasound supported? because if i do it, i cant open the device!
John Utz
John.Utz at dmx.com
Wed Mar 28 19:06:01 CEST 2007
-----Original Message-----
From: Takashi Iwai [mailto:tiwai at suse.de]
Sent: Wed 3/28/2007 3:13 AM
To: John Utz
Cc: alsa-devel at alsa-project.org
Subject: Re: [alsa-devel] is statically linking libasound supported? because if i do it, i cant open the device!
At Tue, 27 Mar 2007 18:05:50 -0700,
John Utz wrote:
>
> but it fails to find hw:0,1 if i link it statically, is that expected behavior?
Did you check alsa-lib/INSTALL file?
For creating a static lib, you have to use --disable-shared _and_
--enable-static.
Why would i need to --disable-shared? i wanted both!
I got the libasound.a just find and it linked the app and the app *runs*, it just doesnt find the device!
Takashi
More information about the Alsa-devel
mailing list