I have been trying to compile this against linux kernel 2.6.18 from centos and failing as there doesnt seem to be a patch to go with it.
All fail from one reason or another I am using one that most closely matches the 2.6.18 release date ( http://bmcsensors-26.sourceforge.net/ipmisensors/ipmisensors-20060805-0622.diff )
I get [after a failed patch for 3 #defines being manually implimented] when typing make modules
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CC [M] drivers/char/ipmi/ipmi_msghandler.o
drivers/char/ipmi/ipmi_msghandler.c: In function âipmi_get_bmcdeviceâ:
drivers/char/ipmi/ipmi_msghandler.c:1963: error: âMAX_IPMI_INTERFACESâ undeclared (first use in this function)
drivers/char/ipmi/ipmi_msghandler.c:1963: error: (Each undeclared identifier is reported only once
drivers/char/ipmi/ipmi_msghandler.c:1963: error: for each function it appears in.)
drivers/char/ipmi/ipmi_msghandler.c:1966: error: subscripted value is neither array nor pointer
make[3]: *** [drivers/char/ipmi/ipmi_msghandler.o] Error 1
make[2]: *** [drivers/char/ipmi] Error 2
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2
Simon
( simon [D_O_T] atack [ A_.T ] nottingham [D_O_T] ac [D_O_T] uk )