[Goodies-dev] ANN: xfce4-sensors-plugin version 0.10.99.6 released

Christoph Wickert christoph.wickert at googlemail.com
Fri Nov 28 02:09:47 CET 2008


Am Dienstag, den 04.11.2008, 01:40 +0000 schrieb timystery at arcor.de:
> Hey all,
> 
> here's a new release of the sensors-plugin ...

Is this supposed to work with lm_sensors 3.x? I still have to apply the
patch I submitted last year against 0.10.99.2, otherwise it wont build:

> make[2]: Entering directory `/home/chris/fedora/rpmbuild/BUILD/xfce4-sensors-plugin-0.10.99.2/panel-plugin'
> if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include/xfce4/ -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/atk-1.0 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT xfce4_sensors_plugin-middlelayer.o -MD -MP -MF ".deps/xfce4_sensors_plugin-middlelayer.Tpo" -c -o xfce4_sensors_plugin-middlelayer.o `test -f 'middlelayer.c' || echo './'`middlelayer.c; \
> 	then mv -f ".deps/xfce4_sensors_plugin-middlelayer.Tpo" ".deps/xfce4_sensors_plugin-middlelayer.Po"; else rm -f ".deps/xfce4_sensors_plugin-middlelayer.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include/xfce4/ -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/atk-1.0 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT xfce4_sensors_plugin-lmsensors.o -MD -MP -MF ".deps/xfce4_sensors_plugin-lmsensors.Tpo" -c -o xfce4_sensors_plugin-lmsensors.o `test -f 'lmsensors.c' || echo './'`lmsensors.c; \
> 	then mv -f ".deps/xfce4_sensors_plugin-lmsensors.Tpo" ".deps/xfce4_sensors_plugin-lmsensors.Po"; else rm -f ".deps/xfce4_sensors_plugin-lmsensors.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include/xfce4/ -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/atk-1.0 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT xfce4_sensors_plugin-hddtemp.o -MD -MP -MF ".deps/xfce4_sensors_plugin-hddtemp.Tpo" -c -o xfce4_sensors_plugin-hddtemp.o `test -f 'hddtemp.c' || echo './'`hddtemp.c; \
> 	then mv -f ".deps/xfce4_sensors_plugin-hddtemp.Tpo" ".deps/xfce4_sensors_plugin-hddtemp.Po"; else rm -f ".deps/xfce4_sensors_plugin-hddtemp.Tpo"; exit 1; fi
> middlelayer.c: In function 'sensors_get_feature_wrapper':
> middlelayer.c:156: warning: implicit declaration of function 'sensors_get_feature'
> if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include/xfce4/ -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/atk-1.0 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT xfce4_sensors_plugin-acpi.o -MD -MP -MF ".deps/xfce4_sensors_plugin-acpi.Tpo" -c -o xfce4_sensors_plugin-acpi.o `test -f 'acpi.c' || echo './'`acpi.c; \
> 	then mv -f ".deps/xfce4_sensors_plugin-acpi.Tpo" ".deps/xfce4_sensors_plugin-acpi.Po"; else rm -f ".deps/xfce4_sensors_plugin-acpi.Tpo"; exit 1; fi
> lmsensors.c: In function 'setup_chip':
> lmsensors.c:50: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'sensors_bus_id'
> lmsensors.c:55: warning: passing argument 1 of 'sensors_get_adapter_name' makes pointer from integer without a cast
> lmsensors.c: In function 'find_chipfeature':
> lmsensors.c:90: warning: implicit declaration of function 'sensors_get_ignored'
> lmsensors.c:92: error: incompatible type for argument 1 of 'sensors_get_label'
> lmsensors.c:92: warning: passing argument 2 of 'sensors_get_label' makes pointer from integer without a cast
> lmsensors.c:92: error: too many arguments to function 'sensors_get_label'
> lmsensors.c:92: warning: assignment makes integer from pointer without a cast
> lmsensors.c:95: warning: implicit declaration of function 'sensors_get_feature'
> lmsensors.c: In function 'initialize_libsensors':
> lmsensors.c:119: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> lmsensors.c:119: error: 'sfd' undeclared (first use in this function)
> lmsensors.c:119: error: (Each undeclared identifier is reported only once
> lmsensors.c:119: error: for each function it appears in.)
> lmsensors.c:137: warning: passing argument 1 of 'sensors_get_detected_chips' from incompatible pointer type
> lmsensors.c:137: error: too few arguments to function 'sensors_get_detected_chips'
> lmsensors.c:148: warning: implicit declaration of function 'sensors_get_all_features'
> lmsensors.c:158: warning: passing argument 1 of 'sensors_get_detected_chips' from incompatible pointer type
> lmsensors.c:158: error: too few arguments to function 'sensors_get_detected_chips'
> make[2]: *** [xfce4_sensors_plugin-lmsensors.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> acpi.c: In function 'get_acpi_value':
> acpi.c:128: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
> make[2]: Leaving directory `/home/chris/fedora/rpmbuild/BUILD/xfce4-sensors-plugin-0.10.99.2/panel-plugin'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/chris/fedora/rpmbuild/BUILD/xfce4-sensors-plugin-0.10.99.2'
> make: *** [all] Error 2

My lm_sensors version is 3.0.2.

Regards,
Christoph




More information about the Goodies-dev mailing list