* Problem compiling zr36120 on kernel2.6.12-r5-mm2
@ 2005-06-01 14:07 Mauro Carvalho Chehab
2005-06-01 18:49 ` Alex Deucher
0 siblings, 1 reply; 3+ messages in thread
From: Mauro Carvalho Chehab @ 2005-06-01 14:07 UTC (permalink / raw)
To: Andrew Morton, Linux and Kernel Video, linux-kernel
Andrew,
Trying to compile all multimedia video devices on kernel
2.6.12-r5-mm2 gives an error on zr36120.c. It looks like it uses an old
i2c spec (it tries to include linux/i2c-old.h). It also includes tuner.h
from wrong directory (it uses "tuner.h", instead <media/tuner.h>).
One interesting thing is that this board is not present on
video4linux CVS.
------------------
CC [M] drivers/media/video/zr36120.o
In file included from drivers/media/video/zr36120.c:42:
include/media/tuner.h:148: error: field `i2c' has incomplete type
include/media/tuner.h:154: error: syntax error before "v4l2_std_id"
include/media/tuner.h:154: warning: no semicolon at end of struct or union
include/media/tuner.h:173: error: syntax error before '}' token
In file included from drivers/media/video/zr36120.c:43:
drivers/media/video/zr36120.h:29:27: linux/i2c-old.h: No such file or
directory
In file included from drivers/media/video/zr36120.c:43:
drivers/media/video/zr36120.h:101: error: field `i2c' has incomplete type
drivers/media/video/zr36120.c: In function `zoran_muxsel':
drivers/media/video/zr36120.c:389: warning: implicit declaration of
function `i2c_control_device'
drivers/media/video/zr36120.c:389: error: `I2C_DRIVERID_VIDEODECODER'
undeclared (first use in this function)
drivers/media/video/zr36120.c:389: error: (Each undeclared identifier is
reported only once
drivers/media/video/zr36120.c:389: error: for each function it appears in.)
drivers/media/video/zr36120.c: In function `zoran_common_open':
drivers/media/video/zr36120.c:735: error: `I2C_DRIVERID_VIDEODECODER'
undeclared (first use in this function)
drivers/media/video/zr36120.c: In function `zoran_ioctl':
drivers/media/video/zr36120.c:1159: error: `I2C_DRIVERID_VIDEODECODER'
undeclared (first use in this function)
drivers/media/video/zr36120.c:1432: error: `I2C_DRIVERID_TUNER'
undeclared (first use
in this function)
drivers/media/video/zr36120.c: At top level:
drivers/media/video/zr36120.c:1489: error: unknown field `open'
specified in initia
lizer
drivers/media/video/zr36120.c:1489: warning: initialization makes
integer from pointer without a cast
drivers/media/video/zr36120.c:1490: error: unknown field `close'
specified in initiali
zer
drivers/media/video/zr36120.c:1490: warning: initialization from
incompatible pointer type
drivers/media/video/zr36120.c:1491: error: unknown field `read'
specified in initializ
er
drivers/media/video/zr36120.c:1491: warning: initialization from
incompatible pointer type
drivers/media/video/zr36120.c:1492: error: unknown field `write'
specified in initiali
zer
drivers/media/video/zr36120.c:1492: warning: initialization from
incompatible pointer type
drivers/media/video/zr36120.c:1493: error: unknown field `poll'
specified in initializ
er
drivers/media/video/zr36120.c:1494: error: unknown field `ioctl'
specified in initiali
zer
drivers/media/video/zr36120.c:1494: warning: initialization makes
integer from pointer without a cast
drivers/media/video/zr36120.c:1495: error: unknown field `mmap'
specified in initializ
er
drivers/media/video/zr36120.c:1495: warning: missing braces around
initializer
drivers/media/video/zr36120.c:1495: warning: (near initialization for
`zr36120_template.lock
')
drivers/media/video/zr36120.c:1495: warning: initialization makes
integer from pointer without a cast
drivers/media/video/zr36120.c: In function `vbi_read':
drivers/media/video/zr36120.c:1722: error: invalid type argument of
`unary *'
drivers/media/video/zr36120.c:1722: error: invalid type argument of
`unary *'
drivers/media/video/zr36120.c:1722: warning: type defaults to `int' in
declaration of `
type name'
drivers/media/video/zr36120.c:1722: error: invalid type argument of
`unary *'
drivers/media/video/zr36120.c:1722: warning: type defaults to `int' in
declaration of `
type name'
drivers/media/video/zr36120.c:1722: error: invalid type argument of
`unary *'
drivers/media/video/zr36120.c:1722: warning: type defaults to `int' in
declaration of `type name'
drivers/media/video/zr36120.c:1722: error: invalid type argument of
`unary *'
drivers/media/video/zr36120.c:1722: error: invalid type argument of
`unary *'
drivers/media/video/zr36120.c:1722: warning: type defaults to `int' in
declaration of `type name'
drivers/media/video/zr36120.c:1722: warning: type defaults to `int' in
declaration of `type name'
drivers/media/video/zr36120.c: At top level:
drivers/media/video/zr36120.c:1821: error: unknown field `open'
specified in initia
lizer
drivers/media/video/zr36120.c:1821: warning: initialization makes
integer from pointer without a cast
drivers/media/video/zr36120.c:1822: error: unknown field `close'
specified in initializer
drivers/media/video/zr36120.c:1822: warning: initialization from
incompatible pointer type
drivers/media/video/zr36120.c:1823: error: unknown field `read'
specified in initializer
drivers/media/video/zr36120.c:1823: warning: initialization from
incompatible pointer type
drivers/media/video/zr36120.c:1824: error: unknown field `write'
specified in initializer
drivers/media/video/zr36120.c:1824: warning: initialization from
incompatible pointer type
drivers/media/video/zr36120.c:1825: error: unknown field `poll'
specified in initializer
drivers/media/video/zr36120.c:1826: error: unknown field `ioctl'
specified in initializer
drivers/media/video/zr36120.c:1826: warning: initialization makes
integer from pointer without a cast
drivers/media/video/zr36120.c: In function `find_zoran':
drivers/media/video/zr36120.c:1861: warning: implicit declaration of
function `request_irq'
drivers/media/video/zr36120.c: In function `init_zoran':
drivers/media/video/zr36120.c:2001: warning: implicit declaration of
function `i2c_register_bus'
drivers/media/video/zr36120.c: In function `release_zoran':
drivers/media/video/zr36120.c:2032: warning: implicit declaration of
function `free_irq'
drivers/media/video/zr36120.c:2035: warning: implicit declaration of
function`i2c_unregister_bus'
make[3]: ** [drivers/media/video/zr36120.o] Erro 1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem compiling zr36120 on kernel2.6.12-r5-mm2
2005-06-01 14:07 Problem compiling zr36120 on kernel2.6.12-r5-mm2 Mauro Carvalho Chehab
@ 2005-06-01 18:49 ` Alex Deucher
2005-06-01 19:01 ` Ronald S. Bultje
0 siblings, 1 reply; 3+ messages in thread
From: Alex Deucher @ 2005-06-01 18:49 UTC (permalink / raw)
To: Linux and Kernel Video; +Cc: Andrew Morton, linux-kernel
The zoran stuff is supported by another project with their own source
tree. It may make sense to merge their latest code into v4l cvs, but
I don't know how they feel about that. The same can be said for the
ivtv stuff and other assorted v4l projects.
Alex
On 6/1/05, Mauro Carvalho Chehab <mchehab@brturbo.com.br> wrote:
> Andrew,
>
> Trying to compile all multimedia video devices on kernel
> 2.6.12-r5-mm2 gives an error on zr36120.c. It looks like it uses an old
> i2c spec (it tries to include linux/i2c-old.h). It also includes tuner.h
> from wrong directory (it uses "tuner.h", instead <media/tuner.h>).
>
> One interesting thing is that this board is not present on
> video4linux CVS.
>
> ------------------
>
> CC [M] drivers/media/video/zr36120.o
> In file included from drivers/media/video/zr36120.c:42:
> include/media/tuner.h:148: error: field `i2c' has incomplete type
> include/media/tuner.h:154: error: syntax error before "v4l2_std_id"
> include/media/tuner.h:154: warning: no semicolon at end of struct or union
> include/media/tuner.h:173: error: syntax error before '}' token
> In file included from drivers/media/video/zr36120.c:43:
> drivers/media/video/zr36120.h:29:27: linux/i2c-old.h: No such file or
> directory
> In file included from drivers/media/video/zr36120.c:43:
> drivers/media/video/zr36120.h:101: error: field `i2c' has incomplete type
> drivers/media/video/zr36120.c: In function `zoran_muxsel':
> drivers/media/video/zr36120.c:389: warning: implicit declaration of
> function `i2c_control_device'
> drivers/media/video/zr36120.c:389: error: `I2C_DRIVERID_VIDEODECODER'
> undeclared (first use in this function)
> drivers/media/video/zr36120.c:389: error: (Each undeclared identifier is
> reported only once
> drivers/media/video/zr36120.c:389: error: for each function it appears in.)
> drivers/media/video/zr36120.c: In function `zoran_common_open':
> drivers/media/video/zr36120.c:735: error: `I2C_DRIVERID_VIDEODECODER'
> undeclared (first use in this function)
> drivers/media/video/zr36120.c: In function `zoran_ioctl':
> drivers/media/video/zr36120.c:1159: error: `I2C_DRIVERID_VIDEODECODER'
> undeclared (first use in this function)
> drivers/media/video/zr36120.c:1432: error: `I2C_DRIVERID_TUNER'
> undeclared (first use
> in this function)
> drivers/media/video/zr36120.c: At top level:
> drivers/media/video/zr36120.c:1489: error: unknown field `open'
> specified in initia
> lizer
> drivers/media/video/zr36120.c:1489: warning: initialization makes
> integer from pointer without a cast
> drivers/media/video/zr36120.c:1490: error: unknown field `close'
> specified in initiali
> zer
> drivers/media/video/zr36120.c:1490: warning: initialization from
> incompatible pointer type
> drivers/media/video/zr36120.c:1491: error: unknown field `read'
> specified in initializ
> er
> drivers/media/video/zr36120.c:1491: warning: initialization from
> incompatible pointer type
> drivers/media/video/zr36120.c:1492: error: unknown field `write'
> specified in initiali
> zer
> drivers/media/video/zr36120.c:1492: warning: initialization from
> incompatible pointer type
> drivers/media/video/zr36120.c:1493: error: unknown field `poll'
> specified in initializ
> er
> drivers/media/video/zr36120.c:1494: error: unknown field `ioctl'
> specified in initiali
> zer
> drivers/media/video/zr36120.c:1494: warning: initialization makes
> integer from pointer without a cast
> drivers/media/video/zr36120.c:1495: error: unknown field `mmap'
> specified in initializ
> er
> drivers/media/video/zr36120.c:1495: warning: missing braces around
> initializer
> drivers/media/video/zr36120.c:1495: warning: (near initialization for
> `zr36120_template.lock
> ')
> drivers/media/video/zr36120.c:1495: warning: initialization makes
> integer from pointer without a cast
> drivers/media/video/zr36120.c: In function `vbi_read':
> drivers/media/video/zr36120.c:1722: error: invalid type argument of
> `unary *'
> drivers/media/video/zr36120.c:1722: error: invalid type argument of
> `unary *'
> drivers/media/video/zr36120.c:1722: warning: type defaults to `int' in
> declaration of `
> type name'
> drivers/media/video/zr36120.c:1722: error: invalid type argument of
> `unary *'
> drivers/media/video/zr36120.c:1722: warning: type defaults to `int' in
> declaration of `
> type name'
> drivers/media/video/zr36120.c:1722: error: invalid type argument of
> `unary *'
> drivers/media/video/zr36120.c:1722: warning: type defaults to `int' in
> declaration of `type name'
> drivers/media/video/zr36120.c:1722: error: invalid type argument of
> `unary *'
> drivers/media/video/zr36120.c:1722: error: invalid type argument of
> `unary *'
> drivers/media/video/zr36120.c:1722: warning: type defaults to `int' in
> declaration of `type name'
> drivers/media/video/zr36120.c:1722: warning: type defaults to `int' in
> declaration of `type name'
> drivers/media/video/zr36120.c: At top level:
> drivers/media/video/zr36120.c:1821: error: unknown field `open'
> specified in initia
> lizer
> drivers/media/video/zr36120.c:1821: warning: initialization makes
> integer from pointer without a cast
> drivers/media/video/zr36120.c:1822: error: unknown field `close'
> specified in initializer
> drivers/media/video/zr36120.c:1822: warning: initialization from
> incompatible pointer type
> drivers/media/video/zr36120.c:1823: error: unknown field `read'
> specified in initializer
> drivers/media/video/zr36120.c:1823: warning: initialization from
> incompatible pointer type
> drivers/media/video/zr36120.c:1824: error: unknown field `write'
> specified in initializer
> drivers/media/video/zr36120.c:1824: warning: initialization from
> incompatible pointer type
> drivers/media/video/zr36120.c:1825: error: unknown field `poll'
> specified in initializer
> drivers/media/video/zr36120.c:1826: error: unknown field `ioctl'
> specified in initializer
> drivers/media/video/zr36120.c:1826: warning: initialization makes
> integer from pointer without a cast
> drivers/media/video/zr36120.c: In function `find_zoran':
> drivers/media/video/zr36120.c:1861: warning: implicit declaration of
> function `request_irq'
> drivers/media/video/zr36120.c: In function `init_zoran':
> drivers/media/video/zr36120.c:2001: warning: implicit declaration of
> function `i2c_register_bus'
> drivers/media/video/zr36120.c: In function `release_zoran':
> drivers/media/video/zr36120.c:2032: warning: implicit declaration of
> function `free_irq'
> drivers/media/video/zr36120.c:2035: warning: implicit declaration of
> function`i2c_unregister_bus'
> make[3]: ** [drivers/media/video/zr36120.o] Erro 1
>
> --
> video4linux-list mailing list
> Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/video4linux-list
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem compiling zr36120 on kernel2.6.12-r5-mm2
2005-06-01 18:49 ` Alex Deucher
@ 2005-06-01 19:01 ` Ronald S. Bultje
0 siblings, 0 replies; 3+ messages in thread
From: Ronald S. Bultje @ 2005-06-01 19:01 UTC (permalink / raw)
To: Alex Deucher, Linux and Kernel Video; +Cc: Andrew Morton, linux-kernel
On Wed, 2005-06-01 at 20:49, Alex Deucher wrote:
> The zoran stuff is supported by another project with their own source
> tree. It may make sense to merge their latest code into v4l cvs, but
> I don't know how they feel about that. The same can be said for the
> ivtv stuff and other assorted v4l projects.
It's mostly unmaintained (although the MAINTAINERS file still mentions a
five-year-old entry) and broken; you must be confused with the zr36067
driver, which works perfectly fine, is being (passively) maintained by
me and which has a copy of the relevant files from the kernel sources in
the CVS of mjpegtools.
Ronald
--
Ronald S. Bultje <rbultje@ronald.bitfreak.net>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-06-01 19:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-01 14:07 Problem compiling zr36120 on kernel2.6.12-r5-mm2 Mauro Carvalho Chehab
2005-06-01 18:49 ` Alex Deucher
2005-06-01 19:01 ` Ronald S. Bultje
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox