Kismet Wireless

Kismet Forums


Posted by:millerlai
Subject:capture source type 'madwifi_a' was not build ?
Date:08:55:01 19/01/2009

Dear all,

I compile kismet with cross-compiler for ARM, but I run the kismet_server will get following error message:

FATAL: Support for capture source type 'madwifi_a' was not build. Check the output from 'configure' for more information about why it might not have been compiled in.

How can I get it to work ?

And another issue is that , if I do not '--disable-pcap' it always display error message " error: use of enum `ieee80211_radiotap_type' without previous declaration" when I make it.

Does anyone could give me some idea?

I edit capture source in kismet.config as following:

#=========output of configure=========

./configure --host=arm --disable-setuid --disable-netlink --enable-syspcap --disable-pcap --exec-prefix=/ --bindir=/bin --sbindir=/bin --with-pcap=/home/miller/project/newTrunk/trunk/application/libpcap/libpcap CC=xscale_be-gcc CXX=xscale_be-g++ CFLAGS="-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mbig-endian -D__LINUX_ARM_ARCH__=5 -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -msoft-float -Uarm -Wdeclaration-after-statement -I/home/miller/project/newTrunk/trunk/application/libpcap/libpcap -I/opt/montavista/pro/devkit/arm/xscale_be/target/usr/include -I/home/miller/project/newTrunk/trunk/kernel/linux/include" CXXFLAGS="-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mbig-endian -D__LINUX_ARM_ARCH__=5 -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -msoft-float -Uarm -Wdeclaration-after-statement -I/home/miller/project/newTrunk/trunk/application/libpcap/libpcap -I/opt/montavista/pro/devkit/arm/xscale_be/target/usr/include -I/home/miller/project/newTrunk/trunk/kernel/linux/include"

configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-none
checking for arm-gcc... xscale_be-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether xscale_be-gcc accepts -g... yes
checking for xscale_be-gcc option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether xscale_be-g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... xscale_be-gcc -E
checking for platform-specific compiler flags... none needed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for ANSI C header files... (cached) yes
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... no
checking whether stat accepts an empty string... yes
checking for gettimeofday... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strftime... yes
checking for strstr... yes
checking for system-level getopt_long()... yes
checking for stdint.h... (cached) yes
checking for accept() addrlen type... int
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for main in -luClibc++... no
checking for main in -lstdc++... yes
checking for group 'root'... yes
checking for group 'man'... checking for arm-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to
checking pkg-config is at least version 0.9.0... yes
checking for pkghildon... no
checking for initscr in -lncurses... yes
checking for new_panel in -lpanel... yes
checking for assume_default_colors in -lncurses... yes
configure: WARNING: *** Compiling without Linux netlink headers. wlanng_legacy source will not be built. ***
checking for linux/wireless.h... no
configure: WARNING: *** Missing Linux Wireless kernel extentions. The majority of packet sources on Linux require this support and will not work without it. Make sure your kernel header packages are installed. If all else fails, try the --with-linuxheaders directive. ***
configure: WARNING: Compiling without libpcap support. Many capture sources will be disabled.
configure: WARNING: Using local radiotap support on a non-bsd system
checking for setuid... no
configure: WARNING: *** Not installing setuid capabilities. It is more secure to install Kismet as setuid-capable so it can drop privileges. Please consult the README file. ***
checking for DBUS... yes
checking for XML_GetCurrentLineNumber in -lexpat... yes
checking gmp.h usability... no
checking gmp.h presence... no
checking for gmp.h... no
configure: WARNING: *** Missing GMP math library. gpsmap will not be built. ***
checking for Magick-config... no
configure: WARNING: *** Missing Magick-config (or it is not in the path). gpsmap will not be built. ***
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating extra/buzzme/Makefile
config.status: creating extra/Makefile
config.status: WARNING: extra/ seems to ignore the --datarootdir setting
config.status: creating conf/kismet.conf
config.status: creating conf/kismet_ui.conf
config.status: creating config.h
config.status: config.h is unchanged

Configuration complete:
Compiling for: none (arm)
C++ Library: stdc++
Installing as group: root
Man pages owned by: man
Installing into: /usr/local
Setuid capable: no
Terminal Control: ncurses
Curses interface: yes
Panels interface: yes
Linux Netlink capture: n/a (only Linux)
Linux wireless : n/a (only Linux)
Linux wireless v.22+ : n/a (only Linux)
pcap capture: no
airpcap control: n/a (only Cygwin/Win32)
WSP100 capture: no
Viha capture: n/a (only Darwin)
OSX/Darwin capture : n/a (only OSX/Darwin)
Radiotap headers: yes
Using local dump code: yes
DBUS Integration: yes
Imagemagick support: no
Expat Library: yes
GMP Library: no
PThread Support: yes
libz compression: no

Configuration complete. You are not running a linux-based system,
you will likely need to use 'gmake' instead of 'make'.
Run 'gmake dep' to generate dependencies and 'gmake' followed by
'gmake install' to compile and install Kismet
Kismet WILL NOT be installed suid-root by default. If you wish to install
Kismet as a suid-root utility, READ THE DOCUMENTATION and run
'make suidinstall'.

Reply to this message