Correction for fixing alsa-lib static build (patch attached)
Hi!
While trying to compile the alsa library static, without dynamic lib at all, I encountered an error with two symbols being unresolved.
The attached patch corrects the compile errors when doing a standard configure and build. I haven't disabled or enabled anything else than what is compiled in by default.
Please comment if my patch breaks the library or similar.
Signature · 6 lines
With kind regards, Med vennlig hilsen, Hans-Christian Egtvedt Applications Engineer - AVR Applications Lab Atmel Norway
src/pcm/pcm_ioplug.c +3 -0
@@ -30,6 +30,9 @@#include "pcm_ioplug.h" #include "pcm_ext_parm.h" +/* entry for static linking */ +const char *_snd_module_pcm_ioplug ="" ; +#ifndef DOC_HIDDEN /* hw_params */
src/pcm/pcm_extplug.c +3 -0
@@ -31,6 +31,9 @@#include "pcm_extplug.h" #include "pcm_ext_parm.h" +/* entry for static linking */ +const char *_snd_module_pcm_extplug ="" ; + #ifndef DOC_HIDDEN typedef struct snd_pcm_extplug_priv {
At Fri, 12 May 2006 14:09:09 +0200,
Quoted 11 lines · Hans-Christian Egtvedt
Hi!
While trying to compile the alsa library static, without dynamic lib at all, I encountered an error with two symbols being unresolved.
The attached patch corrects the compile errors when doing a standard configure and build. I haven't disabled or enabled anything else than what is compiled in by default.
Please comment if my patch breaks the library or similar.
They are unnecessary for shared lib, so better to wrap with ifndef PIC. I applied it with that fix. Thanks!
Takashi
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642