Would you recommend the product? yes | Price you paid?: None indicated | Rating: 0
|
Kernel (uname -r):
|
2.6.11-1.35_FC3
|
|
Distribution:
|
Fedora Core 3 x86_64
|
[ Log in to get rid of this advertisement]
Hi!
Actaully I have Kernel 2.6.11-1.35_FC3 on my system, so I downloaded kernel source 2.6.11 from kernel.org and "tar -xvzf" it to /usr/src and created "ln -s /usr/src/linux-2.6.11/ linux" and try to "make" the ov511 but it fails.
I even change the INCLUDEDIR on Makefile... so... I'm lost....
$ sudo make
Building OVCam drivers for 2.6 kernel.
PLEASE IGNORE THE "Overriding SUBDIRS" WARNING
/usr/bin/make -C /lib/modules/2.6.11-1.35_FC3/build SUBDIRS=/home/igor/ov511-2.27 modules
make[1]: Entering directory `/lib/modules/2.6.11-1.35_FC3/build'
CC [M] /home/igor/ov511-2.27/ov511_core.o
/home/igor/ov511-2.27/ov511_core.c:1674: error: `I2C_ADAP_CLASS_CAM_DIGITAL' undeclared here (not ina function)
/home/igor/ov511-2.27/ov511_core.c:1674: error: initializer element is not constant
/home/igor/ov511-2.27/ov511_core.c:1674: error: (near initialization for `i2c_adap_template.class')
/home/igor/ov511-2.27/ov511_core.c: In function `ov51x_mmap':
/home/igor/ov511-2.27/ov511_core.c:4884: warning: implicit declaration of function `remap_page_range'
/home/igor/ov511-2.27/ov511_core.c: At top level:
/home/igor/ov511-2.27/ov511_core.c:4908: warning: initialization from incompatible pointer type
make[2]: *** [/home/igor/ov511-2.27/ov511_core.o] Error 1
make[1]: *** [_module_/home/igor/ov511-2.27] Error 2
make[1]: Leaving directory `/lib/modules/2.6.11-1.35_FC3/build'
make: *** [default] Error 2
|