Thread (2 messages) 2 messages, 2 authors, 2008-05-21

linux-next: sound build failure

From: Stephen Rothwell <hidden>
Date: 2008-05-21 05:32:16
Subsystem: sound, the rest · Maintainers: Jaroslav Kysela, Takashi Iwai, Linus Torvalds

Hi Takashi,

Today's linux-next build (sparc64 defconfig) failed like this:

ERROR: "snd_ctl_make_virtual_master" [sound/pci/ac97/snd-ac97-codec.ko] undefined!
ERROR: "snd_ctl_add_slave" [sound/pci/ac97/snd-ac97-codec.ko] undefined!

A "select SND_VMASTER" appears to have been lost from "config
SND_AC97_CODEC" in commit 6a5751b42420dce9267d7d915eed8f8673d16fdd
("sound: Convert to menuconfig").

I applied the patch below.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
From b88eff22395ffdf10f37cd1c6f1b6adcd37417f6 Mon Sep 17 00:00:00 2001
From: Stephen Rothwell <redacted>
Date: Wed, 21 May 2008 15:28:59 +1000
Subject: [PATCH] sound: restore SND_VMASTER select to SND_AC97_CODEC

Otherwise the following error occurs:

ERROR: "snd_ctl_make_virtual_master" [sound/pci/ac97/snd-ac97-codec.ko] undefined!
ERROR: "snd_ctl_add_slave" [sound/pci/ac97/snd-ac97-codec.ko] undefined!

Signed-off-by: Stephen Rothwell <redacted>
---
 sound/drivers/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/sound/drivers/Kconfig b/sound/drivers/Kconfig
index 4bf44fb..255fd18 100644
--- a/sound/drivers/Kconfig
+++ b/sound/drivers/Kconfig
@@ -21,6 +21,7 @@ config SND_AC97_CODEC
 	tristate
 	select SND_PCM
 	select AC97_BUS
+	select SND_VMASTER
 
 menuconfig SND_DRIVERS
 	bool "Generic sound devices"
-- 
1.5.5.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help