Network manager compilation issues



hi,
I was trying to compile Network Manager's svn copy Revision: 3217 on ubuntu feisty. In starting it asked me for libnl-pre8 so i installed same by taking libnl-1.0-pre8.tar.gz from libnl repository. Then after setting PKG_CONFIG_PATH & LD_LIBRARY_PATH environment variables i again did make in NetworkManager & got following compilation errors:
cc1: warnings being treated as errors
nm-netlink-monitor.c: In function 'finalize':
nm-netlink-monitor.c:132: warning: implicit declaration of function 'nl_cb_put'
nm-netlink-monitor.c: In function 'netlink_object_message_handler':
nm-netlink-monitor.c :198: warning: implicit declaration of function 'nl_object_match_filter'
nm-netlink-monitor.c:198: warning: implicit declaration of function 'OBJ_CAST'
nm-netlink-monitor.c: In function 'netlink_event_input':
nm-netlink-monitor.c :223: error: 'NL_STOP' undeclared (first use in this function)
nm-netlink-monitor.c:223: error: (Each undeclared identifier is reported only once
nm-netlink-monitor.c:223: error: for each function it appears in.)
nm-netlink-monitor.c: In function 'nm_netlink_monitor_open_connection':
nm-netlink-monitor.c:240: warning: implicit declaration of function 'nl_cb_alloc'
nm-netlink-monitor.c:240: warning: assignment makes pointer from integer without a cast
nm-netlink-monitor.c:241: warning: implicit declaration of function 'nl_handle_alloc_cb'
nm-netlink-monitor.c:241: warning: assignment makes pointer from integer without a cast
nm-netlink-monitor.c:251: warning: implicit declaration of function 'nl_socket_modify_cb'
nm-netlink-monitor.c:260: warning: implicit declaration of function 'nl_socket_add_membership'
nm-netlink-monitor.c:278: warning: implicit declaration of function 'nl_socket_get_fd'
nm-netlink-monitor.c: In function 'nm_netlink_monitor_request_status':
nm-netlink-monitor.c:417: warning: implicit declaration of function 'nl_cache_refill'
nm-netlink-monitor.c: In function 'nm_netlink_monitor_event_handler':
nm-netlink-monitor.c:445: warning: implicit declaration of function 'nl_recvmsgs_default'
make[3]: *** [NetworkManager-nm-netlink-monitor.o] Error 1
make[3]: Leaving directory `/home/atul/dates/dec10/NetworkManager/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/atul/dates/dec10/NetworkManager/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/atul/dates/dec10/NetworkManager'
make: *** [all] Error 2

Can anyone help me for removing these errors.

Thanks

Atul Mehrotra


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