SMbus problem ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I have a few problems with lm_sensors. I installed i2c-2.7.0 packages
> and after that i do a depmod -a.
> But when i compile lm_sensors i have this errors at make step :
> 
> [root at calculus:/tmp/lm_sensors-2.7.0]# make
> gcc  -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I.
> -Ikernel/include -I/usr/local/include
> -I/lib/modules/2.4.20/build/include   -O2   -c
> kernel/busses/i2c-amd8111.c -o kernel/busses/i2c-amd8111.o
> kernel/busses/i2c-amd8111.c:25:2: #error Your i2c is too old -
> (...)
> However i have installed i2c-2.7.0.
> 
> An ideas ?

This is a known problem. Pick the fixed Makefile there:
http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/Makefile
That should do it. If not, please checkout both i2c CVS (branch lk2-4)
and lm_sensors2 CVS, that should work too.

-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux