Re: [cron job] v4l-dvb daily build 2.6.22 and up: ERRORS, 2.6.16-2.6.21: WARNINGS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 9, 2009 at 2:10 AM, Hans Verkuil <hverkuil@xxxxxxxxx> wrote:
>
> Can someone take a look at these warnings and errors? Looking at the log
> these seem to be pretty easy to fix (compat stuff for the most part).
>
> I don't have the time for this for several more days, so I'd appreciate it
> if someone could take a look at this for me.
>
> Thanks,
>
>        Hans

Well, i already posted about problems with compat.h and usb_endpoint_type.
The subject was "trouble with v4l-dvb compilation, compat.h:
redefinition of 'usb_endpoint_type". Here it is:
http://www.spinics.net/lists/linux-media/msg03965.html

I wish i know how to patch that thing right but i don't know that.
My cuurent workaroung for that is:

diff -r 77ebdc14cc24 v4l/compat.h
--- a/v4l/compat.h      Wed Apr 08 14:01:19 2009 -0300
+++ b/v4l/compat.h      Thu Apr 09 03:08:07 2009 +0400
@@ -392,11 +392,13 @@
 }
 #endif

+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30)
 #ifdef NEED_USB_ENDPOINT_TYPE
 static inline int usb_endpoint_type(const struct usb_endpoint_descriptor *epd)
 {
        return epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK;
 }
+#endif
 #endif
 #endif /* __LINUX_USB_H */

but as i i understand it's bad. If someone can repair it correctly it
will be cool.

-- 
Best regards, Klimov Alexey
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux