public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [linux-dvb] radio-mr800.o -  Error 1
  2008-10-11  7:47   ` Goga777
@ 2008-10-09 17:04     ` Douglas Schilling Landgraf
  0 siblings, 0 replies; 5+ messages in thread
From: Douglas Schilling Landgraf @ 2008-10-09 17:04 UTC (permalink / raw)
  To: Goga777; +Cc: Alexey Klimov, linux-dvb

Hello Goga,

On Sat, 11 Oct 2008 11:47:52 +0400
Goga777 <goga777@bk.ru> wrote:

> Приветствую, Andy
> > 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
> 
> I tried to disable this module in v4l/versions.txt
> 
> # Use this for stuff for drivers that don't compile
> [2.6.99]
> USB_MR800
> radio-mr800
> 
> 
> but it doesn't help too

If you prefer, use bellow patch to solve your issue:
http://linuxtv.org/hg/~dougsland/radio-mr800/rev/3864666a0daf

Thanks,
Douglas

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [linux-dvb] radio-mr800.o -  Error 1
@ 2008-10-10 18:47 Goga777
  2008-10-10 21:49 ` Andy Walls
  0 siblings, 1 reply; 5+ messages in thread
From: Goga777 @ 2008-10-10 18:47 UTC (permalink / raw)
  To: linux-dvb

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

Goga


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-dvb] radio-mr800.o -  Error 1
  2008-10-10 18:47 [linux-dvb] radio-mr800.o - Error 1 Goga777
@ 2008-10-10 21:49 ` Andy Walls
  2008-10-11  7:47   ` Goga777
  2008-10-11  7:48   ` Goga777
  0 siblings, 2 replies; 5+ messages in thread
From: Andy Walls @ 2008-10-10 21:49 UTC (permalink / raw)
  To: linux-dvb

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



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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-dvb] radio-mr800.o -  Error 1
  2008-10-10 21:49 ` Andy Walls
@ 2008-10-11  7:47   ` Goga777
  2008-10-09 17:04     ` Douglas Schilling Landgraf
  2008-10-11  7:48   ` Goga777
  1 sibling, 1 reply; 5+ messages in thread
From: Goga777 @ 2008-10-11  7:47 UTC (permalink / raw)
  To: linux-dvb

Приветствую, Andy
> 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

I tried to disable this module in v4l/versions.txt

# Use this for stuff for drivers that don't compile
[2.6.99]
USB_MR800
radio-mr800


but it doesn't help too

Goga





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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-dvb] radio-mr800.o -  Error 1
  2008-10-10 21:49 ` Andy Walls
  2008-10-11  7:47   ` Goga777
@ 2008-10-11  7:48   ` Goga777
  1 sibling, 0 replies; 5+ messages in thread
From: Goga777 @ 2008-10-11  7:48 UTC (permalink / raw)
  To: linux-dvb

Приветствую, Andy
> 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


no, it doesn't help me


goga:/usr/src/s2# mv v4l/.config v4l/.config.bak
goga:/usr/src/s2# sed -e 's/^CONFIG_USB_MR800/# CONFIG_USB_MR800/' v4l/.config.bak > v4l/.config
goga:/usr/src/s2# make
make -C /usr/src/s2/v4l
make[1]: Entering directory `/usr/src/s2/v4l'
./scripts/make_myconfig.pl
make[1]: Leaving directory `/usr/src/s2/v4l'
make[1]: Entering directory `/usr/src/s2/v4l'
perl scripts/make_config_compat.pl /lib/modules/2.6.22-2-686/build ./.myconfig ./config-compat.h
creating symbolic links...
Kernel build directory is /lib/modules/2.6.22-2-686/build
make -C /lib/modules/2.6.22-2-686/build SUBDIRS=/usr/src/s2/v4l  modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.22-2-686'
  CC [M]  /usr/src/s2/v4l/tuner-xc2028.o
  CC [M]  /usr/src/s2/v4l/tuner-simple.o
  CC [M]  /usr/src/s2/v4l/tuner-types.o

[skip]

  CC [M]  /usr/src/s2/v4l/radio-aimslab.o
  CC [M]  /usr/src/s2/v4l/radio-zoltrix.o
  CC [M]  /usr/src/s2/v4l/radio-gemtek.o
  CC [M]  /usr/src/s2/v4l/radio-gemtek-pci.o
  CC [M]  /usr/src/s2/v4l/radio-trust.o
  CC [M]  /usr/src/s2/v4l/radio-maestro.o
  CC [M]  /usr/src/s2/v4l/dsbr100.o
  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
goga:/usr/src/s2# 



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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-10-11 16:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-10 18:47 [linux-dvb] radio-mr800.o - Error 1 Goga777
2008-10-10 21:49 ` Andy Walls
2008-10-11  7:47   ` Goga777
2008-10-09 17:04     ` Douglas Schilling Landgraf
2008-10-11  7:48   ` Goga777

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox