[alsa-devel] [asoc:topic/topology 104/105] :undefined reference to `snd_soc_dapm_new_control'
tree: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/topology head: 932ae8809469770a07ce19d6967d2ce303befa08 commit: 8a9782346dccd82cf912552735bda619de4efd8c [104/105] ASoC: topology: Add topology core config: arm-at91_dt_defconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/ma... -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 8a9782346dccd82cf912552735bda619de4efd8c # save the attached .config to linux build tree make.cross ARCH=arm
All error/warnings (new ones prefixed by >>):
sound/built-in.o: In function `soc_tplg_dapm_widget_create':
:(.text+0x25a90): undefined reference to `snd_soc_dapm_new_control'
--- 0-DAY kernel test infrastructure Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
On Thu, Jun 04, 2015 at 06:58:38PM +0800, kbuild test robot wrote:
All error/warnings (new ones prefixed by >>):
sound/built-in.o: In function `soc_tplg_dapm_widget_create':
:(.text+0x25a90): undefined reference to `snd_soc_dapm_new_control'
The fix for the build bug in your patch exporting this was to add a static prototype (you were in the CC for that fix) so now the topology code still doesn't have the export.
Can you send a fixup please?
On Thu, 2015-06-04 at 13:04 +0100, Mark Brown wrote:
On Thu, Jun 04, 2015 at 06:58:38PM +0800, kbuild test robot wrote:
All error/warnings (new ones prefixed by >>):
sound/built-in.o: In function `soc_tplg_dapm_widget_create':
:(.text+0x25a90): undefined reference to `snd_soc_dapm_new_control'
The fix for the build bug in your patch exporting this was to add a static prototype (you were in the CC for that fix) so now the topology code still doesn't have the export.
Can you send a fixup please?
Sorry, appended below. I can resend separately if required.
From 3df449a45fcde9f63dd34683d4216a73bd900f98 Mon Sep 17 00:00:00 2001
From: Liam Girdwood liam.r.girdwood@linux.intel.com Date: Thu, 4 Jun 2015 15:08:34 +0100 Subject: [PATCH] ASoC: DAPM: fix build errors for missing snd_soc_dapm_new_control symbol
Fix the following error:-
All error/warnings (new ones prefixed by >>):
sound/built-in.o: In function `soc_tplg_dapm_widget_create':
:(.text+0x25a90): undefined reference to `snd_soc_dapm_new_control'
Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com --- sound/soc/soc-dapm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 92d57a9..1b4a6eb 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -53,7 +53,7 @@ static int snd_soc_dapm_add_path(struct snd_soc_dapm_context *dapm, int (*connected)(struct snd_soc_dapm_widget *source, struct snd_soc_dapm_widget *sink));
-static struct snd_soc_dapm_widget * +struct snd_soc_dapm_widget * snd_soc_dapm_new_control(struct snd_soc_dapm_context *dapm, const struct snd_soc_dapm_widget *widget);
@@ -3270,7 +3270,7 @@ int snd_soc_dapm_put_pin_switch(struct snd_kcontrol *kcontrol, } EXPORT_SYMBOL_GPL(snd_soc_dapm_put_pin_switch);
-static struct snd_soc_dapm_widget * +struct snd_soc_dapm_widget * snd_soc_dapm_new_control(struct snd_soc_dapm_context *dapm, const struct snd_soc_dapm_widget *widget) {
On Thu, Jun 04, 2015 at 03:13:09PM +0100, Liam Girdwood wrote:
On Thu, 2015-06-04 at 13:04 +0100, Mark Brown wrote:
On Thu, Jun 04, 2015 at 06:58:38PM +0800, kbuild test robot wrote:
All error/warnings (new ones prefixed by >>):
sound/built-in.o: In function `soc_tplg_dapm_widget_create':
:(.text+0x25a90): undefined reference to `snd_soc_dapm_new_control'
The fix for the build bug in your patch exporting this was to add a static prototype (you were in the CC for that fix) so now the topology code still doesn't have the export.
Can you send a fixup please?
Sorry, appended below. I can resend separately if required.
I dont think Mark applied this, can you please resend
On Mon, 2015-06-15 at 11:12 +0530, Vinod Koul wrote:
On Thu, Jun 04, 2015 at 03:13:09PM +0100, Liam Girdwood wrote:
On Thu, 2015-06-04 at 13:04 +0100, Mark Brown wrote:
On Thu, Jun 04, 2015 at 06:58:38PM +0800, kbuild test robot wrote:
All error/warnings (new ones prefixed by >>):
sound/built-in.o: In function `soc_tplg_dapm_widget_create':
:(.text+0x25a90): undefined reference to `snd_soc_dapm_new_control'
The fix for the build bug in your patch exporting this was to add a static prototype (you were in the CC for that fix) so now the topology code still doesn't have the export.
Can you send a fixup please?
Sorry, appended below. I can resend separately if required.
I dont think Mark applied this, can you please resend
Resending.
Liam
participants (4)
-
kbuild test robot
-
Liam Girdwood
-
Mark Brown
-
Vinod Koul