Laurent Pinchart wrote:
> Hi Darren,
>
> On Tuesday 15 July 2008, Darren Longhorn wrote:
>   
>> Firstly, I realise that kernels as old as 2.6.10 are not supported! So
>> I don't expect anyone is much interested in these issues, but I wanted
>> to document it somewhere and this list seemed to be the appropriate place.
>>
>> The main issue I have found are the use of linux/videodev2.h in place
>> of linux/videodev.h This causes various compilation errors. Including
>> lack of definitions from linux/mm.h which videodev2.h does not
>> provide. I belive this may be related to the non-availability of
>> media/v4l2-common.h so I have reverted back to including
>> linux/videodev.h on kernels < 2.6.15
>>     
>
> I've included linux/videodev.h in uvc_compat.h for kernels older than 2.6.18. 
> This should fix your compilation issues.
>
>   
>> The other issue is the use of gfp_t, which I have fixed by adding a
>> definition to uvc_compat.h fro kernels < 2.6.14.
>>     
>
> There was a typo in uvc_compat.h. Fixed in SVN, thanks. 
>
>   
That's great Laurent, thanks! I fixed it locally, but I much prefer to 
keep my local changes to a minimum, so I'll back those out and merge 
again with the head of SVN..

Cheers

Darren


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

Reply via email to