From: Christian Gromm <christian.gromm@microchip.com>
To: Randy Dunlap <rdunlap@infradead.org>
Cc: "devel@driverdev.osuosl.org" <devel@driverdev.osuosl.org>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH -next] staging: most: fix aim-sound build errors
Date: Mon, 3 Aug 2015 20:40:30 +0200 [thread overview]
Message-ID: <20150803204030.4bbcc41d@clu.mchp-main.com> (raw)
In-Reply-To: <55BFB483.6080204@infradead.org>
On Mon, 3 Aug 2015 11:35:47 -0700
Randy Dunlap <rdunlap@infradead.org> wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
>
> 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 <rdunlap@infradead.org>
Acked-by: Christian Gromm <christian.gromm@microchip.com>
> Cc: Christian Gromm <christian.gromm@microchip.com>
> ---
> 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.
>
prev parent reply other threads:[~2015-08-03 18:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-03 18:35 Randy Dunlap
2015-08-03 18:40 ` Christian Gromm [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150803204030.4bbcc41d@clu.mchp-main.com \
--to=christian.gromm@microchip.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rdunlap@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®