From: Takashi Iwai Subject: Re: linux-2.6.21-rc2-gc3442e29 build #245 failed in sound/soc/soc-core.c:215 Date: Wed, 07 Mar 2007 22:21:45 +0100 Message-ID: References: <200703070926.03460.toralf.foerster@gmx.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mx1.suse.de (mx1.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 75DCF2417E for ; Wed, 7 Mar 2007 22:21:50 +0100 (CET) In-Reply-To: <200703070926.03460.toralf.foerster@gmx.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: Toralf =?ISO-8859-1?Q?F=F6rster?= Cc: liam.girdwood@wolfsonmicro.com, alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Wed, 7 Mar 2007 09:26:01 +0100, Toralf F=F6rster 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=3Djoin.php&p=3Dsourceforge&CID=3DDE= VDEV