[Lunar Linux 0000371]: lm_sensors build error

noreply at bugs.lunar-linux.org noreply at bugs.lunar-linux.org
Wed Dec 17 15:59:14 GMT 2003


The following bug has been ASSIGNED.
=======================================================================
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:                     assigned
=======================================================================
Date Submitted:             2003-09-15 22:11 GMT
Last Modified:              2003-12-17 15:59 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



More information about the Lunar-bugs mailing list