[Slackbuilds-users] NetworkManager-openvpn (1.2.0)
Matteo Bernardini
matteo.bernardini at gmail.com
Wed Jul 6 17:28:29 UTC 2016
2016-07-06 15:46 GMT+02:00 Ingemar Ceicer <ingemar at ceicer.com>:
> Hi!
>
> Concerning NetworkManager-openvpn (1.2.0)
> (OpenVPN support for NetworkManager)
> and Slackware 14.2, 64-bit.
>
> I get these compiler errors;
> (./configure, make)
>
>
> nm-openvpn-service.c: In function 'main':
> nm-openvpn-service.c:1374:2: error: 'g_type_init' is deprecated
> [-Werror=deprecated-declarations]
> g_type_init ();
> ^
> In file included from /usr/include/glib-2.0/gobject/gobject.h:24:0,
> from /usr/include/glib-2.0/gobject/gbinding.h:29,
> from /usr/include/glib-2.0/glib-object.h:23,
> from /usr/include/dbus-1.0/dbus/dbus-glib.h:27,
> from /usr/include/dbus-1.0/dbus/dbus-glib-lowlevel.h:27,
> from nm-openvpn-service.c:32:
> /usr/include/glib-2.0/gobject/gtype.h:681:23: note: declared here
> void g_type_init (void);
>
>
> In the glibc version that comes with Slackware 14.2 is not this allowed?
>
>
> main.c: In function 'keyring_lookup_secret':
> main.c:58:2: error: 'gnome_keyring_find_itemsv_sync' is deprecated: Use
> 'secret_service_search_sync' instead [-Werror=deprecated-declarations]
> ret = gnome_keyring_find_itemsv_sync (GNOME_KEYRING_ITEM_GENERIC_SECRET,
> ^
> In file included from main.c:34:0:
> /usr/include/gnome-keyring-1/gnome-keyring.h:325:20: note: declared here
> GnomeKeyringResult gnome_keyring_find_itemsv_sync (GnomeKeyringItemType
> type,
> ^
> main.c:72:3: error: 'gnome_keyring_memory_strdup' is deprecated: Use
> 'gcr_secure_memory_strdup' instead [-Werror=deprecated-declarations]
> secret = gnome_keyring_memory_strdup (found->secret);
> ^
> In file included from main.c:35:0:
> /usr/include/gnome-keyring-1/gnome-keyring-memory.h:76:11: note: declared
> here
> gchar* gnome_keyring_memory_strdup (const gchar* str);
> ^
> main.c:75:2: error: 'gnome_keyring_found_list_free' is deprecated
> [-Werror=deprecated-declarations]
> gnome_keyring_found_list_free (found_list);
> ^
> In file included from main.c:34:0:
> /usr/include/gnome-keyring-1/gnome-keyring.h:174:6: note: declared here
> void gnome_keyring_found_list_free (GList *found_list);
> ^
> main.c: In function 'get_secrets':
> main.c:137:5: error: 'gnome_keyring_memory_strdup' is deprecated: Use
> 'gcr_secure_memory_strdup' instead [-Werror=deprecated-declarations]
> password = gnome_keyring_memory_strdup (in_pass);
> ^
> In file included from main.c:35:0:
> /usr/include/gnome-keyring-1/gnome-keyring-memory.h:76:11: note: declared
> here
> gchar* gnome_keyring_memory_strdup (const gchar* str);
> ^
> main.c:148:5: error: 'gnome_keyring_memory_strdup' is deprecated: Use
> 'gcr_secure_memory_strdup' instead [-Werror=deprecated-declarations]
> certpass = gnome_keyring_memory_strdup (in_certpass);
> ^
> In file included from main.c:35:0:
> /usr/include/gnome-keyring-1/gnome-keyring-memory.h:76:11: note: declared
> here
> gchar* gnome_keyring_memory_strdup (const gchar* str);
> ^
> main.c:221:4: error: 'gnome_keyring_memory_strdup' is deprecated: Use
> 'gcr_secure_memory_strdup' instead [-Werror=deprecated-declarations]
> *out_password = gnome_keyring_memory_strdup
> (vpn_password_dialog_get_password (dialog));
> ^
> In file included from main.c:35:0:
> /usr/include/gnome-keyring-1/gnome-keyring-memory.h:76:11: note: declared
> here
> gchar* gnome_keyring_memory_strdup (const gchar* str);
> ^
> main.c:224:5: error: 'gnome_keyring_memory_strdup' is deprecated: Use
> 'gcr_secure_memory_strdup' instead [-Werror=deprecated-declarations]
> *out_certpass = gnome_keyring_memory_strdup
> (vpn_password_dialog_get_password_secondary (dialog));
> ^
> In file included from main.c:35:0:
> /usr/include/gnome-keyring-1/gnome-keyring-memory.h:76:11: note: declared
> here
> gchar* gnome_keyring_memory_strdup (const gchar* str);
> ^
> main.c:226:5: error: 'gnome_keyring_memory_strdup' is deprecated: Use
> 'gcr_secure_memory_strdup' instead [-Werror=deprecated-declarations]
> *out_certpass = gnome_keyring_memory_strdup
> (vpn_password_dialog_get_password (dialog));
> ^
> In file included from main.c:35:0:
> /usr/include/gnome-keyring-1/gnome-keyring-memory.h:76:11: note: declared
> here
> gchar* gnome_keyring_memory_strdup (const gchar* str);
> ^
> main.c:235:2: error: 'gnome_keyring_memory_free' is deprecated: Use
> 'gcr_secure_memory_free' instead [-Werror=deprecated-declarations]
> gnome_keyring_memory_free (password);
> ^
> In file included from main.c:35:0:
> /usr/include/gnome-keyring-1/gnome-keyring-memory.h:70:11: note: declared
> here
> void gnome_keyring_memory_free (gpointer p);
> ^
> main.c:236:2: error: 'gnome_keyring_memory_free' is deprecated: Use
> 'gcr_secure_memory_free' instead [-Werror=deprecated-declarations]
> gnome_keyring_memory_free (certpass);
> ^
> In file included from main.c:35:0:
> /usr/include/gnome-keyring-1/gnome-keyring-memory.h:70:11: note: declared
> here
> void gnome_keyring_memory_free (gpointer p);
> ^
> main.c: In function 'main':
> main.c:393:4: error: 'gnome_keyring_memory_free' is deprecated: Use
> 'gcr_secure_memory_free' instead [-Werror=deprecated-declarations]
> gnome_keyring_memory_free (new_password);
> ^
> In file included from main.c:35:0:
> /usr/include/gnome-keyring-1/gnome-keyring-memory.h:70:11: note: declared
> here
> void gnome_keyring_memory_free (gpointer p);
> ^
> main.c:395:4: error: 'gnome_keyring_memory_free' is deprecated: Use
> 'gcr_secure_memory_free' instead [-Werror=deprecated-declarations]
> gnome_keyring_memory_free (new_certpass);
> ^
> In file included from main.c:35:0:
> /usr/include/gnome-keyring-1/gnome-keyring-memory.h:70:11: note: declared
> here
> void gnome_keyring_memory_free (gpointer p);
> ^
> cc1: all warnings being treated as errors
> Makefile:366: recipe for target 'nm_openvpn_auth_dialog-main.o' failed
> make[2]: *** [nm_openvpn_auth_dialog-main.o] Error 1
> make[2]: Leaving directory
> '/home/ingemar/Downloads/NetworkManager-openvpn-0.9.4.0/NetworkManager-openvpn-0.9.4.0/auth-dialog'
> Makefile:422: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> '/home/ingemar/Downloads/NetworkManager-openvpn-0.9.4.0/NetworkManager-openvpn-0.9.4.0'
> Makefile:311: recipe for target 'all' failed
> make: *** [all] Error 2
you have posted errors relative to a different version of
NetworkManager-openvpn: the version we have in our repository is 1.2.0
but the errors you posted seems to come from version 0.9.4.0.
Matteo
More information about the SlackBuilds-users
mailing list