LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-13-2005, 12:50 PM   #1
hippo159
LQ Newbie
 
Registered: Sep 2004
Posts: 8

Rep: Reputation: 0
lm sensor 2.9.0 compilation errors


Hi
I use slackware 10 and trying to install lm sensor 2.9.0.
I have installed i2c-2.9.0 with out any problems I think.
But when I try to "make" the lm_sensor I get errors:

kernel/busses/i2c-ipmi.c: At top level:
kernel/busses/i2c-ipmi.c:54: error: `I2C_ALGO_IPMI'
undeclared here (not in a function)
kernel/busses/i2c-ipmi.c:54: error: initializer
element is not constant
kernel/busses/i2c-ipmi.c:54: error: (near
initialization for `i2c_ipmi_algorithm.id')
kernel/busses/i2c-ipmi.c:61: error: `I2C_HW_IPMI'
undeclared here (not in a function)
kernel/busses/i2c-ipmi.c:61: error: initializer
element is not constant
kernel/busses/i2c-ipmi.c:61: error: (near
initialization for `i2c_ipmi_adapter.id')
kernel/busses/i2c-ipmi.c: In function
`ipmi_register_bmc':
kernel/busses/i2c-ipmi.c:183: warning: `return' with a
value, in function returning void
make: *** [kernel/busses/i2c-ipmi.o] Error 1

Is there a problem with my i2c 2.9.0 installation or with my lm_sensor makefile?
/Lars
 
Old 03-14-2005, 05:47 AM   #2
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
most probably, there's a problem with the code. Try looking in kernel/busses/i2c-ipmi.c, line 183, and see if it looks ok. If it's the latest version, look for a bug report on this, or file one yourself. If not, update.
 
  


Reply



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
kernel compilation errors vishamr2000 Red Hat 3 04-09-2005 10:33 PM
GCC Compilation Errors The_Dish Programming 7 10-08-2004 04:33 PM
C++ compilation errors ??? glevine Programming 1 07-16-2004 03:15 PM
Compilation Errors ! vipinsharma Programming 0 06-01-2004 02:24 AM
Gimp2.0 compilation errors!?! dhbiker Linux - Software 5 02-20-2004 06:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:28 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration