PDA

View Full Version : rivatv



jazztrump9
3rd April 2006, 12:08 AM
I can't get rivatv modules to build on kernel 2.6.16-1.2080, im using the cvs version of the code but it fails every time, i tried the --disable-asm and all those tricks and none of them work, I am really eager to try to get video capture on here cause windows encoding blows. I have albatron geforceFX 5900xtv card with vivo. heres the error i keep getting.

[root@localhost rivatv]# ./configure --enable-software-conversion --enable-agp --disable-asm
Checking for configured kernel headers... found [/lib/modules/2.6.16-1.2080_FC5/build]
Checking for linux kernel >= 2.4.0... yes [2.6.16-1.2080_FC5]
Using bttv sources in... bttv-2.6
Checking for kernel build system... found
Checking for kernel configuration... found
Checking for CONFIG_MODVERSIONS... yes
Checking for CONFIG_PCI... yes [y]
Checking for CONFIG_VIDEO_DEV... yes [m]
Checking for CONFIG_PROC_FS... yes [y]
Checking for CONFIG_I2C... yes [m]
Checking for CONFIG_I2C_ALGOBIT... yes [m]
Checking for CONFIG_MODULES... yes [y]
Checking for kernel dependencies... not needed for 2.6.x kernels
Checking for RedHat or Mandrake kernel... no
Checking whether AGP code should be included... yes
Checking whether software conversion code should be included... yes
Checking whether assembler code is enabled... no
Creating Makefile... done
Checking your current setup for incompatibilities...
Checking for /proc... yes
Checking for kernel gcc... 4.1.0
Checking for write access to /lib/modules/2.6.16-1.2080_FC5/build... yes
Checking for framebuffer... none
Checking for SMP... no

No problems found.
To build RivaTV type `make'. For cleaning up type `make clean`.
[root@localhost rivatv]# make
make[1]: Entering directory `/usr/src/kernels/2.6.16-1.2080_FC5-x86_64'
CC [M] /root/Desktop/rivatv/bttv/tuner.o
/root/Desktop/rivatv/bttv/tuner.c:1261: error: unknown field ‘owner’ specified in initializer
/root/Desktop/rivatv/bttv/tuner.c:1261: warning: initialization makes integer from pointer without a cast
/root/Desktop/rivatv/bttv/tuner.c:1261: error: initializer element is not computable at load time
/root/Desktop/rivatv/bttv/tuner.c:1261: error: (near initialization for ‘driver.id’)
/root/Desktop/rivatv/bttv/tuner.c:1263: error: unknown field ‘name’ specified in initializer
/root/Desktop/rivatv/bttv/tuner.c:1263: warning: initialization makes integer from pointer without a cast
/root/Desktop/rivatv/bttv/tuner.c:1263: error: initializer element is not computable at load time
/root/Desktop/rivatv/bttv/tuner.c:1263: error: (near initialization for ‘driver.class’)
/root/Desktop/rivatv/bttv/tuner.c:1265: error: unknown field ‘flags’ specified in initializer
/root/Desktop/rivatv/bttv/tuner.c:1265: error: ‘I2C_DF_NOTIFY’ undeclared here (not in a function)
/root/Desktop/rivatv/bttv/tuner.c:1277: error: ‘I2C_CLIENT_ALLOW_USE’ undeclared here (not in a function)
make[2]: *** [/root/Desktop/rivatv/bttv/tuner.o] Error 1
make[1]: *** [_module_/root/Desktop/rivatv/bttv] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.16-1.2080_FC5-x86_64'
make: [all-kbuild] Error 2 (ignored)
make[1]: Entering directory `/usr/src/kernels/2.6.16-1.2080_FC5-x86_64'
CC [M] /root/Desktop/rivatv/src/rivatv-driver.o
In file included from /root/Desktop/rivatv/src/rivatv.h:9,
from /root/Desktop/rivatv/src/rivatv-driver.c:31:
/root/Desktop/rivatv/src/rivatv-kcompat.h: In function ‘kcompat_i2c_client_get’:/root/Desktop/rivatv/src/rivatv-kcompat.h:159: error: ‘struct i2c_driver’ has no member named ‘owner’
/root/Desktop/rivatv/src/rivatv-kcompat.h: In function ‘kcompat_i2c_client_put’:/root/Desktop/rivatv/src/rivatv-kcompat.h:170: error: ‘struct i2c_driver’ has no member named ‘owner’
make[2]: *** [/root/Desktop/rivatv/src/rivatv-driver.o] Error 1
make[1]: *** [_module_/root/Desktop/rivatv/src] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.16-1.2080_FC5-x86_64'
make: *** [all-kbuild] Error 2
[root@localhost rivatv]#

any help would be much appreciated!