Wireshark-bugs: [Wireshark-bugs] [Bug 6973] Add a new toolbar for channel setting on nl80211 wir
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6973
--- Comment #61 from Alexis La Goutte <alexis.lagoutte@xxxxxxxxx> 2012-09-10 08:35:00 PDT ---
(In reply to comment #60)
>
> Thanks for all the help. Hopfully this should fix older systems now.
Not yet... i have a small issue with my Linux buildbot and cmake :
[ 88%] Building C object CMakeFiles/wireshark.dir/iface_monitor.c.o
/home/prolag/wireshark-ng/iface_monitor.c: In function ‘iface_mon_handler2’:
/home/prolag/wireshark-ng/iface_monitor.c:101:19: error : ‘IFF_UP’ undeclared
(first use in this function)
/home/prolag/wireshark-ng/iface_monitor.c:101:19: note: each undeclared
identifier is reported only once for each function it appears in
make[2]: *** [CMakeFiles/wireshark.dir/iface_monitor.c.o] Error 1
make[1]: *** [CMakeFiles/wireshark.dir/all] Error 2
make: *** [all] Error 2
i use the following version of libnl :
dpkg -l | grep libnl
ii libnl3 3.0-1.1ubuntu1 library for dealing with netlink sockets
ii libnl3-dev 3.0-1.1ubuntu1 development library and headers for libnl3
i have fix the issue with this small fix : (but i not sure it is correct...)
diff --git a/iface_monitor.c b/iface_monitor.c
index 76db493..d1d3b73 100644
--- a/iface_monitor.c
+++ b/iface_monitor.c
@@ -37,7 +37,7 @@
#include <strings.h>
#include <errno.h>
-#if defined(HAVE_LIBNL1) || defined(HAVE_LIBNL2)
+#if defined(HAVE_LIBNL1) || defined(HAVE_LIBNL2) || defined(HAVE_LIBNL3)
#include <net/if.h>
#endif
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.