! 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 !
Compile failure
Status:
CLOSED: WORKSFORME
Severity:
blocker
Product:
Xfce4-netload-plugin
Component:
General

Comments

Description Tigerwolf 2011-03-22 03:40:27 CET
Compile fails using gcc version 4.2.3.  ./configure completes with apparent success, but make fails with the following:

root:# make
make  all-recursive
make[1]: Entering directory `/home/tigerwolf/Downloads/xfce4-netload-plugin-1.0.0'
Making all in panel-plugin
make[2]: Entering directory `/home/tigerwolf/Downloads/xfce4-netload-plugin-1.0.0/panel-plugin'
gcc -DHAVE_CONFIG_H -I. -I..   -DNDEBUG -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -I/usr/include/xfce4/ -I/usr/X11R6/include -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/freetype2 -I/usr/include/atk-1.0 -I/usr/local/include/libpng12 -I/usr/X11R6/include -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/freetype2 -I/usr/include/atk-1.0 -I/usr/local/include/libpng12   -O2 -march=i586 -mtune=i686 -MT xfce4_netload_plugin-netload.o -MD -MP -MF .deps/xfce4_netload_plugin-netload.Tpo -c -o xfce4_netload_plugin-netload.o `test -f 'netload.c' || echo './'`netload.c
netload.c:347: error: expected declaration specifiers or '...' before 'GtkTooltip'
netload.c: In function 'tooltip_cb':
netload.c:349: error: 'tooltip' undeclared (first use in this function)
netload.c:349: error: (Each undeclared identifier is reported only once
netload.c:349: error: for each function it appears in.)
make[2]: *** [xfce4_netload_plugin-netload.o] Error 1
make[2]: Leaving directory `/home/tigerwolf/Downloads/xfce4-netload-plugin-1.0.0/panel-plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tigerwolf/Downloads/xfce4-netload-plugin-1.0.0'
make: *** [all] Error 2
Comment 1 Mike Massonnet editbugs 2011-11-04 20:06:00 CET
Compiling both 1.0.0 and git master without problem.
Comment 2 Mike Massonnet editbugs 2012-01-13 13:17:13 CET
New news here, so marking as closed.

Bug #7430

Reported by:
Tigerwolf
Reported on: 2011-03-22
Last modified on: 2012-01-13

People

Assignee:
Florian Rivoal
CC List:
1 user

Version

Attachments

Additional information