> Unfortunately, I was not as lucky as you. my
> compilation problem is not resolved.
>
> I would greatly appreciate some help here.

You need to apply the attach patch to tveeprom.c That should fix your
compile problem.

              Hans
--- tveeprom.c.org	2005-08-25 09:47:56.000000000 +0200
+++ tveeprom.c	2005-08-25 09:48:39.000000000 +0200
@@ -64,6 +64,17 @@
 #include <linux/version.h>
 #include <asm/uaccess.h>
 
+/* If you don't want to patch to v4l2, grab a copy of
+ * videodev2.h and put it in the same dir as this file */
+#ifndef HAVE_V4L2
+#define HAVE_V4L2 1
+ /* Using a non-v4l2-kernel means that the v4l-compat.o module is not
+    available, so we have to discard v4l compatibility. We mark that
+    with this define. */
+#define V4L2_NO_COMPAT
+#include "videodev2.h"
+#endif
+
 MODULE_DESCRIPTION("i2c Hauppauge eeprom decoder driver");
 MODULE_AUTHOR("John Klar");
 MODULE_LICENSE("GPL");

Reply via email to