Doing an emerge world -u, I received this error when building
lm_sensors:

/usr/include/linux/sched.h:361: storage size of `times' isn't known
make: *** [kernel/busses/i2c-ali1535.o] Error 1

!!! ERROR: sys-apps/lm-sensors-2.7.0-r1 failed.
!!! Function src_compile, Line 41, Exitcode 2
!!! lm_sensors requires the source of a compatible kernel\nversion
installed in /usr/src/linux and >=i2c-2.7.0 support built as a modules
this support is included in gentoo-sources as of 2.4.20-r1

Now, I am running gentoo-sources 2.4.20-r5,

lrwxrwxrwx    1 root     root           22 May 12 10:23 linux ->
linux-2.4.20-gentoo-r5

and have the following setup for the I2C section in my kernel config:

[EMAIL PROTECTED] ian # cat /usr/src/linux/.config | grep I2C
# I2C support
CONFIG_I2C=m
CONFIG_I2C_ALGOBIT=m
# CONFIG_I2C_PHILIPSPAR is not set
# CONFIG_I2C_ELV is not set
# CONFIG_I2C_VELLEMAN is not set
# CONFIG_I2C_PPORT is not set
# CONFIG_I2C_ALGOPCF is not set
CONFIG_I2C_CHARDEV=m
CONFIG_I2C_PROC=m
# CONFIG_I2C_PARPORT is not set

Is there some part of the I2C section that I need to have built that I
have not? Or is this a bug?

-- 
Ian Truelsen
Email: [EMAIL PROTECTED]
AIM: ihtruelsen
Homepage: http://www.ihtruelsen.dyndns.org

--
[EMAIL PROTECTED] mailing list

Reply via email to