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

Re: OVCam + 2.6.19



vamos devagarinho... mas vamos... =]

$ make
    Building OVCam drivers for 2.6 kernel.
make -C /lib/modules/2.6.18/build SUBDIRS=/home/davi/ovcam/ov511-2.32 modules
make[1]: Entrando no diretório `/usr/src/linux-source-2.6.18'
  CC [M]  /home/davi/ovcam/ov511-2.32/ov511_core.o
make[1]: Saindo do diretório `/usr/src/linux-source-2.6.18'
/home/davi/ovcam/ov511-2.32/ov511_core.c: In function ‘ov51x_open’:
/home/davi/ovcam/ov511-2.32/ov511_core.c:3818: warning: implicit declaration 
of function ‘video_devdata’
/home/davi/ovcam/ov511-2.32/ov511_core.c:3818: warning: initialization makes 
pointer from integer without a cast
/home/davi/ovcam/ov511-2.32/ov511_core.c:3819: warning: implicit declaration 
of function ‘video_get_drvdata’
/home/davi/ovcam/ov511-2.32/ov511_core.c:3819: warning: initialization makes 
pointer from integer without a cast
/home/davi/ovcam/ov511-2.32/ov511_core.c: In function ‘ov51x_release’:
/home/davi/ovcam/ov511-2.32/ov511_core.c:3885: warning: initialization makes 
pointer from integer without a cast
/home/davi/ovcam/ov511-2.32/ov511_core.c: In function ‘ov51x_do_ioctl’:
/home/davi/ovcam/ov511-2.32/ov511_core.c:3924: warning: initialization makes 
pointer from integer without a cast
/home/davi/ovcam/ov511-2.32/ov511_core.c:3944: warning: implicit declaration 
of function ‘v4l_print_ioctl’
/home/davi/ovcam/ov511-2.32/ov511_core.c:4303: error: dereferencing pointer to 
incomplete type
/home/davi/ovcam/ov511-2.32/ov511_core.c: In function ‘ov51x_ioctl’:
/home/davi/ovcam/ov511-2.32/ov511_core.c:4743: warning: initialization makes 
pointer from integer without a cast
/home/davi/ovcam/ov511-2.32/ov511_core.c:4749: warning: implicit declaration 
of function ‘video_usercopy’
/home/davi/ovcam/ov511-2.32/ov511_core.c: In function ‘ov51x_read’:
/home/davi/ovcam/ov511-2.32/ov511_core.c:4765: warning: initialization makes 
pointer from integer without a cast
/home/davi/ovcam/ov511-2.32/ov511_core.c: In function ‘ov51x_mmap’:
/home/davi/ovcam/ov511-2.32/ov511_core.c:4920: warning: initialization makes 
pointer from integer without a cast
/home/davi/ovcam/ov511-2.32/ov511_core.c: At top level:
/home/davi/ovcam/ov511-2.32/ov511_core.c:4974: error: ‘v4l_compat_ioctl32’ 
undeclared here (not in a function)
/home/davi/ovcam/ov511-2.32/ov511_core.c:4979: error: variable ‘vdev_template’ 
has initializer but incomplete type
/home/davi/ovcam/ov511-2.32/ov511_core.c:4980: error: unknown field ‘owner’ 
specified in initializer
/home/davi/ovcam/ov511-2.32/ov511_core.c:4980: warning: excess elements in 
struct initializer
/home/davi/ovcam/ov511-2.32/ov511_core.c:4980: warning: (near initialization 
for ‘vdev_template’)
/home/davi/ovcam/ov511-2.32/ov511_core.c:4981: error: unknown field ‘name’ 
specified in initializer
/home/davi/ovcam/ov511-2.32/ov511_core.c:4981: warning: excess elements in 
struct initializer
/home/davi/ovcam/ov511-2.32/ov511_core.c:4981: warning: (near initialization 
for ‘vdev_template’)
/home/davi/ovcam/ov511-2.32/ov511_core.c:4982: error: unknown field ‘type’ 
specified in initializer
/home/davi/ovcam/ov511-2.32/ov511_core.c:4982: warning: excess elements in 
struct initializer
/home/davi/ovcam/ov511-2.32/ov511_core.c:4982: warning: (near initialization 
for ‘vdev_template’)
/home/davi/ovcam/ov511-2.32/ov511_core.c:4983: error: unknown field ‘hardware’ 
specified in initializer
/home/davi/ovcam/ov511-2.32/ov511_core.c:4983: warning: excess elements in 
struct initializer
/home/davi/ovcam/ov511-2.32/ov511_core.c:4983: warning: (near initialization 
for ‘vdev_template’)
/home/davi/ovcam/ov511-2.32/ov511_core.c:4984: error: unknown field ‘fops’ 
specified in initializer
/home/davi/ovcam/ov511-2.32/ov511_core.c:4984: warning: excess elements in 
struct initializer
/home/davi/ovcam/ov511-2.32/ov511_core.c:4984: warning: (near initialization 
for ‘vdev_template’)
/home/davi/ovcam/ov511-2.32/ov511_core.c:4986: error: unknown field ‘release’ 
specified in initializer
/home/davi/ovcam/ov511-2.32/ov511_core.c:4986: error: ‘video_device_release’ 
undeclared here (not in a function)
/home/davi/ovcam/ov511-2.32/ov511_core.c:4986: warning: excess elements in 
struct initializer
/home/davi/ovcam/ov511-2.32/ov511_core.c:4986: warning: (near initialization 
for ‘vdev_template’)
/home/davi/ovcam/ov511-2.32/ov511_core.c:4988: error: unknown field ‘minor’ 
specified in initializer
/home/davi/ovcam/ov511-2.32/ov511_core.c:4988: warning: excess elements in 
struct initializer
/home/davi/ovcam/ov511-2.32/ov511_core.c:4988: warning: (near initialization 
for ‘vdev_template’)
/home/davi/ovcam/ov511-2.32/ov511_core.c: In function ‘cd_to_ov’:
/home/davi/ovcam/ov511-2.32/ov511_core.c:5543: warning: implicit declaration 
of function ‘to_video_device’
/home/davi/ovcam/ov511-2.32/ov511_core.c:5543: warning: initialization makes 
pointer from integer without a cast
/home/davi/ovcam/ov511-2.32/ov511_core.c:5544: warning: return makes pointer 
from integer without a cast
/home/davi/ovcam/ov511-2.32/ov511_core.c: In function ‘show_sensor’:
/home/davi/ovcam/ov511-2.32/ov511_core.c:5571: error: ‘senlist’ undeclared 
(first use in this function)
/home/davi/ovcam/ov511-2.32/ov511_core.c:5571: error: (Each undeclared 
identifier is reported only once
/home/davi/ovcam/ov511-2.32/ov511_core.c:5571: error: for each function it 
appears in.)
/home/davi/ovcam/ov511-2.32/ov511_core.c: In function ‘ov_create_sysfs’:
/home/davi/ovcam/ov511-2.32/ov511_core.c:5637: warning: implicit declaration 
of function ‘video_device_create_file’
/home/davi/ovcam/ov511-2.32/ov511_core.c: In function ‘ov51x_probe’:
/home/davi/ovcam/ov511-2.32/ov511_core.c:5815: warning: implicit declaration 
of function ‘video_device_alloc’
/home/davi/ovcam/ov511-2.32/ov511_core.c:5815: warning: assignment makes 
pointer from integer without a cast
/home/davi/ovcam/ov511-2.32/ov511_core.c:5819: error: dereferencing pointer to 
incomplete type
/home/davi/ovcam/ov511-2.32/ov511_core.c:5819: error: dereferencing pointer to 
incomplete type
/home/davi/ovcam/ov511-2.32/ov511_core.c:5819: error: dereferencing pointer to 
incomplete type
/home/davi/ovcam/ov511-2.32/ov511_core.c:5821: error: dereferencing pointer to 
incomplete type
/home/davi/ovcam/ov511-2.32/ov511_core.c:5823: warning: implicit declaration 
of function ‘video_set_drvdata’
/home/davi/ovcam/ov511-2.32/ov511_core.c:5829: warning: implicit declaration 
of function ‘video_register_device’
/home/davi/ovcam/ov511-2.32/ov511_core.c:5829: error: ‘VFL_TYPE_GRABBER’ 
undeclared (first use in this function)
/home/davi/ovcam/ov511-2.32/ov511_core.c:5835: error: dereferencing pointer to 
incomplete type
/home/davi/ovcam/ov511-2.32/ov511_core.c:5850: error: dereferencing pointer to 
incomplete type
/home/davi/ovcam/ov511-2.32/ov511_core.c:5856: error: dereferencing pointer to 
incomplete type
/home/davi/ovcam/ov511-2.32/ov511_core.c:5860: error: dereferencing pointer to 
incomplete type
/home/davi/ovcam/ov511-2.32/ov511_core.c:5882: error: dereferencing pointer to 
incomplete type
/home/davi/ovcam/ov511-2.32/ov511_core.c:5883: warning: implicit declaration 
of function ‘video_device_release’
/home/davi/ovcam/ov511-2.32/ov511_core.c:5885: warning: implicit declaration 
of function ‘video_unregister_device’
make[2]: ** [/home/davi/ovcam/ov511-2.32/ov511_core.o] Erro 1
make[1]: ** [_module_/home/davi/ovcam/ov511-2.32] Erro 2
make: ** [default] Erro 2


no erro anterior, bastou um make modules modules_install e reiniciar o sistema 
com o novo kernel... =]
dicas, agora, são igualmente bem vindas... =]

[]s



Reply to: