Re: OVCam + 2.6.19

2007-03-05 Por tôpico Davi
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

2007-03-04 Por tôpico Marcos Lazarini

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

2007-03-04 Por tôpico Davi
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-03-04 Por tôpico Davi
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

2007-03-01 Por tôpico Miguel Da Silva - Centro de Matemática

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 

Re: OVCam + 2.6.19

2007-03-01 Por tôpico Davi
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.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’:
  

OVCam + 2.6.19

2007-02-28 Por tôpico Davi
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’: