Kismet Wireless

Kismet Forums

 

Posted by:rjb1290
Subject:Compiling problems :(
Date:01:04:31 03/05/2010

Hello

I'm new to kismet (and to anything that involves using "make" and "make install," really) and need some help compiling and installing kismet.

I download kismet from subversion, do my ./configure and I get two warnings: "configure: WARNING: Using local radiotap headers" and "config.status: WARNING: 'Makefile.inc.in' seems to ignore the --datarootdir setting."

I don't know what that means, but they don't sound too bad. Anyway, then I try "make" and get (this is the fun part):

g++ -I/usr/include/ncurses -Wall -g -O2 -c darwin_control_wrapper.m -o darwin_control_wrapper.mo
darwin_control_wrapper.m:30:34: error: Foundation/Foundation.h: No such file or directory
In file included from darwin_control_wrapper.m:35:
apple80211.h:42:43: error: CoreFoundation/CoreFoundation.h: No such file or directory
In file included from darwin_control_wrapper.m:35:
apple80211.h:53: error: expected specifier-qualifier-list before ‘UInt16’
apple80211.h:92: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WINetworkInfoFlags’
apple80211.h:100: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WIErr’
apple80211.h:119: error: expected specifier-qualifier-list before ‘UInt16’
apple80211.h:130: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WirelessKey’
apple80211.h:149: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WirelessAttach’
apple80211.h:161: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WirelessDetach’
apple80211.h:172: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WirelessGetPower’
apple80211.h:184: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WirelessSetPower’
apple80211.h:197: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WirelessGetEnabled’
apple80211.h:209: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WirelessSetEnabled’
apple80211.h:222: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WirelessGetInfo’
apple80211.h:247: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WirelessScanSplit’
apple80211.h:253: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WirelessScan’
apple80211.h:266: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WirelessJoin’
apple80211.h:289: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WirelessJoinWEP’
apple80211.h:310: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WirelessEncrypt’
apple80211.h:326: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WirelessGetChannels’
apple80211.h:339: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WirelessGetBestChannel’
apple80211.h:363: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WirelessMakeIBSS’
apple80211.h:381: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WirelessHCF_GetInfo’
apple80211.h:432: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WirelessPrivate’
darwin_control_wrapper.m:36:27: error: Carbon/Carbon.h: No such file or directory
In file included from darwin_control_wrapper.m:38:
darwin_wificontrol.h:31: error: cannot find interface declaration for ‘NSObject’, superclass of ‘DarwinWifi’
darwin_wificontrol.h:33: error: expected specifier-qualifier-list before ‘NSAutoreleasePool’
darwin_wificontrol.h:34: error: expected specifier-qualifier-list before ‘NSBundle’
darwin_wificontrol.h:36: error: expected specifier-qualifier-list before ‘NSString’
darwin_wificontrol.h:40: error: expected ‘)’ before ‘NSString’
darwin_wificontrol.h:41: error: expected ‘)’ before ‘BOOL’
darwin_wificontrol.h:42: error: expected ‘)’ before ‘NSString’
darwin_wificontrol.h:45: error: expected ‘)’ before ‘NSArray’
darwin_wificontrol.h:46: error: expected ‘)’ before ‘BOOL’
darwin_wificontrol.h:47: error: expected ‘)’ before ‘BOOL’
darwin_control_wrapper.m: In function ‘darwin_bcom_testmonitor’:
darwin_control_wrapper.m:43: error: ‘NSDictionary’ undeclared (first use in this function)
darwin_control_wrapper.m:43: error: (Each undeclared identifier is reported only once
darwin_control_wrapper.m:43: error: for each function it appears in.)
darwin_control_wrapper.m:43: error: ‘dict’ undeclared (first use in this function)
darwin_control_wrapper.m:44: error: ‘NSData’ undeclared (first use in this function)
darwin_control_wrapper.m:44: error: ‘fileData’ undeclared (first use in this function)
darwin_control_wrapper.m:45: error: ‘NSString’ undeclared (first use in this function)
darwin_control_wrapper.m:45: error: ‘error’ undeclared (first use in this function)
darwin_control_wrapper.m:46: error: ‘NSAutoreleasePool’ undeclared (first use in this function)
darwin_control_wrapper.m:46: error: ‘pool’ undeclared (first use in this function)
darwin_control_wrapper.m:50: error: ‘NSPropertyListSerialization’ undeclared (first use in this function)
darwin_control_wrapper.m:50: error: ‘kCFPropertyListImmutable’ undeclared (first use in this function)
darwin_control_wrapper.m:53: warning: implicit declaration of function ‘NSLog’
darwin_control_wrapper.m:57: warning: implicit declaration of function ‘strcmp’
darwin_control_wrapper.m: In function ‘darwin_bcom_enablemonitorfile’:
darwin_control_wrapper.m:96: error: ‘NSDictionary’ undeclared (first use in this function)
darwin_control_wrapper.m:96: error: ‘dict’ undeclared (first use in this function)
darwin_control_wrapper.m:97: error: ‘NSData’ undeclared (first use in this function)
darwin_control_wrapper.m:97: error: ‘data’ undeclared (first use in this function)
darwin_control_wrapper.m:98: error: ‘NSString’ undeclared (first use in this function)
darwin_control_wrapper.m:98: error: ‘fileName’ undeclared (first use in this function)
darwin_control_wrapper.m:99: error: ‘NSAutoreleasePool’ undeclared (first use in this function)
darwin_control_wrapper.m:99: error: ‘pool’ undeclared (first use in this function)
darwin_control_wrapper.m:112: error: ‘NSPropertyListSerialization’ undeclared (first use in this function)
darwin_control_wrapper.m:112: error: ‘kCFPropertyListMutableContainers’ undeclared (first use in this function)
darwin_control_wrapper.m:112: error: ‘Nil’ undeclared (first use in this function)
darwin_control_wrapper.m:114: error: ‘NSNumber’ undeclared (first use in this function)
darwin_control_wrapper.m:114: error: ‘true’ undeclared (first use in this function)
darwin_control_wrapper.m:115: error: ‘kCFPropertyListXMLFormat_v1_0’ undeclared (first use in this function)
darwin_control_wrapper.m:115: error: ‘nil’ undeclared (first use in this function)
darwin_control_wrapper.m:115: error: ‘NO’ undeclared (first use in this function)
darwin_control_wrapper.m: In function ‘darwin_bcom_enablemonitor’:
darwin_control_wrapper.m:128: error: ‘NSAutoreleasePool’ undeclared (first use in this function)
darwin_control_wrapper.m:128: error: ‘pool’ undeclared (first use in this function)
darwin_control_wrapper.m:142: warning: implicit declaration of function ‘snprintf’
darwin_control_wrapper.m:142: warning: incompatible implicit declaration of built-in function ‘snprintf’
darwin_control_wrapper.m:143: warning: implicit declaration of function ‘system’
darwin_control_wrapper.m:150: warning: implicit declaration of function ‘fprintf’
darwin_control_wrapper.m:150: warning: incompatible implicit declaration of built-in function ‘fprintf’
darwin_control_wrapper.m:150: error: ‘stderr’ undeclared (first use in this function)
darwin_control_wrapper.m: In function ‘darwin_allocate_interface’:
darwin_control_wrapper.m:191: warning: ‘DarwinWifi’ may not respond to ‘+alloc’
darwin_control_wrapper.m:191: warning: (Messages without a matching method signature
darwin_control_wrapper.m:191: warning: will be assumed to return ‘id’ and accept
darwin_control_wrapper.m:191: warning: ‘...’ as arguments.)
darwin_control_wrapper.m:191: error: ‘NSString’ undeclared (first use in this function)
darwin_control_wrapper.m: In function ‘darwin_set_channel’:
darwin_control_wrapper.m:202: error: ‘BOOL’ undeclared (first use in this function)
darwin_control_wrapper.m:202: error: expected ‘;’ before ‘result’
darwin_control_wrapper.m:203: error: ‘NSError’ undeclared (first use in this function)
darwin_control_wrapper.m:203: error: ‘err’ undeclared (first use in this function)
darwin_control_wrapper.m:205: error: ‘result’ undeclared (first use in this function)
darwin_control_wrapper.m: In function ‘darwin_get_corewifi’:
darwin_control_wrapper.m:217: warning: return makes integer from pointer without a cast
darwin_control_wrapper.m: In function ‘darwin_get_channels’:
darwin_control_wrapper.m:227: error: ‘NSArray’ undeclared (first use in this function)
darwin_control_wrapper.m:227: error: ‘supported’ undeclared (first use in this function)
darwin_control_wrapper.m:231: warning: ‘DarwinWifi’ may not respond to ‘+alloc’
darwin_control_wrapper.m:231: error: ‘NSString’ undeclared (first use in this function)
darwin_control_wrapper.m:235: error: ‘nil’ undeclared (first use in this function)
darwin_control_wrapper.m:240: warning: implicit declaration of function ‘malloc’
darwin_control_wrapper.m:240: warning: incompatible implicit declaration of built-in function ‘malloc’
darwin_control_wrapper.m:243: warning: no ‘-intValue’ method found
darwin_control_wrapper.m:243: warning: assignment makes integer from pointer without a cast
darwin_control_wrapper.m:244: error: expression does not have a valid object type
make: *** [darwin_control_wrapper.mo] Error 1

I get the feeling that there's some file or directory missing (the "No such file or directory" messages kind of tipped me off to that ;) ), but I haven't a clue as to how to fix it. Any help would be greatly appreciated. This is the first time in a while that my dear friend Google has let me down, and I'm feel rather helpless.

Thanks


Reply to this message