Wireshark-bugs: [Wireshark-bugs] [Bug 6973] Add a new toolbar for channel setting on nl80211 wir
Date: Sat, 7 Jul 2012 10:03:10 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6973

--- Comment #42 from Pontus Fuchs <pontus.fuchs@xxxxxxxxx> 2012-07-07 10:03:09 PDT ---
(In reply to comment #41)
> (In reply to comment #31)
> > (In reply to comment #26)
> > > (In reply to comment #25)
> > > > (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:
> > > 
> > > It's fine with me if 1.x is not supported as long as it compiles when we have
> > > 1.x installed (in which case I'd expect that we don't define HAVE_LIBNL).
> > 
> > I assumed that libnl 1 died with the dinosaurs but you have proved me wrong :)
> > I added a patch to support V1. It's really trivial so there is little reason
> > not to support it.
> 
> I recently installed the libnl-devel package but now my Wireshark builds fail
> at:
> 
> ~~~
> ../../../ws80211_utils.h:34: error: 'NL80211_CHAN_NO_HT' undeclared here (not
> in a function)
> ../../../ws80211_utils.h:35: error: 'NL80211_CHAN_HT20' undeclared here (not in
> a function)
> ../../../ws80211_utils.h:36: error: 'NL80211_CHAN_HT40MINUS' undeclared here
> (not in a function)
> ../../../ws80211_utils.h:37: error: 'NL80211_CHAN_HT40PLUS' undeclared here
> (not in a function)
> ~~~
> 
> The exact RPM I have is libnl-devel-1.1-5.fc10.x86_64 .  I don't have at the
> time to figure out when those symbols showed up and/or what to do about it;
> maybe a configure-compile-test is needed?

Your system's nl80211.h is too old. There are two possible solutions. 1 is to
disable the toolbar in this situation. 2 is to disable channel type but keep
the toolbar. I'm away from home for about a week so don't expect something to
happen before that. 

Can you attach your nl80211.h, it's in /usr/include/linux.

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