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

Re: scheda tv -- news



Mi sono scaricato ed installato gcc-3.2, quindi ho cambiato il link /usr/bin/gcc, che ora punta al gcc nuovo.
Dopodiche' ho ricompilato il kernel escludendo bttv (e solo quello).

> Mi leggo bene le istruzioni per compilare cx88 e incrocio le dita...
La compilazione mi da' un sacco di errori per me incomprensibili.
Puo' dipendere dal fatto che non ho installato la patch per v4l? La patch e' per il 2.4.20, che e' gia' il mio kernel, per cui non l'ho installata.
Errori di make:

In file included from video-buf.c:36:
video-buf.h:137: field `field' has incomplete type
video-buf.h:159: warning: parameter has incomplete type
video-buf.h:169: field `type' has incomplete type
video-buf.h:171: field `field' has incomplete type
video-buf.h:172: field `last' has incomplete type
video-buf.h:195: warning: parameter has incomplete type
video-buf.h:195: warning: parameter has incomplete type
video-buf.h:201: warning: `struct v4l2_buffer' declared inside parameter list
video-buf.h:201: warning: its scope is only this definition or declaration, which is probably not what you want
video-buf.h:201: warning: parameter has incomplete type
video-buf.h:203: warning: `struct v4l2_requestbuffers' declared inside parameter list
video-buf.h:204: warning: `struct v4l2_buffer' declared inside parameter list
video-buf.h:206: warning: `struct v4l2_buffer' declared inside parameter list
video-buf.h:208: warning: `struct v4l2_buffer' declared inside parameter list
video-buf.c:351: parameter `type' has incomplete type
video-buf.c:351: parameter `field' has incomplete type
video-buf.c:351: conflicting types for `videobuf_queue_init'
video-buf.h:195: previous declaration of `videobuf_queue_init'
video-buf.c:432: return type is an incomplete type
video-buf.c:432: conflicting types for `videobuf_next_field'
video-buf.h:199: previous declaration of `videobuf_next_field'
video-buf.c: In function `videobuf_next_field':
video-buf.c:433: variable `field' has initializer but incomplete type
video-buf.c:433: storage size of `field' isn't known
video-buf.c:435: `V4L2_FIELD_ANY' undeclared (first use in this function)
video-buf.c:435: (Each undeclared identifier is reported only once
video-buf.c:435: for each function it appears in.)
video-buf.c:437: `V4L2_FIELD_ALTERNATE' undeclared (first use in this function)
video-buf.c:438: `V4L2_FIELD_TOP' undeclared (first use in this function)
video-buf.c:439: `V4L2_FIELD_BOTTOM' undeclared (first use in this function)
video-buf.c:446: warning: `return' with a value, in function returning void
video-buf.c:433: warning: unused variable `field'
video-buf.c: At top level:
video-buf.c:451: warning: `struct v4l2_buffer' declared inside parameter list
video-buf.c:452: parameter `type' has incomplete type
video-buf.c:452: conflicting types for `videobuf_status'
video-buf.h:201: previous declaration of `videobuf_status'
video-buf.c: In function `videobuf_status':
video-buf.c:453: dereferencing pointer to incomplete type
video-buf.c:454: dereferencing pointer to incomplete type
video-buf.c:455: dereferencing pointer to incomplete type
video-buf.c:456: dereferencing pointer to incomplete type
video-buf.c:457: dereferencing pointer to incomplete type
video-buf.c:459: dereferencing pointer to incomplete type
video-buf.c:459: `V4L2_BUF_FLAG_MAPPED' undeclared (first use in this function)
video-buf.c:464: dereferencing pointer to incomplete type
video-buf.c:464: `V4L2_BUF_FLAG_QUEUED' undeclared (first use in this function)
video-buf.c:468: dereferencing pointer to incomplete type
video-buf.c:468: `V4L2_BUF_FLAG_DONE' undeclared (first use in this function)
video-buf.c:475: dereferencing pointer to incomplete type
video-buf.c:476: dereferencing pointer to incomplete type
video-buf.c:477: dereferencing pointer to incomplete type
video-buf.c:478: dereferencing pointer to incomplete type
video-buf.c: At top level:
video-buf.c:483: warning: `struct v4l2_requestbuffers' declared inside parameter list
video-buf.c:484: conflicting types for `videobuf_reqbufs'
video-buf.h:203: previous declaration of `videobuf_reqbufs'
video-buf.c: In function `videobuf_reqbufs':
video-buf.c:488: dereferencing pointer to incomplete type
video-buf.c:490: dereferencing pointer to incomplete type
video-buf.c:494: dereferencing pointer to incomplete type
video-buf.c:506: dereferencing pointer to incomplete type
video-buf.c:507: dereferencing pointer to incomplete type
video-buf.c: At top level:
video-buf.c:515: warning: `struct v4l2_buffer' declared inside parameter list
video-buf.c:516: conflicting types for `videobuf_querybuf'
video-buf.h:204: previous declaration of `videobuf_querybuf'
video-buf.c: In function `videobuf_querybuf':
video-buf.c:517: dereferencing pointer to incomplete type
video-buf.c:519: dereferencing pointer to incomplete type
video-buf.c:519: dereferencing pointer to incomplete type
video-buf.c:521: dereferencing pointer to incomplete type
video-buf.c:523: dereferencing pointer to incomplete type
video-buf.c:523: warning: passing arg 1 of `videobuf_status' from incompatible pointer type
video-buf.c: At top level:
video-buf.c:529: warning: `struct v4l2_buffer' declared inside parameter list
video-buf.c:530: conflicting types for `videobuf_qbuf'
video-buf.h:206: previous declaration of `videobuf_qbuf'
video-buf.c: In function `videobuf_qbuf':
video-buf.c:532: storage size of `field' isn't known
video-buf.c:541: dereferencing pointer to incomplete type
video-buf.c:543: dereferencing pointer to incomplete type
video-buf.c:543: dereferencing pointer to incomplete type
video-buf.c:545: dereferencing pointer to incomplete type
video-buf.c:555: type of formal parameter 3 is incomplete
video-buf.c:532: warning: unused variable `field'
video-buf.c: At top level:
video-buf.c:574: warning: `struct v4l2_buffer' declared inside parameter list
video-buf.c:575: conflicting types for `videobuf_dqbuf'
video-buf.h:208: previous declaration of `videobuf_dqbuf'
video-buf.c: In function `videobuf_dqbuf':
video-buf.c:584: dereferencing pointer to incomplete type
video-buf.c:605: dereferencing pointer to incomplete type
video-buf.c:605: dereferencing pointer to incomplete type
video-buf.c:605: dereferencing pointer to incomplete type
video-buf.c:605: dereferencing pointer to incomplete type
video-buf.c:605: dereferencing pointer to incomplete type
video-buf.c:605: dereferencing pointer to incomplete type
video-buf.c:606: warning: passing arg 1 of `videobuf_status' from incompatible pointer type
video-buf.c: In function `videobuf_read_zerocopy':
video-buf.c:661: storage size of `field' isn't known
video-buf.c:674: type of formal parameter 3 is incomplete
video-buf.c:661: warning: unused variable `field'
video-buf.c: In function `videobuf_read_one':
video-buf.c:702: storage size of `field' isn't known
video-buf.c:728: type of formal parameter 3 is incomplete
video-buf.c:702: warning: unused variable `field'
video-buf.c: In function `videobuf_read_start':
video-buf.c:776: storage size of `field' isn't known
video-buf.c:793: type of formal parameter 3 is incomplete
video-buf.c:776: warning: unused variable `field'
make[2]: *** [video-buf.o] Error 1
make[1]: *** [_mod_/tmp/cx88] Error 2
make: *** [default] Error 2

Spero mi scusiate per la lunghezza del messaggio.

Ciao,

Guldo



Reply to: