+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/kismet-2008.05.01nb57/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/kismet-2008.05.01nb57/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for kismet-2008.05.01nb57 Makefile:344: warning: ignoring prerequisites on suffix rule definition Makefile:344: warning: ignoring prerequisites on suffix rule definition Makefile:347: warning: ignoring prerequisites on suffix rule definition Makefile:347: warning: ignoring prerequisites on suffix rule definition Makefile:350: warning: ignoring prerequisites on suffix rule definition Makefile:344: warning: ignoring prerequisites on suffix rule definition Makefile:344: warning: ignoring prerequisites on suffix rule definition Makefile:347: warning: ignoring prerequisites on suffix rule definition Makefile:347: warning: ignoring prerequisites on suffix rule definition Makefile:350: warning: ignoring prerequisites on suffix rule definition Generating dependencies... Makefile:344: warning: ignoring prerequisites on suffix rule definition Makefile:344: warning: ignoring prerequisites on suffix rule definition Makefile:347: warning: ignoring prerequisites on suffix rule definition Makefile:347: warning: ignoring prerequisites on suffix rule definition Makefile:350: warning: ignoring prerequisites on suffix rule definition Makefile:344: warning: ignoring prerequisites on suffix rule definition Makefile:344: warning: ignoring prerequisites on suffix rule definition Makefile:347: warning: ignoring prerequisites on suffix rule definition Makefile:347: warning: ignoring prerequisites on suffix rule definition Makefile:350: warning: ignoring prerequisites on suffix rule definition g++ -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -c util.cc -o util.o g++ -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -c cygwin_utils.cc -o cygwin_utils.o g++ -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -c ringbuf.cc -o ringbuf.o g++ -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -c configfile.cc -o configfile.o g++ -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -c speech.cc -o speech.o g++ -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -c ifcontrol.cc -o ifcontrol.o g++ -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -c iwcontrol.cc -o iwcontrol.o g++ -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -c madwifing_control.cc -o madwifing_control.o g++ -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -c packet.cc -o packet.o g++ -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -c pcapsource.cc -o pcapsource.o g++ -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -c prism2source.cc -o prism2source.o In file included from iwcontrol.h:45, from iwcontrol.cc:20: util.h:57:1: warning: 'typedef' was ignored in this declaration 57 | typedef struct smart_word_token { | ^~~~~~~ In file included from util.cc:21: util.h:57:1: warning: 'typedef' was ignored in this declaration 57 | typedef struct smart_word_token { | ^~~~~~~ In file included from prism2source.h:23, from prism2source.cc:24: util.h:57:1: warning: 'typedef' was ignored in this declaration 57 | typedef struct smart_word_token { | ^~~~~~~ In file included from packet.h:45, from configfile.h:35, from configfile.cc:28: macaddr.h: In member function 'void mac_addr::string2long(const char*)': macaddr.h:77:35: error: invalid conversion from 'const char*' to 'char*' [-fpermissive] 77 | char *in_mask = strchr(in, '/'); | ~~~~~~^~~~~~~~~ | | | const char* g++ -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -c wtapfilesource.cc -o wtapfilesource.o macaddr.h: At global scope: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration 50 | typedef struct mac_addr { | ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration 281 | typedef struct mask_vec_content { | ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration 286 | typedef struct mask_vec_offsets { | ^~~~~~~ In file included from packet.h:45, from tracktypes.h:27, from speech.h:30, from speech.cc:23: macaddr.h: In member function 'void mac_addr::string2long(const char*)': macaddr.h:77:35: error: invalid conversion from 'const char*' to 'char*' [-fpermissive] 77 | char *in_mask = strchr(in, '/'); | ~~~~~~^~~~~~~~~ | | | const char* In file included from configfile.h:35, from configfile.cc:28: packet.h:57:1: warning: 'typedef' was ignored in this declaration 57 | typedef struct packet_parm { | ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration 298 | typedef struct proto_info { | ^~~~~~~ macaddr.h: At global scope: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration 50 | typedef struct mac_addr { | ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration 281 | typedef struct mask_vec_content { | ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration 286 | typedef struct mask_vec_offsets { | ^~~~~~~ In file included from tracktypes.h:27, from speech.h:30, from speech.cc:23: packet.h:57:1: warning: 'typedef' was ignored in this declaration 57 | typedef struct packet_parm { | ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration 298 | typedef struct proto_info { | ^~~~~~~ In file included from speech.h:30, from speech.cc:23: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration 30 | typedef struct display_network; | ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration 93 | typedef struct wireless_client { | ^~~~~~~ g++ -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -c wsp100source.cc -o wsp100source.o In file included from configfile.cc:29: util.h:57:1: warning: 'typedef' was ignored in this declaration 57 | typedef struct smart_word_token { | ^~~~~~~ g++ -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -c dronesource.cc -o dronesource.o tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration 269 | typedef struct wireless_network { | ^~~~~~~ In file included from packet.h:45, from packet.cc:21: macaddr.h: In member function 'void mac_addr::string2long(const char*)': macaddr.h:77:35: error: invalid conversion from 'const char*' to 'char*' [-fpermissive] 77 | char *in_mask = strchr(in, '/'); | ~~~~~~^~~~~~~~~ | | | const char* macaddr.h: At global scope: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration 50 | typedef struct mac_addr { | ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration 281 | typedef struct mask_vec_content { | ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration 286 | typedef struct mask_vec_offsets { | ^~~~~~~ In file included from packet.cc:21: packet.h:57:1: warning: 'typedef' was ignored in this declaration 57 | typedef struct packet_parm { | ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration 298 | typedef struct proto_info { | ^~~~~~~ g++ -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -c vihasource.cc -o vihasource.o In file included from packet.h:45, from pcapsource.h:30, from pcapsource.cc:130: macaddr.h: In member function 'void mac_addr::string2long(const char*)': macaddr.h:77:35: error: invalid conversion from 'const char*' to 'char*' [-fpermissive] 77 | char *in_mask = strchr(in, '/'); | ~~~~~~^~~~~~~~~ | | | const char* macaddr.h: At global scope: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration 50 | typedef struct mac_addr { | ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration 281 | typedef struct mask_vec_content { | ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration 286 | typedef struct mask_vec_offsets { | ^~~~~~~ In file included from pcapsource.h:30, from pcapsource.cc:130: packet.h:57:1: warning: 'typedef' was ignored in this declaration 57 | typedef struct packet_parm { | ^~~~~~~ packet.cc: In function 'void GetPacketInfo(kis_packet*, packet_info*, macmap*, unsigned char*)': packet.cc:205:48: warning: 'void* std::memset(void*, int, std::size_t)' clearing an object of type 'struct packet_info' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 205 | memset(ret_packinfo, 0, sizeof(packet_info)); | ^ In file included from packet.cc:21: packet.h:485:16: note: 'struct packet_info' declared here 485 | typedef struct { | ^ packet.h:298:1: warning: 'typedef' was ignored in this declaration 298 | typedef struct proto_info { | ^~~~~~~ g++ -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -c airpcapsource.cc -o airpcapsource.o In file included from packetsource.h:28, from pcapsource.h:31, from pcapsource.cc:130: timetracker.h:34:5: warning: 'typedef' was ignored in this declaration 34 | typedef struct timer_event { | ^~~~~~~ g++ -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -c packetsourcetracker.cc -o packetsourcetracker.o In file included from iwcontrol.h:45, from pcapsource.h:33, from pcapsource.cc:130: util.h:57:1: warning: 'typedef' was ignored in this declaration 57 | typedef struct smart_word_token { | ^~~~~~~ In file included from pcapsource.cc:130: pcapsource.h:133:9: error: 'u_int16_t' does not name a type; did you mean 'uint16_t'? 133 | u_int16_t wi_status; | ^~~~~~~~~ | uint16_t pcapsource.h:134:9: error: 'u_int16_t' does not name a type; did you mean 'uint16_t'? 134 | u_int16_t wi_ts0; | ^~~~~~~~~ | uint16_t pcapsource.h:135:9: error: 'u_int16_t' does not name a type; did you mean 'uint16_t'? 135 | u_int16_t wi_ts1; | ^~~~~~~~~ | uint16_t pcapsource.h:136:9: error: 'u_int8_t' does not name a type; did you mean 'uint8_t'? 136 | u_int8_t wi_silence; | ^~~~~~~~ | uint8_t pcapsource.h:137:9: error: 'u_int8_t' does not name a type; did you mean 'uint8_t'? 137 | u_int8_t wi_signal; | ^~~~~~~~ | uint8_t pcapsource.h:138:9: error: 'u_int8_t' does not name a type; did you mean 'uint8_t'? 138 | u_int8_t wi_rate; | ^~~~~~~~ | uint8_t pcapsource.h:139:9: error: 'u_int8_t' does not name a type; did you mean 'uint8_t'? 139 | u_int8_t wi_rx_flow; | ^~~~~~~~ | uint8_t pcapsource.h:140:9: error: 'u_int16_t' does not name a type; did you mean 'uint16_t'? 140 | u_int16_t wi_rsvd0; | ^~~~~~~~~ | uint16_t pcapsource.h:141:9: error: 'u_int16_t' does not name a type; did you mean 'uint16_t'? 141 | u_int16_t wi_rsvd1; | ^~~~~~~~~ | uint16_t g++ -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_NET_BPF_H -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -c kis_packsources.cc -o kis_packsources.o pcapsource.cc: In member function 'int PcapSource::BSD2KisPack(kis_packet*, uint8_t*, uint8_t*)': pcapsource.cc:736:31: error: 'struct PcapSource::bsd_80211_header' has no member named 'wi_signal' 736 | packet->signal = bsdhead->wi_signal; | ^~~~~~~~~ pcapsource.cc:737:30: error: 'struct PcapSource::bsd_80211_header' has no member named 'wi_silence' 737 | packet->noise = bsdhead->wi_silence; | ^~~~~~~~~~ pcapsource.cc: In member function 'int PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)': pcapsource.cc:823:9: error: 'u_int8_t' does not name a type; did you mean 'uint8_t'? 823 | u_int8_t u8; | ^~~~~~~~ | uint8_t pcapsource.cc:824:9: error: 'u_int16_t' does not name a type; did you mean 'uint16_t'? 824 | u_int16_t u16; | ^~~~~~~~~ | uint16_t pcapsource.cc:825:9: error: 'u_int32_t' does not name a type; did you mean 'uint32_t'? 825 | u_int32_t u32; | ^~~~~~~~~ | uint32_t gmake: *** [Makefile:347: speech.o] Error 1 gmake: *** Waiting for unfinished jobs.... pcapsource.cc:826:9: error: 'u_int64_t' does not name a type; did you mean 'uint64_t'? 826 | u_int64_t u64; | ^~~~~~~~~ | uint64_t pcapsource.cc:831:9: error: 'u_int8_t' does not name a type; did you mean 'uint8_t'? 831 | u_int8_t u8; | ^~~~~~~~ | uint8_t pcapsource.cc:832:9: error: 'u_int16_t' does not name a type; did you mean 'uint16_t'? 832 | u_int16_t u16; | ^~~~~~~~~ | uint16_t pcapsource.cc:833:9: error: 'u_int32_t' does not name a type; did you mean 'uint32_t'? 833 | u_int32_t u32; | ^~~~~~~~~ | uint32_t pcapsource.cc:834:9: error: 'u_int64_t' does not name a type; did you mean 'uint64_t'? 834 | u_int64_t u64; | ^~~~~~~~~ | uint64_t pcapsource.cc:837:5: error: 'u_int32_t' was not declared in this scope; did you mean 'uint32_t'? 837 | u_int32_t present, next_present; | ^~~~~~~~~ | uint32_t pcapsource.cc:838:16: error: 'presentp' was not declared in this scope 838 | u_int32_t *presentp, *last_presentp; | ^~~~~~~~ pcapsource.cc:838:27: error: 'last_presentp' was not declared in this scope 838 | u_int32_t *presentp, *last_presentp; | ^~~~~~~~~~~~~ pcapsource.cc:839:10: error: use of enum 'ieee80211_radiotap_type' without previous declaration 839 | enum ieee80211_radiotap_type bit; | ^~~~~~~~~~~~~~~~~~~~~~~ pcapsource.cc:847:34: error: invalid application of 'sizeof' to incomplete type 'PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)::ieee80211_radiotap_header' 847 | if (callback_header.caplen < sizeof(*hdr)) { | ^~~~~~~~~~~~ In file included from pcapsource.cc:126: tcpdump-extract.h:92:4: error: 'u_int16_t' was not declared in this scope; did you mean 'uint16_t'? 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^~~~~~~~~ pcapsource.cc:853:34: note: in expansion of macro 'EXTRACT_LE_16BITS' 853 | if (callback_header.caplen < EXTRACT_LE_16BITS(&hdr->it_len)) { | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:92:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^~~~~~~~ pcapsource.cc:853:34: note: in expansion of macro 'EXTRACT_LE_16BITS' 853 | if (callback_header.caplen < EXTRACT_LE_16BITS(&hdr->it_len)) { | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:92:29: error: expected primary-expression before 'const' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^~~~~ pcapsource.cc:853:34: note: in expansion of macro 'EXTRACT_LE_16BITS' 853 | if (callback_header.caplen < EXTRACT_LE_16BITS(&hdr->it_len)) { | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:92:29: error: expected ')' before 'const' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ~^~~~~ pcapsource.cc:853:34: note: in expansion of macro 'EXTRACT_LE_16BITS' 853 | if (callback_header.caplen < EXTRACT_LE_16BITS(&hdr->it_len)) { | ^~~~~~~~~~~~~~~~~ pcapsource.cc:857:6: error: expected ')' before 'for' 857 | } | ^ | ) 858 | 859 | for (last_presentp = &hdr->it_present; | ~~~ In file included from pcapsource.cc:126: tcpdump-extract.h:92:27: note: to match this '(' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^ pcapsource.cc:853:34: note: in expansion of macro 'EXTRACT_LE_16BITS' 853 | if (callback_header.caplen < EXTRACT_LE_16BITS(&hdr->it_len)) { | ^~~~~~~~~~~~~~~~~ pcapsource.cc:859:42: error: expected ')' before ';' token 859 | for (last_presentp = &hdr->it_present; | ^ | ) In file included from pcapsource.cc:126: tcpdump-extract.h:92:2: note: to match this '(' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^ pcapsource.cc:853:34: note: in expansion of macro 'EXTRACT_LE_16BITS' 853 | if (callback_header.caplen < EXTRACT_LE_16BITS(&hdr->it_len)) { | ^~~~~~~~~~~~~~~~~ pcapsource.cc:859:42: error: expected ')' before ';' token 859 | for (last_presentp = &hdr->it_present; | ^ | ) pcapsource.cc:853:8: note: to match this '(' 853 | if (callback_header.caplen < EXTRACT_LE_16BITS(&hdr->it_len)) { | ^ pcapsource.cc:853:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 853 | if (callback_header.caplen < EXTRACT_LE_16BITS(&hdr->it_len)) { | ^~ pcapsource.cc:860:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 860 | (EXTRACT_LE_32BITS(last_presentp) & BIT(IEEE80211_RADIOTAP_EXT)) != 0 && | ^ In file included from pcapsource.cc:126: tcpdump-extract.h:95:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 95 | ((u_int32_t)((u_int32_t)*((const u_int8_t *)(p) + 3) << 24 | \ | ^~~~~~~~ pcapsource.cc:860:11: note: in expansion of macro 'EXTRACT_LE_32BITS' 860 | (EXTRACT_LE_32BITS(last_presentp) & BIT(IEEE80211_RADIOTAP_EXT)) != 0 && | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:95:29: error: expected primary-expression before 'const' 95 | ((u_int32_t)((u_int32_t)*((const u_int8_t *)(p) + 3) << 24 | \ | ^~~~~ pcapsource.cc:860:11: note: in expansion of macro 'EXTRACT_LE_32BITS' 860 | (EXTRACT_LE_32BITS(last_presentp) & BIT(IEEE80211_RADIOTAP_EXT)) != 0 && | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:95:29: error: expected ')' before 'const' 95 | ((u_int32_t)((u_int32_t)*((const u_int8_t *)(p) + 3) << 24 | \ | ~^~~~~ pcapsource.cc:860:11: note: in expansion of macro 'EXTRACT_LE_32BITS' 860 | (EXTRACT_LE_32BITS(last_presentp) & BIT(IEEE80211_RADIOTAP_EXT)) != 0 && | ^~~~~~~~~~~~~~~~~ pcapsource.cc:861:80: error: expected ')' before ';' token 861 | (u_char*)(last_presentp + 1) <= data + EXTRACT_LE_16BITS(&hdr->it_len); | ^ In file included from pcapsource.cc:126: tcpdump-extract.h:95:27: note: to match this '(' 95 | ((u_int32_t)((u_int32_t)*((const u_int8_t *)(p) + 3) << 24 | \ | ^ pcapsource.cc:860:11: note: in expansion of macro 'EXTRACT_LE_32BITS' 860 | (EXTRACT_LE_32BITS(last_presentp) & BIT(IEEE80211_RADIOTAP_EXT)) != 0 && | ^~~~~~~~~~~~~~~~~ pcapsource.cc:861:80: error: expected ')' before ';' token 861 | (u_char*)(last_presentp + 1) <= data + EXTRACT_LE_16BITS(&hdr->it_len); | ^ In file included from pcapsource.cc:126: tcpdump-extract.h:95:2: note: to match this '(' 95 | ((u_int32_t)((u_int32_t)*((const u_int8_t *)(p) + 3) << 24 | \ | ^ pcapsource.cc:860:11: note: in expansion of macro 'EXTRACT_LE_32BITS' 860 | (EXTRACT_LE_32BITS(last_presentp) & BIT(IEEE80211_RADIOTAP_EXT)) != 0 && | ^~~~~~~~~~~~~~~~~ pcapsource.cc:861:80: error: expected ')' before ';' token 861 | (u_char*)(last_presentp + 1) <= data + EXTRACT_LE_16BITS(&hdr->it_len); | ^ pcapsource.cc:860:10: note: to match this '(' 860 | (EXTRACT_LE_32BITS(last_presentp) & BIT(IEEE80211_RADIOTAP_EXT)) != 0 && | ^ In file included from pcapsource.cc:126: tcpdump-extract.h:95:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 95 | ((u_int32_t)((u_int32_t)*((const u_int8_t *)(p) + 3) << 24 | \ | ^~~~~~~~ pcapsource.cc:865:10: note: in expansion of macro 'EXTRACT_LE_32BITS' 865 | if ((EXTRACT_LE_32BITS(last_presentp) & BIT(IEEE80211_RADIOTAP_EXT)) != 0) { | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:95:29: error: expected primary-expression before 'const' 95 | ((u_int32_t)((u_int32_t)*((const u_int8_t *)(p) + 3) << 24 | \ | ^~~~~ pcapsource.cc:865:10: note: in expansion of macro 'EXTRACT_LE_32BITS' 865 | if ((EXTRACT_LE_32BITS(last_presentp) & BIT(IEEE80211_RADIOTAP_EXT)) != 0) { | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:95:29: error: expected ')' before 'const' 95 | ((u_int32_t)((u_int32_t)*((const u_int8_t *)(p) + 3) << 24 | \ | ~^~~~~ pcapsource.cc:865:10: note: in expansion of macro 'EXTRACT_LE_32BITS' 865 | if ((EXTRACT_LE_32BITS(last_presentp) & BIT(IEEE80211_RADIOTAP_EXT)) != 0) { | ^~~~~~~~~~~~~~~~~ pcapsource.cc:869:6: error: expected ')' before 'packet' 869 | } | ^ | ) 870 | 871 | packet->caplen = packet->len = callback_header.caplen; | ~~~~~~ In file included from pcapsource.cc:126: tcpdump-extract.h:95:27: note: to match this '(' 95 | ((u_int32_t)((u_int32_t)*((const u_int8_t *)(p) + 3) << 24 | \ | ^ pcapsource.cc:865:10: note: in expansion of macro 'EXTRACT_LE_32BITS' 865 | if ((EXTRACT_LE_32BITS(last_presentp) & BIT(IEEE80211_RADIOTAP_EXT)) != 0) { | ^~~~~~~~~~~~~~~~~ pcapsource.cc:871:58: error: expected ')' before ';' token 871 | packet->caplen = packet->len = callback_header.caplen; | ^ | ) In file included from pcapsource.cc:126: tcpdump-extract.h:95:2: note: to match this '(' 95 | ((u_int32_t)((u_int32_t)*((const u_int8_t *)(p) + 3) << 24 | \ | ^ pcapsource.cc:865:10: note: in expansion of macro 'EXTRACT_LE_32BITS' 865 | if ((EXTRACT_LE_32BITS(last_presentp) & BIT(IEEE80211_RADIOTAP_EXT)) != 0) { | ^~~~~~~~~~~~~~~~~ pcapsource.cc:871:58: error: expected ')' before ';' token 871 | packet->caplen = packet->len = callback_header.caplen; | ^ | ) pcapsource.cc:865:9: note: to match this '(' 865 | if ((EXTRACT_LE_32BITS(last_presentp) & BIT(IEEE80211_RADIOTAP_EXT)) != 0) { | ^ pcapsource.cc:871:58: error: expected ')' before ';' token 871 | packet->caplen = packet->len = callback_header.caplen; | ^ | ) pcapsource.cc:865:8: note: to match this '(' 865 | if ((EXTRACT_LE_32BITS(last_presentp) & BIT(IEEE80211_RADIOTAP_EXT)) != 0) { | ^ pcapsource.cc:875:35: error: invalid use of incomplete type 'struct PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)::ieee80211_radiotap_header' 875 | for (bit0 = 0, presentp = &hdr->it_present; presentp <= last_presentp; | ^~ pcapsource.cc:836:12: note: forward declaration of 'struct PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)::ieee80211_radiotap_header' 836 | struct ieee80211_radiotap_header *hdr; | ^~~~~~~~~~~~~~~~~~~~~~~~~ pcapsource.cc:877:14: error: 'present' was not declared in this scope 877 | for (present = EXTRACT_LE_32BITS(presentp); present; present = next_present) { | ^~~~~~~ In file included from pcapsource.cc:126: tcpdump-extract.h:95:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 95 | ((u_int32_t)((u_int32_t)*((const u_int8_t *)(p) + 3) << 24 | \ | ^~~~~~~~ pcapsource.cc:877:24: note: in expansion of macro 'EXTRACT_LE_32BITS' 877 | for (present = EXTRACT_LE_32BITS(presentp); present; present = next_present) { | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:95:29: error: expected primary-expression before 'const' 95 | ((u_int32_t)((u_int32_t)*((const u_int8_t *)(p) + 3) << 24 | \ | ^~~~~ pcapsource.cc:877:24: note: in expansion of macro 'EXTRACT_LE_32BITS' 877 | for (present = EXTRACT_LE_32BITS(presentp); present; present = next_present) { | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:95:29: error: expected ')' before 'const' 95 | ((u_int32_t)((u_int32_t)*((const u_int8_t *)(p) + 3) << 24 | \ | ~^~~~~ pcapsource.cc:877:24: note: in expansion of macro 'EXTRACT_LE_32BITS' 877 | for (present = EXTRACT_LE_32BITS(presentp); present; present = next_present) { | ^~~~~~~~~~~~~~~~~ pcapsource.cc:877:51: error: expected ')' before ';' token 877 | for (present = EXTRACT_LE_32BITS(presentp); present; present = next_present) { | ^ In file included from pcapsource.cc:126: tcpdump-extract.h:95:27: note: to match this '(' 95 | ((u_int32_t)((u_int32_t)*((const u_int8_t *)(p) + 3) << 24 | \ | ^ pcapsource.cc:877:24: note: in expansion of macro 'EXTRACT_LE_32BITS' 877 | for (present = EXTRACT_LE_32BITS(presentp); present; present = next_present) { | ^~~~~~~~~~~~~~~~~ pcapsource.cc:877:51: error: expected ')' before ';' token 877 | for (present = EXTRACT_LE_32BITS(presentp); present; present = next_present) { | ^ In file included from pcapsource.cc:126: tcpdump-extract.h:95:2: note: to match this '(' 95 | ((u_int32_t)((u_int32_t)*((const u_int8_t *)(p) + 3) << 24 | \ | ^ pcapsource.cc:877:24: note: in expansion of macro 'EXTRACT_LE_32BITS' 877 | for (present = EXTRACT_LE_32BITS(presentp); present; present = next_present) { | ^~~~~~~~~~~~~~~~~ pcapsource.cc:877:72: error: 'next_present' was not declared in this scope 877 | for (present = EXTRACT_LE_32BITS(presentp); present; present = next_present) { | ^~~~~~~~~~~~ pcapsource.cc:882:25: error: use of enum 'ieee80211_radiotap_type' without previous declaration 882 | bit = (enum ieee80211_radiotap_type) | ^~~~~~~~~~~~~~~~~~~~~~~ pcapsource.cc:886:22: error: 'IEEE80211_RADIOTAP_FLAGS' was not declared in this scope; did you mean 'IEEE80211_RADIOTAP_F_FCS'? 886 | case IEEE80211_RADIOTAP_FLAGS: | ^~~~~~~~~~~~~~~~~~~~~~~~ | IEEE80211_RADIOTAP_F_FCS pcapsource.cc:887:22: error: 'IEEE80211_RADIOTAP_RATE' was not declared in this scope; did you mean 'IEEE80211_RADIOTAP_F_FCS'? 887 | case IEEE80211_RADIOTAP_RATE: | ^~~~~~~~~~~~~~~~~~~~~~~ | IEEE80211_RADIOTAP_F_FCS pcapsource.cc:888:22: error: 'IEEE80211_RADIOTAP_DB_ANTSIGNAL' was not declared in this scope; did you mean 'IEEE80211_RADIOTAP_F_FCS'? 888 | case IEEE80211_RADIOTAP_DB_ANTSIGNAL: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IEEE80211_RADIOTAP_F_FCS pcapsource.cc:889:22: error: 'IEEE80211_RADIOTAP_DB_ANTNOISE' was not declared in this scope; did you mean 'IEEE80211_RADIOTAP_F_FCS'? 889 | case IEEE80211_RADIOTAP_DB_ANTNOISE: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IEEE80211_RADIOTAP_F_FCS pcapsource.cc:890:22: error: 'IEEE80211_RADIOTAP_DBM_ANTSIGNAL' was not declared in this scope; did you mean 'IEEE80211_RADIOTAP_F_FCS'? 890 | case IEEE80211_RADIOTAP_DBM_ANTSIGNAL: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IEEE80211_RADIOTAP_F_FCS pcapsource.cc:891:22: error: 'IEEE80211_RADIOTAP_DBM_ANTNOISE' was not declared in this scope; did you mean 'IEEE80211_RADIOTAP_F_FCS'? 891 | case IEEE80211_RADIOTAP_DBM_ANTNOISE: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IEEE80211_RADIOTAP_F_FCS pcapsource.cc:892:22: error: 'IEEE80211_RADIOTAP_ANTENNA' was not declared in this scope; did you mean 'IEEE80211_RADIOTAP_F_FCS'? 892 | case IEEE80211_RADIOTAP_ANTENNA: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | IEEE80211_RADIOTAP_F_FCS pcapsource.cc:893:23: error: 'union PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)::' has no member named 'u8'; did you mean 'i8'? 893 | u.u8 = *iter++; | ^~ | i8 pcapsource.cc:895:22: error: 'IEEE80211_RADIOTAP_DBM_TX_POWER' was not declared in this scope; did you mean 'IEEE80211_RADIOTAP_F_FCS'? 895 | case IEEE80211_RADIOTAP_DBM_TX_POWER: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IEEE80211_RADIOTAP_F_FCS pcapsource.cc:898:22: error: 'IEEE80211_RADIOTAP_CHANNEL' was not declared in this scope; did you mean 'IEEE80211_IOC_CHANNEL'? 898 | case IEEE80211_RADIOTAP_CHANNEL: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | IEEE80211_IOC_CHANNEL pcapsource.cc:899:23: error: 'union PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)::' has no member named 'u16'; did you mean 'i16'? 899 | u.u16 = EXTRACT_LE_16BITS(iter); | ^~~ | i16 In file included from pcapsource.cc:126: tcpdump-extract.h:92:4: error: 'u_int16_t' was not declared in this scope; did you mean 'uint16_t'? 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^~~~~~~~~ pcapsource.cc:899:29: note: in expansion of macro 'EXTRACT_LE_16BITS' 899 | u.u16 = EXTRACT_LE_16BITS(iter); | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:92:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^~~~~~~~ pcapsource.cc:899:29: note: in expansion of macro 'EXTRACT_LE_16BITS' 899 | u.u16 = EXTRACT_LE_16BITS(iter); | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:92:29: error: expected primary-expression before 'const' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^~~~~ pcapsource.cc:899:29: note: in expansion of macro 'EXTRACT_LE_16BITS' 899 | u.u16 = EXTRACT_LE_16BITS(iter); | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:92:29: error: expected ')' before 'const' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ~^~~~~ pcapsource.cc:899:29: note: in expansion of macro 'EXTRACT_LE_16BITS' 899 | u.u16 = EXTRACT_LE_16BITS(iter); | ^~~~~~~~~~~~~~~~~ pcapsource.cc:899:52: error: expected ')' before ';' token 899 | u.u16 = EXTRACT_LE_16BITS(iter); | ^ In file included from pcapsource.cc:126: tcpdump-extract.h:92:27: note: to match this '(' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^ pcapsource.cc:899:29: note: in expansion of macro 'EXTRACT_LE_16BITS' 899 | u.u16 = EXTRACT_LE_16BITS(iter); | ^~~~~~~~~~~~~~~~~ pcapsource.cc:899:52: error: expected ')' before ';' token 899 | u.u16 = EXTRACT_LE_16BITS(iter); | ^ In file included from pcapsource.cc:126: tcpdump-extract.h:92:2: note: to match this '(' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^ pcapsource.cc:899:29: note: in expansion of macro 'EXTRACT_LE_16BITS' 899 | u.u16 = EXTRACT_LE_16BITS(iter); | ^~~~~~~~~~~~~~~~~ pcapsource.cc:900:38: error: 'union PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)::' has no member named 'u16'; did you mean 'i16'? 900 | iter += sizeof(u.u16); | ^~~ | i16 pcapsource.cc:901:24: error: 'union PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)::' has no member named 'u16'; did you mean 'i16'? 901 | u2.u16 = EXTRACT_LE_16BITS(iter); | ^~~ | i16 In file included from pcapsource.cc:126: tcpdump-extract.h:92:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^~~~~~~~ pcapsource.cc:901:30: note: in expansion of macro 'EXTRACT_LE_16BITS' 901 | u2.u16 = EXTRACT_LE_16BITS(iter); | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:92:29: error: expected primary-expression before 'const' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^~~~~ pcapsource.cc:901:30: note: in expansion of macro 'EXTRACT_LE_16BITS' 901 | u2.u16 = EXTRACT_LE_16BITS(iter); | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:92:29: error: expected ')' before 'const' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ~^~~~~ pcapsource.cc:901:30: note: in expansion of macro 'EXTRACT_LE_16BITS' 901 | u2.u16 = EXTRACT_LE_16BITS(iter); | ^~~~~~~~~~~~~~~~~ pcapsource.cc:901:53: error: expected ')' before ';' token 901 | u2.u16 = EXTRACT_LE_16BITS(iter); | ^ In file included from pcapsource.cc:126: tcpdump-extract.h:92:27: note: to match this '(' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^ pcapsource.cc:901:30: note: in expansion of macro 'EXTRACT_LE_16BITS' 901 | u2.u16 = EXTRACT_LE_16BITS(iter); | ^~~~~~~~~~~~~~~~~ pcapsource.cc:901:53: error: expected ')' before ';' token 901 | u2.u16 = EXTRACT_LE_16BITS(iter); | ^ In file included from pcapsource.cc:126: tcpdump-extract.h:92:2: note: to match this '(' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^ pcapsource.cc:901:30: note: in expansion of macro 'EXTRACT_LE_16BITS' 901 | u2.u16 = EXTRACT_LE_16BITS(iter); | ^~~~~~~~~~~~~~~~~ pcapsource.cc:902:39: error: 'union PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)::' has no member named 'u16'; did you mean 'i16'? 902 | iter += sizeof(u2.u16); | ^~~ | i16 pcapsource.cc:904:22: error: 'IEEE80211_RADIOTAP_FHSS' was not declared in this scope; did you mean 'IEEE80211_RADIOTAP_F_FCS'? 904 | case IEEE80211_RADIOTAP_FHSS: | ^~~~~~~~~~~~~~~~~~~~~~~ | IEEE80211_RADIOTAP_F_FCS pcapsource.cc:905:22: error: 'IEEE80211_RADIOTAP_LOCK_QUALITY' was not declared in this scope; did you mean 'IEEE80211_RADIOTAP_F_FCS'? 905 | case IEEE80211_RADIOTAP_LOCK_QUALITY: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IEEE80211_RADIOTAP_F_FCS gmake: *** [Makefile:347: packet.o] Error 1 gmake: *** [Makefile:347: configfile.o] Error 1 pcapsource.cc:906:22: error: 'IEEE80211_RADIOTAP_TX_ATTENUATION' was not declared in this scope 906 | case IEEE80211_RADIOTAP_TX_ATTENUATION: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pcapsource.cc:907:22: error: 'IEEE80211_RADIOTAP_DB_TX_ATTENUATION' was not declared in this scope 907 | case IEEE80211_RADIOTAP_DB_TX_ATTENUATION: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pcapsource.cc:908:23: error: 'union PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)::' has no member named 'u16'; did you mean 'i16'? 908 | u.u16 = EXTRACT_LE_16BITS(iter); | ^~~ | i16 In file included from pcapsource.cc:126: tcpdump-extract.h:92:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^~~~~~~~ pcapsource.cc:908:29: note: in expansion of macro 'EXTRACT_LE_16BITS' 908 | u.u16 = EXTRACT_LE_16BITS(iter); | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:92:29: error: expected primary-expression before 'const' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^~~~~ pcapsource.cc:908:29: note: in expansion of macro 'EXTRACT_LE_16BITS' 908 | u.u16 = EXTRACT_LE_16BITS(iter); | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:92:29: error: expected ')' before 'const' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ~^~~~~ pcapsource.cc:908:29: note: in expansion of macro 'EXTRACT_LE_16BITS' 908 | u.u16 = EXTRACT_LE_16BITS(iter); | ^~~~~~~~~~~~~~~~~ pcapsource.cc:908:52: error: expected ')' before ';' token 908 | u.u16 = EXTRACT_LE_16BITS(iter); | ^ In file included from pcapsource.cc:126: tcpdump-extract.h:92:27: note: to match this '(' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^ pcapsource.cc:908:29: note: in expansion of macro 'EXTRACT_LE_16BITS' 908 | u.u16 = EXTRACT_LE_16BITS(iter); | ^~~~~~~~~~~~~~~~~ pcapsource.cc:908:52: error: expected ')' before ';' token 908 | u.u16 = EXTRACT_LE_16BITS(iter); | ^ In file included from pcapsource.cc:126: tcpdump-extract.h:92:2: note: to match this '(' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^ pcapsource.cc:908:29: note: in expansion of macro 'EXTRACT_LE_16BITS' 908 | u.u16 = EXTRACT_LE_16BITS(iter); | ^~~~~~~~~~~~~~~~~ pcapsource.cc:909:38: error: 'union PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)::' has no member named 'u16'; did you mean 'i16'? 909 | iter += sizeof(u.u16); | ^~~ | i16 pcapsource.cc:911:22: error: 'IEEE80211_RADIOTAP_TSFT' was not declared in this scope; did you mean 'IEEE80211_RADIOTAP_F_FCS'? 911 | case IEEE80211_RADIOTAP_TSFT: | ^~~~~~~~~~~~~~~~~~~~~~~ | IEEE80211_RADIOTAP_F_FCS pcapsource.cc:912:23: error: 'union PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)::' has no member named 'u64' 912 | u.u64 = EXTRACT_LE_64BITS(iter); | ^~~ In file included from pcapsource.cc:126: tcpdump-extract.h:100:4: error: 'u_int64_t' was not declared in this scope; did you mean 'uint64_t'? 100 | ((u_int64_t)((u_int64_t)*((const u_int8_t *)(p) + 7) << 56 | \ | ^~~~~~~~~ pcapsource.cc:912:29: note: in expansion of macro 'EXTRACT_LE_64BITS' 912 | u.u64 = EXTRACT_LE_64BITS(iter); | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:100:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 100 | ((u_int64_t)((u_int64_t)*((const u_int8_t *)(p) + 7) << 56 | \ | ^~~~~~~~ pcapsource.cc:912:29: note: in expansion of macro 'EXTRACT_LE_64BITS' 912 | u.u64 = EXTRACT_LE_64BITS(iter); | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:100:29: error: expected primary-expression before 'const' 100 | ((u_int64_t)((u_int64_t)*((const u_int8_t *)(p) + 7) << 56 | \ | ^~~~~ pcapsource.cc:912:29: note: in expansion of macro 'EXTRACT_LE_64BITS' 912 | u.u64 = EXTRACT_LE_64BITS(iter); | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:100:29: error: expected ')' before 'const' 100 | ((u_int64_t)((u_int64_t)*((const u_int8_t *)(p) + 7) << 56 | \ | ~^~~~~ pcapsource.cc:912:29: note: in expansion of macro 'EXTRACT_LE_64BITS' 912 | u.u64 = EXTRACT_LE_64BITS(iter); | ^~~~~~~~~~~~~~~~~ pcapsource.cc:912:52: error: expected ')' before ';' token 912 | u.u64 = EXTRACT_LE_64BITS(iter); | ^ In file included from pcapsource.cc:126: tcpdump-extract.h:100:27: note: to match this '(' 100 | ((u_int64_t)((u_int64_t)*((const u_int8_t *)(p) + 7) << 56 | \ | ^ pcapsource.cc:912:29: note: in expansion of macro 'EXTRACT_LE_64BITS' 912 | u.u64 = EXTRACT_LE_64BITS(iter); | ^~~~~~~~~~~~~~~~~ pcapsource.cc:912:52: error: expected ')' before ';' token 912 | u.u64 = EXTRACT_LE_64BITS(iter); | ^ In file included from pcapsource.cc:126: tcpdump-extract.h:100:2: note: to match this '(' 100 | ((u_int64_t)((u_int64_t)*((const u_int8_t *)(p) + 7) << 56 | \ | ^ pcapsource.cc:912:29: note: in expansion of macro 'EXTRACT_LE_64BITS' 912 | u.u64 = EXTRACT_LE_64BITS(iter); | ^~~~~~~~~~~~~~~~~ pcapsource.cc:913:38: error: 'union PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)::' has no member named 'u64' 913 | iter += sizeof(u.u64); | ^~~ pcapsource.cc:933:22: error: 'IEEE80211_RADIOTAP_CHANNEL' was not declared in this scope; did you mean 'IEEE80211_IOC_CHANNEL'? 933 | case IEEE80211_RADIOTAP_CHANNEL: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | IEEE80211_IOC_CHANNEL pcapsource.cc:934:60: error: 'union PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)::' has no member named 'u16'; did you mean 'i16'? 934 | packet->channel = ieee80211_mhz2ieee(u.u16, u2.u16); | ^~~ | i16 pcapsource.cc:934:68: error: 'union PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)::' has no member named 'u16'; did you mean 'i16'? 934 | packet->channel = ieee80211_mhz2ieee(u.u16, u2.u16); | ^~~ | i16 pcapsource.cc:935:51: error: 'union PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)::' has no member named 'u16'; did you mean 'i16'? 935 | if (IEEE80211_IS_CHAN_FHSS(u2.u16)) | ^~~ pcapsource.cc:801:4: note: in definition of macro 'IEEE80211_IS_CHAN_FHSS' 801 | ((_flags & IEEE80211_CHAN_FHSS) == IEEE80211_CHAN_FHSS) | ^~~~~~ pcapsource.cc:937:53: error: 'union PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)::' has no member named 'u16'; did you mean 'i16'? 937 | else if (IEEE80211_IS_CHAN_A(u2.u16)) | ^~~ pcapsource.cc:803:4: note: in definition of macro 'IEEE80211_IS_CHAN_A' 803 | ((_flags & IEEE80211_CHAN_A) == IEEE80211_CHAN_A) | ^~~~~~ pcapsource.cc:939:53: error: 'union PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)::' has no member named 'u16'; did you mean 'i16'? 939 | else if (IEEE80211_IS_CHAN_B(u2.u16)) | ^~~ pcapsource.cc:805:4: note: in definition of macro 'IEEE80211_IS_CHAN_B' 805 | ((_flags & IEEE80211_CHAN_B) == IEEE80211_CHAN_B) | ^~~~~~ pcapsource.cc:941:57: error: 'union PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)::' has no member named 'u16'; did you mean 'i16'? 941 | else if (IEEE80211_IS_CHAN_PUREG(u2.u16)) | ^~~ pcapsource.cc:807:4: note: in definition of macro 'IEEE80211_IS_CHAN_PUREG' 807 | ((_flags & IEEE80211_CHAN_PUREG) == IEEE80211_CHAN_PUREG) | ^~~~~~ pcapsource.cc:943:53: error: 'union PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)::' has no member named 'u16'; did you mean 'i16'? 943 | else if (IEEE80211_IS_CHAN_G(u2.u16)) | ^~~ pcapsource.cc:809:4: note: in definition of macro 'IEEE80211_IS_CHAN_G' 809 | ((_flags & IEEE80211_CHAN_G) == IEEE80211_CHAN_G) | ^~~~~~ pcapsource.cc:945:53: error: 'union PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)::' has no member named 'u16'; did you mean 'i16'? 945 | else if (IEEE80211_IS_CHAN_T(u2.u16)) | ^~~ pcapsource.cc:811:4: note: in definition of macro 'IEEE80211_IS_CHAN_T' 811 | ((_flags & IEEE80211_CHAN_T) == IEEE80211_CHAN_T) | ^~~~~~ pcapsource.cc:950:22: error: 'IEEE80211_RADIOTAP_RATE' was not declared in this scope; did you mean 'IEEE80211_RADIOTAP_F_FCS'? 950 | case IEEE80211_RADIOTAP_RATE: | ^~~~~~~~~~~~~~~~~~~~~~~ | IEEE80211_RADIOTAP_F_FCS pcapsource.cc:952:44: error: 'union PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)::' has no member named 'u8'; did you mean 'i8'? 952 | packet->datarate = ((u.u8 &~ 0x80) / 2) * 10; | ^~ | i8 pcapsource.cc:954:22: error: 'IEEE80211_RADIOTAP_DB_ANTSIGNAL' was not declared in this scope; did you mean 'IEEE80211_RADIOTAP_F_FCS'? 954 | case IEEE80211_RADIOTAP_DB_ANTSIGNAL: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IEEE80211_RADIOTAP_F_FCS pcapsource.cc:957:22: error: 'IEEE80211_RADIOTAP_DB_ANTNOISE' was not declared in this scope; did you mean 'IEEE80211_RADIOTAP_F_FCS'? 957 | case IEEE80211_RADIOTAP_DB_ANTNOISE: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IEEE80211_RADIOTAP_F_FCS pcapsource.cc:960:10: error: 'IEEE80211_RADIOTAP_DBM_ANTSIGNAL' was not declared in this scope; did you mean 'IEEE80211_RADIOTAP_F_FCS'? 960 | case IEEE80211_RADIOTAP_DBM_ANTSIGNAL: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IEEE80211_RADIOTAP_F_FCS pcapsource.cc:963:10: error: 'IEEE80211_RADIOTAP_DBM_ANTNOISE' was not declared in this scope; did you mean 'IEEE80211_RADIOTAP_F_FCS'? 963 | case IEEE80211_RADIOTAP_DBM_ANTNOISE: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IEEE80211_RADIOTAP_F_FCS In file included from dronesource.cc:21: util.h:57:1: warning: 'typedef' was ignored in this declaration 57 | typedef struct smart_word_token { | ^~~~~~~ pcapsource.cc:966:22: error: 'IEEE80211_RADIOTAP_FLAGS' was not declared in this scope; did you mean 'IEEE80211_RADIOTAP_F_FCS'? 966 | case IEEE80211_RADIOTAP_FLAGS: | ^~~~~~~~~~~~~~~~~~~~~~~~ | IEEE80211_RADIOTAP_F_FCS pcapsource.cc:967:27: error: 'union PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)::' has no member named 'u8'; did you mean 'i8'? 967 | if (u.u8 & IEEE80211_RADIOTAP_F_FCS) | ^~ | i8 In file included from pcapsource.cc:126: tcpdump-extract.h:92:4: error: 'u_int16_t' was not declared in this scope; did you mean 'uint16_t'? 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^~~~~~~~~ pcapsource.cc:1021:24: note: in expansion of macro 'EXTRACT_LE_16BITS' 1021 | packet->caplen -= (EXTRACT_LE_16BITS(&hdr->it_len) + fcs_cut); | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:92:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^~~~~~~~ pcapsource.cc:1021:24: note: in expansion of macro 'EXTRACT_LE_16BITS' 1021 | packet->caplen -= (EXTRACT_LE_16BITS(&hdr->it_len) + fcs_cut); | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:92:29: error: expected primary-expression before 'const' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^~~~~ pcapsource.cc:1021:24: note: in expansion of macro 'EXTRACT_LE_16BITS' 1021 | packet->caplen -= (EXTRACT_LE_16BITS(&hdr->it_len) + fcs_cut); | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:92:29: error: expected ')' before 'const' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ~^~~~~ pcapsource.cc:1021:24: note: in expansion of macro 'EXTRACT_LE_16BITS' 1021 | packet->caplen -= (EXTRACT_LE_16BITS(&hdr->it_len) + fcs_cut); | ^~~~~~~~~~~~~~~~~ pcapsource.cc:1021:66: error: expected ')' before ';' token 1021 | packet->caplen -= (EXTRACT_LE_16BITS(&hdr->it_len) + fcs_cut); | ^ | ) In file included from pcapsource.cc:126: tcpdump-extract.h:92:27: note: to match this '(' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^ pcapsource.cc:1021:24: note: in expansion of macro 'EXTRACT_LE_16BITS' 1021 | packet->caplen -= (EXTRACT_LE_16BITS(&hdr->it_len) + fcs_cut); | ^~~~~~~~~~~~~~~~~ pcapsource.cc:1021:66: error: expected ')' before ';' token 1021 | packet->caplen -= (EXTRACT_LE_16BITS(&hdr->it_len) + fcs_cut); | ^ | ) In file included from pcapsource.cc:126: tcpdump-extract.h:92:2: note: to match this '(' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^ pcapsource.cc:1021:24: note: in expansion of macro 'EXTRACT_LE_16BITS' 1021 | packet->caplen -= (EXTRACT_LE_16BITS(&hdr->it_len) + fcs_cut); | ^~~~~~~~~~~~~~~~~ pcapsource.cc:1021:66: error: expected ')' before ';' token 1021 | packet->caplen -= (EXTRACT_LE_16BITS(&hdr->it_len) + fcs_cut); | ~ ^ | ) In file included from pcapsource.cc:126: tcpdump-extract.h:92:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^~~~~~~~ pcapsource.cc:1022:21: note: in expansion of macro 'EXTRACT_LE_16BITS' 1022 | packet->len -= (EXTRACT_LE_16BITS(&hdr->it_len) + fcs_cut); | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:92:29: error: expected primary-expression before 'const' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^~~~~ pcapsource.cc:1022:21: note: in expansion of macro 'EXTRACT_LE_16BITS' 1022 | packet->len -= (EXTRACT_LE_16BITS(&hdr->it_len) + fcs_cut); | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:92:29: error: expected ')' before 'const' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ~^~~~~ pcapsource.cc:1022:21: note: in expansion of macro 'EXTRACT_LE_16BITS' 1022 | packet->len -= (EXTRACT_LE_16BITS(&hdr->it_len) + fcs_cut); | ^~~~~~~~~~~~~~~~~ pcapsource.cc:1022:63: error: expected ')' before ';' token 1022 | packet->len -= (EXTRACT_LE_16BITS(&hdr->it_len) + fcs_cut); | ^ | ) In file included from pcapsource.cc:126: tcpdump-extract.h:92:27: note: to match this '(' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^ pcapsource.cc:1022:21: note: in expansion of macro 'EXTRACT_LE_16BITS' 1022 | packet->len -= (EXTRACT_LE_16BITS(&hdr->it_len) + fcs_cut); | ^~~~~~~~~~~~~~~~~ pcapsource.cc:1022:63: error: expected ')' before ';' token 1022 | packet->len -= (EXTRACT_LE_16BITS(&hdr->it_len) + fcs_cut); | ^ | ) In file included from pcapsource.cc:126: tcpdump-extract.h:92:2: note: to match this '(' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^ pcapsource.cc:1022:21: note: in expansion of macro 'EXTRACT_LE_16BITS' 1022 | packet->len -= (EXTRACT_LE_16BITS(&hdr->it_len) + fcs_cut); | ^~~~~~~~~~~~~~~~~ pcapsource.cc:1022:63: error: expected ')' before ';' token 1022 | packet->len -= (EXTRACT_LE_16BITS(&hdr->it_len) + fcs_cut); | ~ ^ | ) In file included from pcapsource.cc:126: tcpdump-extract.h:92:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive] 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^~~~~~~~ pcapsource.cc:1023:42: note: in expansion of macro 'EXTRACT_LE_16BITS' 1023 | memcpy(packet->data, callback_data + EXTRACT_LE_16BITS(&hdr->it_len), packet->caplen); | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:92:29: error: expected primary-expression before 'const' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^~~~~ pcapsource.cc:1023:42: note: in expansion of macro 'EXTRACT_LE_16BITS' 1023 | memcpy(packet->data, callback_data + EXTRACT_LE_16BITS(&hdr->it_len), packet->caplen); | ^~~~~~~~~~~~~~~~~ tcpdump-extract.h:92:29: error: expected ')' before 'const' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ~^~~~~ pcapsource.cc:1023:42: note: in expansion of macro 'EXTRACT_LE_16BITS' 1023 | memcpy(packet->data, callback_data + EXTRACT_LE_16BITS(&hdr->it_len), packet->caplen); | ^~~~~~~~~~~~~~~~~ pcapsource.cc:1023:90: error: expected ')' before ';' token 1023 | memcpy(packet->data, callback_data + EXTRACT_LE_16BITS(&hdr->it_len), packet->caplen); | ^ | ) In file included from pcapsource.cc:126: tcpdump-extract.h:92:27: note: to match this '(' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^ pcapsource.cc:1023:42: note: in expansion of macro 'EXTRACT_LE_16BITS' 1023 | memcpy(packet->data, callback_data + EXTRACT_LE_16BITS(&hdr->it_len), packet->caplen); | ^~~~~~~~~~~~~~~~~ pcapsource.cc:1023:90: error: expected ')' before ';' token 1023 | memcpy(packet->data, callback_data + EXTRACT_LE_16BITS(&hdr->it_len), packet->caplen); | ^ | ) In file included from pcapsource.cc:126: tcpdump-extract.h:92:2: note: to match this '(' 92 | ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \ | ^ pcapsource.cc:1023:42: note: in expansion of macro 'EXTRACT_LE_16BITS' 1023 | memcpy(packet->data, callback_data + EXTRACT_LE_16BITS(&hdr->it_len), packet->caplen); | ^~~~~~~~~~~~~~~~~ In file included from packet.h:45, from packetsource.h:27, from dronesource.h:33, from dronesource.cc:22: macaddr.h: In member function 'void mac_addr::string2long(const char*)': macaddr.h:77:35: error: invalid conversion from 'const char*' to 'char*' [-fpermissive] 77 | char *in_mask = strchr(in, '/'); | ~~~~~~^~~~~~~~~ | | | const char* macaddr.h: At global scope: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration 50 | typedef struct mac_addr { | ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration 281 | typedef struct mask_vec_content { | ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration 286 | typedef struct mask_vec_offsets { | ^~~~~~~ In file included from packetsource.h:27, from dronesource.h:33, from dronesource.cc:22: packet.h:57:1: warning: 'typedef' was ignored in this declaration 57 | typedef struct packet_parm { | ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration 298 | typedef struct proto_info { | ^~~~~~~ In file included from packetsourcetracker.cc:21: util.h:57:1: warning: 'typedef' was ignored in this declaration 57 | typedef struct smart_word_token { | ^~~~~~~ In file included from packetsource.h:28, from dronesource.h:33, from dronesource.cc:22: timetracker.h:34:5: warning: 'typedef' was ignored in this declaration 34 | typedef struct timer_event { | ^~~~~~~ In file included from dronesource.h:34, from dronesource.cc:22: packetstream.h:40:1: warning: 'typedef' was ignored in this declaration 40 | typedef struct stream_frame_header { | ^~~~~~~ packetstream.h:46:1: warning: 'typedef' was ignored in this declaration 46 | typedef struct stream_version_packet { | ^~~~~~~ packetstream.h:51:1: warning: 'typedef' was ignored in this declaration 51 | typedef struct stream_packet_header { | ^~~~~~~ In file included from packetsourcetracker.h:32, from packetsourcetracker.cc:22: timetracker.h:34:5: warning: 'typedef' was ignored in this declaration 34 | typedef struct timer_event { | ^~~~~~~ In file included from packet.h:45, from packetsource.h:27, from kis_packsources.h:24, from kis_packsources.cc:21: macaddr.h: In member function 'void mac_addr::string2long(const char*)': macaddr.h:77:35: error: invalid conversion from 'const char*' to 'char*' [-fpermissive] 77 | char *in_mask = strchr(in, '/'); | ~~~~~~^~~~~~~~~ | | | const char* macaddr.h: At global scope: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration 50 | typedef struct mac_addr { | ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration 281 | typedef struct mask_vec_content { | ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration 286 | typedef struct mask_vec_offsets { | ^~~~~~~ In file included from packetsource.h:27, from kis_packsources.h:24, from kis_packsources.cc:21: packet.h:57:1: warning: 'typedef' was ignored in this declaration 57 | typedef struct packet_parm { | ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration 298 | typedef struct proto_info { | ^~~~~~~ In file included from packet.h:45, from packetsource.h:27, from packetsourcetracker.h:34, from packetsourcetracker.cc:22: macaddr.h: In member function 'void mac_addr::string2long(const char*)': macaddr.h:77:35: error: invalid conversion from 'const char*' to 'char*' [-fpermissive] 77 | char *in_mask = strchr(in, '/'); | ~~~~~~^~~~~~~~~ | | | const char* macaddr.h: At global scope: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration 50 | typedef struct mac_addr { | ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration 281 | typedef struct mask_vec_content { | ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration 286 | typedef struct mask_vec_offsets { | ^~~~~~~ In file included from packetsource.h:27, from packetsourcetracker.h:34, from packetsourcetracker.cc:22: packet.h:57:1: warning: 'typedef' was ignored in this declaration 57 | typedef struct packet_parm { | ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration 298 | typedef struct proto_info { | ^~~~~~~ In file included from packetsource.h:28, from kis_packsources.h:24, from kis_packsources.cc:21: timetracker.h:34:5: warning: 'typedef' was ignored in this declaration 34 | typedef struct timer_event { | ^~~~~~~ In file included from prism2source.h:23, from kis_packsources.h:25, from kis_packsources.cc:21: util.h:57:1: warning: 'typedef' was ignored in this declaration 57 | typedef struct smart_word_token { | ^~~~~~~ In file included from kis_packsources.h:26, from kis_packsources.cc:21: pcapsource.h:133:9: error: 'u_int16_t' does not name a type; did you mean 'uint16_t'? 133 | u_int16_t wi_status; | ^~~~~~~~~ | uint16_t pcapsource.h:134:9: error: 'u_int16_t' does not name a type; did you mean 'uint16_t'? 134 | u_int16_t wi_ts0; | ^~~~~~~~~ | uint16_t pcapsource.h:135:9: error: 'u_int16_t' does not name a type; did you mean 'uint16_t'? 135 | u_int16_t wi_ts1; | ^~~~~~~~~ | uint16_t pcapsource.h:136:9: error: 'u_int8_t' does not name a type; did you mean 'uint8_t'? 136 | u_int8_t wi_silence; | ^~~~~~~~ | uint8_t gmake: *** [Makefile:347: dronesource.o] Error 1 pcapsource.h:137:9: error: 'u_int8_t' does not name a type; did you mean 'uint8_t'? 137 | u_int8_t wi_signal; | ^~~~~~~~ | uint8_t pcapsource.h:138:9: error: 'u_int8_t' does not name a type; did you mean 'uint8_t'? 138 | u_int8_t wi_rate; | ^~~~~~~~ | uint8_t pcapsource.h:139:9: error: 'u_int8_t' does not name a type; did you mean 'uint8_t'? 139 | u_int8_t wi_rx_flow; | ^~~~~~~~ | uint8_t pcapsource.h:140:9: error: 'u_int16_t' does not name a type; did you mean 'uint16_t'? 140 | u_int16_t wi_rsvd0; | ^~~~~~~~~ | uint16_t pcapsource.h:141:9: error: 'u_int16_t' does not name a type; did you mean 'uint16_t'? 141 | u_int16_t wi_rsvd1; | ^~~~~~~~~ | uint16_t In file included from dronesource.h:34, from kis_packsources.h:30, from kis_packsources.cc:21: packetstream.h:40:1: warning: 'typedef' was ignored in this declaration 40 | typedef struct stream_frame_header { | ^~~~~~~ packetstream.h:46:1: warning: 'typedef' was ignored in this declaration 46 | typedef struct stream_version_packet { | ^~~~~~~ packetstream.h:51:1: warning: 'typedef' was ignored in this declaration 51 | typedef struct stream_packet_header { | ^~~~~~~ gmake: *** [Makefile:347: kis_packsources.o] Error 1 pcapsource.cc: At global scope: pcapsource.cc:763:14: warning: 'u_int ieee80211_mhz2ieee(u_int, u_int)' defined but not used [-Wunused-function] 763 | static u_int ieee80211_mhz2ieee(u_int freq, u_int flags) { | ^~~~~~~~~~~~~~~~~~ gmake: *** [Makefile:347: pcapsource.o] Error 1 gmake: *** [Makefile:347: packetsourcetracker.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/kismet *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/kismet