Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754845AbbHCSoX (ORCPT ); Mon, 3 Aug 2015 14:44:23 -0400 Received: from exsmtp01.microchip.com ([198.175.253.37]:27332 "EHLO email.microchip.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754604AbbHCSoU (ORCPT ); Mon, 3 Aug 2015 14:44:20 -0400 Date: Mon, 3 Aug 2015 20:40:30 +0200 From: Christian Gromm To: Randy Dunlap CC: "devel@driverdev.osuosl.org" , "Greg Kroah-Hartman" , LKML Subject: Re: [PATCH -next] staging: most: fix aim-sound build errors Message-ID: <20150803204030.4bbcc41d@clu.mchp-main.com> In-Reply-To: <55BFB483.6080204@infradead.org> References: <55BFB483.6080204@infradead.org> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2227 Lines: 50 On Mon, 3 Aug 2015 11:35:47 -0700 Randy Dunlap wrote: > From: Randy Dunlap > > Fix build errors: driver uses snd_pcm*() interfaces, so select > SND_PCM. > > drivers/built-in.o: In function `audio_rx_completion': > sound.c:(.text+0x3cd376): undefined reference to `snd_pcm_period_elapsed' > drivers/built-in.o: In function `pcm_prepare': > sound.c:(.text+0x3cd3b0): undefined reference to `snd_pcm_format_physical_width' > sound.c:(.text+0x3cd3ce): undefined reference to `snd_pcm_format_big_endian' > sound.c:(.text+0x3cd42c): undefined reference to `snd_pcm_format_big_endian' > drivers/built-in.o: In function `pcm_hw_free': > sound.c:(.text+0x3cd50a): undefined reference to `snd_pcm_lib_free_vmalloc_buffer' > drivers/built-in.o: In function `pcm_hw_params': > sound.c:(.text+0x3cd54c): undefined reference to `_snd_pcm_lib_alloc_vmalloc_buffer' > drivers/built-in.o: In function `playback_thread': > sound.c:(.text+0x3cd6a0): undefined reference to `snd_pcm_period_elapsed' > drivers/built-in.o: In function `audio_probe_channel': > sound.c:(.text+0x3cdc0b): undefined reference to `snd_pcm_new' > sound.c:(.text+0x3cdc2b): undefined reference to `snd_pcm_set_ops' > drivers/built-in.o:(.data+0x952d0): undefined reference to `snd_pcm_lib_ioctl' > drivers/built-in.o:(.data+0x95318): undefined reference to `snd_pcm_lib_get_vmalloc_page' > > Signed-off-by: Randy Dunlap Acked-by: Christian Gromm > Cc: Christian Gromm > --- > drivers/staging/most/aim-sound/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > --- linux-next-20150803.orig/drivers/staging/most/aim-sound/Kconfig > +++ linux-next-20150803/drivers/staging/most/aim-sound/Kconfig > @@ -5,6 +5,7 @@ > config AIM_SOUND > tristate "ALSA AIM" > depends on SND > + select SND_PCM > ---help--- > Say Y here if you want to commumicate via ALSA/sound devices. > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/