[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

OVCam + 2.6.19



Boa noite.

Baixei o OV511-2.31 (estável, segundo o site compatível com o 2.6.15) e estou 
rodando o kernel 2.6.19.

Quando mando um make, ele retorna:


# make
    Building OVCam drivers for 2.6 kernel.
make -C /lib/modules/2.6.19-gentoo-r5/build 
SUBDIRS=/home/davi/ovcam/ov511-2.31 modules
make[1]: Entrando no diretório `/usr/src/linux-2.6.19-gentoo-r5'
  CC [M]  /home/davi/ovcam/ov511-2.31/ov511_core.o
/home/davi/ovcam/ov511-2.31/ov511_core.c:29:26: error: linux/config.h: Arquivo 
ou diretório não encontrado
/home/davi/ovcam/ov511-2.31/ov511_core.c:164: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:166: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:169: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:173: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:175: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:177: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:179: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:181: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:184: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:186: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:188: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:190: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:192: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:194: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:196: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:198: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:200: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:202: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:204: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:207: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:210: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:212: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:214: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:216: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:218: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:220: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:222: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:224: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:227: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:230: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:232: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:234: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c:236: error: expected ‘)’ before 
string constant
/home/davi/ovcam/ov511-2.31/ov511_core.c: In function ‘i2c_attach_inform’:
/home/davi/ovcam/ov511-2.31/ov511_core.c:1630: error: ‘struct i2c_driver’ has 
no member named ‘name’
/home/davi/ovcam/ov511-2.31/ov511_core.c:1635: error: ‘struct i2c_driver’ has 
no member named ‘name’
/home/davi/ovcam/ov511-2.31/ov511_core.c: In function ‘ov51x_init_isoc’:
/home/davi/ovcam/ov511-2.31/ov511_core.c:3546: warning: assignment from 
incompatible pointer type
/home/davi/ovcam/ov511-2.31/ov511_core.c: In function ‘ov51x_open’:
/home/davi/ovcam/ov511-2.31/ov511_core.c:3806: warning: implicit declaration 
of function ‘video_devdata’
/home/davi/ovcam/ov511-2.31/ov511_core.c:3806: warning: initialization makes 
pointer from integer without a cast
/home/davi/ovcam/ov511-2.31/ov511_core.c:3807: warning: implicit declaration 
of function ‘video_get_drvdata’
/home/davi/ovcam/ov511-2.31/ov511_core.c:3807: warning: initialization makes 
pointer from integer without a cast
/home/davi/ovcam/ov511-2.31/ov511_core.c: In function ‘ov51x_release’:
/home/davi/ovcam/ov511-2.31/ov511_core.c:3873: warning: initialization makes 
pointer from integer without a cast
/home/davi/ovcam/ov511-2.31/ov511_core.c: In function ‘ov51x_do_ioctl’:
/home/davi/ovcam/ov511-2.31/ov511_core.c:3912: warning: initialization makes 
pointer from integer without a cast
/home/davi/ovcam/ov511-2.31/ov511_core.c:4287: error: dereferencing pointer to 
incomplete type
/home/davi/ovcam/ov511-2.31/ov511_core.c: In function ‘ov51x_ioctl’:
/home/davi/ovcam/ov511-2.31/ov511_core.c:4727: warning: initialization makes 
pointer from integer without a cast
/home/davi/ovcam/ov511-2.31/ov511_core.c:4733: warning: implicit declaration 
of function ‘video_usercopy’
/home/davi/ovcam/ov511-2.31/ov511_core.c: In function ‘ov51x_read’:
/home/davi/ovcam/ov511-2.31/ov511_core.c:4749: warning: initialization makes 
pointer from integer without a cast
/home/davi/ovcam/ov511-2.31/ov511_core.c: In function ‘ov51x_mmap’:
/home/davi/ovcam/ov511-2.31/ov511_core.c:4904: warning: initialization makes 
pointer from integer without a cast
/home/davi/ovcam/ov511-2.31/ov511_core.c: At top level:
/home/davi/ovcam/ov511-2.31/ov511_core.c:4960: error: variable ‘vdev_template’ 
has initializer but incomplete type
/home/davi/ovcam/ov511-2.31/ov511_core.c:4961: error: unknown field ‘owner’ 
specified in initializer
/home/davi/ovcam/ov511-2.31/ov511_core.c:4961: warning: excess elements in 
struct initializer
/home/davi/ovcam/ov511-2.31/ov511_core.c:4961: warning: (near initialization 
for ‘vdev_template’)
/home/davi/ovcam/ov511-2.31/ov511_core.c:4962: error: unknown field ‘name’ 
specified in initializer
/home/davi/ovcam/ov511-2.31/ov511_core.c:4962: warning: excess elements in 
struct initializer
/home/davi/ovcam/ov511-2.31/ov511_core.c:4962: warning: (near initialization 
for ‘vdev_template’)
/home/davi/ovcam/ov511-2.31/ov511_core.c:4963: error: unknown field ‘type’ 
specified in initializer
/home/davi/ovcam/ov511-2.31/ov511_core.c:4963: warning: excess elements in 
struct initializer
/home/davi/ovcam/ov511-2.31/ov511_core.c:4963: warning: (near initialization 
for ‘vdev_template’)
/home/davi/ovcam/ov511-2.31/ov511_core.c:4964: error: unknown field ‘hardware’ 
specified in initializer
/home/davi/ovcam/ov511-2.31/ov511_core.c:4964: warning: excess elements in 
struct initializer
/home/davi/ovcam/ov511-2.31/ov511_core.c:4964: warning: (near initialization 
for ‘vdev_template’)
/home/davi/ovcam/ov511-2.31/ov511_core.c:4965: error: unknown field ‘fops’ 
specified in initializer
/home/davi/ovcam/ov511-2.31/ov511_core.c:4965: warning: excess elements in 
struct initializer
/home/davi/ovcam/ov511-2.31/ov511_core.c:4965: warning: (near initialization 
for ‘vdev_template’)
/home/davi/ovcam/ov511-2.31/ov511_core.c:4967: error: unknown field ‘release’ 
specified in initializer
/home/davi/ovcam/ov511-2.31/ov511_core.c:4967: error: ‘video_device_release’ 
undeclared here (not in a function)
/home/davi/ovcam/ov511-2.31/ov511_core.c:4967: warning: excess elements in 
struct initializer
/home/davi/ovcam/ov511-2.31/ov511_core.c:4967: warning: (near initialization 
for ‘vdev_template’)
/home/davi/ovcam/ov511-2.31/ov511_core.c:4969: error: unknown field ‘minor’ 
specified in initializer
/home/davi/ovcam/ov511-2.31/ov511_core.c:4969: warning: excess elements in 
struct initializer
/home/davi/ovcam/ov511-2.31/ov511_core.c:4969: warning: (near initialization 
for ‘vdev_template’)
/home/davi/ovcam/ov511-2.31/ov511_core.c: In function ‘cd_to_ov’:
/home/davi/ovcam/ov511-2.31/ov511_core.c:5524: warning: implicit declaration 
of function ‘to_video_device’
/home/davi/ovcam/ov511-2.31/ov511_core.c:5524: warning: initialization makes 
pointer from integer without a cast
/home/davi/ovcam/ov511-2.31/ov511_core.c:5525: warning: return makes pointer 
from integer without a cast
/home/davi/ovcam/ov511-2.31/ov511_core.c: In function ‘show_sensor’:
/home/davi/ovcam/ov511-2.31/ov511_core.c:5552: error: ‘senlist’ undeclared 
(first use in this function)
/home/davi/ovcam/ov511-2.31/ov511_core.c:5552: error: (Each undeclared 
identifier is reported only once
/home/davi/ovcam/ov511-2.31/ov511_core.c:5552: error: for each function it 
appears in.)
/home/davi/ovcam/ov511-2.31/ov511_core.c: In function ‘ov_create_sysfs’:
/home/davi/ovcam/ov511-2.31/ov511_core.c:5618: warning: implicit declaration 
of function ‘video_device_create_file’
/home/davi/ovcam/ov511-2.31/ov511_core.c: In function ‘ov51x_probe’:
/home/davi/ovcam/ov511-2.31/ov511_core.c:5796: warning: implicit declaration 
of function ‘video_device_alloc’
/home/davi/ovcam/ov511-2.31/ov511_core.c:5796: warning: assignment makes 
pointer from integer without a cast
/home/davi/ovcam/ov511-2.31/ov511_core.c:5800: error: dereferencing pointer to 
incomplete type
/home/davi/ovcam/ov511-2.31/ov511_core.c:5800: error: dereferencing pointer to 
incomplete type
/home/davi/ovcam/ov511-2.31/ov511_core.c:5800: error: dereferencing pointer to 
incomplete type
/home/davi/ovcam/ov511-2.31/ov511_core.c:5802: error: dereferencing pointer to 
incomplete type
/home/davi/ovcam/ov511-2.31/ov511_core.c:5804: warning: implicit declaration 
of function ‘video_set_drvdata’
/home/davi/ovcam/ov511-2.31/ov511_core.c:5810: warning: implicit declaration 
of function ‘video_register_device’
/home/davi/ovcam/ov511-2.31/ov511_core.c:5810: error: ‘VFL_TYPE_GRABBER’ 
undeclared (first use in this function)
/home/davi/ovcam/ov511-2.31/ov511_core.c:5816: error: dereferencing pointer to 
incomplete type
/home/davi/ovcam/ov511-2.31/ov511_core.c:5831: error: dereferencing pointer to 
incomplete type
/home/davi/ovcam/ov511-2.31/ov511_core.c:5837: error: dereferencing pointer to 
incomplete type
/home/davi/ovcam/ov511-2.31/ov511_core.c:5841: error: dereferencing pointer to 
incomplete type
/home/davi/ovcam/ov511-2.31/ov511_core.c:5863: error: dereferencing pointer to 
incomplete type
/home/davi/ovcam/ov511-2.31/ov511_core.c:5864: warning: implicit declaration 
of function ‘video_device_release’
/home/davi/ovcam/ov511-2.31/ov511_core.c:5866: warning: implicit declaration 
of function ‘video_unregister_device’
/home/davi/ovcam/ov511-2.31/ov511_core.c: At top level:
/home/davi/ovcam/ov511-2.31/ov511_core.c:5982: error: unknown field ‘owner’ 
specified in initializer
/home/davi/ovcam/ov511-2.31/ov511_core.c:5982: warning: initialization from 
incompatible pointer type
make[2]: ** [/home/davi/ovcam/ov511-2.31/ov511_core.o] Erro 1
make[1]: ** [_module_/home/davi/ovcam/ov511-2.31] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-2.6.19-gentoo-r5'
make: ** [default] Erro 2


Alguma dica??

"ele não está achando o linux/config.h..."
não... não é isso...
se eu "forçar" (editando o ov511_core.c ou o Makefile), continua dando os 
mesmos erros subseqüentes... =\

devo fazer um downgrade para o 2.6.15, instalar e voltar para o 2.6.19?

obrigado! =]

davi



Reply to: