At Wed, 7 Mar 2007 09:26:01 +0100, Toralf Förster wrote: > > > Hello, > > the build with the attached .config failed, make ends with: > ... > CC init/version.o > LD init/built-in.o > LD .tmp_vmlinux1 > sound/built-in.o: In function `soc_pcm_open': > sound/soc/soc-core.c:215: undefined reference to `snd_pcm_limit_hw_rates' > sound/built-in.o: In function `soc_new_pcm': > sound/soc/soc-core.c:867: undefined reference to `snd_pcm_new' > sound/soc/soc-core.c:885: undefined reference to `snd_pcm_set_ops' > sound/soc/soc-core.c:888: undefined reference to `snd_pcm_set_ops' > make: *** [.tmp_vmlinux1] Error 1 Could you check whether the patch below fixes the problem? Thanks. Takashi diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig index ec821a5..dccaa4b 100644 --- a/sound/soc/Kconfig +++ b/sound/soc/Kconfig @@ -10,6 +10,8 @@ config SND_SOC_AC97_BUS config SND_SOC tristate "SoC audio support" + depends on SND + select SND_PCM ---help--- If you want SoC support, you should say Y here and also to the diff --git a/sound/soc/at91/Kconfig b/sound/soc/at91/Kconfig index 5bcf08b..a5b2558 100644 --- a/sound/soc/at91/Kconfig +++ b/sound/soc/at91/Kconfig @@ -2,8 +2,7 @@ menu "SoC Audio for the Atmel AT91" config SND_AT91_SOC tristate "SoC Audio for the Atmel AT91 System-on-Chip" - depends on ARCH_AT91 && SND - select SND_PCM + depends on ARCH_AT91 && SND_SOC help Say Y or M if you want to add support for codecs attached to the AT91 SSC interface. You will also need diff --git a/sound/soc/pxa/Kconfig b/sound/soc/pxa/Kconfig index 579e1c8..b9ab3b8 100644 --- a/sound/soc/pxa/Kconfig +++ b/sound/soc/pxa/Kconfig @@ -2,8 +2,7 @@ menu "SoC Audio for the Intel PXA2xx" config SND_PXA2XX_SOC tristate "SoC Audio for the Intel PXA2xx chip" - depends on ARCH_PXA && SND - select SND_PCM + depends on ARCH_PXA && SND_SOC help Say Y or M if you want to add support for codecs attached to the PXA2xx AC97, I2S or SSP interface. You will also need ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel