Sensors
I people.. i'm follow a tuturial to install the lm-sensors but when i do make in the lm-sensors directory :
marco@Linux:~/lm_sensors-2.7.0$ make gcc -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/src/linux/include -I/usr/src/linux/include -O2 -c kernel/busses/i2c-ipmb.c -o kernel/busses/i2c-ipmb.o kernel/busses/i2c-ipmb.c:56: error: `I2C_ALGO_IPMB' undeclared here (not in a function) kernel/busses/i2c-ipmb.c:56: error: initializer element is not constant kernel/busses/i2c-ipmb.c:56: error: (near initialization for `i2c_ipmb_algorithm.id') make: *** [kernel/busses/i2c-ipmb.o] Error 1 marco@Linux:~/lm_sensors-2.7.0$ anyone know? |
Are you using a 2.4 kernel? If you are, you need to install i2c-2.7.0 before installing lm_sensors-2.7.0
If you're using a 2.6 kernel, lm_sensors-2.7.0 is not recommended. Choose the version you need according to lm_sensors kernel info Quote:
|
tks mdg..
yes, i use kernel 2.4.26... i do make and make install on i2c-2.7.0 but the problem is the same.. make: *** [kernel/busses/i2c-ipmb.o] Error 1 |
You might not have your kernel-source installed. Go to a terminal and type "uname -r", then check if you have a full kernel tree in /lib/modules/(result of uname -r)/build
You should see (amongst others): arch crypto Documentation drivers fs If not, you'll need to download and install your kernel-source |
thanks again.. i'll do that
|
Quote:
|
right
|
All times are GMT -5. The time now is 01:54 PM. |