All of lore.kernel.org
 help / color / mirror / Atom feed
* W.: v4l-dvb won't compile with new version
       [not found] <12645682.1235740797539.JavaMail.ngmail@webmail10.arcor-online.net>
@ 2009-02-27 13:22 ` schollsky
  2009-02-27 13:41   ` Hans Verkuil
  0 siblings, 1 reply; 3+ messages in thread
From: schollsky @ 2009-02-27 13:22 UTC (permalink / raw)
  To: linux-media

Hi there,

this I get when trying to compile latest mercurial .tar.gz:

/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c: In function 'tvmixer_ioctl':
/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:78: error: storage size of 'va' isn't known
/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:114: error: 'VIDIOCGAUDIO' undeclared (first use in this function)
/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:114: error: (Each undeclared identifier is reported only once
/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:114: error: for each function it appears in.)
/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:129: error: 'VIDEO_AUDIO_BASS' undeclared (first use in this function)
/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:131: error: 'VIDEO_AUDIO_TREBLE' undeclared (first use in this function)
/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:142: error: 'VIDEO_AUDIO_MUTE' undeclared (first use in this function)
/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:143: error: 'VIDIOCSAUDIO' undeclared (first use in this function)
/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:147: warning: type defaults to 'int' in declaration of '_min1'
/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:149: warning: type defaults to 'int' in declaration of '_min1'
/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:149: warning: comparison of distinct pointer types lacks a cast
/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:78: warning: unused variable 'va'
/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c: In function 'tvmixer_clients':
/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:254: error: storage size of 'va' isn't known
/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:286: error: 'VIDIOCGAUDIO' undeclared (first use in this function)
/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:288: error: 'VIDEO_AUDIO_VOLUME' undeclared (first use in this function)
/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:254: warning: unused variable 'va'
make[3]: *** [/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.o] Error 1
make[2]: *** [_module_/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.29-desktop-0.rc6.1.1mnb'
make[1]: *** [default] Fehler 2
make[1]: Leaving directory `/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l'
make: *** [all] Fehler 2

Any hints please?


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

* Re: W.: v4l-dvb won't compile with new version
  2009-02-27 13:22 ` W.: v4l-dvb won't compile with new version schollsky
@ 2009-02-27 13:41   ` Hans Verkuil
  2009-02-27 15:39     ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Verkuil @ 2009-02-27 13:41 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: schollsky, linux-media

On Friday 27 February 2009 14:22:15 schollsky@arcor.de wrote:
> Hi there,
>
> this I get when trying to compile latest mercurial .tar.gz:
>
> /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c: In function
> 'tvmixer_ioctl':
> /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:78: error: storage
> size of 'va' isn't known
> /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:114: error:
> 'VIDIOCGAUDIO' undeclared (first use in this function)
> /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:114: error: (Each
> undeclared identifier is reported only once
> /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:114: error: for
> each function it appears in.)
> /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:129: error:
> 'VIDEO_AUDIO_BASS' undeclared (first use in this function)
> /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:131: error:
> 'VIDEO_AUDIO_TREBLE' undeclared (first use in this function)
> /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:142: error:
> 'VIDEO_AUDIO_MUTE' undeclared (first use in this function)
> /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:143: error:
> 'VIDIOCSAUDIO' undeclared (first use in this function)
> /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:147: warning: type
> defaults to 'int' in declaration of '_min1'
> /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:149: warning: type
> defaults to 'int' in declaration of '_min1'
> /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:149: warning:
> comparison of distinct pointer types lacks a cast
> /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:78: warning: unused
> variable 'va' /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c: In
> function 'tvmixer_clients':
> /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:254: error: storage
> size of 'va' isn't known
> /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:286: error:
> 'VIDIOCGAUDIO' undeclared (first use in this function)
> /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:288: error:
> 'VIDEO_AUDIO_VOLUME' undeclared (first use in this function)
> /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:254: warning:
> unused variable 'va' make[3]: ***
> [/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.o] Error 1 make[2]:
> *** [_module_/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.6.29-desktop-0.rc6.1.1mnb'
> make[1]: *** [default] Fehler 2
> make[1]: Leaving directory `/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l'
> make: *** [all] Fehler 2
>
> Any hints please?

Run 'make menuconfig' and disable this driver (should be in 'Audio devices 
for multimedia'). It's pointless for 2.6.29 anyway.

Mauro, I suggest we drop this driver altogether from our tree. The 
SOUND_TVMIXER config was removed from kernel 2.6.23 onwards (and the actual 
source from 2.6.25 onwards), it uses oss instead of alsa, assumes v4l1 i2c 
modules and it's never going to work with the new i2c API.

I actually thought it was removed already...

Regards,

	Hans

-- 
Hans Verkuil - video4linux developer - sponsored by TANDBERG

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

* Re: W.: v4l-dvb won't compile with new version
  2009-02-27 13:41   ` Hans Verkuil
@ 2009-02-27 15:39     ` Mauro Carvalho Chehab
  0 siblings, 0 replies; 3+ messages in thread
From: Mauro Carvalho Chehab @ 2009-02-27 15:39 UTC (permalink / raw)
  To: Hans Verkuil; +Cc: schollsky, linux-media

On Fri, 27 Feb 2009 14:41:20 +0100
Hans Verkuil <hverkuil@xs4all.nl> wrote:

> On Friday 27 February 2009 14:22:15 schollsky@arcor.de wrote:
> > Hi there,
> >
> > this I get when trying to compile latest mercurial .tar.gz:
> >
> > /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c: In function
> > 'tvmixer_ioctl':
> > /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:78: error: storage
> > size of 'va' isn't known
> > /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:114: error:
> > 'VIDIOCGAUDIO' undeclared (first use in this function)
> > /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:114: error: (Each
> > undeclared identifier is reported only once
> > /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:114: error: for
> > each function it appears in.)
> > /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:129: error:
> > 'VIDEO_AUDIO_BASS' undeclared (first use in this function)
> > /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:131: error:
> > 'VIDEO_AUDIO_TREBLE' undeclared (first use in this function)
> > /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:142: error:
> > 'VIDEO_AUDIO_MUTE' undeclared (first use in this function)
> > /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:143: error:
> > 'VIDIOCSAUDIO' undeclared (first use in this function)
> > /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:147: warning: type
> > defaults to 'int' in declaration of '_min1'
> > /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:149: warning: type
> > defaults to 'int' in declaration of '_min1'
> > /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:149: warning:
> > comparison of distinct pointer types lacks a cast
> > /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:78: warning: unused
> > variable 'va' /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c: In
> > function 'tvmixer_clients':
> > /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:254: error: storage
> > size of 'va' isn't known
> > /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:286: error:
> > 'VIDIOCGAUDIO' undeclared (first use in this function)
> > /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:288: error:
> > 'VIDEO_AUDIO_VOLUME' undeclared (first use in this function)
> > /home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.c:254: warning:
> > unused variable 'va' make[3]: ***
> > [/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l/tvmixer.o] Error 1 make[2]:
> > *** [_module_/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l] Error 2
> > make[2]: Leaving directory `/usr/src/linux-2.6.29-desktop-0.rc6.1.1mnb'
> > make[1]: *** [default] Fehler 2
> > make[1]: Leaving directory `/home/stefan/Linux/v4l-dvb-60389ff5e931/v4l'
> > make: *** [all] Fehler 2
> >
> > Any hints please?
> 
> Run 'make menuconfig' and disable this driver (should be in 'Audio devices 
> for multimedia'). It's pointless for 2.6.29 anyway.
> 
> Mauro, I suggest we drop this driver altogether from our tree. The 
> SOUND_TVMIXER config was removed from kernel 2.6.23 onwards (and the actual 
> source from 2.6.25 onwards), it uses oss instead of alsa, assumes v4l1 i2c 
> modules and it's never going to work with the new i2c API.
> 
> I actually thought it was removed already...

Yes, we should remove it from our tree. I'll write the patch removing the
legacy OSS drivers from our tree.

Cheers,
Mauro

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

end of thread, other threads:[~2009-02-27 15:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <12645682.1235740797539.JavaMail.ngmail@webmail10.arcor-online.net>
2009-02-27 13:22 ` W.: v4l-dvb won't compile with new version schollsky
2009-02-27 13:41   ` Hans Verkuil
2009-02-27 15:39     ` Mauro Carvalho Chehab

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.