Subject: net/kismet doesn't build on DragonFlyBSD
To: None <pkgsrc-users@netbsd.org>
From: Thomas Schlesinger <schlesinger@netcologne.de>
List: pkgsrc-users
Date: 09/10/2006 21:46:39
Hi,

when I try to build net/kismet, I get this error message:


[..]
c++ -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -Ilibpcap-0.9.1-kis -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2006\" -DVERSION_MINOR=\"04\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat 
TIMESTAMP`\" -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2  -Wall -c 
pcapsource.cc -o pcapsource.o
pcapsource.cc: In member function `int 
PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)':
pcapsource.cc:613: error: use of enum `ieee80211_radiotap_type' without 
previous declaration
pcapsource.cc:613: error: invalid type in declaration before ';' token
pcapsource.cc:621: error: invalid application of `sizeof' to incomplete type 
`ieee80211_radiotap_header'
pcapsource.cc:627: error: invalid use of undefined type `struct 
ieee80211_radiotap_header'
pcapsource.cc:610: error: forward declaration of `struct 
ieee80211_radiotap_header'
pcapsource.cc:633: error: invalid use of undefined type `struct 
ieee80211_radiotap_header'
pcapsource.cc:610: error: forward declaration of `struct 
ieee80211_radiotap_header'
pcapsource.cc:634: error: `IEEE80211_RADIOTAP_EXT' undeclared (first use this 
function)
pcapsource.cc:634: error: (Each undeclared identifier is reported only once 
for each function it appears in.)
pcapsource.cc:635: error: invalid use of undefined type `struct 
ieee80211_radiotap_header'
pcapsource.cc:610: error: forward declaration of `struct 
ieee80211_radiotap_header'
pcapsource.cc:649: error: invalid use of undefined type `struct 
ieee80211_radiotap_header'
pcapsource.cc:610: error: forward declaration of `struct 
ieee80211_radiotap_header'
pcapsource.cc:656: error: use of enum `ieee80211_radiotap_type' without 
previous declaration
pcapsource.cc:660: error: `IEEE80211_RADIOTAP_FLAGS' undeclared (first use 
this function)
pcapsource.cc:661: error: `IEEE80211_RADIOTAP_RATE' undeclared (first use this 
function)
pcapsource.cc:662: error: `IEEE80211_RADIOTAP_DB_ANTSIGNAL' undeclared (first 
use this function)
pcapsource.cc:663: error: `IEEE80211_RADIOTAP_DB_ANTNOISE' undeclared (first 
use this function)
pcapsource.cc:664: error: `IEEE80211_RADIOTAP_DBM_ANTSIGNAL' undeclared (first 
use this function)
pcapsource.cc:665: error: `IEEE80211_RADIOTAP_DBM_ANTNOISE' undeclared (first 
use this function)
pcapsource.cc:666: error: `IEEE80211_RADIOTAP_ANTENNA' undeclared (first use 
this function)
pcapsource.cc:669: error: `IEEE80211_RADIOTAP_DBM_TX_POWER' undeclared (first 
use this function)
pcapsource.cc:672: error: `IEEE80211_RADIOTAP_CHANNEL' undeclared (first use 
this function)
pcapsource.cc:678: error: `IEEE80211_RADIOTAP_FHSS' undeclared (first use this 
function)
pcapsource.cc:679: error: `IEEE80211_RADIOTAP_LOCK_QUALITY' undeclared (first 
use this function)
pcapsource.cc:680: error: `IEEE80211_RADIOTAP_TX_ATTENUATION' undeclared 
(first use this function)
pcapsource.cc:681: error: `IEEE80211_RADIOTAP_DB_TX_ATTENUATION' undeclared 
(first use this function)
pcapsource.cc:685: error: `IEEE80211_RADIOTAP_TSFT' undeclared (first use this 
function)
pcapsource.cc:781: error: invalid use of undefined type `struct 
ieee80211_radiotap_header'
pcapsource.cc:610: error: forward declaration of `struct 
ieee80211_radiotap_header'
pcapsource.cc:782: error: invalid use of undefined type `struct 
ieee80211_radiotap_header'
pcapsource.cc:610: error: forward declaration of `struct 
ieee80211_radiotap_header'
pcapsource.cc:783: error: invalid use of undefined type `struct 
ieee80211_radiotap_header'
pcapsource.cc:610: error: forward declaration of `struct 
ieee80211_radiotap_header'
gmake: *** [pcapsource.o] Error 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/net/kismet
*** Error code 1

Stop.
[..]

Thomas