GNOME Bugzilla – Bug 509563
Build failure due to missing gnome-clock-applet-mechanism-glue.h
Last modified: 2008-01-15 20:00:24 UTC
gcc [...] -o gnome-clock-applet-mechanism.o gnome-clock-applet-mechanism.c gnome-clock-applet-mechanism.c:43:47: error: gnome-clock-applet-mechanism-glue.h: No such file or directory gnome-clock-applet-mechanism.c: In function 'gnome_clock_applet_mechanism_class_init': gnome-clock-applet-mechanism.c:147: error: 'dbus_glib_gnome_clock_applet_mechanism_object_info' undeclared (first use in this function) gnome-clock-applet-mechanism.c:147: error: (Each undeclared identifier is reported only once gnome-clock-applet-mechanism.c:147: error: for each function it appears in.) gnome-clock-applet-mechanism.c: In function '_check_polkit_for_action': gnome-clock-applet-mechanism.c:299: warning: 'polkit_context_can_caller_do_action' is deprecated (declared at /opt/gnome2/include/PolicyKit/polkit/polkit-context.h:175) gnome-clock-applet-mechanism.c: In function '_set_time': gnome-clock-applet-mechanism.c:329: warning: unused variable 'pk_result' gnome-clock-applet-mechanism.c:328: warning: unused variable 'pk_action' gnome-clock-applet-mechanism.c:327: warning: unused variable 'pk_caller' gnome-clock-applet-mechanism.c:326: warning: unused variable 'dbus_error' gnome-clock-applet-mechanism.c:325: warning: unused variable 'sender' gnome-clock-applet-mechanism.c: In function '_rh_update_etc_sysconfig_clock': gnome-clock-applet-mechanism.c:377: warning: unused variable 'p' make[5]: *** [gnome-clock-applet-mechanism.o] Error 1 make[5]: Leaving directory `/home/luca/svn/gnome2/gnome-panel/applets/clock' make[4]: *** [all-recursive] Error 1
Of course a simple, manual cd applets/clock make gnome-clock-applet-mechanism-glue.h fix te build. PS the deprecated PolicyKit function could be relate to usage of PolicyKit from git
Weird, I didn't have a compilation problem when I released it. Will try to look at why this is happening later.
Dupe of #509631; duping to that one as it has the patch. *** This bug has been marked as a duplicate of 509631 ***