* [linux-dvb] v4l-experimental and kernel 2.6.26
@ 2008-08-28 13:01 Martin Raspaud
0 siblings, 0 replies; only message in thread
From: Martin Raspaud @ 2008-08-28 13:01 UTC (permalink / raw)
To: linux-dvb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I just noticed that v4l-experimental does not compile anymore against
kernel 2.6.26. It seems the support of device_class has been removed,
and apparently v4l-experimental still makes use of it.
I use the experimental branch on debian sid for an avermedia E506R
(hybrid cardbus analog+dvb-t)
Does anyone know a workaround ?
Here is what I get when running make:
/usr/src/v4l-dvb-experimental/v4l# make
perl scripts/make_config_compat.pl /lib/modules/2.6.26-1-686/build
./.myconfig ./config-compat.h
creating symbolic links...
make -C /lib/modules/2.6.26-1-686/build
SUBDIRS=/usr/src/v4l-dvb-experimental/v4l modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.26-1-686'
CC [M] /usr/src/v4l-dvb-experimental/v4l/flexcop-pci.o
CC [M] /usr/src/v4l-dvb-experimental/v4l/flexcop-usb.o
CC [M] /usr/src/v4l-dvb-experimental/v4l/flexcop.o
CC [M] /usr/src/v4l-dvb-experimental/v4l/flexcop-fe-tuner.o
CC [M] /usr/src/v4l-dvb-experimental/v4l/flexcop-i2c.o
CC [M] /usr/src/v4l-dvb-experimental/v4l/flexcop-sram.o
CC [M] /usr/src/v4l-dvb-experimental/v4l/flexcop-eeprom.o
CC [M] /usr/src/v4l-dvb-experimental/v4l/flexcop-misc.o
CC [M] /usr/src/v4l-dvb-experimental/v4l/flexcop-hw-filter.o
CC [M] /usr/src/v4l-dvb-experimental/v4l/flexcop-dma.o
CC [M] /usr/src/v4l-dvb-experimental/v4l/bttv-driver.o
In file included from
/usr/src/v4l-dvb-experimental/v4l/../linux/include/media/v4l2-common.h:29,
from /usr/src/v4l-dvb-experimental/v4l/bttvp.h:37,
from /usr/src/v4l-dvb-experimental/v4l/bttv-driver.c:41:
/usr/src/v4l-dvb-experimental/v4l/../linux/include/media/v4l2-dev.h:365:
error: field 'class_dev' has incomplete type
In file included from
/usr/src/v4l-dvb-experimental/v4l/../linux/include/media/v4l2-common.h:29,
from /usr/src/v4l-dvb-experimental/v4l/bttvp.h:37,
from /usr/src/v4l-dvb-experimental/v4l/bttv-driver.c:41:
/usr/src/v4l-dvb-experimental/v4l/../linux/include/media/v4l2-dev.h:394:
warning: 'struct class_device_attribute' declared inside parameter list
/usr/src/v4l-dvb-experimental/v4l/../linux/include/media/v4l2-dev.h:394:
warning: its scope is only this definition or declaration, which is
probably not what you want
/usr/src/v4l-dvb-experimental/v4l/../linux/include/media/v4l2-dev.h: In
function 'video_device_create_file':
/usr/src/v4l-dvb-experimental/v4l/../linux/include/media/v4l2-dev.h:396:
error: implicit declaration of function 'class_device_create_file'
/usr/src/v4l-dvb-experimental/v4l/../linux/include/media/v4l2-dev.h: At
top level:
/usr/src/v4l-dvb-experimental/v4l/../linux/include/media/v4l2-dev.h:403:
warning: 'struct class_device_attribute' declared inside parameter list
/usr/src/v4l-dvb-experimental/v4l/../linux/include/media/v4l2-dev.h: In
function 'video_device_remove_file':
/usr/src/v4l-dvb-experimental/v4l/../linux/include/media/v4l2-dev.h:405:
error: implicit declaration of function 'class_device_remove_file'
In file included from /usr/src/v4l-dvb-experimental/v4l/bttv-driver.c:41:
/usr/src/v4l-dvb-experimental/v4l/bttvp.h:94:1: warning: "clamp" redefined
In file included from include/asm/system.h:10,
from include/asm/processor.h:17,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /usr/src/v4l-dvb-experimental/v4l/bttv-driver.c:32:
include/linux/kernel.h:379:1: warning: this is the location of the
previous definition
/usr/src/v4l-dvb-experimental/v4l/bttv-driver.c: In function 'show_card':
/usr/src/v4l-dvb-experimental/v4l/bttv-driver.c:172: warning: type
defaults to 'int' in declaration of '__mptr'
/usr/src/v4l-dvb-experimental/v4l/bttv-driver.c:172: warning:
initialization from incompatible pointer type
/usr/src/v4l-dvb-experimental/v4l/bttv-driver.c: At top level:
/usr/src/v4l-dvb-experimental/v4l/bttv-driver.c:176: error: expected ')'
before '(' token
/usr/src/v4l-dvb-experimental/v4l/bttv-driver.c: In function
'bttv_register_video':
/usr/src/v4l-dvb-experimental/v4l/bttv-driver.c:4637: error:
'class_device_attr_card' undeclared (first use in this function)
/usr/src/v4l-dvb-experimental/v4l/bttv-driver.c:4637: error: (Each
undeclared identifier is reported only once
/usr/src/v4l-dvb-experimental/v4l/bttv-driver.c:4637: error: for each
function it appears in.)
make[2]: *** [/usr/src/v4l-dvb-experimental/v4l/bttv-driver.o] Error 1
make[1]: *** [_module_/usr/src/v4l-dvb-experimental/v4l] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-1-686'
make: *** [default] Erreur 2
Cheers,
Martin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAki2oasACgkQayBuE7eUetACLgCfZQbIVLlKWd4i4U3UMLI05EFi
SzkAoNn8gxOjCICANw8iEIwtbPXQN2pT
=BrSZ
-----END PGP SIGNATURE-----
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-28 13:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-28 13:01 [linux-dvb] v4l-experimental and kernel 2.6.26 Martin Raspaud
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.