Re: NetwokManager fails to start with core dumped

----- Original Message -----
From: "Uldis Jansons" <uldis jansons tele2 com>
To: "Dan Williams" <dcbw redhat com>
Cc: networkmanager-list gnome org
Sent: Wednesday, December 18, 2013 9:39:59 AM
Subject: Re: NetwokManager fails to start with core dumped

----- Original Message -----
From: "Dan Williams" <dcbw redhat com>
To: "Uldis Jansons" <uldis jansons tele2 com>

Which libnl version do you have?  There were some versions in 3.x
did work, and some that didn't, due to bugs in libnl.  v3.2.21
work, as should 3.2.23.  I believe 3.2.22 had a crashing bug, and
earlier versions like 3.2.7 had bugs too.


Hi Dan,

I am using libnl-3.2.23 which I believe is the latest. As you were
mentioned 3.2.21 as bug-free version - tried this one as well.
Unfortunately changing of NL version didn't solve the problem -
compilation of NetworkManager fails:

  CC       NetworkManager-nm-system.o
nm-system.c: In function ‘nm_system_bond_enslave’:
nm-system.c:1699:21: error: declaration of ‘link’ shadows a global
declaration [-Werror=shadow]
cc1: all warnings being treated as errors
make[4]: *** [NetworkManager-nm-system.o] Error 1
make[4]: Leaving directory
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
make[2]: *** [all] Error 2
make[2]: Leaving directory
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vas/build/NetworkManager-'
make: *** [all] Error 2


Failing of make I solved by using --disable-more-warnings with ./configure. So now everything is built 
without errors. Unfortunately starting of NetworkManager still fails even with different netlink library 

NetworkManager[1948]: <warn> Failed to connect to netlink: (4) unable to allocate netlink link cache for 
monitoring link status: Operation not supported
(NetworkManager:1948): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion `instance != NULL && 
instance->g_class != NULL' failed
Segmentation fault (core dumped)


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