Darren Longhorn wrote:
> 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.
>>

Hi Laurent,

I just got around to merging with svn 233. I think that the 
conditional inclusion of linux/videodev.h needs to be earlier in the 
file, in order to provide a definition of VM_RESERVED for 
vm_insert_page().

While I actually have kzalloc implemented in my kernel, I don't have 
__nocast for gfp_t, so I added:
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,12)
#define __nocast
#endif

Also the arm_v5t_le- toolchain generates the error 'missing binary 
operator before token "("' for the following line:
#if !defined(RHEL_RELEASE_CODE) || RHEL_RELEASE_CODE < 
RHEL_RELEASE_VERSION(5,2)

Cheers

Darren


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

Reply via email to