Re: Network manager compilation issues



On Wed, 2008-01-09 at 14:06 +0530, atul mehrotra wrote:
> 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:

Where did libnl-1.0-pre8 install to, and can you post the entire
compilation line for nm-netlink-monitor.c?  I'd like to see what the
include paths passed to gcc are and make sure those match up with where
libnl's headers are...

Thanks!
Dan

> 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 
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list



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