On Fri, 2003-09-26 at 14:41, andy wrote: > I am trying to recompile the latest dc10 driver on a 2.4.20-18.8 kernel > and it keeps dumping out with this error: > > zoran.c: In function `zoran_mmap': > zoran.c:4209: warning: passing arg 1 of `remap_page_range_R323728a8' > makes pointer from integer without a cast > zoran.c:4209: incompatible type for argument 4 of > `remap_page_range_R323728a8' > zoran.c:4209: too few arguments to function `remap_page_range_R323728a8' > zoran.c:4240: warning: passing arg 1 of `remap_page_range_R323728a8' > makes pointer from integer without a cast > zoran.c:4240: incompatible type for argument 4 of > `remap_page_range_R323728a8' > zoran.c:4240: too few arguments to function `remap_page_range_R323728a8' > zoran.c: At top level: > zoran.c:4272: warning: initialization from incompatible pointer type > make[2]: *** [zoran.o] Error 1 > > does anyone have a fix for this? zoran_driver.c, line 4475, change: #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) #define zr_remap_page_range(a,b,c,d,e) remap_page_range(b,c,d,e) #else #define zr_remap_page_range(a,b,c,d,e) remap_page_range(a,b,c,d,e) #endif into #if 0 #define zr_remap_page_range(a,b,c,d,e) remap_page_range(b,c,d,e) #else #define zr_remap_page_range(a,b,c,d,e) remap_page_range(a,b,c,d,e) #endif Ronald -- Ronald Bultje <rbultje@xxxxxxxxxxxxxxxxxxx> Linux Video/Multimedia developer