[linux-dvb] Problem building newest DVB Drivers

2007-09-10 Thread Dennis Schwan
Hi,

i wanted to install the newest DVB-drivers but during the make i get an 
error (running ubuntu dapper):

|CC [M]  /usr/src/v4l-dvb/v4l/cx88-alsa.o
/usr/src/v4l-dvb/v4l/cx88-alsa.c:42:23: error: sound/tlv.h: No such file or 
directory 

/usr/src/v4l-dvb/v4l/cx88-alsa.c:662: error: syntax error before '-' token
/usr/src/v4l-dvb/v4l/cx88-alsa.c:662: warning: type defaults to 'int' in 
declaration of 'DECLARE_TLV_DB_SCALE' 

/usr/src/v4l-dvb/v4l/cx88-alsa.c:662: warning: function declaration isn't a 
prototype 

/usr/src/v4l-dvb/v4l/cx88-alsa.c:662: warning: type qualifiers ignored on 
function return type 

/usr/src/v4l-dvb/v4l/cx88-alsa.c:667: error: 'SNDRV_CTL_ELEM_ACCESS_TLV_READ' 
undeclared here (not in a function) 

/usr/src/v4l-dvb/v4l/cx88-alsa.c:672: error: unknown field 'tlv' specified in 
initializer 

/usr/src/v4l-dvb/v4l/cx88-alsa.c:672: error: 'snd_cx88_db_scale' undeclared 
here (not in a function) 

make[3]: *** [/usr/src/v4l-dvb/v4l/cx88-alsa.o] Error 1
make[2]: *** [_module_/usr/src/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.15-26-server'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/usr/src/v4l-dvb/v4l'
make: *** [all] Error 2

Regards,
Dennis
|

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] Problem building newest DVB Drivers

2007-09-10 Thread Michael Krufky
Dennis Schwan wrote:
 Hi,
 
 i wanted to install the newest DVB-drivers but during the make i get an 
 error (running ubuntu dapper):
 
 |CC [M]  /usr/src/v4l-dvb/v4l/cx88-alsa.o
 /usr/src/v4l-dvb/v4l/cx88-alsa.c:42:23: error: sound/tlv.h: No such file or 
 directory 
 
 /usr/src/v4l-dvb/v4l/cx88-alsa.c:662: error: syntax error before '-' token
 /usr/src/v4l-dvb/v4l/cx88-alsa.c:662: warning: type defaults to 'int' in 
 declaration of 'DECLARE_TLV_DB_SCALE' 
 
 /usr/src/v4l-dvb/v4l/cx88-alsa.c:662: warning: function declaration isn't a 
 prototype 
 
 /usr/src/v4l-dvb/v4l/cx88-alsa.c:662: warning: type qualifiers ignored on 
 function return type 
 
 /usr/src/v4l-dvb/v4l/cx88-alsa.c:667: error: 'SNDRV_CTL_ELEM_ACCESS_TLV_READ' 
 undeclared here (not in a function) 
 
 /usr/src/v4l-dvb/v4l/cx88-alsa.c:672: error: unknown field 'tlv' specified in 
 initializer 
 
 /usr/src/v4l-dvb/v4l/cx88-alsa.c:672: error: 'snd_cx88_db_scale' undeclared 
 here (not in a function) 
 
 make[3]: *** [/usr/src/v4l-dvb/v4l/cx88-alsa.o] Error 1
 make[2]: *** [_module_/usr/src/v4l-dvb/v4l] Error 2
 make[2]: Leaving directory `/usr/src/linux-headers-2.6.15-26-server'
 make[1]: *** [default] Error 2
 make[1]: Leaving directory `/usr/src/v4l-dvb/v4l'
 make: *** [all] Error 2
 

Dennis,

Kernel backwards compat has been broken in the master branch against older 
kernels...  Until it's fixed, you can use one of my devel trees, which still 
builds fine against older kernels...

Instead, try:

http://linuxtv.org/hg/~mkrufky/dvb-pll

You shouldn't have any problems there.

Cheers,

Mike

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb