All of lore.kernel.org
 help / color / mirror / Atom feed
From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: Ticket 1319 - lm_sensors-2.8.0-cvs linux-2.4.20-smp-i386
Date: Thu, 19 May 2005 06:24:04 +0000	[thread overview]
Message-ID: <20030710115137.6ef54f34.khali@linux-fr.org> (raw)
In-Reply-To: <20030710085158.42e68c95.zdavatz@ywesee.com>


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

  parent reply	other threads:[~2005-05-19  6:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  6:24 Ticket 1319 - lm_sensors-2.8.0-cvs linux-2.4.20-smp-i386 Zeno R.R. Davatz
2005-05-19  6:24 ` Zeno R.R. Davatz
2005-05-19  6:24 ` Zeno R.R. Davatz
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Zeno R.R. Davatz
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Jean Delvare [this message]
2005-05-19  6:24 ` Zeno R.R. Davatz
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Zeno R.R. Davatz
2005-05-19  6:24 ` Zeno R.R. Davatz
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Zeno R.R. Davatz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030710115137.6ef54f34.khali@linux-fr.org \
    --to=khali@linux-fr.org \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.