=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> 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 c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c util.cc -o util.o c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c cygwin_utils.cc -o cygwin_utils.o c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c ringbuf.cc -o ringbuf.o c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c configfile.cc -o configfile.o c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c speech.cc -o speech.o In file included from util.cc:21:0: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from packet.h:45:0, from configfile.h:35, from configfile.cc:28: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from configfile.h:35:0, from configfile.cc:28: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from configfile.cc:29:0: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ configfile.cc: In static member function 'static std::__cxx11::string ConfigFile::ExpandLogPath(std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, int, int)': configfile.cc:122:6: warning: variable 'found_type' set but not used [-Wunused-but-set-variable] int found_type = 0, found_num = 0; ^~~~~~~~~~ configfile.cc:122:22: warning: variable 'found_num' set but not used [-Wunused-but-set-variable] int found_type = 0, found_num = 0; ^~~~~~~~~ In file included from packet.h:45:0, from tracktypes.h:27, from speech.h:30, from speech.cc:23: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from tracktypes.h:27:0, from speech.h:30, from speech.cc:23: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from speech.h:30:0, from speech.cc:23: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c ifcontrol.cc -o ifcontrol.o c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c iwcontrol.cc -o iwcontrol.o In file included from ifcontrol.h:53:0, from ifcontrol.cc:20: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c madwifing_control.cc -o madwifing_control.o c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c packet.cc -o packet.o c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c pcapsource.cc -o pcapsource.o pcapsource.cc:800:0: warning: "IEEE80211_IS_CHAN_FHSS" redefined #define IEEE80211_IS_CHAN_FHSS(_flags) \ In file included from /usr/include/net80211/ieee80211_ioctl.h:42:0, from pcapsource.cc:55: /usr/include/net80211/_ieee80211.h:161:0: note: this is the location of the previous definition #define IEEE80211_IS_CHAN_FHSS(_c) _IEEE80211_IS_CHAN(_c, FHSS) pcapsource.cc:802:0: warning: "IEEE80211_IS_CHAN_A" redefined #define IEEE80211_IS_CHAN_A(_flags) \ In file included from /usr/include/net80211/ieee80211_ioctl.h:42:0, from pcapsource.cc:55: /usr/include/net80211/_ieee80211.h:162:0: note: this is the location of the previous definition #define IEEE80211_IS_CHAN_A(_c) _IEEE80211_IS_CHAN(_c, A) pcapsource.cc:804:0: warning: "IEEE80211_IS_CHAN_B" redefined #define IEEE80211_IS_CHAN_B(_flags) \ In file included from /usr/include/net80211/ieee80211_ioctl.h:42:0, from pcapsource.cc:55: /usr/include/net80211/_ieee80211.h:163:0: note: this is the location of the previous definition #define IEEE80211_IS_CHAN_B(_c) _IEEE80211_IS_CHAN(_c, B) pcapsource.cc:806:0: warning: "IEEE80211_IS_CHAN_PUREG" redefined #define IEEE80211_IS_CHAN_PUREG(_flags) \ In file included from /usr/include/net80211/ieee80211_ioctl.h:42:0, from pcapsource.cc:55: /usr/include/net80211/_ieee80211.h:164:0: note: this is the location of the previous definition #define IEEE80211_IS_CHAN_PUREG(_c) _IEEE80211_IS_CHAN(_c, PUREG) pcapsource.cc:808:0: warning: "IEEE80211_IS_CHAN_G" redefined #define IEEE80211_IS_CHAN_G(_flags) \ In file included from /usr/include/net80211/ieee80211_ioctl.h:42:0, from pcapsource.cc:55: /usr/include/net80211/_ieee80211.h:165:0: note: this is the location of the previous definition #define IEEE80211_IS_CHAN_G(_c) _IEEE80211_IS_CHAN(_c, G) pcapsource.cc:810:0: warning: "IEEE80211_IS_CHAN_T" redefined #define IEEE80211_IS_CHAN_T(_flags) \ In file included from /usr/include/net80211/ieee80211_ioctl.h:42:0, from pcapsource.cc:55: /usr/include/net80211/_ieee80211.h:167:0: note: this is the location of the previous definition #define IEEE80211_IS_CHAN_T(_c) _IEEE80211_IS_CHAN(_c, T) In file included from iwcontrol.h:45:0, from iwcontrol.cc:20: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c prism2source.cc -o prism2source.o In file included from packet.h:45:0, from packet.cc:21: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from packet.cc:21:0: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ packet.cc: In function 'void GetPacketInfo(kis_packet*, packet_info*, macmap*, unsigned char*)': packet.cc:366:13: warning: variable 'found_channel_tag' set but not used [-Wunused-but-set-variable] int found_channel_tag = 0; ^~~~~~~~~~~~~~~~~ In file included from packet.h:45:0, from pcapsource.h:30, from pcapsource.cc:130: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from pcapsource.h:30:0, from pcapsource.cc:130: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from packetsource.h:28:0, from pcapsource.h:31, from pcapsource.cc:130: timetracker.h:34:5: warning: 'typedef' was ignored in this declaration typedef struct timer_event { ^~~~~~~ In file included from ifcontrol.h:53:0, from pcapsource.h:32, from pcapsource.cc:130: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from prism2source.h:23:0, from prism2source.cc:24: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c wtapfilesource.cc -o wtapfilesource.o c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c wsp100source.cc -o wsp100source.o c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c dronesource.cc -o dronesource.o c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c vihasource.cc -o vihasource.o c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c airpcapsource.cc -o airpcapsource.o pcapsource.cc: In member function 'int PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)': pcapsource.cc:835:7: warning: 'u2.PcapSource::Radiotap2KisPack(kis_packet*, uint8_t*, uint8_t*)::::u16' may be used uninitialized in this function [-Wmaybe-uninitialized] } u2; ^~ c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c packetsourcetracker.cc -o packetsourcetracker.o c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c kis_packsources.cc -o kis_packsources.o In file included from dronesource.cc:21:0: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from packetsourcetracker.cc:21:0: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from packet.h:45:0, from packetsource.h:27, from dronesource.h:33, from dronesource.cc:22: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from packetsource.h:27:0, from dronesource.h:33, from dronesource.cc:22: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ In file included from packetsourcetracker.h:32:0, from packetsourcetracker.cc:22: timetracker.h:34:5: warning: 'typedef' was ignored in this declaration typedef struct timer_event { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from packet.h:45:0, from packetsource.h:27, from packetsourcetracker.h:34, from packetsourcetracker.cc:22: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from packetsource.h:27:0, from packetsourcetracker.h:34, from packetsourcetracker.cc:22: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from packetsource.h:28:0, from dronesource.h:33, from dronesource.cc:22: timetracker.h:34:5: warning: 'typedef' was ignored in this declaration typedef struct timer_event { ^~~~~~~ In file included from dronesource.h:34:0, from dronesource.cc:22: packetstream.h:40:1: warning: 'typedef' was ignored in this declaration typedef struct stream_frame_header { ^~~~~~~ packetstream.h:46:1: warning: 'typedef' was ignored in this declaration typedef struct stream_version_packet { ^~~~~~~ packetstream.h:51:1: warning: 'typedef' was ignored in this declaration typedef struct stream_packet_header { ^~~~~~~ In file included from packet.h:45:0, from packetsource.h:27, from kis_packsources.h:24, from kis_packsources.cc:21: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from packetsource.h:27:0, from kis_packsources.h:24, from kis_packsources.cc:21: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from packetsource.h:28:0, from kis_packsources.h:24, from kis_packsources.cc:21: timetracker.h:34:5: warning: 'typedef' was ignored in this declaration typedef struct timer_event { ^~~~~~~ In file included from prism2source.h:23:0, from kis_packsources.h:25, from kis_packsources.cc:21: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from dronesource.h:34:0, from kis_packsources.h:30, from kis_packsources.cc:21: packetstream.h:40:1: warning: 'typedef' was ignored in this declaration typedef struct stream_frame_header { ^~~~~~~ packetstream.h:46:1: warning: 'typedef' was ignored in this declaration typedef struct stream_version_packet { ^~~~~~~ packetstream.h:51:1: warning: 'typedef' was ignored in this declaration typedef struct stream_packet_header { ^~~~~~~ c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c wtapdump.cc -o wtapdump.o c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c wtaplocaldump.cc -o wtaplocaldump.o c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c gpsdump.cc -o gpsdump.o In file included from packet.h:45:0, from wtapdump.h:26, from wtapdump.cc:19: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from wtapdump.h:26:0, from wtapdump.cc:19: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c airsnortdump.cc -o airsnortdump.o In file included from packet.h:45:0, from gpsdump.h:37, from gpsdump.cc:20: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from gpsdump.h:37:0, from gpsdump.cc:20: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from packetracker.h:32:0, from gpsdump.h:38, from gpsdump.cc:20: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from packetracker.h:35:0, from gpsdump.h:38, from gpsdump.cc:20: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ In file included from alertracker.h:32:0, from packetracker.h:37, from gpsdump.h:38, from gpsdump.cc:20: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ In file included from alertracker.h:33:0, from packetracker.h:37, from gpsdump.h:38, from gpsdump.cc:20: server_protocols.h:168:1: warning: 'typedef' was ignored in this declaration typedef struct KISMET_data { ^~~~~~~ server_protocols.h:176:1: warning: 'typedef' was ignored in this declaration typedef struct GPS_data { ^~~~~~~ server_protocols.h:180:1: warning: 'typedef' was ignored in this declaration typedef struct INFO_data { ^~~~~~~ server_protocols.h:184:1: warning: 'typedef' was ignored in this declaration typedef struct NETWORK_data { ^~~~~~~ server_protocols.h:188:1: warning: 'typedef' was ignored in this declaration typedef struct CLIENT_data { ^~~~~~~ server_protocols.h:192:1: warning: 'typedef' was ignored in this declaration typedef struct ALERT_data { ^~~~~~~ server_protocols.h:196:1: warning: 'typedef' was ignored in this declaration typedef struct PACKET_data { ^~~~~~~ server_protocols.h:200:1: warning: 'typedef' was ignored in this declaration typedef struct STRING_data { ^~~~~~~ In file included from packetracker.h:37:0, from gpsdump.h:38, from gpsdump.cc:20: alertracker.h:46:5: warning: 'typedef' was ignored in this declaration typedef struct alert_rec { ^~~~~~~ In file included from packet.h:45:0, from wtaplocaldump.h:29, from wtaplocaldump.cc:23: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from wtaplocaldump.h:29:0, from wtaplocaldump.cc:23: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c fifodump.cc -o fifodump.o In file included from packet.h:45:0, from dumpfile.h:27, from airsnortdump.h:31, from airsnortdump.cc:19: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ wtaplocaldump.cc: In member function 'virtual int WtapDumpFile::OpenDump(const char*)': wtaplocaldump.cc:27:5: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 999 [-Wformat-truncation=] int WtapDumpFile::OpenDump(const char *file) { ^~~~~~~~~~~~ wtaplocaldump.cc:35:17: note: 'snprintf' output 29 or more bytes (assuming 1052) into a destination of size 1024 snprintf(errstr, 1024, "Unable to open dump file %s (%s)", filename, strerror(errno)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from dumpfile.h:27:0, from airsnortdump.h:31, from airsnortdump.cc:19: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from packetracker.h:32:0, from airsnortdump.cc:20: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from packetracker.h:35:0, from airsnortdump.cc:20: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ In file included from alertracker.h:32:0, from packetracker.h:37, from airsnortdump.cc:20: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c gpsd.cc -o gpsd.o In file included from alertracker.h:33:0, from packetracker.h:37, from airsnortdump.cc:20: server_protocols.h:168:1: warning: 'typedef' was ignored in this declaration typedef struct KISMET_data { ^~~~~~~ server_protocols.h:176:1: warning: 'typedef' was ignored in this declaration typedef struct GPS_data { ^~~~~~~ server_protocols.h:180:1: warning: 'typedef' was ignored in this declaration typedef struct INFO_data { ^~~~~~~ server_protocols.h:184:1: warning: 'typedef' was ignored in this declaration typedef struct NETWORK_data { ^~~~~~~ server_protocols.h:188:1: warning: 'typedef' was ignored in this declaration typedef struct CLIENT_data { ^~~~~~~ server_protocols.h:192:1: warning: 'typedef' was ignored in this declaration typedef struct ALERT_data { ^~~~~~~ server_protocols.h:196:1: warning: 'typedef' was ignored in this declaration typedef struct PACKET_data { ^~~~~~~ server_protocols.h:200:1: warning: 'typedef' was ignored in this declaration typedef struct STRING_data { ^~~~~~~ In file included from packetracker.h:37:0, from airsnortdump.cc:20: alertracker.h:46:5: warning: 'typedef' was ignored in this declaration typedef struct alert_rec { ^~~~~~~ In file included from packet.h:45:0, from fifodump.h:27, from fifodump.cc:28: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from fifodump.h:27:0, from fifodump.cc:28: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c manuf.cc -o manuf.o In file included from gpsd.cc:25:0: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from gpsd.cc:26:0: timetracker.h:34:5: warning: 'typedef' was ignored in this declaration typedef struct timer_event { ^~~~~~~ c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c packetracker.cc -o packetracker.o In file included from packet.h:45:0, from manuf.h:27, from manuf.cc:23: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from manuf.h:27:0, from manuf.cc:23: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from manuf.h:28:0, from manuf.cc:23: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ In file included from packetracker.h:32:0, from manuf.cc:24: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from alertracker.h:32:0, from packetracker.h:37, from manuf.cc:24: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ In file included from alertracker.h:33:0, from packetracker.h:37, from manuf.cc:24: server_protocols.h:168:1: warning: 'typedef' was ignored in this declaration typedef struct KISMET_data { ^~~~~~~ server_protocols.h:176:1: warning: 'typedef' was ignored in this declaration typedef struct GPS_data { ^~~~~~~ server_protocols.h:180:1: warning: 'typedef' was ignored in this declaration typedef struct INFO_data { ^~~~~~~ server_protocols.h:184:1: warning: 'typedef' was ignored in this declaration typedef struct NETWORK_data { ^~~~~~~ server_protocols.h:188:1: warning: 'typedef' was ignored in this declaration typedef struct CLIENT_data { ^~~~~~~ server_protocols.h:192:1: warning: 'typedef' was ignored in this declaration typedef struct ALERT_data { ^~~~~~~ server_protocols.h:196:1: warning: 'typedef' was ignored in this declaration typedef struct PACKET_data { ^~~~~~~ server_protocols.h:200:1: warning: 'typedef' was ignored in this declaration typedef struct STRING_data { ^~~~~~~ In file included from packetracker.h:37:0, from manuf.cc:24: alertracker.h:46:5: warning: 'typedef' was ignored in this declaration typedef struct alert_rec { ^~~~~~~ c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c timetracker.cc -o timetracker.o In file included from packetracker.h:32:0, from packetracker.cc:19: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c alertracker.cc -o alertracker.o In file included from packet.h:45:0, from packetracker.h:34, from packetracker.cc:19: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from packetracker.h:34:0, from packetracker.cc:19: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from packetracker.h:35:0, from packetracker.cc:19: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ manuf.cc: In function 'manuf* MatchBestManuf(macmap >*, mac_addr, std::__cxx11::string, int, int, int, int*)': manuf.cc:142:9: warning: variable 'best_pos' set but not used [-Wunused-but-set-variable] int best_pos = 0; ^~~~~~~~ tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ In file included from alertracker.h:32:0, from packetracker.h:37, from packetracker.cc:19: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ In file included from alertracker.h:33:0, from packetracker.h:37, from packetracker.cc:19: server_protocols.h:168:1: warning: 'typedef' was ignored in this declaration typedef struct KISMET_data { ^~~~~~~ server_protocols.h:176:1: warning: 'typedef' was ignored in this declaration typedef struct GPS_data { ^~~~~~~ server_protocols.h:180:1: warning: 'typedef' was ignored in this declaration typedef struct INFO_data { ^~~~~~~ server_protocols.h:184:1: warning: 'typedef' was ignored in this declaration typedef struct NETWORK_data { ^~~~~~~ server_protocols.h:188:1: warning: 'typedef' was ignored in this declaration typedef struct CLIENT_data { ^~~~~~~ server_protocols.h:192:1: warning: 'typedef' was ignored in this declaration typedef struct ALERT_data { ^~~~~~~ server_protocols.h:196:1: warning: 'typedef' was ignored in this declaration typedef struct PACKET_data { ^~~~~~~ server_protocols.h:200:1: warning: 'typedef' was ignored in this declaration typedef struct STRING_data { ^~~~~~~ In file included from packetracker.h:37:0, from packetracker.cc:19: alertracker.h:46:5: warning: 'typedef' was ignored in this declaration typedef struct alert_rec { ^~~~~~~ packetracker.cc: In member function 'void Packetracker::ProcessDataPacket(kis_packet*, packet_info*, wireless_network*, macmap*, unsigned char*)': packetracker.cc:1057:45: warning: comparison of constant '180' with boolean expression is always false [-Wbool-compare] if (info->gps_lon > client->max_lon == 180) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ packetracker.cc:1057:27: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] if (info->gps_lon > client->max_lon == 180) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from packet.h:45:0, from configfile.h:35, from tcpserver.h:41, from alertracker.h:32, from alertracker.cc:21: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from configfile.h:35:0, from tcpserver.h:41, from alertracker.h:32, from alertracker.cc:21: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ packetracker.cc:1212:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] means = "DHCP"; ^~~~~~ packetracker.cc:1223:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] means = "ARP"; ^~~~~ packetracker.cc:1239:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] means = "UDP"; ^~~~~ packetracker.cc:1256:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] means = "TCP"; ^~~~~ packetracker.cc:1301:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] nsversion = "3.22"; ^~~~~~ packetracker.cc:1304:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] nsversion = "3.23"; ^~~~~~ packetracker.cc:1307:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] nsversion = "3.30"; ^~~~~~ packetracker.cc:1310:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] nsversion = "unknown"; ^~~~~~~~~ packetracker.cc:1328:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] eapcode = "Authentication Request"; ^~~~~~~~~~~~~~~~~~~~~~~~ packetracker.cc:1331:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] eapcode = "Authentication Response"; ^~~~~~~~~~~~~~~~~~~~~~~~~ packetracker.cc:1334:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] eapcode = "Authentication Success"; ^~~~~~~~~~~~~~~~~~~~~~~~ packetracker.cc:1337:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] eapcode = "Authentication Failure"; ^~~~~~~~~~~~~~~~~~~~~~~~ packetracker.cc:1340:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] eapcode = "unknown"; ^~~~~~~~~ packetracker.cc:1346:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] eaptype = "LEAP"; ^~~~~~ packetracker.cc:1349:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] eaptype = "TTLS"; ^~~~~~ packetracker.cc:1352:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] eaptype = "TLS"; ^~~~~ packetracker.cc:1355:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] eaptype = "PEAP"; ^~~~~~ packetracker.cc:1358:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] eaptype = "UNKNOWN"; ^~~~~~~~~ In file included from alertracker.h:32:0, from alertracker.cc:21: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ packetracker.cc:1379:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] isakmpcode = "NONE"; ^~~~~~ packetracker.cc:1382:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] isakmpcode = "Base"; ^~~~~~ packetracker.cc:1385:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] isakmpcode = "Identity Protection (Main Mode)"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ packetracker.cc:1388:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] isakmpcode = "Authentication Only"; ^~~~~~~~~~~~~~~~~~~~~ packetracker.cc:1391:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] isakmpcode = "Aggressive"; ^~~~~~~~~~~~ packetracker.cc:1394:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] isakmpcode = "Informational"; ^~~~~~~~~~~~~~~ packetracker.cc:1397:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] isakmpcode = "Transaction (Config Mode)"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ packetracker.cc:1400:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] isakmpcode = "Quick Mode"; ^~~~~~~~~~~~ packetracker.cc:1403:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] isakmpcode = "New Group Mode"; ^~~~~~~~~~~~~~~~ packetracker.cc:1407:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] isakmpcode = "Reserved for Future Use"; ^~~~~~~~~~~~~~~~~~~~~~~~~ packetracker.cc:1411:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] isakmpcode = "DOI Specific Use"; ^~~~~~~~~~~~~~~~~~ packetracker.cc:1414:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] isakmpcode = "Private Use"; ^~~~~~~~~~~~~ In file included from server_protocols.h:26:0, from alertracker.h:33, from alertracker.cc:21: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ In file included from alertracker.h:33:0, from alertracker.cc:21: server_protocols.h:168:1: warning: 'typedef' was ignored in this declaration typedef struct KISMET_data { ^~~~~~~ server_protocols.h:176:1: warning: 'typedef' was ignored in this declaration typedef struct GPS_data { ^~~~~~~ server_protocols.h:180:1: warning: 'typedef' was ignored in this declaration typedef struct INFO_data { ^~~~~~~ server_protocols.h:184:1: warning: 'typedef' was ignored in this declaration typedef struct NETWORK_data { ^~~~~~~ server_protocols.h:188:1: warning: 'typedef' was ignored in this declaration typedef struct CLIENT_data { ^~~~~~~ server_protocols.h:192:1: warning: 'typedef' was ignored in this declaration typedef struct ALERT_data { ^~~~~~~ server_protocols.h:196:1: warning: 'typedef' was ignored in this declaration typedef struct PACKET_data { ^~~~~~~ server_protocols.h:200:1: warning: 'typedef' was ignored in this declaration typedef struct STRING_data { ^~~~~~~ In file included from alertracker.cc:21:0: alertracker.h:46:5: warning: 'typedef' was ignored in this declaration typedef struct alert_rec { ^~~~~~~ packetracker.cc: In member function 'int Packetracker::WriteXMLNetworks(std::__cxx11::string)': packetracker.cc:2400:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] addrtype = "dhcp"; ^~~~~~ packetracker.cc:2403:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] addrtype = "arp"; ^~~~~ packetracker.cc:2406:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] addrtype = "udp"; ^~~~~ packetracker.cc:2409:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] addrtype = "tcp"; ^~~~~ packetracker.cc:2412:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] addrtype = "unknown"; ^~~~~~~~~ packetracker.cc:2431:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] clitype = "fromds"; ^~~~~~~~ packetracker.cc:2434:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] clitype = "tods"; ^~~~~~ packetracker.cc:2437:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] clitype = "interds"; ^~~~~~~~~ packetracker.cc:2440:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] clitype = "established"; ^~~~~~~~~~~~~ packetracker.cc:2443:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] clitype = "sendto"; ^~~~~~~~ packetracker.cc:2446:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] clitype = "unknown"; ^~~~~~~~~ packetracker.cc:2533:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] addrtype = "dhcp"; ^~~~~~ packetracker.cc:2536:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] addrtype = "arp"; ^~~~~ packetracker.cc:2539:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] addrtype = "udp"; ^~~~~ packetracker.cc:2542:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] addrtype = "tcp"; ^~~~~ packetracker.cc:2545:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] addrtype = "unknown"; ^~~~~~~~~ alertracker.cc: In member function 'int Alertracker::RegisterAlert(const char*, alert_time_unit, int, alert_time_unit, int)': alertracker.cc:55:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (alert_name_map.find(in_header) != alert_name_map.end()) ^~ alertracker.cc:58:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (in_burstunit > in_unit) ^~ In file included from timetracker.cc:23:0: timetracker.h:34:5: warning: 'typedef' was ignored in this declaration typedef struct timer_event { ^~~~~~~ c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c finitestate.cc -o finitestate.o c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c getopt.cc -o getopt.o finitestate.cc:227:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "- got %"PRIx64", expected %"PRIx64" - this could indicate AP spoofing", ^ finitestate.cc:227:37: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "- got %"PRIx64", expected %"PRIx64" - this could indicate AP spoofing", ^ c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c tcpserver.cc -o tcpserver.o c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c server_protocols.cc -o server_protocols.o server_protocols.cc:526:27: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] snprintf(tmpstr, 128, "%"PRId64"", net->bss_timestamp); ^ In file included from packet.h:45:0, from configfile.h:35, from tcpserver.h:41, from kismet_server.h:27, from finitestate.h:27, from finitestate.cc:22: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from configfile.h:35:0, from tcpserver.h:41, from kismet_server.h:27, from finitestate.h:27, from finitestate.cc:22: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from kismet_server.h:27:0, from finitestate.h:27, from finitestate.cc:22: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ In file included from kismet_server.h:28:0, from finitestate.h:27, from finitestate.cc:22: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ In file included from alertracker.h:33:0, from finitestate.h:28, from finitestate.cc:22: server_protocols.h:168:1: warning: 'typedef' was ignored in this declaration typedef struct KISMET_data { ^~~~~~~ server_protocols.h:176:1: warning: 'typedef' was ignored in this declaration typedef struct GPS_data { ^~~~~~~ server_protocols.h:180:1: warning: 'typedef' was ignored in this declaration typedef struct INFO_data { ^~~~~~~ server_protocols.h:184:1: warning: 'typedef' was ignored in this declaration typedef struct NETWORK_data { ^~~~~~~ server_protocols.h:188:1: warning: 'typedef' was ignored in this declaration typedef struct CLIENT_data { ^~~~~~~ server_protocols.h:192:1: warning: 'typedef' was ignored in this declaration typedef struct ALERT_data { ^~~~~~~ server_protocols.h:196:1: warning: 'typedef' was ignored in this declaration typedef struct PACKET_data { ^~~~~~~ server_protocols.h:200:1: warning: 'typedef' was ignored in this declaration typedef struct STRING_data { ^~~~~~~ In file included from finitestate.h:28:0, from finitestate.cc:22: alertracker.h:46:5: warning: 'typedef' was ignored in this declaration typedef struct alert_rec { ^~~~~~~ In file included from packet.h:45:0, from configfile.h:35, from tcpserver.h:41, from tcpserver.cc:22: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from configfile.h:35:0, from tcpserver.h:41, from tcpserver.cc:22: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from packetracker.h:32:0, from finitestate.cc:23: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from tcpserver.cc:22:0: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ In file included from packet.h:45:0, from packetsource.h:27, from server_protocols.cc:21: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from packetsource.h:27:0, from server_protocols.cc:21: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from packetsource.h:28:0, from server_protocols.cc:21: timetracker.h:34:5: warning: 'typedef' was ignored in this declaration typedef struct timer_event { ^~~~~~~ In file included from server_protocols.h:26:0, from server_protocols.cc:23: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ In file included from server_protocols.h:27:0, from server_protocols.cc:23: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ In file included from server_protocols.cc:23:0: server_protocols.h:168:1: warning: 'typedef' was ignored in this declaration typedef struct KISMET_data { ^~~~~~~ server_protocols.h:176:1: warning: 'typedef' was ignored in this declaration typedef struct GPS_data { ^~~~~~~ server_protocols.h:180:1: warning: 'typedef' was ignored in this declaration typedef struct INFO_data { ^~~~~~~ server_protocols.h:184:1: warning: 'typedef' was ignored in this declaration typedef struct NETWORK_data { ^~~~~~~ server_protocols.h:188:1: warning: 'typedef' was ignored in this declaration typedef struct CLIENT_data { ^~~~~~~ server_protocols.h:192:1: warning: 'typedef' was ignored in this declaration typedef struct ALERT_data { ^~~~~~~ server_protocols.h:196:1: warning: 'typedef' was ignored in this declaration typedef struct PACKET_data { ^~~~~~~ server_protocols.h:200:1: warning: 'typedef' was ignored in this declaration typedef struct STRING_data { ^~~~~~~ server_protocols.cc:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:30:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:35:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:40:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:49:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:54:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:54:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:54:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:59:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:64:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:64:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:64:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:64:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:64:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:64:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:69:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:74:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:79:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:84:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:89:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:94:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:115:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:137:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:142:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:147:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:147:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:147:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:147:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:147:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:152:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ server_protocols.cc:152:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:152:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:152:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:152:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:152:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] server_protocols.cc:152:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c server_globals.cc -o server_globals.o c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c kismet_server.cc -o kismet_server.o c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c tcpstreamer.cc -o tcpstreamer.o In file included from kismet_server.cc:42:0: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from packet.h:45:0, from configfile.h:35, from kismet_server.cc:43: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from configfile.h:35:0, from kismet_server.cc:43: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from packetsource.h:28:0, from kismet_server.cc:47: timetracker.h:34:5: warning: 'typedef' was ignored in this declaration typedef struct timer_event { ^~~~~~~ In file included from dronesource.h:34:0, from kismet_server.cc:53: packetstream.h:40:1: warning: 'typedef' was ignored in this declaration typedef struct stream_frame_header { ^~~~~~~ packetstream.h:46:1: warning: 'typedef' was ignored in this declaration typedef struct stream_version_packet { ^~~~~~~ packetstream.h:51:1: warning: 'typedef' was ignored in this declaration typedef struct stream_packet_header { ^~~~~~~ In file included from packetracker.h:35:0, from gpsdump.h:38, from kismet_server.cc:62: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c kismet_drone.cc -o kismet_drone.o tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ In file included from alertracker.h:32:0, from packetracker.h:37, from gpsdump.h:38, from kismet_server.cc:62: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ server_protocols.cc: In function 'void Protocol_Packet2Data(const packet_info*, PACKET_data*)': server_protocols.cc:743:6: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 127 [-Wformat-truncation=] void Protocol_Packet2Data(const packet_info *info, PACKET_data *data) { ^~~~~~~~~~~~~~~~~~~~ server_protocols.cc:773:13: note: 'snprintf' output between 3 and 258 bytes into a destination of size 128 snprintf(tmpstr, 128, "\001%s\001", strlen(info->ssid) == 0 ? " " : info->ssid); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from alertracker.h:33:0, from packetracker.h:37, from gpsdump.h:38, from kismet_server.cc:62: server_protocols.h:168:1: warning: 'typedef' was ignored in this declaration typedef struct KISMET_data { ^~~~~~~ server_protocols.h:176:1: warning: 'typedef' was ignored in this declaration typedef struct GPS_data { ^~~~~~~ server_protocols.h:180:1: warning: 'typedef' was ignored in this declaration typedef struct INFO_data { ^~~~~~~ server_protocols.h:184:1: warning: 'typedef' was ignored in this declaration typedef struct NETWORK_data { ^~~~~~~ server_protocols.h:188:1: warning: 'typedef' was ignored in this declaration typedef struct CLIENT_data { ^~~~~~~ server_protocols.h:192:1: warning: 'typedef' was ignored in this declaration typedef struct ALERT_data { ^~~~~~~ server_protocols.h:196:1: warning: 'typedef' was ignored in this declaration typedef struct PACKET_data { ^~~~~~~ server_protocols.h:200:1: warning: 'typedef' was ignored in this declaration typedef struct STRING_data { ^~~~~~~ In file included from packetracker.h:37:0, from gpsdump.h:38, from kismet_server.cc:62: alertracker.h:46:5: warning: 'typedef' was ignored in this declaration typedef struct alert_rec { ^~~~~~~ In file included from tcpstreamer.h:41:0, from tcpstreamer.cc:22: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ kismet_server.cc:175:1: warning: 'typedef' was ignored in this declaration typedef struct _alert_enable { ^~~~~~~ In file included from packet.h:45:0, from tcpstreamer.h:43, from tcpstreamer.cc:22: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from tcpstreamer.h:43:0, from tcpstreamer.cc:22: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from tcpstreamer.h:44:0, from tcpstreamer.cc:22: packetstream.h:40:1: warning: 'typedef' was ignored in this declaration typedef struct stream_frame_header { ^~~~~~~ packetstream.h:46:1: warning: 'typedef' was ignored in this declaration typedef struct stream_version_packet { ^~~~~~~ packetstream.h:51:1: warning: 'typedef' was ignored in this declaration typedef struct stream_packet_header { ^~~~~~~ kismet_server.cc: In function 'void ErrorShutdown()': kismet_server.cc:361:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (networkmanager_control("wake") < 0) ^ kismet_server.cc: In function 'void CatchShutdown(int)': kismet_server.cc:426:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (networkmanager_control("wake") < 0) ^ kismet_server.cc: In function 'int main(int, char**)': kismet_server.cc:2567:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (source_input_vec.size() == 0) ^~ kismet_server.cc:2570:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (conf->FetchOpt("vapdestroy") == "true") { ^~ kismet_server.cc:2711:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (networkmanager_control("sleep") < 0) ^ kismet_server.cc:3156:28: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (sound == 1) ^ kismet_server.cc:2206:44: warning: variable 'num_noise' set but not used [-Wunused-but-set-variable] int num_networks = 0, num_packets = 0, num_noise = 0, num_dropped = 0; ^~~~~~~~~ c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c kismet_wrapper.cc -o kismet_wrapper.o In file included from packet.h:45:0, from kismet_drone.cc:32: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from kismet_drone.cc:32:0: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from packetsource.h:28:0, from kismet_drone.cc:34: timetracker.h:34:5: warning: 'typedef' was ignored in this declaration typedef struct timer_event { ^~~~~~~ In file included from prism2source.h:23:0, from kismet_drone.cc:35: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from dronesource.h:34:0, from kismet_drone.cc:40: packetstream.h:40:1: warning: 'typedef' was ignored in this declaration typedef struct stream_frame_header { ^~~~~~~ packetstream.h:46:1: warning: 'typedef' was ignored in this declaration typedef struct stream_version_packet { ^~~~~~~ packetstream.h:51:1: warning: 'typedef' was ignored in this declaration typedef struct stream_packet_header { ^~~~~~~ kismet_drone.cc: In function 'int main(int, char**)': kismet_drone.cc:393:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (source_input_vec.size() == 0) ^~ kismet_drone.cc:396:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (conf->FetchOpt("vapdestroy") == "true") { ^~ c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c tcpclient.cc -o tcpclient.o tcpclient.cc:411:8: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "%d %d %d %d %d %d %d %d %"PRId64"", ^ kismet_drone.cc:117:5: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] int main(int argc, char *argv[]) { ^~~~ kismet_drone.cc:733:21: note: 'snprintf' output between 8 and 1031 bytes into a destination of size 1024 snprintf(status, STATUS_MAX, "FATAL: %s", sourcetracker.FetchError()); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kismet_drone.cc:117:5: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] int main(int argc, char *argv[]) { ^~~~ kismet_drone.cc:764:29: note: 'snprintf' output between 8 and 1031 bytes into a destination of size 1024 snprintf(status, STATUS_MAX, "FATAL: %s", ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ packet_sources[src]->FetchError()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -I/usr/pkg/include/ncurses -I/usr/include -I/usr/pkg/include -O2 -Wall -DVERSION_MAJOR=\"2008\" -DVERSION_MINOR=\"05\" -DVERSION_TINY=\"R1\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -O2 -DHAVE_NET_BPF_H -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/ncurses -I/usr/include -c frontend.cc -o frontend.o gmake: *** No rule to make target '/tmp/net/kismet/work/.buildlink/include/ncurses/ncurses.h', needed by 'cursesfront.o'. Stop. gmake: *** Waiting for unfinished jobs.... In file included from packet.h:45:0, from tcpclient.h:41, from tcpclient.cc:20: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from tcpclient.h:41:0, from tcpclient.cc:20: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from tcpclient.h:42:0, from tcpclient.cc:20: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ In file included from tcpclient.cc:20:0: tcpclient.h:65:5: warning: 'typedef' was ignored in this declaration typedef struct alert_info { ^~~~~~~ tcpclient.h:81:5: warning: 'typedef' was ignored in this declaration typedef struct string_info { ^~~~~~~ tcpclient.h:99:5: warning: 'typedef' was ignored in this declaration typedef struct card_info { ^~~~~~~ In file included from packetracker.h:32:0, from networksort.h:23, from tcpclient.cc:21: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from alertracker.h:32:0, from packetracker.h:37, from networksort.h:23, from tcpclient.cc:21: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ In file included from alertracker.h:33:0, from packetracker.h:37, from networksort.h:23, from tcpclient.cc:21: server_protocols.h:168:1: warning: 'typedef' was ignored in this declaration typedef struct KISMET_data { ^~~~~~~ server_protocols.h:176:1: warning: 'typedef' was ignored in this declaration typedef struct GPS_data { ^~~~~~~ server_protocols.h:180:1: warning: 'typedef' was ignored in this declaration typedef struct INFO_data { ^~~~~~~ server_protocols.h:184:1: warning: 'typedef' was ignored in this declaration typedef struct NETWORK_data { ^~~~~~~ server_protocols.h:188:1: warning: 'typedef' was ignored in this declaration typedef struct CLIENT_data { ^~~~~~~ server_protocols.h:192:1: warning: 'typedef' was ignored in this declaration typedef struct ALERT_data { ^~~~~~~ server_protocols.h:196:1: warning: 'typedef' was ignored in this declaration typedef struct PACKET_data { ^~~~~~~ server_protocols.h:200:1: warning: 'typedef' was ignored in this declaration typedef struct STRING_data { ^~~~~~~ In file included from packetracker.h:37:0, from networksort.h:23, from tcpclient.cc:21: alertracker.h:46:5: warning: 'typedef' was ignored in this declaration typedef struct alert_rec { ^~~~~~~ In file included from packet.h:45:0, from tcpclient.h:41, from frontend.h:34, from frontend.cc:22: macaddr.h:50:1: warning: 'typedef' was ignored in this declaration typedef struct mac_addr { ^~~~~~~ macaddr.h:281:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_content { ^~~~~~~ macaddr.h:286:5: warning: 'typedef' was ignored in this declaration typedef struct mask_vec_offsets { ^~~~~~~ In file included from tcpclient.h:41:0, from frontend.h:34, from frontend.cc:22: packet.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct packet_parm { ^~~~~~~ packet.h:298:1: warning: 'typedef' was ignored in this declaration typedef struct proto_info { ^~~~~~~ In file included from tcpclient.h:42:0, from frontend.h:34, from frontend.cc:22: tracktypes.h:30:1: warning: 'typedef' was ignored in this declaration typedef struct display_network; ^~~~~~~ tracktypes.h:93:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_client { ^~~~~~~ tracktypes.h:269:1: warning: 'typedef' was ignored in this declaration typedef struct wireless_network { ^~~~~~~ In file included from frontend.h:34:0, from frontend.cc:22: tcpclient.h:65:5: warning: 'typedef' was ignored in this declaration typedef struct alert_info { ^~~~~~~ tcpclient.h:81:5: warning: 'typedef' was ignored in this declaration typedef struct string_info { ^~~~~~~ tcpclient.h:99:5: warning: 'typedef' was ignored in this declaration typedef struct card_info { ^~~~~~~ tcpclient.cc: In member function 'int TcpClient::Poll()': tcpclient.cc:249:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (strlen(data) < 2) ^~ tcpclient.cc:253:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' old_num_networks = num_networks; ^~~~~~~~~~~~~~~~ tcpclient.cc: In member function 'int TcpClient::ParseData(char*)': tcpclient.cc:375:18: warning: variable 'turbocell_mode' set but not used [-Wunused-but-set-variable] turbocell_type turbocell_mode; ^~~~~~~~~~~~~~ In file included from packetracker.h:32:0, from frontend.h:36, from frontend.cc:22: util.h:57:1: warning: 'typedef' was ignored in this declaration typedef struct smart_word_token { ^~~~~~~ In file included from alertracker.h:32:0, from packetracker.h:37, from frontend.h:36, from frontend.cc:22: tcpserver.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct server_protocol { ^~~~~~~ In file included from alertracker.h:33:0, from packetracker.h:37, from frontend.h:36, from frontend.cc:22: server_protocols.h:168:1: warning: 'typedef' was ignored in this declaration typedef struct KISMET_data { ^~~~~~~ server_protocols.h:176:1: warning: 'typedef' was ignored in this declaration typedef struct GPS_data { ^~~~~~~ server_protocols.h:180:1: warning: 'typedef' was ignored in this declaration typedef struct INFO_data { ^~~~~~~ server_protocols.h:184:1: warning: 'typedef' was ignored in this declaration typedef struct NETWORK_data { ^~~~~~~ server_protocols.h:188:1: warning: 'typedef' was ignored in this declaration typedef struct CLIENT_data { ^~~~~~~ server_protocols.h:192:1: warning: 'typedef' was ignored in this declaration typedef struct ALERT_data { ^~~~~~~ server_protocols.h:196:1: warning: 'typedef' was ignored in this declaration typedef struct PACKET_data { ^~~~~~~ server_protocols.h:200:1: warning: 'typedef' was ignored in this declaration typedef struct STRING_data { ^~~~~~~ In file included from packetracker.h:37:0, from frontend.h:36, from frontend.cc:22: alertracker.h:46:5: warning: 'typedef' was ignored in this declaration typedef struct alert_rec { ^~~~~~~ In file included from frontend.cc:22:0: frontend.h:59:1: warning: 'typedef' was ignored in this declaration typedef struct display_network { ^~~~~~~ kismet_server.cc:2157:5: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] int main(int argc,char *argv[]) { ^~~~ kismet_server.cc:3064:21: note: 'snprintf' output between 8 and 1031 bytes into a destination of size 1024 snprintf(status, STATUS_MAX, "FATAL: %s", sourcetracker.FetchError()); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kismet_server.cc:2157:5: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] int main(int argc,char *argv[]) { ^~~~ kismet_server.cc:3282:41: note: 'snprintf' output between 8 and 1031 bytes into a destination of size 1024 snprintf(status, STATUS_MAX, "FATAL: %s", dumpfile->FetchError()); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kismet_server.cc:2157:5: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] int main(int argc,char *argv[]) { ^~~~ kismet_server.cc:3304:29: note: 'snprintf' output between 8 and 1031 bytes into a destination of size 1024 snprintf(status, STATUS_MAX, "FATAL: %s", ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ packet_sources[src]->FetchError()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/kismet *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/kismet