-----Original Message----- From: Takashi Iwai [mailto:tiwai@suse.de]
You cannot build both *.a and *.so _at the same time_ for alsa-lib. partly because of bad behavior of libtool, partly because of the design of alsa-lib (embedded plugins in static lib).
Simply build twice, once for a shared lib and once for a static lib.
I got the libasound.a just find and it linked the app and the app *runs*, it just doesnt find the device!
The libasound.a is broken.
* Well, I meant the libasound.a you made is broken. * When you build libasound.a without --disable-shared, it passes -DPIC * and it's built with assumption of shared library use.
AHH! thankyou for explaining that! i am greatful for the increase in my understanding of library compilation 'dynamics' (for want of a better term :-) )
tnx for the 'schoolin''
i'll report back on my outcome.
Takashi