Skip to contentSkip to conversation

help lmsensors

DISCUSSION [email protected] 3 participants 3 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

help, i have a Abit KX7-333r motherboard, i ran sensors-detect and put in the modules and it didnt work, then someone on irc, ended up telling me to run this options force command, wich worked, but then i messed up my linux and had to reformat and install, (i played with fsck :p) well now when i run make it gives me this....
[root@localhost lm_sensors-2.7.0]# make
grep: /lib/modules/2.4.18-18.7.x/build/Makefile: No such file or directory
grep: /lib/modules/2.4.18-18.7.x/build/include/linux/autoconf.h: No such file or directory
make: *** No rule to make target /lib/modules/2.4.18-18.7.x/build/include/linux/errno.h', needed by prog/detect/i2cdetect.rd'. Stop.

please help, thanks

ps
i know it works on this motherboard, what is strange though is that when
i run sensors it does not give me readings, only worked though gkrellm

#1 lore raw
Quoted 7 lines · On Mon, 2002-12-23 at 14:00, [email protected] wrote:

help, i have a Abit KX7-333r motherboard, i ran sensors-detect and put in the modules and it didnt work, then someone on irc, ended up telling me to run this options force command, wich worked, but then i messed up my linux and had to reformat and install, (i played with fsck :p) well now when i run make it gives me this....
[root@localhost lm_sensors-2.7.0]# make
grep: /lib/modules/2.4.18-18.7.x/build/Makefile: No such file or directory

Look in /lib/modules/2.4.18-18.7.x to see if you have a symbolic link "build" to /usr/src/linux.

Also check in /usr/src to see that "linux" is a symlink to the kernel source tree.
That tree may or may not have been installed by default on your re-install.

Quoted 5 lines

grep: /lib/modules/2.4.18-18.7.x/build/include/linux/autoconf.h: No such file or directory
make: *** No rule to make target /lib/modules/2.4.18-18.7.x/build/include/linux/errno.h', needed by prog/detect/i2cdetect.rd'. Stop.

Signature · 1 line
Ed Harrison <[email protected]>
#2 lore raw
In reply to [email protected]
Quoted 8 lines

[root@localhost lm_sensors-2.7.0]# make
grep: /lib/modules/2.4.18-18.7.x/build/Makefile: No such file or directory grep:
/lib/modules/2.4.18-18.7.x/build/include/linux/autoconf.h: No such file or directory make: *** No rule to make target /lib/modules/2.4.18-18.7.x/build/include/linux/errno.h', needed by prog/detect/i2cdetect.rd'. Stop.

You need to install whatever package it is for your distribution that provides the kernel sources. We use some files from the kernel sources to build lm_sensors, and the above messages show they were not found.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/