Dionikon |
07-01-2010 04:16 AM |
Dvico Fusion DVB-T Plus woes
Greetings,
I've been running a Mythbuntu server for a while and have decided to add a second tuner card. Unfortunately I only have 1 x PCIe slot left on my motherboard so the Dvico Fusion DVB-T Plus card is about the only thing I can use without replacing my MB.
Anyway, this card should be supported. But I can't for the life of me get it to work. There is a driver that should work:
http://www.itee.uq.edu.au/~chrisp/Linux-DVB/DVICO/
However when I attempt to make the source I get an error which seems to refer to the incorrect kernel headers. My box uses 2.6.32-23-generic, but the error refers to 2.6.32-22-generic.
Here is the output when I attempt to run the 'make' command, I have followed the tutorial mentioned in the link above exactly.
Code:
root@alma:/opt/source/xc-test# make
make -C /opt/source/xc-test/v4l
make[1]: Entering directory `/opt/source/xc-test/v4l'
perl scripts/make_config_compat.pl /lib/modules/2.6.32-22-generic/build ./.myconfig ./config-compat.h
creating symbolic links...
Kernel build directory is /lib/modules/2.6.32-22-generic/build
make -C /lib/modules/2.6.32-22-generic/build SUBDIRS=/opt/source/xc-test/v4l modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.32-22-generic'
CC [M] /opt/source/xc-test/v4l/flexcop-pci.o
CC [M] /opt/source/xc-test/v4l/flexcop-usb.o
CC [M] /opt/source/xc-test/v4l/flexcop.o
CC [M] /opt/source/xc-test/v4l/flexcop-fe-tuner.o
CC [M] /opt/source/xc-test/v4l/flexcop-i2c.o
CC [M] /opt/source/xc-test/v4l/flexcop-sram.o
CC [M] /opt/source/xc-test/v4l/flexcop-eeprom.o
CC [M] /opt/source/xc-test/v4l/flexcop-misc.o
CC [M] /opt/source/xc-test/v4l/flexcop-hw-filter.o
CC [M] /opt/source/xc-test/v4l/flexcop-dma.o
CC [M] /opt/source/xc-test/v4l/bttv-driver.o
In file included from /opt/source/xc-test/v4l/bttvp.h:60,
from /opt/source/xc-test/v4l/bttv-driver.c:46:
/opt/source/xc-test/v4l/bttv.h:313: error: 'BUS_ID_SIZE' undeclared here (not in a function)
In file included from /opt/source/xc-test/v4l/bttv-driver.c:46:
/opt/source/xc-test/v4l/bttvp.h:94:1: warning: "clamp" redefined
In file included from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-2.6.32-22-generic/arch/x86/include/asm/processor.h:15,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /opt/source/xc-test/v4l/bttv-driver.c:38:
include/linux/kernel.h:579:1: warning: this is the location of the previous definition
/opt/source/xc-test/v4l/bttv-driver.c: In function 'show_card':
/opt/source/xc-test/v4l/bttv-driver.c:182: error: 'struct video_device' has no member named 'class_dev'
/opt/source/xc-test/v4l/bttv-driver.c:182: warning: type defaults to 'int' in declaration of '__mptr'
/opt/source/xc-test/v4l/bttv-driver.c:182: warning: initialization from incompatible pointer type
/opt/source/xc-test/v4l/bttv-driver.c:182: error: 'struct video_device' has no member named 'class_dev'
/opt/source/xc-test/v4l/bttv-driver.c:183: error: incompatible type for argument 1 of 'dev_get_drvdata'
include/linux/device.h:494: note: expected 'const struct device *' but argument is of type 'struct device'
/opt/source/xc-test/v4l/bttv-driver.c: In function 'audio_mux':
/opt/source/xc-test/v4l/bttv-driver.c:1255: error: 'VIDIOC_INT_S_AUDIO_ROUTING' undeclared (first use in this function)
/opt/source/xc-test/v4l/bttv-driver.c:1255: error: (Each undeclared identifier is reported only once
/opt/source/xc-test/v4l/bttv-driver.c:1255: error: for each function it appears in.)
/opt/source/xc-test/v4l/bttv-driver.c: In function 'bttv_common_ioctls':
/opt/source/xc-test/v4l/bttv-driver.c:1875: error: implicit declaration of function 'v4l2_video_std_construct'
/opt/source/xc-test/v4l/bttv-driver.c:2024: error: dereferencing pointer to incomplete type
/opt/source/xc-test/v4l/bttv-driver.c:2024: error: dereferencing pointer to incomplete type
/opt/source/xc-test/v4l/bttv-driver.c:2024: error: too many arguments to function 'v4l2_chip_match_host'
/opt/source/xc-test/v4l/bttv-driver.c:2027: error: dereferencing pointer to incomplete type
/opt/source/xc-test/v4l/bttv-driver.c:2029: error: dereferencing pointer to incomplete type
/opt/source/xc-test/v4l/bttv-driver.c:2029: error: dereferencing pointer to incomplete type
/opt/source/xc-test/v4l/bttv-driver.c:2031: error: dereferencing pointer to incomplete type
/opt/source/xc-test/v4l/bttv-driver.c:2031: error: dereferencing pointer to incomplete type
/opt/source/xc-test/v4l/bttv-driver.c: In function 'setup_window':
/opt/source/xc-test/v4l/bttv-driver.c:2324: error: 'struct videobuf_queue' has no member named 'lock'
/opt/source/xc-test/v4l/bttv-driver.c:2341: error: implicit declaration of function 'videobuf_pci_alloc'
/opt/source/xc-test/v4l/bttv-driver.c:2341: warning: assignment makes pointer from integer without a cast
/opt/source/xc-test/v4l/bttv-driver.c:2346: error: 'struct videobuf_queue' has no member named 'lock'
/opt/source/xc-test/v4l/bttv-driver.c: In function 'bttv_s_fmt':
/opt/source/xc-test/v4l/bttv-driver.c:2527: error: 'struct videobuf_queue' has no member named 'lock'
/opt/source/xc-test/v4l/bttv-driver.c:2536: error: 'struct videobuf_queue' has no member named 'lock'
/opt/source/xc-test/v4l/bttv-driver.c: In function 'bttv_do_ioctl':
/opt/source/xc-test/v4l/bttv-driver.c:2564: error: implicit declaration of function 'v4l_print_ioctl'
/opt/source/xc-test/v4l/bttv-driver.c:2587: error: 'struct videobuf_queue' has no member named 'lock'
/opt/source/xc-test/v4l/bttv-driver.c:2599: error: 'struct videobuf_queue' has no member named 'lock'
/opt/source/xc-test/v4l/bttv-driver.c:2723: error: 'struct videobuf_queue' has no member named 'lock'
/opt/source/xc-test/v4l/bttv-driver.c:2726: warning: assignment makes pointer from integer without a cast
/opt/source/xc-test/v4l/bttv-driver.c:2734: error: 'struct videobuf_queue' has no member named 'lock'
/opt/source/xc-test/v4l/bttv-driver.c:2769: error: 'struct videobuf_queue' has no member named 'lock'
/opt/source/xc-test/v4l/bttv-driver.c:2795: warning: assignment makes pointer from integer without a cast
/opt/source/xc-test/v4l/bttv-driver.c:2801: error: 'struct videobuf_queue' has no member named 'lock'
/opt/source/xc-test/v4l/bttv-driver.c:3008: error: 'struct videobuf_queue' has no member named 'lock'
/opt/source/xc-test/v4l/bttv-driver.c:3026: error: 'struct videobuf_queue' has no member named 'lock'
/opt/source/xc-test/v4l/bttv-driver.c:3047: error: implicit declaration of function 'v4l_compat_translate_ioctl'
/opt/source/xc-test/v4l/bttv-driver.c:3053: error: 'struct videobuf_queue' has no member named 'lock'
/opt/source/xc-test/v4l/bttv-driver.c: In function 'bttv_ioctl':
/opt/source/xc-test/v4l/bttv-driver.c:3064: error: implicit declaration of function 'video_usercopy'
/opt/source/xc-test/v4l/bttv-driver.c: In function 'bttv_read':
/opt/source/xc-test/v4l/bttv-driver.c:3076: error: 'v4l2_type_names' undeclared (first use in this function)
/opt/source/xc-test/v4l/bttv-driver.c: In function 'bttv_poll':
/opt/source/xc-test/v4l/bttv-driver.c:3120: error: 'struct videobuf_queue' has no member named 'lock'
/opt/source/xc-test/v4l/bttv-driver.c:3124: error: 'struct videobuf_queue' has no member named 'lock'
/opt/source/xc-test/v4l/bttv-driver.c:3127: warning: assignment makes pointer from integer without a cast
/opt/source/xc-test/v4l/bttv-driver.c:3129: error: 'struct videobuf_queue' has no member named 'lock'
/opt/source/xc-test/v4l/bttv-driver.c:3137: error: 'struct videobuf_queue' has no member named 'lock'
/opt/source/xc-test/v4l/bttv-driver.c:3143: error: 'struct videobuf_queue' has no member named 'lock'
/opt/source/xc-test/v4l/bttv-driver.c: In function 'bttv_open':
/opt/source/xc-test/v4l/bttv-driver.c:3182: error: 'v4l2_type_names' undeclared (first use in this function)
/opt/source/xc-test/v4l/bttv-driver.c:3194: error: implicit declaration of function 'videobuf_queue_pci_init'
/opt/source/xc-test/v4l/bttv-driver.c: In function 'bttv_mmap':
/opt/source/xc-test/v4l/bttv-driver.c:3276: error: 'v4l2_type_names' undeclared (first use in this function)
/opt/source/xc-test/v4l/bttv-driver.c: At top level:
/opt/source/xc-test/v4l/bttv-driver.c:3288: error: 'v4l_compat_ioctl32' undeclared here (not in a function)
/opt/source/xc-test/v4l/bttv-driver.c:3299: error: unknown field 'type' specified in initializer
/opt/source/xc-test/v4l/bttv-driver.c:3301: warning: initialization from incompatible pointer type
/opt/source/xc-test/v4l/bttv-driver.c:3308: error: unknown field 'type' specified in initializer
/opt/source/xc-test/v4l/bttv-driver.c:3309: warning: initialization from incompatible pointer type
/opt/source/xc-test/v4l/bttv-driver.c: In function 'radio_open':
/opt/source/xc-test/v4l/bttv-driver.c:3340: error: 'AUDC_SET_RADIO' undeclared (first use in this function)
/opt/source/xc-test/v4l/bttv-driver.c: At top level:
/opt/source/xc-test/v4l/bttv-driver.c:3463: error: unknown field 'type' specified in initializer
/opt/source/xc-test/v4l/bttv-driver.c:3464: warning: initialization from incompatible pointer type
/opt/source/xc-test/v4l/bttv-driver.c: In function 'vdev_init':
/opt/source/xc-test/v4l/bttv-driver.c:4006: error: incompatible types when assigning to type 'struct device' from type 'struct device *'
/opt/source/xc-test/v4l/bttv-driver.c: In function 'bttv_register_video':
/opt/source/xc-test/v4l/bttv-driver.c:4044: error: 'struct video_device' has no member named 'type'
/opt/source/xc-test/v4l/bttv-driver.c:4057: error: 'struct video_device' has no member named 'class_dev'
make[3]: *** [/opt/source/xc-test/v4l/bttv-driver.o] Error 1
make[2]: *** [_module_/opt/source/xc-test/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-22-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/opt/source/xc-test/v4l'
make: *** [all] Error 2
I have also asked this question over in the Ubuntu forums but no joy, hopefully someone can help, this is driving me nuts.
|