Re: SENSORS_IT87_TEMP1' undeclared



On Mon, 2003-07-28 at 11:16, Bernd Muent wrote:
> Hi,
> I'm just compiling garnome 0.25.1.
> Unfortunatly, it stopped whiling compiling hotapplet with the error:
> 
> make[2]: Entering directory 
> `/usr/src/garnome-0.25.1/gnome/hotapplet/work/main.d/hotapplet-0.2.2/src'
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -DORBIT2=1 -pthread 
> -I/opt/gnome2_2_2/include/libgnomeui-2.0 -I/opt/gnome2_2_2/include/libgnome-2.0 
> -I/opt/gnome2_2_2/include/libgnomecanvas-2.0 -I/opt/gnome2_2_2/include/gtk-2.0 
> -I/opt/gnome2_2_2/include/libart-2.0 -I/opt/gnome2_2_2/include/gconf/2 
> -I/opt/gnome2_2_2/include/libbonoboui-2.0 -I/opt/gnome2_2_2/include/glib-2.0 
> -I/opt/gnome2_2_2/lib/glib-2.0/include -I/opt/gnome2_2_2/include/orbit-2.0 
> -I/opt/gnome2_2_2/include/libbonobo-2.0 -I/opt/gnome2_2_2/include/gnome-vfs-2.0 
> -I/opt/gnome2_2_2/lib/gnome-vfs-2.0/include 
> -I/opt/gnome2_2_2/include/bonobo-activation-2.0 
> -I/opt/gnome2_2_2/include/pango-1.0 -I/opt/gnome2_2_2/include 
> -I/opt/gnome2_2_2/include/freetype2 -I/opt/gnome2_2_2/lib/gtk-2.0/include 
> -I/opt/gnome2_2_2/include/atk-1.0 -I/usr/X11R6/include 
> -I/opt/gnome2_2_2/include/libxml2 -I/opt/gnome2_2_2/include/panel-2.0 
> -I/opt/gnome2_2_2/include/libglade-2.0 
> -DGNOMELOCALEDIR=\""/opt/gnome2_2_2//locale"\"          -DG_DISABLE_DEPRECATED 
> -DGTK_DISABLE_DEPRECATED         -DGNOME_DISABLE_DEPRECATED 
> -DGDK_DISABLE_DEPRECATED  -I/opt/gnome2_2_2/include -I/usr/X11R6/include  -g 
> -I/opt/gnome2_2_2/include -I/usr/X11R6/include -L/opt/gnome2_2_2/lib 
> -L/usr/X11R6/lib -O2 -pipe -c it87.c
> it87.c: In function `get_IT87_features':
> it87.c:35: `SENSORS_IT87_TEMP1' undeclared (first use in this function)
> it87.c:35: (Each undeclared identifier is reported only once
> it87.c:35: for each function it appears in.)
> it87.c:49: `SENSORS_IT87_TEMP2' undeclared (first use in this function)
> it87.c:64: `SENSORS_IT87_TEMP3' undeclared (first use in this function)
> it87.c:79: `SENSORS_IT87_TEMP1_LOW' undeclared (first use in this function)
> it87.c:94: `SENSORS_IT87_TEMP2_LOW' undeclared (first use in this function)
> it87.c:108: `SENSORS_IT87_TEMP3_LOW' undeclared (first use in this function)
> it87.c:122: `SENSORS_IT87_TEMP1_HIGH' undeclared (first use in this function)
> it87.c:136: `SENSORS_IT87_TEMP2_HIGH' undeclared (first use in this function)
> it87.c:150: `SENSORS_IT87_TEMP3_HIGH' undeclared (first use in this function)
> make[2]: *** [it87.o] Error 1
> make[2]: Leaving directory 
> `/usr/src/garnome-0.25.1/gnome/hotapplet/work/main.d/hotapplet-0.2.2/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory 
> `/usr/src/garnome-0.25.1/gnome/hotapplet/work/main.d/hotapplet-0.2.2'
> make: *** [all-recursive-am] Error 2

I would think you're missing the lm-sensors headers.

> 
> There are no sensors on my mainboard, so I don't need this htapplet. How is it 
> possible to compile garnome without this module.
> I think I have to change one Makefile. But which?

It sounds like you're installing the gnome-power-tools meta garball.
Just edit .../meta/gnome-power-tools/Makefile and remove gnome/hotapplet
from the LIBDEPS.

If you're just installing the whole thing in the gnome directory, the
easiest thing is to just remove the hotapplet directory.


Cheers,
Jens





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