Hi Johan,

On Fri, 2003-08-29 at 18:16, Johan Hoeke wrote:
> What about non-kernel.org kernels like RedHat kernels?
> The project that I want to use (mythtv) has lots of rpm goodies 
> centered around the 2.4.20-19 RedHat kernel.
> Anyone have experience getting the zoran driver to compile w/ the redhat
> kernels?

I'm both maintainer and RedHat user, so I sometimes notice these things
on a new RedHat installation, too. I'm primarily developping on
"vanilla" kernels, though, so expect the driver to run solely on these.

Now, on RedHat: they use modified kernel headers that are incompatible
(ABI/API wise) with the vanilla sources on 2.4.x, and I'm not going to
"improperize" our sources to handle that. I can tell you how to fix it
manually, though. In zoran_driver.c, line 4475, you'll see these lines:

#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

Change that to:

#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

And it'll compile just fine.

HTH,
Ronald

-- 
Ronald Bultje <[EMAIL PROTECTED]>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to