[Lunar-bugs] [Lunar Linux 0000371]: lm_sensors build error
noreply at bugs.lunar-linux.org
noreply at bugs.lunar-linux.org
Tue Feb 3 09:52:55 GMT 2004
The following bug has been CLOSED
=======================================================================
http://bugs.lunar-linux.org/view_bug_page.php?f_id=0000371
=======================================================================
Reporter: couannette
Handler: niki
=======================================================================
Project: Lunar Linux
Bug ID: 0000371
Category: base
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
=======================================================================
Date Submitted: 2003-09-15 22:11 GMT
Last Modified: 2004-02-03 09:52 GMT
=======================================================================
Summary: lm_sensors build error
Description:
gcc -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I.
-Ikernel/include -I/usr/local/include
-I/lib/modules/2.4.22-stable/build/include -nostdinc -I
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include -Wall -O2 -O3
-mcpu=athlon-tbird -march=athlon-tbird -mmmx -m3dnow -mfpmath=387 -c
kernel/busses/i2c-nforce2.c -o kernel/busses/i2c-nforce2.o
kernel/busses/i2c-nforce2.c: In function `nforce2_access':
kernel/busses/i2c-nforce2.c:154: `I2C_CLIENT_PEC' undeclared (first use in
this function)
kernel/busses/i2c-nforce2.c:154: (Each undeclared identifier is reported
only once
kernel/busses/i2c-nforce2.c:154: for each function it appears in.)
kernel/busses/i2c-nforce2.c:218: `I2C_SMBUS_BLOCK_PROC_CALL' undeclared
(first use in this function)
kernel/busses/i2c-nforce2.c:233: `I2C_SMBUS_WORD_DATA_PEC' undeclared
(first use in this function)
kernel/busses/i2c-nforce2.c:234: `I2C_SMBUS_BLOCK_DATA_PEC' undeclared
(first use in this function)
kernel/busses/i2c-nforce2.c:235: `I2C_SMBUS_PROC_CALL_PEC' undeclared
(first use in this function)
kernel/busses/i2c-nforce2.c:236: `I2C_SMBUS_BLOCK_PROC_CALL_PEC'
undeclared (first use in this function)
make: *** [kernel/busses/i2c-nforce2.o] Error 1
=======================================================================
-----------------------------------------------------------------------
sofar - 2003-09-15 23:06 GMT
-----------------------------------------------------------------------
dropped severance to minor, since this only breaks the module itself. THIS
IS NOT AN EMERGENCY! DONT PANIC!!!
-----------------------------------------------------------------------
sofar - 2003-12-17 00:47 GMT
-----------------------------------------------------------------------
removing this bug since kc8apf isn't going to be spending time on it and
it's been idle for too long
-- wheps didn't see it was X. Killing it anyway.
edited on: 12-17 00:47
-----------------------------------------------------------------------
hardkrash - 2003-12-17 00:59 GMT
-----------------------------------------------------------------------
well seeing the bug close and that it was dieing in a nforce board
i decided to test it.
it seems that compiling in kernel support iof i2c is bad. this is warned
about in the I2C module.
i am now recompiling my kernel and testing this.
-----------------------------------------------------------------------
hardkrash - 2003-12-17 01:20 GMT
-----------------------------------------------------------------------
as i cannot remote reboot that machine, network card module issues :-P
this testing will have to occur later
but in the time being.
couannette could you disable i2c in your kernel and run that kernel then
relin the moonbase module i2c and try lm_sensors again.
-----------------------------------------------------------------------
jol - 2003-12-17 06:28 GMT
-----------------------------------------------------------------------
Hello, I've attached a patch to compile i2c. It's working with kernel
2.4.23 (i've tryed it with agressive patch). You must patch your kernel
with this patch. Next you can easily instal i2c 2.8.2 and lm_sensors
2.8.2.
Jol
-----------------------------------------------------------------------
niki - 2003-12-17 16:00 GMT
-----------------------------------------------------------------------
I'll add the patch to our kernels as soon as i get a devel system back up
and running...
-----------------------------------------------------------------------
niki - 2004-01-08 11:47 GMT
-----------------------------------------------------------------------
Does anyone know if this patch is needed for the 2.4.24 kernel too ??
-----------------------------------------------------------------------
couannette - 2004-02-03 00:27 GMT
-----------------------------------------------------------------------
lm_sensors 2.8.0 built ok on linux 2.4.24-ll-r4.1.1
on linux 2.6.x I used lm_sensors from CVS and make user_install & it
compiled, but I have to enable I2C in my 2.6 to test that
-----------------------------------------------------------------------
niki - 2004-02-03 09:52 GMT
-----------------------------------------------------------------------
As this isnt needed anymore, i have resolved this bug.
More information about the Lunar-bugs
mailing list