All pastes #583183 Raw Edit

Untitled

public text v1 · immutable
·published 2007-06-22 08:03 UTC
rendered paste body
g++ -I/usr/pkg/include -I/usr/pkg/include -Wall -g -O2 -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2  -Wall -W -c packetsource_bsdrt.cc -o packetsource_bsdrt.o
macaddr.h:175: warning: unused parameter 'in'
packetsource_pcap.h:245: warning: unused parameter 'in_device'
packetsource_pcap.h:265: warning: unused parameter 'in_ch'
packetsource_pcap.h:271: warning: unused parameter 'in_packet'
packetsourcetracker.h:304: warning: unused parameter 'in_device'
packetsourcetracker.h:319: warning: unused parameter 'in_seq'
packetsourcetracker.h:323: warning: unused parameter 'in_packet'
packetsource_bsdrt.cc: In member function 'int Radiotap_BSD_Controller::MonitorEnable(int)':
packetsource_bsdrt.cc:56: error: 'IFM_IEEE80211_MONITOR' was not declared in this scope
packetsource_bsdrt.cc:56: error: 'IFM_AUTO' was not declared in this scope
packetsource_bsdrt.cc:73: error: 'IFF_PROMISC' was not declared in this scope
packetsource_bsdrt.cc:73: error: 'IFF_UP' was not declared in this scope
packetsource_bsdrt.cc: At global scope:
packetsource_bsdrt.cc:48: warning: unused parameter 'initch'
packetsource_bsdrt.cc:86: warning: unused parameter 'initch'
packetsource_bsdrt.cc: In member function 'int Radiotap_BSD_Controller::GetMediaOpt(int&, int&)':
packetsource_bsdrt.cc:105: error: aggregate 'ifmediareq ifmr' has incomplete type and cannot be defined
packetsource_bsdrt.cc:115: error: invalid application of 'sizeof' to incomplete type 'ifmediareq' 
packetsource_bsdrt.cc:121: error: 'IFM_OPTIONS' was not declared in this scope
packetsource_bsdrt.cc:122: error: 'IFM_MODE' was not declared in this scope
packetsource_bsdrt.cc: In member function 'int Radiotap_BSD_Controller::SetMediaOpt(int, int)':
packetsource_bsdrt.cc:128: error: aggregate 'ifmediareq ifmr' has incomplete type and cannot be defined
packetsource_bsdrt.cc:129: error: aggregate 'ifreq ifr' has incomplete type and cannot be defined
packetsource_bsdrt.cc:140: error: invalid application of 'sizeof' to incomplete type 'ifmediareq' 
packetsource_bsdrt.cc:161: error: invalid application of 'sizeof' to incomplete type 'ifmediareq' 
packetsource_bsdrt.cc:171: error: 'IFM_OMASK' was not declared in this scope
packetsource_bsdrt.cc:172: error: 'IFM_MMASK' was not declared in this scope
packetsource_bsdrt.cc:172: error: 'IFM_MAKEMODE' was not declared in this scope
packetsource_bsdrt.cc:174: error: invalid application of 'sizeof' to incomplete type 'ifreq' 
packetsource_bsdrt.cc: In member function 'int Radiotap_BSD_Controller::Get80211(int, int&, int, __uint8_t*)':
packetsource_bsdrt.cc:189: error: aggregate 'ieee80211chanreq channel' has incomplete type and cannot be defined
packetsource_bsdrt.cc:196: error: 'SIOCG80211CHANNEL' was not declared in this scope
packetsource_bsdrt.cc: At global scope:
packetsource_bsdrt.cc:188: warning: unused parameter 'type'
packetsource_bsdrt.cc:188: warning: unused parameter 'len'
packetsource_bsdrt.cc:188: warning: unused parameter 'data'
packetsource_bsdrt.cc: In member function 'int Radiotap_BSD_Controller::Set80211(int, int, int, __uint8_t*)':
packetsource_bsdrt.cc:207: error: aggregate 'ieee80211chanreq channel' has incomplete type and cannot be defined
packetsource_bsdrt.cc:214: error: 'SIOCS80211CHANNEL' was not declared in this scope
packetsource_bsdrt.cc: At global scope:
packetsource_bsdrt.cc:206: warning: unused parameter 'type'
packetsource_bsdrt.cc:206: warning: unused parameter 'len'
packetsource_bsdrt.cc:206: warning: unused parameter 'data'
packetsource_bsdrt.cc: In member function 'int Radiotap_BSD_Controller::GetIfFlags(int&)':
packetsource_bsdrt.cc:270: error: aggregate 'ifreq ifr' has incomplete type and cannot be defined
packetsource_bsdrt.cc:276: error: invalid application of 'sizeof' to incomplete type 'ifreq' 
packetsource_bsdrt.cc: In member function 'int Radiotap_BSD_Controller::SetIfFlags(int)':
packetsource_bsdrt.cc:292: error: aggregate 'ifreq ifr' has incomplete type and cannot be defined
packetsource_bsdrt.cc:305: error: invalid application of 'sizeof' to incomplete type 'ifreq' 
packetsource_bsdrt.cc: At global scope:
packetsource_bsdrt.cc:328: warning: unused parameter 'in_device'
packetsource_bsdrt.cc:443: warning: unused parameter 'in_packet'
*** Error code 1

Stop.
make: stopped in /home/pi/kismet-newcore