[lm-sensors] CPU temperature(s) of Conroe
Ulrich Keßler
ukessler at uni-bonn.de
Fri Dec 15 18:13:21 CET 2006
Hi, Rudolf and Christian
>
> So now I need help to figure out where the compile problems come from.
> The error messages are things like "initializer element is not
> constant" or "... undeclared her (not in a function)" or "missing
> braces around initializer" (this is only a warning).
> I took a look at the include list at the beginning of w83627ehf.c. In
> the new version there are two additional files to be included:
> hwmon-sysfs.h and mutex.h. They can be found in the directory
> /usr/src/linux/include/linux. Do I have to tell the compiler something
> about that e. g. in a Makefile?
>
I think I found a way to check if this is a problem. I inserted two
lines in the old w83627ehf.c file:
#include <linux/mutex.h>
#include <linux/hwmon-sysfs.h>
and recompiled. It worked without problems. So there must be something else.
Uli
More information about the lm-sensors
mailing list