[linux-dvb] radio-mr800.o - Error 1

Andy Walls awalls at radix.net
Fri Oct 10 23:49:57 CEST 2008


On Fri, 2008-10-10 at 22:47 +0400, Goga777 wrote:
> Hi
> 
> I can't compile the s2api from http://linuxtv.org/hg/~stoth/s2/
> there's some problem with radio-mr800 module
> 
>   CC [M]  /usr/src/s2/v4l/radio-si470x.o
>   CC [M]  /usr/src/s2/v4l/radio-mr800.o
> /usr/src/s2/v4l/radio-mr800.c:148: warning: implicit declaration of function 'USB_DEVICE_AND_INTERFACE_INFO'
> /usr/src/s2/v4l/radio-mr800.c:149: error: initializer element is not constant
> /usr/src/s2/v4l/radio-mr800.c:149: error: (near initialization for 'usb_amradio_device_table[0].match_flags')
> /usr/src/s2/v4l/radio-mr800.c:162: error: unknown field 'reset_resume' specified in initializer
> /usr/src/s2/v4l/radio-mr800.c:162: warning: initialization from incompatible pointer type
> make[3]: *** [/usr/src/s2/v4l/radio-mr800.o] Error 1
> make[2]: *** [_module_/usr/src/s2/v4l] Error 2
> make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-2-686'
> make[1]: *** [default] Ошибка 2
> make[1]: Leaving directory `/usr/src/s2/v4l'
> make: *** [all] Ошибка 2
> 
> 
> 
> BTW - how can I disable the compilation for this module , because I don't have this device

I think this should work:

$ cd /usr/src/s2
$ mv v4l/.config v4l/.config.bak
$ sed -e 's/^CONFIG_USB_MR800/# CONFIG_USB_MR800/' v4l/.config.bak > v4l/.config


Regards,
Andy

> Goga





More information about the linux-dvb mailing list