Kismet Wireless

Kismet Forums

 

Posted by:hector
Subject:compile problem (windows 7)
Date:03:17:45 16/12/2011

Hello,
I'm trying to compile kismet with airpcap support under windows 7.
I Copied the airpcap SDK folders in the kismet source folder, as indicated in the readme.

When running configure I get some warnings:

$ ./configure --with-airpcap-devpack=./Airpcap_Devpack --with-winpcap-devpack=./WinPcap_Devpack --enable-airpcap

...
checking airpcap.h presence... yes
configure: WARNING: airpcap.h: present but cannot be compiled
configure: WARNING: airpcap.h: check for missing prerequisite headers?
configure: WARNING: airpcap.h: see the Autoconf documentation
configure: WARNING: airpcap.h: section "Present But Cannot Be Compiled"
configure: WARNING: airpcap.h: proceeding with the compiler's result
checking for airpcap.h... no
configure: WARNING: Compiling without airpcap support
configure: WARNING: Using local radiotap headers
...

and then when I run make, I get errors:


$ make

...
g++ -L./Airpcap_Devpack/Lib -L./WinPcap_Devpack/Lib -o kismet_capture util.o cygwin_utils.o globalregistry.o ringbuf.o messagebus.o configfile.o getopt.o filtercore.o ifcontrol.o iwcontrol.o madwifing_control.o nl80211_control.o psutils.o ipc_remote.o netframework.o clinetframework.o tcpserver.o tcpclient.o timetracker.o drone_kisnetframe.o packetsourcetracker.o packetchain.o packetsource_pcap.o packetsource_wext.o packetsource_bsdrt.o packetsource_drone.o packetsource_ipwlive.o packetsource_airpcap.o packetsource_darwin.o packetsource_macusb.o dumpfile.o dumpfile_tuntap.o kismet_capture.o -ldl -lstdc++ -lwpcap
packetsource_airpcap.o: In function `_ZN20PacketSource_AirPcap20FetchHardwareChannelEv':
/home/cvc/kismet-2011-03-R2/packetsource_airpcap.cc:241: undefined reference to `_AirpcapGetDeviceChannel'
packetsource_airpcap.o: In function `_ZN20PacketSource_AirPcap10OpenSourceEv':
/home/cvc/kismet-2011-03-R2/packetsource_airpcap.cc:81: undefined reference to `_AirpcapSetFcsValidation'
packetsource_airpcap.o: In function `_ZN20PacketSource_AirPcap10OpenSourceEv':
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ext/new_allocator.h:62: undefined reference to `_AirpcapGetLastError'
packetsource_airpcap.o: In function `_ZN20PacketSource_AirPcap22FetchSupportedChannelsESs':
/home/cvc/kismet-2011-03-R2/packetsource_airpcap.cc:308: undefined reference to `_AirpcapGetDeviceSupportedChannels'
packetsource_airpcap.o: In function `_ZN20PacketSource_AirPcap10SetChannelEj':
/home/cvc/kismet-2011-03-R2/packetsource_airpcap.cc:252: undefined reference to `_AirpcapSetDeviceChannel'
packetsource_airpcap.o: In function `_ZN20PacketSource_AirPcap10SetChannelEj':
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ext/new_allocator.h:62: undefined reference to `_AirpcapGetLastError'
collect2: ld returned 1 exit status
Makefile:93: recipe for target `kismet_capture' failed
make: *** [kismet_capture] Error 1
...

Any hint on what can be wrong?

Thank you,
Hector


Reply to this message