<x-tad-bigger>When trying to compile the driver, I get errors. Never seen those
before except with 0.2.0-rc3a. Any idea what could be the problem?
Something wrong with the kernel I am using?
This is the output:
</x-tad-bigger>


Peter -

I just ran into the same problem with 0.2.0-rc3d. Probably you've figured it out by now,
but if not, here's what fixed it for me...

Simply add '#include <linux/moduleparam.h>' just below the include for <linux/init.h>
in the following files:

saa7127.c
tveeprom.c
saa7115.c
msp3400.c

Now, as to this version of the driver actually works for me or not... that's another question!
(I'm trying to upgrade from 0.1.10-pre2-ck100z.) I guess I'll find out soon enough.

-Eric


--- ../../ivtv-0.2.0-rc3d.orig/driver/saa7127.c 2004-12-17 13:33:34.000000000 -0800
+++ ./saa7127.c 2005-01-20 20:46:09.566489881 -0800
@@ -65,6 +65,7 @@
#include <linux/kernel.h>
#include <linux/major.h>
#include <linux/init.h>
+#include <linux/moduleparam.h>


#include <linux/slab.h>


--- ../../ivtv-0.2.0-rc3d.orig/driver/tveeprom.c 2004-11-19 08:21:04.000000000 -0800
+++ ./tveeprom.c 2005-01-20 20:40:20.508532569 -0800
@@ -37,6 +37,7 @@
#include <linux/kernel.h>
#include <linux/major.h>
#include <linux/init.h>
+#include <linux/moduleparam.h>


#include <linux/slab.h>


--- ../../ivtv-0.2.0-rc3d.orig/driver/saa7115.c 2004-11-19 08:21:04.000000000 -0800
+++ ./saa7115.c 2005-01-20 20:40:05.484645088 -0800
@@ -44,6 +44,7 @@
#include <linux/kernel.h>
#include <linux/major.h>
#include <linux/init.h>
+#include <linux/moduleparam.h>


#include <linux/slab.h>


--- ../../ivtv-0.2.0-rc3d.orig/driver/msp3400.c 2004-11-19 08:21:04.000000000 -0800
+++ ./msp3400.c 2005-01-20 20:35:54.391972736 -0800
@@ -45,6 +45,7 @@
#include <linux/i2c.h>
#include <linux/videodev.h>
#include <linux/init.h>
+#include <linux/moduleparam.h>
#include <linux/smp_lock.h>


#include <asm/pgtable.h>

Reply via email to