[cpia] problems with kernel 2.4.5]

Mike Neuhaus Mike.Neuhaus@gmx.de
Sun, 27 May 2001 17:04:48 +0200


Hi,

yesterday i have tested the new kernel. Using the v4l cpia-usb driver in
the kernel results no picture in gqcam. Compiling the 1.2-driver results:


cpia.c:3906: warning: initialization from incompatible pointer type
cpia.c:3907: warning: missing braces around initializer
cpia.c:3907: warning: (near initialization for `cpia_template.name')
cpia.c:3909: warning: initialization makes integer from pointer without a
cast
cpia.c:3909: initializer element is not computable at load time
cpia.c:3909: (near initialization for `cpia_template.name[2]')
cpia.c:3910: warning: initialization makes integer from pointer without a
cast
cpia.c:3910: initializer element is not computable at load time
cpia.c:3910: (near initialization for `cpia_template.name[3]')
cpia.c:3911: warning: initialization makes integer from pointer without a
cast
cpia.c:3911: initializer element is not computable at load time
cpia.c:3911: (near initialization for `cpia_template.name[4]')
cpia.c:3912: warning: initialization makes integer from pointer without a
cast
cpia.c:3913: warning: initialization makes integer from pointer without a
cast
cpia.c:3914: warning: initialization makes integer from pointer without a
cast
cpia.c:3914: initializer element is not computable at load time
cpia.c:3914: (near initialization for `cpia_template.name[7]')
cpia.c:3915: warning: initialization makes integer from pointer without a
cast
cpia.c:3915: initializer element is not computable at load time
cpia.c:3915: (near initialization for `cpia_template.name[8]')
cpia.c:3916: warning: initialization makes integer from pointer without a
cast
cpia.c:3916: initializer element is not computable at load time
cpia.c:3916: (near initialization for `cpia_template.name[9]')
cpia.c:3917: warning: initialization makes integer from pointer without a
cast
cpia.c: In function `cpia_register_camera':
cpia.c:4079: too few arguments to function `video_register_device'
make: *** [cpia.o] Fehler 1

..and breaks.
it seems to be, that it is a problem in v4l. 

how can i use my usb-cpia -camera (terracam usb) with kernel 2.4.5? 

greetings 
Mike Neuhaus




--
voice over ip (linux and bsd -only): http://www.linuxmotors.com/phone 
voice and video over ip: http://www.freewebfone.com/