Ticket 1319 - lm_sensors-2.8.0-cvs linux-2.4.20-smp-i386

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

 



> > You should have /usr/local/include/linux/i2c.h. That's where i2c
> > (that you got from CVS) installs them. So, if you don't have them,
> > either you did *not* run "make install" for i2c, or you tweaked the
> > Makefile and did not tell us...
> > 
> > So, what did you really do?
> I am very sorry but I just done a fresh checkout of the cvs then make
> all and make install.
> 
> I get: installation successful!
> 
> but there is no i2c.h in /usr/local/include/linux
> 
> there is one in /usr/include/linux...
> 
> the only files I got in /usr/local/include/linux are:
> i2c-algo-bit.h  i2c-algo-biths.h  i2c-algo-pcf.h  i2c-dev.h
> 
> I did not change anything on the Makefile, also I did not forget to do
> make install.

OK, I see what's happening. You do have I2C enabled in your current
kernel, *built-in* (CONFIG_I2C=y), don't you?

INSTALL says:
Your I2C support must NOT be built-in your kernel already!
It must either be disabled or enabled as modules.

We don't prevent i2c from compiling in this case for very specific
cases, but it generally won't work, because then lm_sensors has to use
your kernel i2c headers, which are out of date.

If I'm right, you'll have to rebuild a kernel with either I2C as a
module or disabled, and then i2c and lm_sensors will install properly.

-- 
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