After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 509563 - Build failure due to missing gnome-clock-applet-mechanism-glue.h
Build failure due to missing gnome-clock-applet-mechanism-glue.h
Status: RESOLVED DUPLICATE of bug 509631
Product: gnome-panel
Classification: Other
Component: clock
git master
Other Linux
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-01-15 08:20 UTC by Luca Ferretti
Modified: 2008-01-15 20:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Luca Ferretti 2008-01-15 08:20:45 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
Comment 1 Luca Ferretti 2008-01-15 08:22:29 UTC
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
Comment 2 Vincent Untz 2008-01-15 09:57:32 UTC
Weird, I didn't have a compilation problem when I released it. Will try to look at why this is happening later.
Comment 3 Philip Withnall 2008-01-15 20:00:24 UTC
Dupe of #509631; duping to that one as it has the patch.

*** This bug has been marked as a duplicate of 509631 ***