Hi,
I'm using SuSE 9.1 with 2.6.5-7.111.19-bigsmp kernel.
After a long time I've upgraded to 0.2.0-rc3f and got compiler errors in module msp3400.c and some subsequent modules which are the same type.
Changing the following code piece in line 135 of msp3400.c from:


#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
module_param(once, int, 0644);
module_param(debug, int, 0644);
module_param(simple, int, 0644);
module_param(simpler, int, 0644);
module_param(stereo_threshold, int, 0644);
module_param(standard, int, 0644);
module_param(amsound, int, 0644);
module_param(dolby, int, 0644);
#else
MODULE_PARM(once,"i");
MODULE_PARM(debug,"i");
MODULE_PARM(simple,"i");
MODULE_PARM(simpler,"i");
MODULE_PARM(stereo_threshold,"i");
MODULE_PARM(standard,"i");
MODULE_PARM(amsound,"i");
MODULE_PARM(dolby,"i");
#endif

to:

#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 6) //<---because use of 2.6.5xxx kernel
module_param(once, int, 0644);
module_param(debug, int, 0644);
module_param(simple, int, 0644);
module_param(simpler, int, 0644);
module_param(stereo_threshold, int, 0644);
module_param(standard, int, 0644);
module_param(amsound, int, 0644);
module_param(dolby, int, 0644);
#else
MODULE_PARM(once,"i");
MODULE_PARM(debug,"i");
MODULE_PARM(simple,"i");
MODULE_PARM(simpler,"i");
MODULE_PARM(stereo_threshold,"i");
MODULE_PARM(standard,"i");
MODULE_PARM(amsound,"i");
MODULE_PARM(dolby,"i");
#endif


and similar changes on the other parts, where the compiler complains, solved the problems for me.

After some investigation in older versions, I've found that this is introduced with the msp3400.c from 19. November 2004 17:21 CET (maybe earlier, but all packages with this error, which I have tested, have these file).

Regards
Lutz Mändle         Internet: [EMAIL PROTECTED]
Berlin/Germany



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
ivtv-devel mailing list
ivtv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to