[linux-dvb] Attempting to compile the saa7134-alsa module

John Chajecki John.Chajecki at leicester.gov.uk
Tue Aug 12 16:47:14 CEST 2008


I'm trying to compile the saa7134-alsa module that comes with the v4l-dvb drivers. In order to get it to compile I've had to tag it to the end of the saa7134-onjs list in the Makefile resident in the saa7134 direcorty like this:

saa7134-objs := saa7134-cards.o saa7134-core.o saa7134-i2c.o    \
                saa7134-ts.o saa7134-tvaudio.o saa7134-vbi.o    \
                saa7134-video.o saa7134-input.o saa7134-alsa.o

I'm running make, I'm getting the folowing error:

root at tinman:/home/john/Src/v4l-dvb# make
make -C /home/john/Src/v4l-dvb/v4l
make[1]: Entering directory `/home/john/Src/v4l-dvb/v4l'
creating symbolic links...
Kernel build directory is /lib/modules/2.6.24-19-generic/build
make -C /lib/modules/2.6.24-19-generic/build SUBDIRS=/home/john/Src/v4l-dvb/v4l  modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic'
  LD [M]  /home/john/Src/v4l-dvb/v4l/saa7134.o
/home/john/Src/v4l-dvb/v4l/saa7134-alsa.o: In function `saa7134_alsa_init':
/home/john/Src/v4l-dvb/v4l/saa7134-alsa.c:1083: multiple definition of `init_module'
/home/john/Src/v4l-dvb/v4l/saa7134-core.o:/home/john/Src/v4l-dvb/v4l/saa7134-core.c:1346: first defined here
/home/john/Src/v4l-dvb/v4l/saa7134-alsa.o: In function `saa7134_alsa_exit':
/home/john/Src/v4l-dvb/v4l/saa7134-alsa.c:1109: multiple definition of `cleanup_module'
/home/john/Src/v4l-dvb/v4l/saa7134-core.o:/home/john/Src/v4l-dvb/v4l/saa7134-core.c:1361: first defined here
make[3]: *** [/home/john/Src/v4l-dvb/v4l/saa7134.o] Error 1
make[2]: *** [_module_/home/john/Src/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/john/Src/v4l-dvb/v4l'
make: *** [all] Error 2

I'm tring to get the saa7134-alsa compiled because, although the other modules are compiling, the alsa module is not so when I'm doing a modproble saa7134 I'm getting as follows in dmesg:

[108767.374805] saa7133[0]: registered device video0 [v4l2]
[108767.374831] saa7133[0]: registered device vbi0
[108767.396356] saa7134_alsa: disagrees about version of symbol saa7134_tvaudio_setmute
[108767.396363] saa7134_alsa: Unknown symbol saa7134_tvaudio_setmute
[108767.396512] saa7134_alsa: disagrees about version of symbol saa_dsp_writel
[108767.396515] saa7134_alsa: Unknown symbol saa_dsp_writel
[108767.396684] saa7134_alsa: disagrees about version of symbol videobuf_dma_free
[108767.396686] saa7134_alsa: Unknown symbol videobuf_dma_free
[108767.396884] saa7134_alsa: disagrees about version of symbol saa7134_pgtable_alloc
[108767.396887] saa7134_alsa: Unknown symbol saa7134_pgtable_alloc
[108767.396934] saa7134_alsa: disagrees about version of symbol saa7134_pgtable_build
[108767.396937] saa7134_alsa: Unknown symbol saa7134_pgtable_build
[108767.396975] saa7134_alsa: disagrees about version of symbol saa7134_pgtable_free
[108767.396978] saa7134_alsa: Unknown symbol saa7134_pgtable_free
[108767.397016] saa7134_alsa: disagrees about version of symbol saa7134_dmasound_init
[108767.397019] saa7134_alsa: Unknown symbol saa7134_dmasound_init
[108767.397154] saa7134_alsa: disagrees about version of symbol saa7134_dmasound_exit
[108767.397156] saa7134_alsa: Unknown symbol saa7134_dmasound_exit
[108767.397252] saa7134_alsa: disagrees about version of symbol videobuf_dma_init
[108767.397255] saa7134_alsa: Unknown symbol videobuf_dma_init
[108767.397399] saa7134_alsa: disagrees about version of symbol videobuf_dma_init_kernel
[108767.397402] saa7134_alsa: Unknown symbol videobuf_dma_init_kernel
[108767.397518] saa7134_alsa: Unknown symbol videobuf_pci_dma_unmap
[108767.397661] saa7134_alsa: Unknown symbol videobuf_pci_dma_map
[108767.397706] saa7134_alsa: disagrees about version of symbol saa7134_set_dmabits
[108767.397709] saa7134_alsa: Unknown symbol saa7134_set_dmabits
[108767.411034] saa7133[0]/dvb: Huh? unknown DVB card?
[108767.411040] saa7133[0]/dvb: frontend initialization failed




More information about the linux-dvb mailing list