Skip to contentSkip to conversation

VIDEO_CX88_ALSA must select SND_PCM

PATCH Applied Adrian Bunk 2 participants 2 messages Jan 19, 2006 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 -->

drivers/media/video/cx88/Kconfig renamed from drivers/media/video/cx88/Kconfig.old +1 -0
@@ -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.
#1 lore raw
Quoted 3 lines · Adrian Bunk

This patch fixes the following compile error:
<-- snip -->

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