Kismet Wireless

Kismet Forums

 

Posted by:phoenix
Subject:error installing spectools on OS X
Date:21:25:57 02/11/2010

Hi All,

I was able to install spectools on ubuntu, but when I try to install on OS X (10.6.4), I get the following error:
---------
gcc spectool_container.o wispy_hw_gen1.o wispy_hw_24x.o wispy_hw_dbx.o spectool_net_client.o spectool_raw.o -o spectool_raw -framework IOKit -framework CoreFoundation -lpthread -lm -lusb
Undefined symbols:
"_usb_detach_kernel_driver_np", referenced from:
_wispy24x_usb_open in wispy_hw_24x.o
_wispydbx_usb_open in wispy_hw_dbx.o
*** [spectool_raw] Error 1
----------


Can you please let me know what is wrong?

Thanks much!
-P



I am also attaching the output of ./configure

$ ./configure
checking build system type... i386-apple-darwin10.4.0
checking host system type... i386-apple-darwin10.4.0
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for platform-specific compiler flags... Apple GCC - added -no-cpp-precomp
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/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... no
checking for ANSI C header files... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for sys/types.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for pow in -lm... yes
checking usb.h usability... yes
checking usb.h presence... yes
checking for usb.h... yes
checking for usb_init in -lusb... yes
checking for initscr in -lncurses... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking values.h usability... no
checking values.h presence... no
checking for values.h... no
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for pkggtk2... yes
checking that we can link gtk/gdk... yes
checking cairo.h usability... yes
checking cairo.h presence... no
configure: WARNING: cairo.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: cairo.h: proceeding with the compiler's result
checking for cairo.h... yes
checking for pkghildon... no
checking for Linux headers with DEVFS_DISCONNECT support... no
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating config.h
config.status: config.h is unchanged


*** Configuration complete
*** Check the configure output if a target you want is not configured.
*** The following targets are configured:
spectool_raw spectool_net spectool_curses spectool_gtk


Reply to this message