Re: build error with v0.9.8.2



g_clear_object was  introduced  in gobject 2.28
g_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 functions


On 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.o
  CC     NetworkManager-nm-session-utils.o
  CC     NetworkManager-nm-connection-provider.o
  CC     NetworkManager-nm-dispatcher.o
  CC     NetworkManager-nm-session-monitor-ck.o
  CC     NetworkManager-nm-sleep-monitor-upower.o
  CCLD   NetworkManager
NetworkManager-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 status
make[4]: *** [NetworkManager] Error 1
make[4]: Leaving directory `/home/jojo/code/NetworkManager-0.9.8.2/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/jojo/code/NetworkManager-0.9.8.2/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/jojo/code/NetworkManager-0.9.8.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jojo/code/NetworkManager-0.9.8.2'
make: *** [all] Error 2

Thanks,

- Jojo


_______________________________________________
networkmanager-list mailing list
networkmanager-list gnome org
https://mail.gnome.org/mailman/listinfo/networkmanager-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]