GNOME Bugzilla – Bug 733392
Compilation Error: implicit declaration of function ‘gtk_application_set_accels_for_action’ in shell/ev-application.c
Last modified: 2014-07-21 15:24:09 UTC
Ubuntu 14.04 - Evince 3.13.3 Make error: CC evince-ev-application.o ev-application.c: In function ‘ev_application_startup’: ev-application.c:1075:17: error: implicit declaration of function ‘gtk_application_set_accels_for_action’ [-Werror=implicit-function-declaration] gtk_application_set_accels_for_action (GTK_APPLICATION (application), it[0], &it[1]); ^ ev-application.c:1075:17: warning: nested extern declaration of ‘gtk_application_set_accels_for_action’ [-Wnested-externs] cc1: some warnings being treated as errors make[3]: *** [evince-ev-application.o] Error 1 make[3]: Leaving directory `/home/actionmystique/Program-Files/Ubuntu/Evince/evince-3.13.3/shell' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/actionmystique/Program-Files/Ubuntu/Evince/evince-3.13.3/shell' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/actionmystique/Program-Files/Ubuntu/Evince/evince-3.13.3' make: *** [all] Error 2
Regression introduced by https://git.gnome.org/browse/evince/commit/shell/ev-application.c?id=8bb5fce0754aa0d2dc795d2d21ec778888dc3714 CC'ing author.
mmm this is not a regression. we shoupd bump the requirements of gtk in master, so we make sure this function exists. Using a newer gtk should solve the compilation issue.
I have the latest version from official Ubuntu repos: libgtk-3-dev: 3.10.8 I shouldn't be necessary to install any other version.
Created attachment 281282 [details] [review] Bump Gtk+ requirements to 3.12 See
Evince 3.13 is un UNSTABLE version. In fact, we only need Gtk+ 3.12 for this to properly compile. So, bumping requirements to Gtk+ 3.12.
Let us know when it becomes stable.
Review of attachment 281282 [details] [review]: Please explain why in the commit message. Thanks!
Review of attachment 281282 [details] [review]: Fixed commit message and pushed to master
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.