Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 6973] Add a new toolbar for channel setting on nl80211 wir

Date: Thu, 21 Jun 2012 09:04:36 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6973

--- Comment #25 from Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> 2012-06-21 09:04:35 PDT ---
(In reply to comment #21)
> (In reply to comment #19)
> > * Drop libnl1 support. Any distro new enough to compile WS will have at least
> > libnl2.
> 
> FWIW my normal development system (Fedora 10) has libnl-1.1-5.

OK, do we plan to commit this patch or add support to libnl-1.x ?

Currently building wireshark with libnl-1 (dev-libs/libnl-1.1-r2) fails with:
#v+
ws80211_utils.c: In function 'ws80211_init':
ws80211_utils.c:63: error: implicit declaration of function 'nl_socket_alloc'
ws80211_utils.c:63: error: assignment makes pointer from integer without a cast
ws80211_utils.c:69: error: passing argument 1 of 'genl_connect' from
incompatible pointer type
/usr/include/netlink/genl/genl.h:23: note: expected 'struct nl_handle *' but
argument is of type 'struct nl_sock *'
ws80211_utils.c:75: error: passing argument 1 of 'genl_ctrl_resolve' from
incompatible pointer type
/usr/include/netlink/genl/ctrl.h:29: note: expected 'struct nl_handle *' but
argument is of type 'struct nl_sock *'
ws80211_utils.c:85: error: implicit declaration of function 'nl_socket_free'
ws80211_utils.c: In function 'nl80211_do_cmd':
ws80211_utils.c:119: error: passing argument 1 of 'nl_send_auto_complete' from
incompatible pointer type
/usr/include/netlink/netlink.h:48: note: expected 'struct nl_handle *' but
argument is of type 'struct nl_sock *'
ws80211_utils.c:130: error: passing argument 1 of 'nl_recvmsgs' from
incompatible pointer type
/usr/include/netlink/netlink.h:58: note: expected 'struct nl_handle *' but
argument is of type 'struct nl_sock *'
#v-

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.