在 2013年11月16日星期六,下午12:39,Pritam Baral 写道:
g_clear_object was introduced in gobject 2.28g_get_real_time was introduced in glib 2.28
You'll either need to use newer glib and gobject or replace those functions with older functionsOn Sat, Nov 16, 2013 at 12:41 AM, jojo <rjiejie gmail com> wrote:Hi,Some one met bellow error in building time ?How to fix this ?BTW, My Glib version is "glib-2.26.1"CC NetworkManager-nm-dhcp6-config.oCC NetworkManager-nm-session-utils.oCC NetworkManager-nm-connection-provider.oCC NetworkManager-nm-dispatcher.oCC NetworkManager-nm-session-monitor-ck.oCC NetworkManager-nm-sleep-monitor-upower.oCCLD NetworkManagerNetworkManager-nm-active-connection.o: In function `nm_active_connection_set_state':/home/jojo/code/NetworkManager-0.9.8.2/src/nm-active-connection.c:120: undefined reference to `g_clear_object'NetworkManager-nm-active-connection.o: In function `dispose':/home/jojo/code/NetworkManager-0.9.8.2/src/nm-active-connection.c:378: undefined reference to `g_clear_object'/home/jojo/code/NetworkManager-0.9.8.2/src/nm-active-connection.c:379: undefined reference to `g_clear_object'/home/jojo/code/NetworkManager-0.9.8.2/src/nm-active-connection.c:380: undefined reference to `g_clear_object'NetworkManager-nm-activation-request.o: In function `dispose':/home/jojo/code/NetworkManager-0.9.8.2/src/nm-activation-request.c:459: undefined reference to `g_clear_object'NetworkManager-nm-activation-request.o:/home/jojo/code/NetworkManager-0.9.8.2/src/nm-activation-request.c:460: more undefined references to `g_clear_object' follow./ip6-manager/.libs/libip6-manager.a(libip6_manager_la-nm-ip6-manager.o): In function `wait_for_no_addresses':/home/jojo/code/NetworkManager-0.9.8.2/src/ip6-manager/nm-ip6-manager.c:1423: undefined reference to `g_get_real_time'/home/jojo/code/NetworkManager-0.9.8.2/src/ip6-manager/nm-ip6-manager.c:1443: undefined reference to `g_get_real_time'collect2: ld returned 1 exit statusmake[4]: *** [NetworkManager] Error 1make[4]: Leaving directory `/home/jojo/code/NetworkManager-0.9.8.2/src'make[3]: *** [all-recursive] Error 1make[3]: Leaving directory `/home/jojo/code/NetworkManager-0.9.8.2/src'make[2]: *** [all] Error 2make[2]: Leaving directory `/home/jojo/code/NetworkManager-0.9.8.2/src'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/home/jojo/code/NetworkManager-0.9.8.2'make: *** [all] Error 2Thanks,- Jojo
_______________________________________________
networkmanager-list mailing list
networkmanager-list gnome org
https://mail.gnome.org/mailman/listinfo/networkmanager-list
_______________________________________________networkmanager-list mailing list