! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-sensors-plugin-1.2.4 fails to compile with ./configure --enable-hddtemp...
Status:
RESOLVED: FIXED
Product:
Xfce4-sensors-plugin
Component:
General

Comments

Description Samuli Suominen 2012-05-15 19:58:47 CEST
./configure --enable-hddtemp=yes

[ ... ]

checking for sensors_get_detected_chips in -lsensors... yes
checking for hddtemp path... /usr/sbin/hddtemp
checking for netcat... yes
checking for nc... yes
checking for netcat path... /usr/bin/netcat
checking for hddtemp being queryable via netcat... 
checking for /proc/acpi/info... no

[ ... ]

make

[ ... ]

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DNDEBUG -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -pthread -I/usr/include/xfce4/libxfce4ui-1 -I/usr/include/gtk-2.0 -I/usr/include/xfce4 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -pthread -I/usr/include/xfce4/libxfce4panel-1.0 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/xfce4 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include -I/usr/include/NVCtrl -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng15 -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng15 -g -O2 -MT libxfce4sensors_la-hddtemp.lo -MD -MP -MF .deps/libxfce4sensors_la-hddtemp.Tpo -c hddtemp.c  -fPIC -DPIC -o .libs/libxfce4sensors_la-hddtemp.o
hddtemp.c: In function 'initialize_hddtemp':
hddtemp.c:417:5: error: 'p_uname' undeclared (first use in this function)
hddtemp.c:417:5: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [libxfce4sensors_la-hddtemp.lo] Error 1
make[2]: Leaving directory `/tmp/xfce4-sensors-plugin-1.2.4/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/xfce4-sensors-plugin-1.2.4'
make: *** [all] Error 2

Reported also here,

http://bugs.gentoo.org/show_bug.cgi?id=416125
Comment 1 Samuli Suominen 2012-05-15 19:59:12 CEST
This is a regression, as in, 1.2.3 builds OK
Comment 2 Fabian Nowak editbugs 2012-05-15 20:49:49 CEST
thanks for letting me know; easy to fix by commenting the variable declaration in again, strange that it compiles for me and that make distcheck worked as well. New release coming, sorry guys.

Bug #8887

Reported by:
Samuli Suominen
Reported on: 2012-05-15
Last modified on: 2012-05-15

People

Assignee:
Fabian Nowak
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information