On 21 November 2010 11:59, Andy Burns <[email protected]> wrote:

> On 21 November 2010 09:46, Andy Burns <[email protected]> wrote:
>
>> On 20 November 2010 22:56, Jonathan Martens <[email protected]> wrote:
>>
>>> I have been able to resolve the issue (manually) ATM by adding
>>>  #include <linux/videodev2.h>

OK getting somewhere, but wondering if my header files are screwed up

I needed to make sure it included the version of videodev2.h from
/usr/include/v4l/linux
rather than the version from /usr/linux

Also had to include videodef.h to pick up one missing #define from videodef2.h

Looking at the version of videodef2.h on the bytesex site, I put back
the #include for sys/time.h
and moved the #include compiler.h to be conditional on the #ifdef
__KERNEL (despite the comments saying no kernel conditional code is
allowed) and also did a "null" #define of __user

after that little lot, it built all the files in the libs/libmythtv
folder that it failed on before

but I don't think I should be having to edit the V4L2 includes, is it
likely my installation?

_______________________________________________
atrpms-devel mailing list
[email protected]
http://lists.atrpms.net/mailman/listinfo/atrpms-devel

Reply via email to