Kismet Wireless

Kismet Forums

 

Posted by:squigley
Subject:newcore compilation error
Date:15:35:17 13/11/2008

> > > > > Hi, I just downloaded the latest svn newcore (12th November), and I'm trying to compile it on ubuntu intrepid. Configure gives the following output:
> > > >
> > > >
> > > > > iwcontrol.cc: In function ‘int mac80211_createvap(const char*, const char*, char*)’:
> > > > > iwcontrol.cc:629: error: ‘if_nametoindex’ was not declared in this scope
> > > > > iwcontrol.cc:667: error: ‘if_nametoindex’ was not declared in this scope
> > > > > iwcontrol.cc:683: error: ‘if_nametoindex’ was not declared in this scope
> > > > > make: *** [iwcontrol.o] Error 1
> > > > >
> > > > > I've made sure I have the latest wireless.h file, but can't find any other reason for this error. any suggestions?
> > > >
> > > > You need a current libnl for mac80211 netlink control. Updating config to test for this and disable.
> > > >
> > > > -m
> > >
> > > Ah ok, I just installed the latest libnl available in intrepid, maybe it's not recent enough.
> > >
> > > The other packages I installed for configure to find included libpcre3-dev, libpcrecpp0, libpcap0.8-dev, libcap-dev, libnl-dev, libiw-dev.
> > >
> > > I had tried using the wireless-compat drivers with a different kernel version, (which includes a newer version of mac80211) but found them to be less reliable than the older version included in the kernel (ath9k being used for an atheros ar9281 chip).
> > >
> > > Thanks for the quick reply.
> >
> > I just checked it out again:
> > U kismet-newcore/configure.in
> > U kismet-newcore/configure
> > Checked out revision 2494.
> >
> > make clean, reconfigured, make dep, make, and get the same error.
>
> We might be getting closer :-) ..
>
> U kismet-newcore/configure.in
> U kismet-newcore/iwcontrol.cc
> U kismet-newcore/configure
> Checked out revision 2495.
>
> In file included from iwcontrol.cc:33:
> /usr/include/net/if.h:45: error: expected identifier before numeric constant
> /usr/include/net/if.h:45: error: expected `}' before numeric constant
> /usr/include/net/if.h:45: error: expected unqualified-id before numeric constant
> /usr/include/net/if.h:82: error: expected declaration before ‘}’ token
> make: *** [iwcontrol.o] Error 1

It seems to have reverted now..

U kismet-newcore/iwcontrol.cc
U kismet-newcore/spectool_netclient.cc
Checked out revision 2496.

iwcontrol.cc: In function ‘int mac80211_createvap(const char*, const char*, char*)’:
iwcontrol.cc:630: error: ‘if_nametoindex’ was not declared in this scope
iwcontrol.cc:668: error: ‘if_nametoindex’ was not declared in this scope
iwcontrol.cc:684: error: ‘if_nametoindex’ was not declared in this scope
make: *** [iwcontrol.o] Error 1


Reply to this message