2006-01-19 01:21:24

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] VIDEO_CX88_ALSA must select SND_PCM

This patch fixes the following compile error:

<-- snip -->

...
LD .tmp_vmlinux1
drivers/built-in.o: In function `snd_cx88_pcm_open':cx88-alsa.c:(.text+0x43f87a): undefined reference to 'snd_pcm_hw_constraint_integer'
drivers/built-in.o: In function `snd_cx88_hw_params':cx88-alsa.c:(.text+0x43f9e7): undefined reference to `snd_pcm_format_physical_width'
drivers/built-in.o: In function `cx8801_irq':cx88-alsa.c:(.text+0x43ff1f): undefined reference to `snd_pcm_period_elapsed'
drivers/built-in.o: In function `cx88_audio_initdev':cx88-alsa.c:(.text+0x440158): undefined reference to `snd_pcm_new':cx88-alsa.c:(.text+0x440194): undefined reference to `snd_pcm_set_ops'
drivers/built-in.o:(.data+0xa6f88): undefined reference to `snd_pcm_lib_ioctl'
make: *** [.tmp_vmlinux1] Error 1

<-- snip -->


Signed-off-by: Adrian Bunk <[email protected]>

--- linux-2.6.16-rc1-mm1-full/drivers/media/video/cx88/Kconfig.old 2006-01-19 01:58:39.000000000 +0100
+++ linux-2.6.16-rc1-mm1-full/drivers/media/video/cx88/Kconfig 2006-01-19 01:58:51.000000000 +0100
@@ -32,6 +32,7 @@
config VIDEO_CX88_ALSA
tristate "ALSA DMA audio support"
depends on VIDEO_CX88 && SND && EXPERIMENTAL
+ select SND_PCM
---help---
This is a video4linux driver for direct (DMA) audio on
Conexant 2388x based TV cards.


2006-01-19 03:24:22

by Michael Krufky

[permalink] [raw]
Subject: Re: [2.6 patch] VIDEO_CX88_ALSA must select SND_PCM

On 1/18/06, Adrian Bunk <[email protected]> wrote:
> This patch fixes the following compile error:
> <-- snip -->
> Signed-off-by: Adrian Bunk <[email protected]>

Adrian-

I've applied this to our cvs tree. Mauro will apply it to v4l-dvb.git
with his first round of bugfix commits.

Thanks,

Michael