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
Re: OVCam + 2.6.19
instalei Debian e rodei o make denovo... agora eu tenho: # make Building OVCam drivers for 2.6 kernel. make -C /lib/modules/2.6.18-4-686/build SUBDIRS=/home/davi/ovcam/ov511-2.32 modules make: *** /lib/modules/2.6.18-4-686/build: Arquivo ou diretório não encontrado. Pare. make: ** [default] Erro 2 e agora?!?!?! como eu "crio" essa pasta build? []s
Re: OVCam + 2.6.19
Em Domingo 04 Março 2007 23:27, você escreveu: > Em 04/03/07, Marcos Lazarini<[EMAIL PROTECTED]> escreveu: > > 2007/2/28, Davi <[EMAIL PROTECTED]>: > > > 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 > > > > [...] > > > > Tem o kernel-source no /usr/src/linux ?? > > Veja o que está definido na linha do primeiro erro e procure isso no > arquivo 'linux/config.h' certamete isso tem q estar definido lá, pois > é o unico arquivo faltante. Se não estiver, então é outro config.h q > vc vai ter q disponiblizar... > Pode ser sim que num kernel de 1 ano atras isso funcionasse... dificil > dizer. > > /home/davi/ovcam/ov511-2.31/ov511_core.c:164: error: expected ')' before > string constant já olhei... =\ a linha está correta. mas valeu a dica... =] vou olhar o código denovo... pode ser uma " ou ' faltando mais para cima... =] []s
Re: OVCam + 2.6.19
Em 04/03/07, Marcos Lazarini<[EMAIL PROTECTED]> escreveu: 2007/2/28, Davi <[EMAIL PROTECTED]>: > 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 [...] Tem o kernel-source no /usr/src/linux ?? Veja o que está definido na linha do primeiro erro e procure isso no arquivo 'linux/config.h' certamete isso tem q estar definido lá, pois é o unico arquivo faltante. Se não estiver, então é outro config.h q vc vai ter q disponiblizar... Pode ser sim que num kernel de 1 ano atras isso funcionasse... dificil dizer. /home/davi/ovcam/ov511-2.31/ov511_core.c:164: error: expected ')' before string constant -- Marcos
Re: OVCam + 2.6.19
Em Domingo 04 Março 2007 23:17, Marcos Lazarini escreveu: > 2007/2/28, Davi <[EMAIL PROTECTED]>: > > 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 > > [...] > > Tem o kernel-source no /usr/src/linux ?? tenho sim... []s
Re: OVCam + 2.6.19
2007/2/28, Davi <[EMAIL PROTECTED]>: 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 [...] Tem o kernel-source no /usr/src/linux ?? -- Marcos
Re: OVCam + 2.6.19
Em Quinta 01 Março 2007 08:44, Miguel Da Silva - Centro de Matemática escreveu: > Davi wrote: > > 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.3
Re: OVCam + 2.6.19
Davi wrote: 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