[Slackbuilds-users] NetworkManager-openvpn (1.2.0)
Ingemar Ceicer
ingemar at ceicer.com
Wed Jul 6 13:46:01 UTC 2016
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
--
><(((*> ><(((*> ><(((*> ><(((*> ><(((*> ><(((*>
Namn och adress:
Ingemar Ceicer
Salemvägen 6
519 94 Björketorp
Telefon:
0320 - 606 55 (hem)
070 - 636 17 47 (mobil, arbete)
Epost till mobilen:
i at ceicer.com
Hemsida:
http://ceicer.org/
Hitta hit:
https://maps.google.com/?saddr=&daddr=Salemv%E4gen+6,51994,Bj%F6rketorp
More information about the SlackBuilds-users
mailing list