lm_sensors-2.8.5 compile error.
Hello,
I have the same problem as "Ticket Number 1504".
However, which file should be corrected?
What is the file name to correct?
Any info would be much appreciated and thank you for your time, kimu
Quoting Kim Jingoo <[email protected]>:
Quoted 5 lines
I have the same problem as "Ticket Number 1504".
However, which file should be corrected?
What is the file name to correct?Any info would be much appreciated and thank you for your time,
See attached patch, it should do what you need. We should have applied it after resolving ticket 1504 but for some reasons we did not. I'll do it as soon as you confirm that it worked for you.
Thanks.
Signature · 10 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/ -------------- next part -------------- A non-text attachment was scrubbed... Name: lm_sensors2-min_t.diff Type: application/octet-stream Size: 1053 bytes Desc: not available Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040311/bc52b3b6/lm_sensors2-min_t.obj
Quoting myself:
Quoted 3 lines
See attached patch, it should do what you need. We should have applied it after resolving ticket 1504 but for some reasons we did not. I'll do it as soon as you confirm that it worked for you.
OK, I tested it and commited to CVS.
I also noticed that there are many other things that will prevent recent lm_sensors versions from working on older kernels (__devexit_p, snprintf, PCI_DEVICE_ID_INTEL_82801CA_3, MODULE_LICENSE, max). Some of them are easy to fix while others are not.
So we better don't pretend we are compatible with kernels starting with 2.4.9. From what I could see we do not properly support kernels prior to 2.4.17.
Anyway, I'm not sure that fixing this is worth anything before we also revert the module reference count method to what it was before i2c 2.8.0, so that we are really compatible with 2.4 kernels.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/