From: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
To: alsa-devel@lists.sourceforge.net
Subject: Correction for fixing alsa-lib static build (patch attached)
Date: Fri, 12 May 2006 14:09:09 +0200 [thread overview]
Message-ID: <44647AE5.9060202@atmel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 497 bytes --]
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.
--
With kind regards,
Med vennlig hilsen,
Hans-Christian Egtvedt
Applications Engineer - AVR Applications Lab
Atmel Norway
[-- Attachment #2: alsa-lib-1.0.11-fix-static-linking.patch --]
[-- Type: text/x-patch, Size: 718 bytes --]
--- alsa-lib-1.0.11.orig/src/pcm/pcm_ioplug.c 2005-06-28 12:24:45.000000000 +0200
+++ alsa-lib-1.0.11/src/pcm/pcm_ioplug.c 2006-05-12 10:53:00.000000000 +0200
@@ -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 */
--- alsa-lib-1.0.11.orig/src/pcm/pcm_extplug.c 2006-03-21 11:30:44.000000000 +0100
+++ alsa-lib-1.0.11/src/pcm/pcm_extplug.c 2006-05-12 10:53:23.000000000 +0200
@@ -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 {
next reply other threads:[~2006-05-12 12:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-12 12:09 Hans-Christian Egtvedt [this message]
2006-05-12 12:44 ` Correction for fixing alsa-lib static build (patch attached) Takashi Iwai
-- strict thread matches above, loose matches on Subject: below --
2006-05-12 11:24 Hans-Christian Egtvedt
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=44647AE5.9060202@atmel.com \
--to=hcegtvedt@atmel.com \
--cc=alsa-devel@lists.sourceforge.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox