! 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-stopwatch-plugin-0.2.0 + xfce4-panel-4.7.4: stopwatch.c:700: error: ‘Xf...
Status:
RESOLVED: WONTFIX
Product:
Xfce4-stopwatch-plugin
Component:
General

Comments

Description Samuli Suominen 2010-11-08 10:35:35 CET
full build.log: https://bugs.gentoo.org/attachment.cgi?id=253595

important part:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DGETTEXT_PACKAGE=\""xfce4-stopwatch-plugin"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"   -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/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/libdrm -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/libdrm -I/usr/include/atk-1.0   -O2 -march=x86-64 -pipe -c -o xfce4_stopwatch_plugin-stopwatch.o `test -f 'stopwatch.c' || echo './'`stopwatch.c
stopwatch.c: In function ‘xfce_PanelPluginRegisterExternalFull’:
stopwatch.c:700: error: ‘XfceExternalPanelPlugin’ undeclared (first use in this function)
stopwatch.c:700: error: (Each undeclared identifier is reported only once
stopwatch.c:700: error: for each function it appears in.)
stopwatch.c:700: error: ‘panel_plugin’ undeclared (first use in this function)
stopwatch.c:714: warning: passing argument 1 of ‘g_object_ref_sink’ makes pointer from integer without a cast

this is with Xfce 4.8.0_pre1 tarballs (latest as of today)
Comment 1 Liv 2013-02-03 19:41:15 CET
I can confirm this issue on Ubuntu Precise running Xfce 4.10: 

gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DGETTEXT_PACKAGE=\""xfce4-stopwatch-plugin"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\"   -pthread -I/usr/include/xfce4/libxfce4panel-1.0 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/xfce4 -I/usr/lib/i386-linux-gnu/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/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -pthread -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0   -g -O2 -MT xfce4_stopwatch_plugin-stopwatch.o -MD -MP -MF .deps/xfce4_stopwatch_plugin-stopwatch.Tpo -c -o xfce4_stopwatch_plugin-stopwatch.o `test -f 'stopwatch.c' || echo './'`stopwatch.c
stopwatch.c: In function ‘xfce_PanelPluginRegisterExternalFull’:
stopwatch.c:700:2: error: unknown type name ‘XfceExternalPanelPlugin’
stopwatch.c:714:2: warning: passing argument 1 of ‘g_object_ref_sink’ makes pointer from integer without a cast [enabled by default]
/usr/include/glib-2.0/gobject/gobject.h:445:13: note: expected ‘gpointer’ but argument is of type ‘int’
make[3]: *** [xfce4_stopwatch_plugin-stopwatch.o] Error 1
Comment 2 Samuli Suominen 2013-02-03 19:43:02 CET
Since reporting this bug I've removed xfce4-stopwatch-plugin from the Gentoo repositories. If I don't remember wrong, this was the only plug-in that broke and didn't get a fix anywhere (ML, IRC, bugzilla, other distros) with 4.9/4.10
Just saying :/
Comment 3 Liv 2013-02-03 19:45:22 CET
Yes, this is the reason I cannot include it on my Ubuntu PPA, and likely why Debian and Ubuntu don't ship the plug-in.
Comment 4 Skunnyk editbugs 2018-09-16 19:35:13 CEST
This project has been archived, so we are closing related bugs

Bug #6789

Reported by:
Samuli Suominen
Reported on: 2010-11-08
Last modified on: 2018-09-16

People

Assignee:
Diego Ongaro
CC List:
2 users

Version

Version:
unspecified

Attachments

Additional information