[linux-dvb] [ERROR] New Alsa misses snd_assert macro

Sebastian Marskamp SebastianMarskamp at web.de
Mon Oct 20 14:47:44 CEST 2008


When you try to build a driver for a dvb-t device which uses the  afatech 9015 chip, and maybe for others too  , you will get an error,cos  in alsa  1.0.18 , snd_assert macro is replaced by a snd_BUG_ON , which needs diffrent paramters .


make[2]: Entering directory `/usr/src/linux-2.6.27-desktop586-0.rc8.2mnb'
CC [M] /home/dosenpfand/af9015/v4l/saa7134-alsa.o
/home/dosenpfand/af9015/v4l/saa7134-alsa.c: In function 'snd_card_saa7134_hw_params':
/home/dosenpfand/af9015/v4l/saa7134-alsa.c:496: error: implicit declaration of function 'snd_assert'
/home/dosenpfand/af9015/v4l/saa7134-alsa.c:497: error: expected expression before 'return'
/home/dosenpfand/af9015/v4l/saa7134-alsa.c:498: error: expected expression before 'return'
/home/dosenpfand/af9015/v4l/saa7134-alsa.c:499: error: expected expression before 'return'
/home/dosenpfand/af9015/v4l/saa7134-alsa.c: In function 'snd_card_saa7134_new_mixer':
/home/dosenpfand/af9015/v4l/saa7134-alsa.c:950: error: expected expression before 'return'
make[3]: *** [/home/dosenpfand/af9015/v4l/saa7134-alsa.o] Error 1
make[2]: *** [_module_/home/dosenpfand/af9015/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.27-desktop586-0.rc8.2mnb'
make[1]: *** [default] Fehler 2
make[1]: Leaving directory `/home/dosenpfand/af9015/v4l'
make: *** [all] Fehler 2 
__________________________________________________________________________
Verschicken Sie SMS direkt vom Postfach aus - in alle deutschen und viele 
ausländische Netze zum gleichen Preis! 
https://produkte.web.de/webde_sms/sms






More information about the linux-dvb mailing list