diff -ur libgtkpod.orig/gtkpod_app_iface.c libgtkpod/gtkpod_app_iface.c
--- libgtkpod.orig/gtkpod_app_iface.c	2013-08-28 14:09:09.000000000 -0700
+++ libgtkpod/gtkpod_app_iface.c	2014-10-26 15:07:26.000000000 -0700
@@ -37,6 +37,9 @@
 #include "context_menus.h"
 #include "prefs.h"
 
+GtkPodApp *gtkpod_app;
+guint gtkpod_app_signals[LAST_SIGNAL];
+
 static void gtkpod_app_base_init(GtkPodAppInterface* klass) {
     static gboolean initialized = FALSE;
 
diff -ur libgtkpod.orig/gtkpod_app_iface.h libgtkpod/gtkpod_app_iface.h
--- libgtkpod.orig/gtkpod_app_iface.h	2013-08-02 11:49:32.000000000 -0700
+++ libgtkpod/gtkpod_app_iface.h	2014-10-26 15:08:30.000000000 -0700
@@ -245,7 +245,7 @@
 FileType* gtkpod_get_filetype(gchar *name);
 GList *gtkpod_get_filetypes();
 
-GtkPodApp *gtkpod_app;
-guint gtkpod_app_signals[LAST_SIGNAL];
+extern GtkPodApp *gtkpod_app;
+extern guint gtkpod_app_signals[LAST_SIGNAL];
 
 #endif /* GTKPOD_APP_IFACE_H_ */
diff -ur plugins.orig/core_preferences/plugin.c plugins/core_preferences/plugin.c
--- plugins.orig/core_preferences/plugin.c	2013-04-27 14:51:06.000000000 -0700
+++ plugins/core_preferences/plugin.c	2014-10-26 16:22:15.000000000 -0700
@@ -41,6 +41,8 @@
 #define PREFERENCE_ICON "core_prefs-gtkpod-category"
 #define PREFERENCE_ICON_STOCK_ID "core_prefs-preference-icon"
 
+CorePrefsPlugin *core_prefs_plugin;
+
 /* Parent class. Part of standard class definition */
 static gpointer parent_class;
 
diff -ur plugins.orig/core_preferences/plugin.h plugins/core_preferences/plugin.h
--- plugins.orig/core_preferences/plugin.h	2012-05-11 14:24:21.000000000 -0700
+++ plugins/core_preferences/plugin.h	2014-10-26 16:22:15.000000000 -0700
@@ -61,6 +61,6 @@
     AnjutaPluginClass parent_class;
 };
 
-CorePrefsPlugin *core_prefs_plugin;
+extern CorePrefsPlugin *core_prefs_plugin;
 
 #endif /* PLUGIN_H_ */
diff -ur plugins.orig/details_editor/plugin.c plugins/details_editor/plugin.c
--- plugins.orig/details_editor/plugin.c	2013-04-27 14:51:15.000000000 -0700
+++ plugins/details_editor/plugin.c	2014-10-26 16:22:15.000000000 -0700
@@ -37,6 +37,8 @@
 #include "details.h"
 #include "details_editor_actions.h"
 
+DetailsEditorPlugin *details_editor_plugin;
+
 /* Parent class. Part of standard class definition */
 static gpointer parent_class;
 
diff -ur plugins.orig/details_editor/plugin.h plugins/details_editor/plugin.h
--- plugins.orig/details_editor/plugin.h	2012-05-11 14:24:09.000000000 -0700
+++ plugins/details_editor/plugin.h	2014-10-26 16:22:15.000000000 -0700
@@ -52,6 +52,6 @@
     AnjutaPluginClass parent_class;
 };
 
-DetailsEditorPlugin *details_editor_plugin;
+extern DetailsEditorPlugin *details_editor_plugin;
 
 #endif /* PLUGIN_H_ */
diff -ur plugins.orig/info_display/plugin.c plugins/info_display/plugin.c
--- plugins.orig/info_display/plugin.c	2013-08-09 13:35:06.000000000 -0700
+++ plugins/info_display/plugin.c	2014-10-26 16:22:15.000000000 -0700
@@ -37,6 +37,8 @@
 #include "info.h"
 #include "infoview.h"
 
+InfoDisplayPlugin *info_display_plugin;
+
 /* Parent class. Part of standard class definition */
 static gpointer parent_class;
 
diff -ur plugins.orig/info_display/plugin.h plugins/info_display/plugin.h
--- plugins.orig/info_display/plugin.h	2012-05-11 14:24:11.000000000 -0700
+++ plugins/info_display/plugin.h	2014-10-26 16:22:15.000000000 -0700
@@ -50,6 +50,6 @@
     AnjutaPluginClass parent_class;
 };
 
-InfoDisplayPlugin *info_display_plugin;
+extern InfoDisplayPlugin *info_display_plugin;
 
 #endif /* PLUGIN_H_ */
diff -ur plugins.orig/photo_editor/plugin.c plugins/photo_editor/plugin.c
--- plugins.orig/photo_editor/plugin.c	2013-04-27 14:51:32.000000000 -0700
+++ plugins/photo_editor/plugin.c	2014-10-26 16:22:15.000000000 -0700
@@ -38,6 +38,8 @@
 #include "photo_editor_actions.h"
 #include "plugin.h"
 
+PhotoEditorPlugin *photo_editor_plugin;
+
 /* Parent class. Part of standard class definition */
 static gpointer parent_class;
 
diff -ur plugins.orig/photo_editor/plugin.h plugins/photo_editor/plugin.h
--- plugins.orig/photo_editor/plugin.h	2012-05-11 14:24:14.000000000 -0700
+++ plugins/photo_editor/plugin.h	2014-10-26 16:22:15.000000000 -0700
@@ -59,6 +59,6 @@
     AnjutaPluginClass parent_class;
 };
 
-PhotoEditorPlugin *photo_editor_plugin;
+extern PhotoEditorPlugin *photo_editor_plugin;
 
 #endif /* PLUGIN_H_ */
diff -ur plugins.orig/repository_editor/plugin.c plugins/repository_editor/plugin.c
--- plugins.orig/repository_editor/plugin.c	2013-04-27 14:51:39.000000000 -0700
+++ plugins/repository_editor/plugin.c	2014-10-26 16:22:15.000000000 -0700
@@ -37,6 +37,8 @@
 #include "repository.h"
 #include "repository_actions.h"
 
+RepositoryEditorPlugin *repository_editor_plugin;
+
 /* Parent class. Part of standard class definition */
 static gpointer parent_class;
 
diff -ur plugins.orig/repository_editor/plugin.h plugins/repository_editor/plugin.h
--- plugins.orig/repository_editor/plugin.h	2012-05-11 14:24:19.000000000 -0700
+++ plugins/repository_editor/plugin.h	2014-10-26 16:22:15.000000000 -0700
@@ -51,6 +51,6 @@
     AnjutaPluginClass parent_class;
 };
 
-RepositoryEditorPlugin *repository_editor_plugin;
+extern RepositoryEditorPlugin *repository_editor_plugin;
 
 #endif /* PLUGIN_H_ */
