From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: i2c-ali1535.c:548: warning: initialization from incompatible
Date: Thu, 19 May 2005 06:25:28 +0000 [thread overview]
Message-ID: <20050102111233.19192f6d.khali@linux-fr.org> (raw)
In-Reply-To: <41D6E143.8030204@arcor.de>
> > If you did, please try to manually copy kernel/i2c.h from i2c 2.9.0
> > to /usr/local/include and see if it helps.
>
> myhost:~/i2c-2.9.0# cp kernel/i2c.h /usr/local/include/
> myhost:~# cd ../lm_sensors-2.9.0/
> myhost:~/lm_sensors-2.9.0# make all
> gcc -DMODVERSIONS -include
> /root/linux-2.4.28/include/linux/modversions.h -D__KERNEL__ -DMODULE
> -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include
> -I/usr/local/include -I/root/linux-2.4.28/include -nostdinc -I
> /usr/lib/gcc-lib/i386-linux/2.95.4/include -Wall -O2 -c
> kernel/busses/i2c-ali1535.c -o kernel/busses/i2c-ali1535.o
> kernel/busses/i2c-ali1535.c:547: unknown field `inc_use' specified in
> initializer
> kernel/busses/i2c-ali1535.c:548: unknown field `dec_use' specified in
> initializer
> kernel/busses/i2c-ali1535.c:548: warning: initialization from
> incompatible pointer type
> make: *** [kernel/busses/i2c-ali1535.o] Fehler 1
>
> Doesn't work. :-(
Oops, my bad. You'd have to copy the file to /usr/local/include/linux,
not /usr/local/include (please delete the one you copied there). While
you're at it, you could copy kernel/i2c-algo-bit.h too, since some bus
drivers in lm_sensors need it.
--
Jean Delvare
http://khali.linux-fr.org/
next prev parent reply other threads:[~2005-05-19 6:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 6:25 i2c-ali1535.c:548: warning: initialization from incompatible pointer Florian Effenberger
2005-05-19 6:25 ` i2c-ali1535.c:548: warning: initialization from incompatible Florian Effenberger
2005-05-19 6:25 ` Florian Effenberger
2005-05-19 6:25 ` Florian Effenberger
2005-05-19 6:25 ` Florian Effenberger
2005-05-19 6:25 ` Jean Delvare [this message]
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Florian Effenberger
2005-05-19 6:25 ` Florian Effenberger
2005-05-19 6:25 ` Jean Delvare
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=20050102111233.19192f6d.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.