I am planning to upgrade the latest version of Network Manager, so I decided to download from https://wiki.gnome.org/Projects/NetworkManager.
I extract it and try to compile with "./configure" and run successfully. But after trying to "make" command, I get an error like below


make[4]: Leaving directory `/root/NetworkManager-0.9.8.10/src/posix-signals'
Making all in dns-manager
make[4]: Entering directory `/root/NetworkManager-0.9.8.10/src/dns-manager'
CC libdns_manager_la-nm-dns-manager.lo
CC libdns_manager_la-nm-dns-plugin.lo
CC libdns_manager_la-nm-dns-dnsmasq.lo
CC libdns_manager_la-nm-dns-utils.lo
CCLD libdns-manager.la
make[4]: Leaving directory `/root/NetworkManager-0.9.8.10/src/dns-manager'
Making all in vpn-manager
make[4]: Entering directory `/root/NetworkManager-0.9.8.10/src/vpn-manager'
make all-am
make[5]: Entering directory `/root/NetworkManager-0.9.8.10/src/vpn-manager'
CC libvpn_manager_la-nm-vpn-manager.lo
CC libvpn_manager_la-nm-vpn-service.lo
CC libvpn_manager_la-nm-vpn-connection.lo
CCLD libvpn-manager.la
make[5]: Leaving directory `/root/NetworkManager-0.9.8.10/src/vpn-manager'
make[4]: Leaving directory `/root/NetworkManager-0.9.8.10/src/vpn-manager'
Making all in dhcp-manager
make[4]: Entering directory `/root/NetworkManager-0.9.8.10/src/dhcp-manager'
Making all in .
make[5]: Entering directory `/root/NetworkManager-0.9.8.10/src/dhcp-manager'
CC libdhcp_manager_la-nm-dhcp-client.lo
nm-dhcp-client.c: In function 'dispose':
nm-dhcp-client.c:1545:2: error: implicit declaration of function 'g_clear_pointer' [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors
make[5]: *** [libdhcp_manager_la-nm-dhcp-client.lo] Error 1
make[5]: Leaving directory `/root/NetworkManager-0.9.8.10/src/dhcp-manager'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/root/NetworkManager-0.9.8.10/src/dhcp-manager'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/NetworkManager-0.9.8.10/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/NetworkManager-0.9.8.10/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/NetworkManager-0.9.8.10'
make: *** [all] Error 2

please anyone, can help me ? ..... :confused: