Kismet Wireless

Kismet Forums

 

Posted by:dragorn
Subject:Pcapsource.cc error
Date:08:45:43 10/12/2008

> Hello,
>
> Compiling on OpenSolaris using gmake the following error i got.
>

You may be the first person I've ever heard of trying to use Kismet on opensolaris - what drivers do you think have rfmon?



> In file included from packet.h:22,
> from packet.cc:21:
> config.h:260:1: warning: "_FILE_OFFSET_BITS" redefined
> In file included from /usr/include/stdio.h:40,
> from packet.cc:19:
> /usr/include/sys/feature_tests.h:209:1: warning: this is the location of the previous definition

Some weird multi-def

> g++ -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -g -O2 -c pcapsource.cc -o pcapsource.o
> In file included from pcapsource.cc:127:
> pcapsource.h:130: error: `u_int16_t' does not name a type
> pcapsource.h:131: error: `u_int16_t' does not name a type
> pcapsource.h:132: error: `u_int16_t' does not name a type
> pcapsource.h:133: error: `u_int8_t' does not name a type
> pcapsource.h:134: error: `u_int8_t' does not name a type
> pcapsource.h:135: error: `u_int8_t' does not name a type
> pcapsource.h:136: error: `u_int8_t' does not name a type
> pcapsource.h:137: error: `u_int16_t' does not name a type
> pcapsource.h:138: error: `u_int16_t' does not name a type

Missing type definitions in stdint.h in solaris, it looks like, you could try changing those to uint16_t and uint8_t

> pcapsource.cc: In member function `int PcapSource::BSD2KisPack(kis_packet*, uint8_t*, uint8_t*)':
> pcapsource.cc:733: error: 'struct PcapSource::bsd_80211_header' has no member named 'wi_signal'
> pcapsource.cc:734: error: 'struct PcapSource::bsd_80211_header' has no member named 'wi_silence'

So it thinks you're on BSD? The multi-dlt stuff might be accurate but the channel control stuff probably will not be, and it seems like the signal and silence reporting mechanism is broken.

> pcapsource.cc: In member function `int PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)':
> pcapsource.cc:820: error: `u_int8_t' does not name a type
> pcapsource.cc:821: error: `u_int16_t' does not name a type

More of the same

>
> Any suggestions ?

Not sure how to handle the radio control since I've never used solaris - you might want to find out first if they have any rfmon capable drivers in the first place, before you spend much time trying to get the rest going.

-m


Reply to this message