Hi Gene, > Check this out about two minutes ago and this is what I got: > > [EMAIL PROTECTED]:/usr/src/trunk# mkae > Building USB Video Class driver... > make[1]: Entering directory `/usr/src/linux-2.6.19-rc2' > CC [M] /usr/src/trunk/uvcvideo.o > In file included from /usr/src/trunk/uvcvideo.c:49: > /usr/src/trunk/v4l2_enumfrmfmt.h:8: error: nested redefinition of 'enum > v4l2_frmsizetypes' > /usr/src/trunk/v4l2_enumfrmfmt.h:8: error: redeclaration of 'enum > v4l2_frmsizetypes' > /usr/src/trunk/v4l2_enumfrmfmt.h:9: error: redeclaration of enumerator > 'V4L2_FRMSIZE_TYPE_DISCRETE' > include/linux/videodev2.h:286: error: previous definition of > 'V4L2_FRMSIZE_TYPE_DISCRETE' was here > /usr/src/trunk/v4l2_enumfrmfmt.h:10: error: redeclaration of enumerator > 'V4L2_FRMSIZE_TYPE_CONTINUOUS' > include/linux/videodev2.h:287: error: previous definition of > 'V4L2_FRMSIZE_TYPE_CONTINUOUS' was here > /usr/src/trunk/v4l2_enumfrmfmt.h:11: error: redeclaration of enumerator > 'V4L2_FRMSIZE_TYPE_STEPWISE' > include/linux/videodev2.h:288: error: previous definition of > 'V4L2_FRMSIZE_TYPE_STEPWISE' was here > /usr/src/trunk/v4l2_enumfrmfmt.h:14: error: nested redefinition of 'enum > v4l2_frmivaltypes' > /usr/src/trunk/v4l2_enumfrmfmt.h:14: error: redeclaration of 'enum > v4l2_frmivaltypes' > /usr/src/trunk/v4l2_enumfrmfmt.h:15: error: redeclaration of enumerator > 'V4L2_FRMIVAL_TYPE_DISCRETE' > include/linux/videodev2.h:326: error: previous definition of > 'V4L2_FRMIVAL_TYPE_DISCRETE' was here > /usr/src/trunk/v4l2_enumfrmfmt.h:16: error: redeclaration of enumerator > 'V4L2_FRMIVAL_TYPE_CONTINUOUS' > include/linux/videodev2.h:327: error: previous definition of > 'V4L2_FRMIVAL_TYPE_CONTINUOUS' was here > /usr/src/trunk/v4l2_enumfrmfmt.h:17: error: redeclaration of enumerator > 'V4L2_FRMIVAL_TYPE_STEPWISE' > include/linux/videodev2.h:328: error: previous definition of > 'V4L2_FRMIVAL_TYPE_STEPWISE' was here > /usr/src/trunk/v4l2_enumfrmfmt.h:24: error: redefinition of 'struct > v4l2_frmsize_discrete' > /usr/src/trunk/v4l2_enumfrmfmt.h:32: error: redefinition of 'struct > v4l2_frmsize_stepwise' > /usr/src/trunk/v4l2_enumfrmfmt.h:52: error: redefinition of 'struct > v4l2_frmsizeenum' > /usr/src/trunk/v4l2_enumfrmfmt.h:73: error: redefinition of 'struct > v4l2_frmival_stepwise' > /usr/src/trunk/v4l2_enumfrmfmt.h:84: error: redefinition of 'struct > v4l2_frmivalenum' > In file included from /usr/src/trunk/uvcvideo.c:49: > /usr/src/trunk/v4l2_enumfrmfmt.h:116:1: warning: > "VIDIOC_ENUM_FRAMESIZES" redefined > In file included from include/linux/videodev.h:15, > from /usr/src/trunk/uvcvideo.c:38: > include/linux/videodev2.h:1329:1: warning: this is the location of the > previous definition > In file included from /usr/src/trunk/uvcvideo.c:49: > /usr/src/trunk/v4l2_enumfrmfmt.h:117:1: warning: > "VIDIOC_ENUM_FRAMEINTERVALS" redefined > In file included from include/linux/videodev.h:15, > from /usr/src/trunk/uvcvideo.c:38: > include/linux/videodev2.h:1330:1: warning: this is the location of the > previous definition > /usr/src/trunk/uvcvideo.c: In function 'uvc_init_isoc': > /usr/src/trunk/uvcvideo.c:1555: warning: assignment from incompatible > pointer type > /usr/src/trunk/uvcvideo.c: In function 'uvc_init_status': > /usr/src/trunk/uvcvideo.c:3736: warning: passing argument 6 of > 'usb_fill_int_urb' from incompatible pointer type > make[2]: *** [/usr/src/trunk/uvcvideo.o] Error 1 > make[1]: *** [_module_/usr/src/trunk] Error 2 > make[1]: Leaving directory `/usr/src/linux-2.6.19-rc2' > make: *** [uvcvideo] Error 2 > > > Anyone know how to fix this?
Edit uvc_compat.h, and replace line 76 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) by #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) Then search all occurences of , struct pt_regs *regs and remove them. A fix will be committed to SVN once 2.6.19 is out. Laurent Pinchart _______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
