lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: uvc_driver.c compile error on 2.6.18
- Date: Wed, 2 Jul 2008 11:42:52 +0200
- From: Laurent Pinchart <laurent.pinchart@xxxxxxxxx>
- Subject: Re: uvc_driver.c compile error on 2.6.18
Hi Hans,
On Wednesday 02 July 2008, Hans Verkuil wrote:
> Hi all,
>
> The current v4l-dvb doesn't build anymore on 2.6.18:
>
> CC [M] /home/hans/work/src/v4l/v4l-dvb/v4l/uvc_driver.o
> /home/hans/work/src/v4l/v4l-dvb/v4l/uvc_driver.c: In
> function 'uvc_parse_control':
> /home/hans/work/src/v4l/v4l-dvb/v4l/uvc_driver.c:1135: warning: implicit
> declaration of function 'usb_endpoint_is_int_in'
> /home/hans/work/src/v4l/v4l-dvb/v4l/uvc_driver.c: At top level:
> /home/hans/work/src/v4l/v4l-dvb/v4l/uvc_driver.c:1918: error: unknown
> field 'supports_autosuspend' specified in initializer
> /home/hans/work/src/v4l/v4l-dvb/v4l/uvc_driver.c:1918: warning: missing
> braces around initializer
> /home/hans/work/src/v4l/v4l-dvb/v4l/uvc_driver.c:1918: warning: (near
> initialization for 'uvc_driver.driver.dynids')
> make[3]: *** [/home/hans/work/src/v4l/v4l-dvb/v4l/uvc_driver.o] Error 1
> make[2]: *** [_module_/home/hans/work/src/v4l/v4l-dvb/v4l] Error 2
> make[2]: Leaving directory `/home/hans/work/src/kernels/linux-2.6.18.8'
> make[1]: *** [default] Error 2
> make[1]: Leaving directory `/home/hans/work/src/v4l/v4l-dvb/v4l'
> make: *** [all] Error 2
Mauro committed the uvcvideo driver to the v4l-dvb tree two days ago. The patch he based his commit on was intended for submission to the main Linux tree, and as such didn't contain any support for older kernels.
The uvcvideo driver supports kernels 2.6.15 upwards. The code can be found in the SVN repository at svn://svn.berlios.de/linux-uvc/linux-uvc/trunk
Fixing the driver in the hg tree to build with 2.6.18 would be duplicating work. As I explained in a mail to Mauro, I don't want to drop the SVN repository before the driver hits the main kernel tree, as it would confuse users.
What would be the best way to solve this issue ?
Regards,
Laurent Pinchart
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list