Kismet Wireless

Kismet Forums

 

Posted by:iMiKE
Subject:Compile problems on OSX 10.10 Yosemite
Date:09:26:36 03/07/2016

Now I'm trying to compile 2016-07 version if kismet on OSX 10.10.5
There are errors:
./macaddr.h:188:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign]
in = in; // Silence gcc
~~ ^ ~~
./macaddr.h:532:13: error: use of undeclared identifier 'exit'; did you mean '_exit'?
exit(1);
^~~~
_exit
/usr/include/unistd.h:424:7: note: '_exit' declared here
void _exit(int) __dead2;
^
In file included from packetsource_macusb.cc:32:
In file included from ./packetsource_macusb.h:28:
In file included from ./packetsource.h:28:
./uuid.h:116:6: warning: format specifies type 'unsigned short' but the argument has type 'uint8_t' (aka 'unsigned char') [-Wformat]
node[0], node[1], node[2], node[3], node[4], node[5]);
^~~~~~~
./uuid.h:116:15: warning: format specifies type 'unsigned short' but the argument has type 'uint8_t' (aka 'unsigned char') [-Wformat]
node[0], node[1], node[2], node[3], node[4], node[5]);
^~~~~~~
./uuid.h:116:24: warning: format specifies type 'unsigned short' but the argument has type 'uint8_t' (aka 'unsigned char') [-Wformat]
node[0], node[1], node[2], node[3], node[4], node[5]);
^~~~~~~
./uuid.h:116:33: warning: format specifies type 'unsigned short' but the argument has type 'uint8_t' (aka 'unsigned char') [-Wformat]
node[0], node[1], node[2], node[3], node[4], node[5]);
^~~~~~~
./uuid.h:116:42: warning: format specifies type 'unsigned short' but the argument has type 'uint8_t' (aka 'unsigned char') [-Wformat]
node[0], node[1], node[2], node[3], node[4], node[5]);
^~~~~~~
./uuid.h:116:51: warning: format specifies type 'unsigned short' but the argument has type 'uint8_t' (aka 'unsigned char') [-Wformat]
node[0], node[1], node[2], node[3], node[4], node[5]);
^~~~~~~
10 warnings and 1 error generated.
make: *** [packetsource_macusb.o] Error 1

Can you help me and resolve this error on OSX?


Reply to this message