Skip to contentSkip to conversation

Compiling mantis-5292a47772ad

linux-dvb Magnus Nilsson 2 participants 2 messages Feb 25, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hello,

I'm trying to compile mantis-5292a47772ad under 2.6.28.7 (have tried this under 2.6.28.5 and 2.6.24 (which I'm currently running) with same results).

The error I'm getting is:

[root@mythbox /usr/local/src/mantis-5292a47772ad]# make all
*snip*
CC [M] /usr/local/src/mantis-5292a47772ad/v4l/saa7134-alsa.o
/usr/local/src/mantis-5292a47772ad/v4l/saa7134-alsa.c: In function 'snd_card_saa7134_hw_params':
/usr/local/src/mantis-5292a47772ad/v4l/saa7134-alsa.c:496: error: implicit declaration of function 'snd_assert' /usr/local/src/mantis-5292a47772ad/v4l/saa7134-alsa.c:497: error: expected expression before 'return' /usr/local/src/mantis-5292a47772ad/v4l/saa7134-alsa.c:498: error: expected expression before 'return' /usr/local/src/mantis-5292a47772ad/v4l/saa7134-alsa.c:499: error: expected expression before 'return' /usr/local/src/mantis-5292a47772ad/v4l/saa7134-alsa.c: In function 'snd_card_saa7134_new_mixer':
/usr/local/src/mantis-5292a47772ad/v4l/saa7134-alsa.c:950: error: expected expression before 'return' make[3]: *** [/usr/local/src/mantis-5292a47772ad/v4l/saa7134-alsa.o] Error 1
make[2]: *** [_module_/usr/local/src/mantis-5292a47772ad/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.28.7'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/usr/local/src/mantis-5292a47772ad/v4l'
make: *** [all] Error 2
*snip*

I'm not quite sure which version of the mantis driver I'm using now, but it's at least from september 2008. I'm running this under Debian lenny, with a VP-2040 and a Terratec Cinergy 1200C.

Thanks,
Magnus

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead [email protected] [email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#1 lore raw

Hi,

Am Mittwoch, den 25.02.2009, 22:57 +0100 schrieb Magnus Nilsson:

Quoted 26 lines

Hello,

I'm trying to compile mantis-5292a47772ad under 2.6.28.7 (have tried this under 2.6.28.5 and 2.6.24 (which I'm currently running) with same results).

The error I'm getting is:

[root@mythbox /usr/local/src/mantis-5292a47772ad]# make all
*snip*
CC [M] /usr/local/src/mantis-5292a47772ad/v4l/saa7134-alsa.o
/usr/local/src/mantis-5292a47772ad/v4l/saa7134-alsa.c: In function 'snd_card_saa7134_hw_params':
/usr/local/src/mantis-5292a47772ad/v4l/saa7134-alsa.c:496: error: implicit declaration of function 'snd_assert' /usr/local/src/mantis-5292a47772ad/v4l/saa7134-alsa.c:497: error: expected expression before 'return' /usr/local/src/mantis-5292a47772ad/v4l/saa7134-alsa.c:498: error: expected expression before 'return' /usr/local/src/mantis-5292a47772ad/v4l/saa7134-alsa.c:499: error: expected expression before 'return' /usr/local/src/mantis-5292a47772ad/v4l/saa7134-alsa.c: In function 'snd_card_saa7134_new_mixer':
/usr/local/src/mantis-5292a47772ad/v4l/saa7134-alsa.c:950: error: expected expression before 'return' make[3]: *** [/usr/local/src/mantis-5292a47772ad/v4l/saa7134-alsa.o] Error 1
make[2]: *** [_module_/usr/local/src/mantis-5292a47772ad/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.28.7'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/usr/local/src/mantis-5292a47772ad/v4l'
make: *** [all] Error 2
*snip*

Quoted 7 lines

I'm not quite sure which version of the mantis driver I'm using now, but it's at least from september 2008. I'm running this under Debian lenny, with a VP-2040 and a Terratec Cinergy 1200C.

Thanks,
Magnus

at least this kernel backport patch is missing.
http://linuxtv.org/hg/v4l-dvb/rev/b4d664a2592a

But you can also simply disable saa7134-alsa dma sound support in make xconfig/menuconfig etc.

Cheers,
Hermann