Mailing List archive

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

[vdr] Re: Newstruct Problem: wasRe: Re: DiSEqC support



In article <003901c26d42$65a58290$162ea8c0@RWBROOM>,
   Reinhard Walter Buchner <rw.buchner@freenet.de> wrote:
> Hi Oliver,

> >> tar -xjvf siemens_dvb-0.9.4-2002-06-23.patch.tar.bz2

> >This is *not* a  NEWSTRUCT driver!

> >cvs -d :pserver:anonymous@linuxtv.org:/cvs/linuxtv login cvs -d
> >:pserver:anonymous@linuxtv.org:/cvs/linuxtv -z3 co -r NEWSTRUCT DVB

> Yes, I also download that driver (just to be sure I did it again from a
> clean slate) I forgot to mention the CVS path I used. Sorry

> However, when I compile it I get the following error (which is why
> I thought you had to apply Klaus' patch):

> stack-boundary=2 -march=i586 -DMODULE -I.. -I. -g -DUSE_OSD -I../../include
> -c -o av7110.o av7110.c
> av7110.c: In function `vid_register':
> av7110.c:3325: too many arguments to function `video_register_device'
> make[4]: *** [av7110.o] Error 1
> make[4]: Leaving directory `/usr/local/src/DVB/driver/av7110'

> More errors follow because of the one above

Just found this from the linuxdvb list

[begin]
From: Andreas Oberritter <andreas@oberritter.de>
Subject: newstruct compile fix for kernel <= 2.4.4 :-)
Date: Sat, 14 Sep 2002 00:25:00
Source: mail.linux-dvb


diff -u -r1.1.2.47 av7110.c
--- driver/av7110/av7110.c      9 Aug 2002 09:48:43 -0000       1.1.2.47
+++ driver/av7110/av7110.c      13 Sep 2002 23:30:46 -0000
@@ -3301,7 +3301,11 @@
 
        av7110->video.priv = av7110;
 
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,4,4)
         if( 0 > (video_register_device(&av7110->video,
VFL_TYPE_GRABBER, -1))) {
+#else
+        if( 0 > (video_register_device(&av7110->video,
VFL_TYPE_GRABBER))) {
+#endif
                 printk(KERN_ERR "dvb: can't register videodevice\n");
                 return -1;
         }
[end]

which looks as though it should solve your problem...
[Snip]

> I am using Suse 7.2 Pro Kernel 2.4.4. 

...apart from the fact that you're using 2.4.4 - maybe Suse 7.2 uses older
vfl stuff? Maybe alter 2,4,4 to 2,4,5 in your case?

Andy



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index