John wrote:
 
<snip>

> I have also changed some of the ifdef's in the ivtv-kthreads so 
> that the code should now compile on suse 9.0 as well as RH9 
> and should still work on plain 2.4 kernels. There is still a 
> problem in v4l1-compat.c on Suse 9 but I cant work out how to 
> fix that (separate mail coming on this).

Does this work against SuSE 9.1?  I found 0.3.2a (or the 0.2.* versions)

wouldn't compile as standard but would if I changed the direction of the

kernel version depends from

msp3400.c:#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
saa7115.c:#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
saa7127.c:#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
tveeprom.c:#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)

To

msp3400.c:#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 0)
saa7115.c:#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 0)
saa7127.c:#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 0)
tveeprom.c:#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 0)

It then compiled and runs fine.

I'll be honest I can't write C so I'm not sure exactly what I'm doing 
but that fixed it so that it compiled (and it works) :-)

Kernel version is 2.6.5-7.111.19-default

Regards

David




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to