I've seen some references to the driver being included in the mainline 
kernel as part of v4l2, but I am not clear on the present situation with 
the merge. I have gone back as far as rev 190 and I get these errors on 
all up to latest rev 205. The mainline kernel doesn't build uvcvideo.ko 
either.
  # make clean && make && make install
rm -f *.o *.ko .*.cmd .*.flags *.mod.c Module.symvers version.h
rm -rf .tmp_versions
Building USB Video Class driver...
make[1]: Entering directory `/usr/src/linux-2.6.25-git10'
   CC [M]  /usr/src/uvc_svn/trunk/uvc_driver.o
In file included from /usr/src/uvc_svn/trunk/uvcvideo.h:7,
                  from /usr/src/uvc_svn/trunk/uvc_driver.c:40:
/usr/src/uvc_svn/trunk/uvc_compat.h:137:1: warning: 
"V4L2_CTRL_CLASS_CAMERA" redefined
In file included from include/linux/videodev.h:16,
                  from /usr/src/uvc_svn/trunk/uvc_driver.c:31:
include/linux/videodev2.h:798:1: warning: this is the location of the 
previous definition
In file included from /usr/src/uvc_svn/trunk/uvcvideo.h:7,
                  from /usr/src/uvc_svn/trunk/uvc_driver.c:40:
/usr/src/uvc_svn/trunk/uvc_compat.h:140: error: nested redefinition of 
‘enum v4l2_power_line_frequency’
/usr/src/uvc_svn/trunk/uvc_compat.h:140: error: redeclaration of ‘enum 
v4l2_power_line_frequency’
/usr/src/uvc_svn/trunk/uvc_compat.h:141: error: redeclaration of 
enumerator ‘V4L2_CID_POWER_LINE_FREQUENCY_DISABLED’
include/linux/videodev2.h:874: error: previous definition of 
‘V4L2_CID_POWER_LINE_FREQUENCY_DISABLED’ was here
/usr/src/uvc_svn/trunk/uvc_compat.h:142: error: redeclaration of 
enumerator ‘V4L2_CID_POWER_LINE_FREQUENCY_50HZ’
include/linux/videodev2.h:875: error: previous definition of 
‘V4L2_CID_POWER_LINE_FREQUENCY_50HZ’ was here
/usr/src/uvc_svn/trunk/uvc_compat.h:143: error: redeclaration of 
enumerator ‘V4L2_CID_POWER_LINE_FREQUENCY_60HZ’
include/linux/videodev2.h:876: error: previous definition of 
‘V4L2_CID_POWER_LINE_FREQUENCY_60HZ’ was here
/usr/src/uvc_svn/trunk/uvc_compat.h:155: error: nested redefinition of 
‘enum v4l2_exposure_auto_type’
/usr/src/uvc_svn/trunk/uvc_compat.h:155: error: redeclaration of ‘enum 
v4l2_exposure_auto_type’
/usr/src/uvc_svn/trunk/uvc_compat.h:156: error: redeclaration of 
enumerator ‘V4L2_EXPOSURE_MANUAL’
include/linux/videodev2.h:1080: error: previous definition of 
‘V4L2_EXPOSURE_MANUAL’ was here
/usr/src/uvc_svn/trunk/uvc_compat.h:157: error: redeclaration of 
enumerator ‘V4L2_EXPOSURE_AUTO’
include/linux/videodev2.h:1079: error: previous definition of 
‘V4L2_EXPOSURE_AUTO’ was here
/usr/src/uvc_svn/trunk/uvc_compat.h:158: error: redeclaration of 
enumerator ‘V4L2_EXPOSURE_SHUTTER_PRIORITY’
include/linux/videodev2.h:1081: error: previous definition of 
‘V4L2_EXPOSURE_SHUTTER_PRIORITY’ was here
/usr/src/uvc_svn/trunk/uvc_compat.h:160: error: redeclaration of 
enumerator ‘V4L2_EXPOSURE_APERTURE_PRIORITY’
include/linux/videodev2.h:1083: error: previous definition of 
‘V4L2_EXPOSURE_APERTURE_PRIORITY’ was here
make[2]: *** [/usr/src/uvc_svn/trunk/uvc_driver.o] Error 1
make[1]: *** [_module_/usr/src/uvc_svn/trunk] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25-git10'
make: *** [uvcvideo] Error 2

Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support 
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to