LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-02-2004, 03:45 AM   #1
marco_f
LQ Newbie
 
Registered: Sep 2004
Posts: 13

Rep: Reputation: 0
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?
 
Old 10-02-2004, 05:32 AM   #2
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 37
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:
Recommended kernel and lm_sensors combinations:

* Kernels 2.6.5-rc1 and later: lm_sensors 2.8.6 or any later version
* Kernels 2.6.3-rc2 to 2.6.4: lm_sensors 2.8.5
* Kernels 2.6.2-rc1 to 2.6.3-rc1: lm_sensors 2.8.4
* Kernels 2.6.1-rc1 to 2.6.1: lm_sensors 2.8.3
* Kernels 2.6.0 and earlier: lm_sensors 2.8.2
2.6 kernel already has i2c included
 
Old 10-02-2004, 07:57 AM   #3
marco_f
LQ Newbie
 
Registered: Sep 2004
Posts: 13

Original Poster
Rep: Reputation: 0
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
 
Old 10-02-2004, 09:44 AM   #4
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 37
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
 
Old 10-02-2004, 12:40 PM   #5
marco_f
LQ Newbie
 
Registered: Sep 2004
Posts: 13

Original Poster
Rep: Reputation: 0
thanks again.. i'll do that
 
Old 11-18-2004, 06:12 PM   #6
zorlock
LQ Newbie
 
Registered: Aug 2003
Posts: 15

Rep: Reputation: 0
Quote:
Originally posted by mdg
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
I am having this same problem. I checked my /lib/modules/2.4.26/build directory and it contains all directories mentioned above. What else could I look at?
 
Old 11-18-2004, 06:41 PM   #7
HeWhoNeverSleep
LQ Newbie
 
Registered: Nov 2004
Location: USA
Distribution: HeWhoNeverSleeps
Posts: 3

Rep: Reputation: 0
right
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to use lm sensors? linuxdork Linux - Software 6 03-14-2005 11:05 AM
nforce2 sensors with 2.6.7 taltman Linux - Hardware 0 07-27-2004 04:03 PM
lm-sensors and l2m crash_zero Mandriva 0 04-23-2004 04:40 PM
lm sensors Pauli Fedora 0 03-23-2004 05:33 PM
lm sensors, no sensors found N_A_J_M Linux - General 3 01-22-2003 05:09 AM


All times are GMT -5. The time now is 01:13 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration