Mailing List archive

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

[linux-dvb] Re: Cannot compile DVB driver RH 8.0 Kernel 2.4.20



| saa7146_core.c: In function `saa7146_core_command':
| saa7146_core.c:374: warning: passing arg 1 of `remap_page_range_R323728a8'
| makes pointer from integer without a cast
| saa7146_core.c:374: incompatible type for argument 4 of
| `remap_page_range_R323728a8'
| saa7146_core.c:374: too few arguments to function
| `remap_page_range_R323728a8'
| make[3]: *** [saa7146_core.o] Fehler 1
|
| I am using RedHat 8.0 with kernel 2.4.20-18.8, WinTV Nova
|
| Are there any solutions to this problem?
|

try to comment out the #include "compat.h" in driver/av7110/saa7146_core.c
this should fix the problem.



--- DVB/driver/av7110/saa7146_core.c    2003-05-14 13:20:19.000000000 +0200
+++ DVB/driver/av7110/saa7146_core.c    2003-05-16 11:18:32.000000000 +0200
@@ -34,9 +34,10 @@
 #include "saa7146_core.h"
 #include "saa7146_v4l.h"
 #include "av7110.h"
-#include "compat.h"
+//#include "compat.h"
 #include "dvb_i2c.h"

+
 /* insmod parameter: here you can specify the number of video-buffers
    to be allocated. for simple capturing 2 buffers (double-buffering)
    should suffice. but if you plan to do 25fps grabbing, you should



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index