[32;01m * [39;49;00mPackage: net-wireless/airtraf-1.1-r3 [32;01m * [39;49;00mRepository: gentoo [32;01m * [39;49;00mMaintainer: netmon [32;01m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU [32;01m * [39;49;00mFEATURES: compressdebug distcc fakeroot preserve-libs sandbox splitdebug userpriv usersandbox [32;01m * [39;49;00mPackage: net-wireless/airtraf-1.1-r3 [32;01m * [39;49;00mRepository: gentoo [32;01m * [39;49;00mMaintainer: netmon [32;01m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU [32;01m * [39;49;00mFEATURES: compressdebug distcc fakeroot preserve-libs sandbox splitdebug userpriv usersandbox >>> Unpacking source... >>> Unpacking airtraf-1.1.tar.gz to /home/jer/portage/net-wireless/airtraf-1.1-r3/work >>> Source unpacked in /home/jer/portage/net-wireless/airtraf-1.1-r3/work >>> Preparing source in /home/jer/portage/net-wireless/airtraf-1.1-r3/work/airtraf-1.1 ... [32;01m*[0m Applying airtraf-1.1.patch ... [A[124C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Applying airtraf-1.1-off-by-one.patch ... [A[124C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Applying airtraf-1.1-fprintf-format.patch ... [A[124C [34;01m[ [32;01mok[34;01m ][0m >>> Source prepared. >>> Configuring source in /home/jer/portage/net-wireless/airtraf-1.1-r3/work/airtraf-1.1 ... >>> Source configured. >>> Compiling source in /home/jer/portage/net-wireless/airtraf-1.1-r3/work/airtraf-1.1 ... make -j10 -C src -j1 CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ 'CFLAGS=-frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment' 'CXXFLAGS=-frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2' 'LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed' make: Entering directory '/home/jer/portage/net-wireless/airtraf-1.1-r3/work/airtraf-1.1/src' ##### Making dependency Files ##### make[1]: Entering directory '/home/jer/portage/net-wireless/airtraf-1.1-r3/work/airtraf-1.1/src/libcommon' x86_64-pc-linux-gnu-gcc -MM -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment logger.c packet_card.c utility.c > Makefile.depends make[1]: Leaving directory '/home/jer/portage/net-wireless/airtraf-1.1-r3/work/airtraf-1.1/src/libcommon' make[1]: Entering directory '/home/jer/portage/net-wireless/airtraf-1.1-r3/work/airtraf-1.1/src/libncurses' x86_64-pc-linux-gnu-gcc -MM -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment *.c > Makefile.depends make[1]: Leaving directory '/home/jer/portage/net-wireless/airtraf-1.1-r3/work/airtraf-1.1/src/libncurses' make[1]: Entering directory '/home/jer/portage/net-wireless/airtraf-1.1-r3/work/airtraf-1.1/src/sniffd' x86_64-pc-linux-gnu-gcc -MM -I../libcommon -I../libncurses -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment *.c > Makefile.depends make[1]: Leaving directory '/home/jer/portage/net-wireless/airtraf-1.1-r3/work/airtraf-1.1/src/sniffd' ##### Compiling GUI Library ##### rm -f ./libncurses/libairgui.a make[1]: Entering directory '/home/jer/portage/net-wireless/airtraf-1.1-r3/work/airtraf-1.1/src/libncurses' x86_64-pc-linux-gnu-gcc -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c deskman.c deskman.c: In function ‘coloreol’: deskman.c:129:9: warning: variable ‘y’ set but not used [-Wunused-but-set-variable] int y, x; ^ x86_64-pc-linux-gnu-gcc -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c input.c x86_64-pc-linux-gnu-gcc -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c error.c x86_64-pc-linux-gnu-gcc -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c menurt.c x86_64-pc-linux-gnu-gcc -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c stdwinset.c ar cr ../libncurses/libairgui.a deskman.o input.o error.o menurt.o stdwinset.o ranlib ../libncurses/libairgui.a make[1]: Leaving directory '/home/jer/portage/net-wireless/airtraf-1.1-r3/work/airtraf-1.1/src/libncurses' ##### Building AirTraf sniffer with needed parts ##### rm -f ./airtraf make[1]: Entering directory '/home/jer/portage/net-wireless/airtraf-1.1-r3/work/airtraf-1.1/src/libcommon' x86_64-pc-linux-gnu-gcc -I/usr/include/mysql -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c utility.c In file included from utility.c:37:0: definition.h:223:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[16]’ [-Wattributes] __u8 devname[DEVNAME_LEN] __attribute__ ((packed)); ^ definition.h:224:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t hosttime __attribute__ ((packed)); ^ definition.h:225:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t mactime __attribute__ ((packed)); ^ definition.h:226:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t channel __attribute__ ((packed)); ^ definition.h:227:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t rssi __attribute__ ((packed)); ^ definition.h:228:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t sq __attribute__ ((packed)); ^ definition.h:229:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t signal __attribute__ ((packed)); ^ definition.h:230:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t noise __attribute__ ((packed)); ^ definition.h:231:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t rate __attribute__ ((packed)); ^ definition.h:232:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t istx __attribute__ ((packed)); ^ definition.h:233:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t frmlen __attribute__ ((packed)); ^ definition.h:247:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 silence __attribute__ ((packed)); ^ definition.h:248:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 signal __attribute__ ((packed)); ^ definition.h:249:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 rate __attribute__ ((packed)); ^ definition.h:250:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 rxflow __attribute__ ((packed)); ^ definition.h:263:3: warning: ‘packed’ attribute ignored for field of type ‘hfa384x_descript_t’ [-Wattributes] hfa384x_descript_t frame_descriptor __attribute__ ((packed)); ^ definition.h:268:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac1[6] __attribute__ ((packed)); ^ definition.h:269:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac2[6] __attribute__ ((packed)); ^ definition.h:270:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac3[6] __attribute__ ((packed)); ^ definition.h:272:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac4[6] __attribute__ ((packed)); ^ definition.h:276:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 dst_addr[6] __attribute__ ((packed)); ^ definition.h:277:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 src_addr[6] __attribute__ ((packed)); ^ definition.h:279:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 crap[6] __attribute__ ((packed)); ^ definition.h:294:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac1[6] __attribute__ ((packed)); ^ definition.h:295:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac2[6] __attribute__ ((packed)); ^ definition.h:296:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac3[6] __attribute__ ((packed)); ^ definition.h:298:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac4[6] __attribute__ ((packed)); ^ utility.c: In function ‘hexdump’: utility.c:59:5: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] sprintf(&dummybuf[(i * 2)], "%02x", x[i]); ^ In file included from /usr/include/features.h:366:0, from /usr/include/stdio.h:27, from utility.c:33: /usr/include/bits/stdio2.h:31:1: note: expected ‘char * __restrict__’ but argument is of type ‘__u8 *’ __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ utility.c:60:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return (dummybuf); ^ x86_64-pc-linux-gnu-gcc -I/usr/include/mysql -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c logger.c In file included from logger.c:38:0: definition.h:223:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[16]’ [-Wattributes] __u8 devname[DEVNAME_LEN] __attribute__ ((packed)); ^ definition.h:224:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t hosttime __attribute__ ((packed)); ^ definition.h:225:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t mactime __attribute__ ((packed)); ^ definition.h:226:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t channel __attribute__ ((packed)); ^ definition.h:227:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t rssi __attribute__ ((packed)); ^ definition.h:228:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t sq __attribute__ ((packed)); ^ definition.h:229:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t signal __attribute__ ((packed)); ^ definition.h:230:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t noise __attribute__ ((packed)); ^ definition.h:231:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t rate __attribute__ ((packed)); ^ definition.h:232:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t istx __attribute__ ((packed)); ^ definition.h:233:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t frmlen __attribute__ ((packed)); ^ definition.h:247:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 silence __attribute__ ((packed)); ^ definition.h:248:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 signal __attribute__ ((packed)); ^ definition.h:249:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 rate __attribute__ ((packed)); ^ definition.h:250:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 rxflow __attribute__ ((packed)); ^ definition.h:263:3: warning: ‘packed’ attribute ignored for field of type ‘hfa384x_descript_t’ [-Wattributes] hfa384x_descript_t frame_descriptor __attribute__ ((packed)); ^ definition.h:268:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac1[6] __attribute__ ((packed)); ^ definition.h:269:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac2[6] __attribute__ ((packed)); ^ definition.h:270:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac3[6] __attribute__ ((packed)); ^ definition.h:272:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac4[6] __attribute__ ((packed)); ^ definition.h:276:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 dst_addr[6] __attribute__ ((packed)); ^ definition.h:277:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 src_addr[6] __attribute__ ((packed)); ^ definition.h:279:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 crap[6] __attribute__ ((packed)); ^ definition.h:294:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac1[6] __attribute__ ((packed)); ^ definition.h:295:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac2[6] __attribute__ ((packed)); ^ definition.h:296:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac3[6] __attribute__ ((packed)); ^ definition.h:298:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac4[6] __attribute__ ((packed)); ^ logger.c: In function ‘write_log’: logger.c:84:3: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] sprintf(logmsg,"%s] %s",atime,text); ^ In file included from /usr/include/features.h:366:0, from /usr/include/stdio.h:27, from logger.c:33: /usr/include/bits/stdio2.h:31:1: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ logger.c:86:3: warning: pointer targets in passing argument 2 of ‘write_into_log’ differ in signedness [-Wpointer-sign] return write_into_log(type,logmsg); ^ logger.c:51:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’ int write_into_log(int type, char * text); ^ x86_64-pc-linux-gnu-gcc -I/usr/include/mysql -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c ipcsum.c x86_64-pc-linux-gnu-gcc -I/usr/include/mysql -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c packet_card.c In file included from packet_card.c:53:0: definition.h:223:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[16]’ [-Wattributes] definition.h:224:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] definition.h:225:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] definition.h:226:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] definition.h:227:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] definition.h:228:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] definition.h:229:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] definition.h:230:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] definition.h:231:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] definition.h:232:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] definition.h:233:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] definition.h:247:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] definition.h:248:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] definition.h:249:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] definition.h:250:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] In file included from packet_card.c:53:0: definition.h:263:3: warning: ‘packed’ attribute ignored for field of type ‘hfa384x_descript_t’ [-Wattributes] definition.h:268:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] definition.h:269:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] definition.h:270:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] definition.h:272:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] definition.h:276:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] definition.h:277:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] definition.h:279:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] In file included from packet_card.c:53:0: definition.h:294:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] definition.h:295:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] definition.h:296:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] definition.h:298:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] packet_card.c: In function ‘pkt_card_sock_read’: packet_card.c:266:17: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] In file included from /usr/include/sys/socket.h:280:0, from packet_card.c:42: /usr/include/bits/socket2.h:64:1: note: expected ‘socklen_t * __restrict__’ but argument is of type ‘int *’ recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^ packet_card.c: In function ‘pkt_card_chan_set’: packet_card.c:418:7: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] In file included from /usr/include/stdio.h:936:0, from packet_card.c:36: /usr/include/bits/stdio2.h:61:42: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ __NTH (snprintf (char *__restrict __s, size_t __n, ^ packet_card.c:419:5: warning: pointer targets in passing argument 1 of ‘popen’ differ in signedness [-Wpointer-sign] In file included from packet_card.c:36:0: /usr/include/stdio.h:872:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern FILE *popen (const char *__command, const char *__modes) __wur; ^ In file included from packet_card.c:56:0: packet_card.c: At top level: ../sniffd/autoconfig.h:37:14: warning: ‘compat_drivers’ defined but not used [-Wunused-variable] ar cr ../libcommon/libairtraf.a utility.o logger.o ipcsum.o packet_card.o ranlib ../libcommon/libairtraf.a make[1]: Leaving directory '/home/jer/portage/net-wireless/airtraf-1.1-r3/work/airtraf-1.1/src/libcommon' make[1]: Entering directory '/home/jer/portage/net-wireless/airtraf-1.1-r3/work/airtraf-1.1/src/sniffd' x86_64-pc-linux-gnu-gcc -I../libcommon -I../libncurses -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c airtraf.c In file included from airtraf.c:73:0: ../libcommon/definition.h:223:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[16]’ [-Wattributes] __u8 devname[DEVNAME_LEN] __attribute__ ((packed)); ^ ../libcommon/definition.h:224:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t hosttime __attribute__ ((packed)); ^ ../libcommon/definition.h:225:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t mactime __attribute__ ((packed)); ^ ../libcommon/definition.h:226:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t channel __attribute__ ((packed)); ^ ../libcommon/definition.h:227:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t rssi __attribute__ ((packed)); ^ ../libcommon/definition.h:228:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t sq __attribute__ ((packed)); ^ ../libcommon/definition.h:229:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t signal __attribute__ ((packed)); ^ ../libcommon/definition.h:230:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t noise __attribute__ ((packed)); ^ ../libcommon/definition.h:231:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t rate __attribute__ ((packed)); ^ ../libcommon/definition.h:232:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t istx __attribute__ ((packed)); ^ ../libcommon/definition.h:233:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t frmlen __attribute__ ((packed)); ^ ../libcommon/definition.h:247:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 silence __attribute__ ((packed)); ^ ../libcommon/definition.h:248:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 signal __attribute__ ((packed)); ^ ../libcommon/definition.h:249:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 rate __attribute__ ((packed)); ^ ../libcommon/definition.h:250:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 rxflow __attribute__ ((packed)); ^ ../libcommon/definition.h:263:3: warning: ‘packed’ attribute ignored for field of type ‘hfa384x_descript_t’ [-Wattributes] hfa384x_descript_t frame_descriptor __attribute__ ((packed)); ^ ../libcommon/definition.h:268:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac1[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:269:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac2[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:270:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac3[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:272:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac4[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:276:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 dst_addr[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:277:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 src_addr[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:279:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 crap[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:294:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac1[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:295:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac2[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:296:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac3[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:298:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac4[6] __attribute__ ((packed)); ^ x86_64-pc-linux-gnu-gcc -I../libcommon -I../libncurses -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c autoconfig.c autoconfig.c: In function ‘print_autoconfig’: autoconfig.c:450:2: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] snprintf(modinfo_cmd, 100, "modinfo -n %s", temp->drvname); ^ In file included from /usr/include/features.h:366:0, from /usr/include/sys/types.h:25, from autoconfig.c:40: /usr/include/bits/stdio2.h:61:1: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ __NTH (snprintf (char *__restrict __s, size_t __n, ^ autoconfig.c:451:2: warning: pointer targets in passing argument 1 of ‘popen’ differ in signedness [-Wpointer-sign] fp = popen(modinfo_cmd, "r"); ^ In file included from autoconfig.c:42:0: /usr/include/stdio.h:872:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern FILE *popen (const char *__command, const char *__modes) __wur; ^ autoconfig.c:452:2: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] fgets(temp_buf, 1024, fp); ^ In file included from /usr/include/stdio.h:936:0, from autoconfig.c:42: /usr/include/bits/stdio2.h:253:1: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ autoconfig.c:454:2: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] snprintf(modinfo_cmd, 100, "modinfo -a %s", temp->drvname); ^ In file included from /usr/include/features.h:366:0, from /usr/include/sys/types.h:25, from autoconfig.c:40: /usr/include/bits/stdio2.h:61:1: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ __NTH (snprintf (char *__restrict __s, size_t __n, ^ autoconfig.c:455:2: warning: pointer targets in passing argument 1 of ‘popen’ differ in signedness [-Wpointer-sign] fp = popen(modinfo_cmd, "r"); ^ In file included from autoconfig.c:42:0: /usr/include/stdio.h:872:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern FILE *popen (const char *__command, const char *__modes) __wur; ^ autoconfig.c:456:2: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] fgets(temp_buf, 1024, fp); ^ In file included from /usr/include/stdio.h:936:0, from autoconfig.c:42: /usr/include/bits/stdio2.h:253:1: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ autoconfig.c: In function ‘enable_monitor’: autoconfig.c:581:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ifname = iwdev->real_ifname; ^ autoconfig.c:583:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else ifname = iwdev->ifname; ^ autoconfig.c:584:7: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] snprintf(path, sizeof(path), "/proc/driver/aironet/%s/Config", ifname); ^ In file included from /usr/include/features.h:366:0, from /usr/include/sys/types.h:25, from autoconfig.c:40: /usr/include/bits/stdio2.h:61:1: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ __NTH (snprintf (char *__restrict __s, size_t __n, ^ autoconfig.c:585:7: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign] fh = fopen(path, "w"); ^ In file included from autoconfig.c:42:0: /usr/include/stdio.h:272:14: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ extern FILE *fopen (const char *__restrict __filename, ^ autoconfig.c:614:7: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] snprintf(monitor_cmd, sizeof(monitor_cmd), "wlanctl-ng %s lnxreq_wlansniff channel=1 enable=true stripfcs=true keepwepflags=t ^ In file included from /usr/include/features.h:366:0, from /usr/include/sys/types.h:25, from autoconfig.c:40: /usr/include/bits/stdio2.h:61:1: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ __NTH (snprintf (char *__restrict __s, size_t __n, ^ autoconfig.c:615:7: warning: pointer targets in passing argument 1 of ‘popen’ differ in signedness [-Wpointer-sign] if ((fh = popen(monitor_cmd, "r")) < 0) { ^ In file included from autoconfig.c:42:0: /usr/include/stdio.h:872:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern FILE *popen (const char *__command, const char *__modes) __wur; ^ autoconfig.c:621:7: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] while (fgets(temp_result, sizeof(temp_result), fh) != NULL){ ^ In file included from /usr/include/stdio.h:936:0, from autoconfig.c:42: /usr/include/bits/stdio2.h:253:1: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ autoconfig.c:622:2: warning: pointer targets in passing argument 1 of ‘sscanf’ differ in signedness [-Wpointer-sign] if (sscanf(temp_result," resultcode=%c", &result_code) > 0){ ^ In file included from /usr/include/features.h:366:0, from /usr/include/sys/types.h:25, from autoconfig.c:40: /usr/include/stdio.h:448:12: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ autoconfig.c:637:7: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] snprintf(monitor_cmd, sizeof(monitor_cmd), "iwpriv %s monitor 1", iwdev->ifname); ^ In file included from /usr/include/features.h:366:0, from /usr/include/sys/types.h:25, from autoconfig.c:40: /usr/include/bits/stdio2.h:61:1: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ __NTH (snprintf (char *__restrict __s, size_t __n, ^ autoconfig.c:638:7: warning: pointer targets in passing argument 1 of ‘popen’ differ in signedness [-Wpointer-sign] if ((fh = popen(monitor_cmd, "r")) < 0) { ^ In file included from autoconfig.c:42:0: /usr/include/stdio.h:872:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern FILE *popen (const char *__command, const char *__modes) __wur; ^ autoconfig.c:643:7: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] if (fgets(temp_result, sizeof(temp_result), fh) != NULL){ ^ In file included from /usr/include/stdio.h:936:0, from autoconfig.c:42: /usr/include/bits/stdio2.h:253:1: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ autoconfig.c:662:7: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] snprintf(monitor_cmd, sizeof(monitor_cmd), "iwpriv %s monitor 3", iwdev->ifname); ^ In file included from /usr/include/features.h:366:0, from /usr/include/sys/types.h:25, from autoconfig.c:40: /usr/include/bits/stdio2.h:61:1: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ __NTH (snprintf (char *__restrict __s, size_t __n, ^ autoconfig.c:663:7: warning: pointer targets in passing argument 1 of ‘popen’ differ in signedness [-Wpointer-sign] if ((fh = popen(monitor_cmd, "r")) < 0) { ^ In file included from autoconfig.c:42:0: /usr/include/stdio.h:872:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern FILE *popen (const char *__command, const char *__modes) __wur; ^ autoconfig.c:668:7: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] if (fgets(temp_result, sizeof(temp_result), fh) != NULL){ ^ In file included from /usr/include/stdio.h:936:0, from autoconfig.c:42: /usr/include/bits/stdio2.h:253:1: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ autoconfig.c:683:7: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] snprintf(monitor_cmd, sizeof(monitor_cmd), "iwpriv %s monitor 1 1", iwdev->ifname); ^ In file included from /usr/include/features.h:366:0, from /usr/include/sys/types.h:25, from autoconfig.c:40: /usr/include/bits/stdio2.h:61:1: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ __NTH (snprintf (char *__restrict __s, size_t __n, ^ autoconfig.c:684:7: warning: pointer targets in passing argument 1 of ‘popen’ differ in signedness [-Wpointer-sign] if ((fh = popen(monitor_cmd, "r")) < 0) { ^ In file included from autoconfig.c:42:0: /usr/include/stdio.h:872:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern FILE *popen (const char *__command, const char *__modes) __wur; ^ autoconfig.c:689:7: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] if (fgets(temp_result, sizeof(temp_result), fh) != NULL){ ^ In file included from /usr/include/stdio.h:936:0, from autoconfig.c:42: /usr/include/bits/stdio2.h:253:1: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ autoconfig.c: In function ‘disable_monitor’: autoconfig.c:753:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ifname = iwdev->real_ifname; ^ autoconfig.c:758:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else ifname = iwdev->ifname; ^ autoconfig.c:759:7: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] snprintf(path, 100, "/proc/driver/aironet/%s/Config", ifname); ^ In file included from /usr/include/features.h:366:0, from /usr/include/sys/types.h:25, from autoconfig.c:40: /usr/include/bits/stdio2.h:61:1: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ __NTH (snprintf (char *__restrict __s, size_t __n, ^ autoconfig.c:760:7: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign] fh = fopen(path, "w"); ^ In file included from autoconfig.c:42:0: /usr/include/stdio.h:272:14: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ extern FILE *fopen (const char *__restrict __filename, ^ autoconfig.c: In function ‘prompt_device’: autoconfig.c:831:3: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] if(fgets(answer,255,stdin)!= NULL){ ^ In file included from /usr/include/stdio.h:936:0, from autoconfig.c:42: /usr/include/bits/stdio2.h:253:1: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ autoconfig.c:832:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] i = strlen(answer)-1; ^ In file included from autoconfig.c:47:0: /usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern size_t strlen (const char *__s) ^ autoconfig.c:840:5: warning: pointer targets in passing argument 1 of ‘strtol’ differ in signedness [-Wpointer-sign] picked_index = strtol (ans_ptr, NULL, 0); ^ In file included from autoconfig.c:46:0: /usr/include/stdlib.h:183:17: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ extern long int strtol (const char *__restrict __nptr, ^ autoconfig.c: In function ‘iw_enum_devices’: autoconfig.c:234:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(buff, sizeof(buff), fh); ^ autoconfig.c:235:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(buff, sizeof(buff), fh); ^ autoconfig.c: In function ‘print_autoconfig’: autoconfig.c:452:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(temp_buf, 1024, fp); ^ autoconfig.c:456:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(temp_buf, 1024, fp); ^ x86_64-pc-linux-gnu-gcc -I../libcommon -I../libncurses -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c capture_engine.c In file included from capture_engine.c:41:0: ../libcommon/definition.h:223:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[16]’ [-Wattributes] ../libcommon/definition.h:224:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:225:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:226:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:227:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:228:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:229:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:230:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:231:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:232:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:233:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:247:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:248:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:249:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:250:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] In file included from capture_engine.c:41:0: ../libcommon/definition.h:263:3: warning: ‘packed’ attribute ignored for field of type ‘hfa384x_descript_t’ [-Wattributes] ../libcommon/definition.h:268:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:269:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:270:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:272:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:276:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:277:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:279:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] In file included from capture_engine.c:41:0: ../libcommon/definition.h:294:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:295:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:296:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:298:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] capture_engine.c: In function ‘capture_playback_rewind’: capture_engine.c:373:7: warning: variable ‘fseek_status’ set but not used [-Wunused-but-set-variable] x86_64-pc-linux-gnu-gcc -I../libcommon -I../libncurses -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c channel_scan.c In file included from channel_scan.c:43:0: ../libcommon/definition.h:223:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[16]’ [-Wattributes] ../libcommon/definition.h:224:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:225:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:226:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:227:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:228:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:229:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:230:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:231:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:232:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:233:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:247:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:248:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:249:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:250:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] In file included from channel_scan.c:43:0: ../libcommon/definition.h:263:3: warning: ‘packed’ attribute ignored for field of type ‘hfa384x_descript_t’ [-Wattributes] ../libcommon/definition.h:268:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:269:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:270:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:272:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:276:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:277:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:279:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] In file included from channel_scan.c:43:0: ../libcommon/definition.h:294:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:295:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:296:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:298:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] channel_scan.c: In function ‘new_access_point’: channel_scan.c:137:3: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] In file included from channel_scan.c:36:0: /usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘__u8 *’ extern size_t strlen (const char *__s) ^ channel_scan.c:138:5: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] In file included from /usr/include/stdio.h:936:0, from channel_scan.c:33: /usr/include/bits/stdio2.h:61:42: note: expected ‘char * __restrict__’ but argument is of type ‘__u8 *’ __NTH (snprintf (char *__restrict __s, size_t __n, ^ channel_scan.c:141:3: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:639:0, from channel_scan.c:36: /usr/include/bits/string3.h:117:42: note: expected ‘char * __restrict__’ but argument is of type ‘__u8 *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ channel_scan.c:141:3: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:639:0, from channel_scan.c:36: /usr/include/bits/string3.h:117:42: note: expected ‘const char * __restrict__’ but argument is of type ‘__u8 *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ channel_scan.c: In function ‘filter_ap’: channel_scan.c:174:5: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:639:0, from channel_scan.c:36: /usr/include/bits/string3.h:117:42: note: expected ‘char * __restrict__’ but argument is of type ‘__u8 *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ channel_scan.c:174:5: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:639:0, from channel_scan.c:36: /usr/include/bits/string3.h:117:42: note: expected ‘const char * __restrict__’ but argument is of type ‘__u8 *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ channel_scan.c: In function ‘update_ap_info’: channel_scan.c:237:2: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] In file included from channel_scan.c:36:0: /usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘__u8 *’ extern size_t strlen (const char *__s) ^ channel_scan.c:237:2: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] In file included from channel_scan.c:36:0: /usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘__u8 *’ extern size_t strlen (const char *__s) ^ channel_scan.c:237:2: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] channel_scan.c:237:2: note: expected ‘const char *’ but argument is of type ‘__u8 *’ channel_scan.c:237:2: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] In file included from channel_scan.c:36:0: /usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘__u8 *’ extern size_t strlen (const char *__s) ^ channel_scan.c:237:2: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] channel_scan.c:237:2: note: expected ‘const char *’ but argument is of type ‘__u8 *’ channel_scan.c:237:2: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] channel_scan.c:237:2: note: expected ‘const char *’ but argument is of type ‘__u8 *’ channel_scan.c:237:2: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] channel_scan.c:237:2: note: expected ‘const char *’ but argument is of type ‘__u8 *’ channel_scan.c:237:2: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] In file included from channel_scan.c:36:0: /usr/include/string.h:147:12: note: expected ‘const char *’ but argument is of type ‘__u8 *’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ channel_scan.c:237:2: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] In file included from channel_scan.c:36:0: /usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘__u8 *’ extern size_t strlen (const char *__s) ^ channel_scan.c:237:2: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] In file included from channel_scan.c:36:0: /usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘__u8 *’ extern size_t strlen (const char *__s) ^ channel_scan.c:237:2: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] channel_scan.c:237:2: note: expected ‘const char *’ but argument is of type ‘__u8 *’ channel_scan.c:237:2: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] In file included from channel_scan.c:36:0: /usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘__u8 *’ extern size_t strlen (const char *__s) ^ channel_scan.c:237:2: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] channel_scan.c:237:2: note: expected ‘const char *’ but argument is of type ‘__u8 *’ channel_scan.c:237:2: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] channel_scan.c:237:2: note: expected ‘const char *’ but argument is of type ‘__u8 *’ channel_scan.c:237:2: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] channel_scan.c:237:2: note: expected ‘const char *’ but argument is of type ‘__u8 *’ channel_scan.c:237:2: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] In file included from channel_scan.c:36:0: /usr/include/string.h:147:12: note: expected ‘const char *’ but argument is of type ‘__u8 *’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ channel_scan.c:238:4: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:639:0, from channel_scan.c:36: /usr/include/bits/string3.h:117:42: note: expected ‘char * __restrict__’ but argument is of type ‘__u8 *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ channel_scan.c:238:4: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:639:0, from channel_scan.c:36: /usr/include/bits/string3.h:117:42: note: expected ‘const char * __restrict__’ but argument is of type ‘__u8 *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ x86_64-pc-linux-gnu-gcc -I../libcommon -I../libncurses -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c detailed_analysis.c In file included from detailed_analysis.c:50:0: ../libcommon/definition.h:223:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[16]’ [-Wattributes] ../libcommon/definition.h:224:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:225:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:226:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:227:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:228:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:229:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:230:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:231:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:232:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:233:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:247:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:248:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:249:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:250:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] In file included from detailed_analysis.c:50:0: ../libcommon/definition.h:263:3: warning: ‘packed’ attribute ignored for field of type ‘hfa384x_descript_t’ [-Wattributes] ../libcommon/definition.h:268:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:269:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:270:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:272:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:276:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:277:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:279:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] In file included from detailed_analysis.c:50:0: ../libcommon/definition.h:294:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:295:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:296:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:298:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] x86_64-pc-linux-gnu-gcc -I../libcommon -I../libncurses -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c detailed_scan.c In file included from detailed_scan.c:50:0: ../libcommon/definition.h:223:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[16]’ [-Wattributes] __u8 devname[DEVNAME_LEN] __attribute__ ((packed)); ^ ../libcommon/definition.h:224:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t hosttime __attribute__ ((packed)); ^ ../libcommon/definition.h:225:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t mactime __attribute__ ((packed)); ^ ../libcommon/definition.h:226:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t channel __attribute__ ((packed)); ^ ../libcommon/definition.h:227:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t rssi __attribute__ ((packed)); ^ ../libcommon/definition.h:228:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t sq __attribute__ ((packed)); ^ ../libcommon/definition.h:229:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t signal __attribute__ ((packed)); ^ ../libcommon/definition.h:230:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t noise __attribute__ ((packed)); ^ ../libcommon/definition.h:231:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t rate __attribute__ ((packed)); ^ ../libcommon/definition.h:232:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t istx __attribute__ ((packed)); ^ ../libcommon/definition.h:233:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t frmlen __attribute__ ((packed)); ^ ../libcommon/definition.h:247:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 silence __attribute__ ((packed)); ^ ../libcommon/definition.h:248:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 signal __attribute__ ((packed)); ^ ../libcommon/definition.h:249:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 rate __attribute__ ((packed)); ^ ../libcommon/definition.h:250:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 rxflow __attribute__ ((packed)); ^ ../libcommon/definition.h:263:3: warning: ‘packed’ attribute ignored for field of type ‘hfa384x_descript_t’ [-Wattributes] hfa384x_descript_t frame_descriptor __attribute__ ((packed)); ^ ../libcommon/definition.h:268:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac1[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:269:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac2[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:270:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac3[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:272:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac4[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:276:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 dst_addr[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:277:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 src_addr[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:279:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 crap[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:294:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac1[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:295:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac2[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:296:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac3[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:298:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac4[6] __attribute__ ((packed)); ^ detailed_scan.c: In function ‘pot_find_ap’: detailed_scan.c:350:5: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(p_aps->ap_list[p_aps->num].ssid, info->ssid, 32); ^ In file included from /usr/include/features.h:366:0, from /usr/include/stdio.h:27, from detailed_scan.c:33: /usr/include/bits/string3.h:117:1: note: expected ‘char * __restrict__’ but argument is of type ‘__u8 *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ detailed_scan.c:350:5: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(p_aps->ap_list[p_aps->num].ssid, info->ssid, 32); ^ In file included from /usr/include/features.h:366:0, from /usr/include/stdio.h:27, from detailed_scan.c:33: /usr/include/bits/string3.h:117:1: note: expected ‘const char * __restrict__’ but argument is of type ‘__u8 *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ detailed_scan.c: In function ‘new_bss’: detailed_scan.c:614:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strlen(info->ssid)) ^ In file included from detailed_scan.c:37:0: /usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘__u8 *’ extern size_t strlen (const char *__s) ^ detailed_scan.c:615:7: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(temp->ssid,info->ssid,32); ^ In file included from /usr/include/features.h:366:0, from /usr/include/stdio.h:27, from detailed_scan.c:33: /usr/include/bits/string3.h:117:1: note: expected ‘char * __restrict__’ but argument is of type ‘__u8 *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ detailed_scan.c:615:7: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(temp->ssid,info->ssid,32); ^ In file included from /usr/include/features.h:366:0, from /usr/include/stdio.h:27, from detailed_scan.c:33: /usr/include/bits/string3.h:117:1: note: expected ‘const char * __restrict__’ but argument is of type ‘__u8 *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ detailed_scan.c: In function ‘update_filtered_ap’: detailed_scan.c:823:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] if (strlen(ap->ssid)) ^ In file included from detailed_scan.c:37:0: /usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘__u8 *’ extern size_t strlen (const char *__s) ^ detailed_scan.c:824:7: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(temp->ssid,ap->ssid,32); ^ In file included from /usr/include/features.h:366:0, from /usr/include/stdio.h:27, from detailed_scan.c:33: /usr/include/bits/string3.h:117:1: note: expected ‘char * __restrict__’ but argument is of type ‘__u8 *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ detailed_scan.c:824:7: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(temp->ssid,ap->ssid,32); ^ In file included from /usr/include/features.h:366:0, from /usr/include/stdio.h:27, from detailed_scan.c:33: /usr/include/bits/string3.h:117:1: note: expected ‘const char * __restrict__’ but argument is of type ‘__u8 *’ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ x86_64-pc-linux-gnu-gcc -I../libcommon -I../libncurses -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c gui_main.c In file included from gui_main.c:53:0: ../libcommon/definition.h:223:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[16]’ [-Wattributes] ../libcommon/definition.h:224:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:225:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:226:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:227:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:228:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:229:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:230:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:231:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:232:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:233:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:247:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:248:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:249:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:250:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] In file included from gui_main.c:53:0: ../libcommon/definition.h:263:3: warning: ‘packed’ attribute ignored for field of type ‘hfa384x_descript_t’ [-Wattributes] ../libcommon/definition.h:268:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:269:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:270:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:272:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:276:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:277:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:279:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] In file included from gui_main.c:53:0: ../libcommon/definition.h:294:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:295:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:296:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:298:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] gui_main.c: In function ‘print_selected_ap_results’: gui_main.c:251:5: warning: pointer targets in passing argument 4 of ‘mvwprintw’ differ in signedness [-Wpointer-sign] In file included from gui_main.c:36:0: /usr/include/curses.h:706:12: note: expected ‘const char *’ but argument is of type ‘__u8 *’ extern NCURSES_EXPORT(int) printw (const char *,...) /* implemented */ ^ gui_main.c: In function ‘program_interface’: gui_main.c:865:18: warning: variable ‘tv_old’ set but not used [-Wunused-but-set-variable] x86_64-pc-linux-gnu-gcc -I../libcommon -I../libncurses -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c gui_capture_utils.c In file included from gui_capture_utils.c:40:0: ../libcommon/definition.h:223:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[16]’ [-Wattributes] __u8 devname[DEVNAME_LEN] __attribute__ ((packed)); ^ ../libcommon/definition.h:224:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t hosttime __attribute__ ((packed)); ^ ../libcommon/definition.h:225:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t mactime __attribute__ ((packed)); ^ ../libcommon/definition.h:226:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t channel __attribute__ ((packed)); ^ ../libcommon/definition.h:227:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t rssi __attribute__ ((packed)); ^ ../libcommon/definition.h:228:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t sq __attribute__ ((packed)); ^ ../libcommon/definition.h:229:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t signal __attribute__ ((packed)); ^ ../libcommon/definition.h:230:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t noise __attribute__ ((packed)); ^ ../libcommon/definition.h:231:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t rate __attribute__ ((packed)); ^ ../libcommon/definition.h:232:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t istx __attribute__ ((packed)); ^ ../libcommon/definition.h:233:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t frmlen __attribute__ ((packed)); ^ ../libcommon/definition.h:247:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 silence __attribute__ ((packed)); ^ ../libcommon/definition.h:248:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 signal __attribute__ ((packed)); ^ ../libcommon/definition.h:249:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 rate __attribute__ ((packed)); ^ ../libcommon/definition.h:250:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 rxflow __attribute__ ((packed)); ^ ../libcommon/definition.h:263:3: warning: ‘packed’ attribute ignored for field of type ‘hfa384x_descript_t’ [-Wattributes] hfa384x_descript_t frame_descriptor __attribute__ ((packed)); ^ ../libcommon/definition.h:268:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac1[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:269:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac2[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:270:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac3[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:272:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac4[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:276:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 dst_addr[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:277:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 src_addr[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:279:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 crap[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:294:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac1[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:295:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac2[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:296:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac3[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:298:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac4[6] __attribute__ ((packed)); ^ x86_64-pc-linux-gnu-gcc -I../libcommon -I../libncurses -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c gui_channel_scan.c In file included from gui_channel_scan.c:39:0: ../libcommon/definition.h:223:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[16]’ [-Wattributes] ../libcommon/definition.h:224:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:225:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:226:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:227:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:228:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:229:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:230:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:231:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:232:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:233:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:247:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:248:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:249:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:250:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] In file included from gui_channel_scan.c:39:0: ../libcommon/definition.h:263:3: warning: ‘packed’ attribute ignored for field of type ‘hfa384x_descript_t’ [-Wattributes] ../libcommon/definition.h:268:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:269:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:270:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:272:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:276:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:277:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:279:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] In file included from gui_channel_scan.c:39:0: ../libcommon/definition.h:294:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:295:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:296:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:298:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] gui_channel_scan.c: In function ‘print_breakdown_results’: gui_channel_scan.c:286:4: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] In file included from gui_channel_scan.c:35:0: /usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘__u8 *’ extern size_t strlen (const char *__s) ^ gui_channel_scan.c:286:4: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] In file included from gui_channel_scan.c:35:0: /usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘__u8 *’ extern size_t strlen (const char *__s) ^ gui_channel_scan.c:286:4: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] gui_channel_scan.c:286:4: note: expected ‘const char *’ but argument is of type ‘__u8 *’ gui_channel_scan.c:286:4: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] In file included from gui_channel_scan.c:35:0: /usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘__u8 *’ extern size_t strlen (const char *__s) ^ gui_channel_scan.c:286:4: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] gui_channel_scan.c:286:4: note: expected ‘const char *’ but argument is of type ‘__u8 *’ gui_channel_scan.c:286:4: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] gui_channel_scan.c:286:4: note: expected ‘const char *’ but argument is of type ‘__u8 *’ gui_channel_scan.c:286:4: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign] gui_channel_scan.c:286:4: note: expected ‘const char *’ but argument is of type ‘__u8 *’ gui_channel_scan.c:286:4: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] In file included from gui_channel_scan.c:35:0: /usr/include/string.h:147:12: note: expected ‘const char *’ but argument is of type ‘__u8 *’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ gui_channel_scan.c:289:6: warning: pointer targets in passing argument 4 of ‘mvwprintw’ differ in signedness [-Wpointer-sign] In file included from gui_channel_scan.c:33:0: /usr/include/curses.h:706:12: note: expected ‘const char *’ but argument is of type ‘__u8 *’ extern NCURSES_EXPORT(int) printw (const char *,...) /* implemented */ ^ gui_channel_scan.c: In function ‘update_status_stats’: gui_channel_scan.c:387:8: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] In file included from gui_channel_scan.c:35:0: /usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘__u8 *’ extern size_t strlen (const char *__s) ^ x86_64-pc-linux-gnu-gcc -I../libcommon -I../libncurses -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c gui_detailed_scan.c In file included from gui_detailed_scan.c:38:0: ../libcommon/definition.h:223:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[16]’ [-Wattributes] __u8 devname[DEVNAME_LEN] __attribute__ ((packed)); ^ ../libcommon/definition.h:224:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t hosttime __attribute__ ((packed)); ^ ../libcommon/definition.h:225:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t mactime __attribute__ ((packed)); ^ ../libcommon/definition.h:226:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t channel __attribute__ ((packed)); ^ ../libcommon/definition.h:227:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t rssi __attribute__ ((packed)); ^ ../libcommon/definition.h:228:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t sq __attribute__ ((packed)); ^ ../libcommon/definition.h:229:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t signal __attribute__ ((packed)); ^ ../libcommon/definition.h:230:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t noise __attribute__ ((packed)); ^ ../libcommon/definition.h:231:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t rate __attribute__ ((packed)); ^ ../libcommon/definition.h:232:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t istx __attribute__ ((packed)); ^ ../libcommon/definition.h:233:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t frmlen __attribute__ ((packed)); ^ ../libcommon/definition.h:247:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 silence __attribute__ ((packed)); ^ ../libcommon/definition.h:248:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 signal __attribute__ ((packed)); ^ ../libcommon/definition.h:249:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 rate __attribute__ ((packed)); ^ ../libcommon/definition.h:250:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 rxflow __attribute__ ((packed)); ^ ../libcommon/definition.h:263:3: warning: ‘packed’ attribute ignored for field of type ‘hfa384x_descript_t’ [-Wattributes] hfa384x_descript_t frame_descriptor __attribute__ ((packed)); ^ ../libcommon/definition.h:268:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac1[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:269:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac2[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:270:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac3[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:272:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac4[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:276:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 dst_addr[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:277:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 src_addr[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:279:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 crap[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:294:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac1[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:295:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac2[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:296:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac3[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:298:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac4[6] __attribute__ ((packed)); ^ gui_detailed_scan.c: In function ‘printdetails’: gui_detailed_scan.c:135:5: warning: pointer targets in passing argument 4 of ‘mvwprintw’ differ in signedness [-Wpointer-sign] mvwprintw(win, 2, 33, info->ssid); ^ In file included from gui_detailed_scan.c:33:0: /usr/include/curses.h:706:28: note: expected ‘const char *’ but argument is of type ‘__u8 *’ extern NCURSES_EXPORT(int) mvwprintw (WINDOW*,int,int, const char *,...) /* implemented */ ^ gui_detailed_scan.c: In function ‘show_node_win’: gui_detailed_scan.c:242:12: warning: variable ‘remainder’ set but not used [-Wunused-but-set-variable] int fit, remainder; ^ gui_detailed_scan.c: In function ‘start_wt_mon’: gui_detailed_scan.c:491:18: warning: variable ‘tv_old’ set but not used [-Wunused-but-set-variable] struct timeval tv_old; ^ gui_detailed_scan.c:490:18: warning: variable ‘tv_pot_reset’ set but not used [-Wunused-but-set-variable] struct timeval tv_pot_reset; ^ x86_64-pc-linux-gnu-gcc -I../libcommon -I../libncurses -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c gui_gen_protocol_scan.c In file included from gui_gen_protocol_scan.c:40:0: ../libcommon/definition.h:223:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[16]’ [-Wattributes] __u8 devname[DEVNAME_LEN] __attribute__ ((packed)); ^ ../libcommon/definition.h:224:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t hosttime __attribute__ ((packed)); ^ ../libcommon/definition.h:225:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t mactime __attribute__ ((packed)); ^ ../libcommon/definition.h:226:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t channel __attribute__ ((packed)); ^ ../libcommon/definition.h:227:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t rssi __attribute__ ((packed)); ^ ../libcommon/definition.h:228:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t sq __attribute__ ((packed)); ^ ../libcommon/definition.h:229:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t signal __attribute__ ((packed)); ^ ../libcommon/definition.h:230:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t noise __attribute__ ((packed)); ^ ../libcommon/definition.h:231:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t rate __attribute__ ((packed)); ^ ../libcommon/definition.h:232:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t istx __attribute__ ((packed)); ^ ../libcommon/definition.h:233:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t frmlen __attribute__ ((packed)); ^ ../libcommon/definition.h:247:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 silence __attribute__ ((packed)); ^ ../libcommon/definition.h:248:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 signal __attribute__ ((packed)); ^ ../libcommon/definition.h:249:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 rate __attribute__ ((packed)); ^ ../libcommon/definition.h:250:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 rxflow __attribute__ ((packed)); ^ ../libcommon/definition.h:263:3: warning: ‘packed’ attribute ignored for field of type ‘hfa384x_descript_t’ [-Wattributes] hfa384x_descript_t frame_descriptor __attribute__ ((packed)); ^ ../libcommon/definition.h:268:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac1[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:269:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac2[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:270:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac3[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:272:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac4[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:276:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 dst_addr[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:277:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 src_addr[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:279:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 crap[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:294:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac1[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:295:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac2[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:296:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac3[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:298:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac4[6] __attribute__ ((packed)); ^ gui_gen_protocol_scan.c: In function ‘print_proto_activity_overview_results’: gui_gen_protocol_scan.c:153:3: warning: pointer targets in passing argument 4 of ‘mvwprintw’ differ in signedness [-Wpointer-sign] mvwprintw(win, 4, 10, ap->ssid); ^ In file included from gui_gen_protocol_scan.c:33:0: /usr/include/curses.h:706:28: note: expected ‘const char *’ but argument is of type ‘__u8 *’ extern NCURSES_EXPORT(int) mvwprintw (WINDOW*,int,int, const char *,...) /* implemented */ ^ gui_gen_protocol_scan.c: In function ‘start_gen_proto_mon’: gui_gen_protocol_scan.c:440:18: warning: variable ‘tv_old’ set but not used [-Wunused-but-set-variable] struct timeval tv_old; ^ x86_64-pc-linux-gnu-gcc -I../libcommon -I../libncurses -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c gui_tcp_analysis_scan.c In file included from gui_tcp_analysis_scan.c:40:0: ../libcommon/definition.h:223:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[16]’ [-Wattributes] ../libcommon/definition.h:224:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:225:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:226:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:227:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:228:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:229:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:230:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:231:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:232:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:233:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:247:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:248:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:249:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:250:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] In file included from gui_tcp_analysis_scan.c:40:0: ../libcommon/definition.h:263:3: warning: ‘packed’ attribute ignored for field of type ‘hfa384x_descript_t’ [-Wattributes] ../libcommon/definition.h:268:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:269:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:270:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:272:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:276:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:277:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:279:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] In file included from gui_tcp_analysis_scan.c:40:0: ../libcommon/definition.h:294:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:295:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:296:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:298:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] gui_tcp_analysis_scan.c: In function ‘print_tcp_activity_overview_results’: gui_tcp_analysis_scan.c:167:3: warning: pointer targets in passing argument 4 of ‘mvwprintw’ differ in signedness [-Wpointer-sign] In file included from gui_tcp_analysis_scan.c:33:0: /usr/include/curses.h:706:12: note: expected ‘const char *’ but argument is of type ‘__u8 *’ extern NCURSES_EXPORT(int) printw (const char *,...) /* implemented */ ^ gui_tcp_analysis_scan.c: In function ‘start_tcp_analysis_mon’: gui_tcp_analysis_scan.c:632:18: warning: variable ‘tv_old’ set but not used [-Wunused-but-set-variable] x86_64-pc-linux-gnu-gcc -I../libcommon -I../libncurses -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c mon_ids.c In file included from mon_ids.c:37:0: ../libcommon/definition.h:223:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[16]’ [-Wattributes] __u8 devname[DEVNAME_LEN] __attribute__ ((packed)); ^ ../libcommon/definition.h:224:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t hosttime __attribute__ ((packed)); ^ ../libcommon/definition.h:225:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t mactime __attribute__ ((packed)); ^ ../libcommon/definition.h:226:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t channel __attribute__ ((packed)); ^ ../libcommon/definition.h:227:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t rssi __attribute__ ((packed)); ^ ../libcommon/definition.h:228:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t sq __attribute__ ((packed)); ^ ../libcommon/definition.h:229:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t signal __attribute__ ((packed)); ^ ../libcommon/definition.h:230:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t noise __attribute__ ((packed)); ^ ../libcommon/definition.h:231:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t rate __attribute__ ((packed)); ^ ../libcommon/definition.h:232:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t istx __attribute__ ((packed)); ^ ../libcommon/definition.h:233:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t frmlen __attribute__ ((packed)); ^ ../libcommon/definition.h:247:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 silence __attribute__ ((packed)); ^ ../libcommon/definition.h:248:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 signal __attribute__ ((packed)); ^ ../libcommon/definition.h:249:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 rate __attribute__ ((packed)); ^ ../libcommon/definition.h:250:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 rxflow __attribute__ ((packed)); ^ ../libcommon/definition.h:263:3: warning: ‘packed’ attribute ignored for field of type ‘hfa384x_descript_t’ [-Wattributes] hfa384x_descript_t frame_descriptor __attribute__ ((packed)); ^ ../libcommon/definition.h:268:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac1[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:269:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac2[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:270:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac3[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:272:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac4[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:276:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 dst_addr[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:277:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 src_addr[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:279:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 crap[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:294:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac1[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:295:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac2[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:296:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac3[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:298:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac4[6] __attribute__ ((packed)); ^ x86_64-pc-linux-gnu-gcc -I../libcommon -I../libncurses -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c packet_abstraction.c In file included from packet_abstraction.c:49:0: ../libcommon/definition.h:223:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[16]’ [-Wattributes] __u8 devname[DEVNAME_LEN] __attribute__ ((packed)); ^ ../libcommon/definition.h:224:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t hosttime __attribute__ ((packed)); ^ ../libcommon/definition.h:225:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t mactime __attribute__ ((packed)); ^ ../libcommon/definition.h:226:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t channel __attribute__ ((packed)); ^ ../libcommon/definition.h:227:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t rssi __attribute__ ((packed)); ^ ../libcommon/definition.h:228:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t sq __attribute__ ((packed)); ^ ../libcommon/definition.h:229:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t signal __attribute__ ((packed)); ^ ../libcommon/definition.h:230:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t noise __attribute__ ((packed)); ^ ../libcommon/definition.h:231:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t rate __attribute__ ((packed)); ^ ../libcommon/definition.h:232:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t istx __attribute__ ((packed)); ^ ../libcommon/definition.h:233:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t frmlen __attribute__ ((packed)); ^ ../libcommon/definition.h:247:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 silence __attribute__ ((packed)); ^ ../libcommon/definition.h:248:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 signal __attribute__ ((packed)); ^ ../libcommon/definition.h:249:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 rate __attribute__ ((packed)); ^ ../libcommon/definition.h:250:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 rxflow __attribute__ ((packed)); ^ ../libcommon/definition.h:263:3: warning: ‘packed’ attribute ignored for field of type ‘hfa384x_descript_t’ [-Wattributes] hfa384x_descript_t frame_descriptor __attribute__ ((packed)); ^ ../libcommon/definition.h:268:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac1[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:269:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac2[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:270:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac3[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:272:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac4[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:276:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 dst_addr[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:277:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 src_addr[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:279:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 crap[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:294:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac1[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:295:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac2[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:296:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac3[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:298:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac4[6] __attribute__ ((packed)); ^ packet_abstraction.c: In function ‘get_packet’: packet_abstraction.c:115:3: warning: pointer targets in passing argument 2 of ‘pkt_card_sock_read’ differ in signedness [-Wpointer-sign] recvlen = pkt_card_sock_read(mySettings->sniff_socket, msgbuf, MAX_BUFFER_SIZE, &ifinfo); ^ In file included from sniff_include.h:51:0, from packet_abstraction.c:50: ../libcommon/packet_card.h:42:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’ int pkt_card_sock_read (int, char *, int, struct sockaddr_ll*); ^ x86_64-pc-linux-gnu-gcc -I../libcommon -I../libncurses -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c p802_11b_parser.c In file included from p802_11b_parser.c:40:0: ../libcommon/definition.h:223:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[16]’ [-Wattributes] __u8 devname[DEVNAME_LEN] __attribute__ ((packed)); ^ ../libcommon/definition.h:224:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t hosttime __attribute__ ((packed)); ^ ../libcommon/definition.h:225:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t mactime __attribute__ ((packed)); ^ ../libcommon/definition.h:226:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t channel __attribute__ ((packed)); ^ ../libcommon/definition.h:227:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t rssi __attribute__ ((packed)); ^ ../libcommon/definition.h:228:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t sq __attribute__ ((packed)); ^ ../libcommon/definition.h:229:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t signal __attribute__ ((packed)); ^ ../libcommon/definition.h:230:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t noise __attribute__ ((packed)); ^ ../libcommon/definition.h:231:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t rate __attribute__ ((packed)); ^ ../libcommon/definition.h:232:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t istx __attribute__ ((packed)); ^ ../libcommon/definition.h:233:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] p80211item_t frmlen __attribute__ ((packed)); ^ ../libcommon/definition.h:247:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 silence __attribute__ ((packed)); ^ ../libcommon/definition.h:248:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 signal __attribute__ ((packed)); ^ ../libcommon/definition.h:249:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 rate __attribute__ ((packed)); ^ ../libcommon/definition.h:250:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] __u8 rxflow __attribute__ ((packed)); ^ ../libcommon/definition.h:263:3: warning: ‘packed’ attribute ignored for field of type ‘hfa384x_descript_t’ [-Wattributes] hfa384x_descript_t frame_descriptor __attribute__ ((packed)); ^ ../libcommon/definition.h:268:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac1[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:269:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac2[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:270:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac3[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:272:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac4[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:276:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 dst_addr[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:277:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 src_addr[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:279:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 crap[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:294:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac1[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:295:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac2[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:296:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac3[6] __attribute__ ((packed)); ^ ../libcommon/definition.h:298:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] __u8 mac4[6] __attribute__ ((packed)); ^ p802_11b_parser.c: In function ‘parse_ap_info’: p802_11b_parser.c:113:7: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] snprintf(info->ssid,temp_num,"%s",&packet[info_ptr]); ^ In file included from /usr/include/features.h:366:0, from /usr/include/stdio.h:27, from p802_11b_parser.c:33: /usr/include/bits/stdio2.h:61:1: note: expected ‘char * __restrict__’ but argument is of type ‘__u8 *’ __NTH (snprintf (char *__restrict __s, size_t __n, ^ x86_64-pc-linux-gnu-gcc -I../libcommon -I../libncurses -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c runtime.c In file included from runtime.c:52:0: ../libcommon/definition.h:223:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[16]’ [-Wattributes] ../libcommon/definition.h:224:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:225:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:226:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:227:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:228:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:229:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:230:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:231:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:232:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:233:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:247:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:248:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:249:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:250:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] In file included from runtime.c:52:0: ../libcommon/definition.h:263:3: warning: ‘packed’ attribute ignored for field of type ‘hfa384x_descript_t’ [-Wattributes] ../libcommon/definition.h:268:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:269:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:270:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:272:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:276:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:277:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:279:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] In file included from runtime.c:52:0: ../libcommon/definition.h:294:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:295:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:296:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:298:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] runtime.c: In function ‘airtraf_end’: runtime.c:200:5: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] In file included from /usr/include/stdio.h:936:0, from /usr/include/curses.h:164, from sniff_include.h:44, from runtime.c:53: /usr/include/bits/stdio2.h:31:42: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ runtime.c:201:5: warning: pointer targets in passing argument 2 of ‘write_log’ differ in signedness [-Wpointer-sign] In file included from sniff_include.h:50:0, from runtime.c:53: ../libcommon/logger.h:37:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’ x86_64-pc-linux-gnu-gcc -I../libcommon -I../libncurses -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c server.c In file included from server.c:44:0: ../libcommon/definition.h:223:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[16]’ [-Wattributes] ../libcommon/definition.h:224:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:225:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:226:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:227:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:228:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:229:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:230:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:231:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:232:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:233:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:247:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:248:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:249:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:250:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] In file included from server.c:44:0: ../libcommon/definition.h:263:3: warning: ‘packed’ attribute ignored for field of type ‘hfa384x_descript_t’ [-Wattributes] ../libcommon/definition.h:268:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:269:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:270:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:272:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:276:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:277:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:279:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] In file included from server.c:44:0: ../libcommon/definition.h:294:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:295:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:296:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:298:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] server.c: In function ‘server’: server.c:269:5: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] In file included from /usr/include/stdio.h:936:0, from server.c:33: /usr/include/bits/stdio2.h:31:42: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ server.c:270:5: warning: pointer targets in passing argument 2 of ‘write_log’ differ in signedness [-Wpointer-sign] In file included from sniff_include.h:50:0, from server.c:45: ../libcommon/logger.h:37:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’ server.c:293:8: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] In file included from /usr/include/stdio.h:936:0, from server.c:33: /usr/include/bits/stdio2.h:31:42: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ server.c:294:7: warning: pointer targets in passing argument 1 of ‘strncat’ differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:639:0, from server.c:36: /usr/include/bits/string3.h:147:42: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ __NTH (strncat (char *__restrict __dest, const char *__restrict __src, ^ server.c:294:7: warning: pointer targets in passing argument 2 of ‘strncat’ differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:639:0, from server.c:36: /usr/include/bits/string3.h:147:42: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ __NTH (strncat (char *__restrict __dest, const char *__restrict __src, ^ server.c:315:7: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] In file included from /usr/include/stdio.h:936:0, from server.c:33: /usr/include/bits/stdio2.h:31:42: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ server.c:316:7: warning: pointer targets in passing argument 1 of ‘strncat’ differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:639:0, from server.c:36: /usr/include/bits/string3.h:147:42: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’ __NTH (strncat (char *__restrict __dest, const char *__restrict __src, ^ server.c:316:7: warning: pointer targets in passing argument 2 of ‘strncat’ differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:639:0, from server.c:36: /usr/include/bits/string3.h:147:42: note: expected ‘const char * __restrict__’ but argument is of type ‘unsigned char *’ __NTH (strncat (char *__restrict __dest, const char *__restrict __src, ^ server.c:317:7: warning: pointer targets in passing argument 2 of ‘write_log’ differ in signedness [-Wpointer-sign] In file included from sniff_include.h:50:0, from server.c:45: ../libcommon/logger.h:37:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’ x86_64-pc-linux-gnu-gcc -I../libcommon -I../libncurses -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -c sniffer_engine.c In file included from sniffer_engine.c:51:0: ../libcommon/definition.h:223:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[16]’ [-Wattributes] ../libcommon/definition.h:224:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:225:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:226:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:227:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:228:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:229:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:230:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:231:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:232:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:233:3: warning: ‘packed’ attribute ignored for field of type ‘p80211item_t’ [-Wattributes] ../libcommon/definition.h:247:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:248:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:249:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] ../libcommon/definition.h:250:3: warning: ‘packed’ attribute ignored for field of type ‘__u8’ [-Wattributes] In file included from sniffer_engine.c:51:0: ../libcommon/definition.h:263:3: warning: ‘packed’ attribute ignored for field of type ‘hfa384x_descript_t’ [-Wattributes] ../libcommon/definition.h:268:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:269:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:270:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:272:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:276:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:277:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:279:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] In file included from sniffer_engine.c:51:0: ../libcommon/definition.h:294:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:295:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:296:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] ../libcommon/definition.h:298:3: warning: ‘packed’ attribute ignored for field of type ‘__u8[6]’ [-Wattributes] x86_64-pc-linux-gnu-gcc -o ../airtraf -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed airtraf.o autoconfig.o capture_engine.o channel_scan.o detailed_analysis.o detailed_scan.o gui_main.o gui_capture_utils.o gui_channel_scan.o gui_detailed_scan.o gui_gen_protocol_scan.o gui_tcp_analysis_scan.o mon_ids.o packet_abstraction.o p802_11b_parser.o runtime.o server.o sniffer_engine.o -L../libcommon -lairtraf -L../libncurses -lairgui -lpanel -lpthread -lm /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: gui_tcp_analysis_scan.o: undefined reference to symbol 'whline' /lib64/libncurses.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status distcc[368] ERROR: compile (null) on localhost failed Makefile:81: recipe for target '../airtraf' failed make[1]: *** [../airtraf] Error 1 make[1]: Leaving directory '/home/jer/portage/net-wireless/airtraf-1.1-r3/work/airtraf-1.1/src/sniffd' Makefile:143: recipe for target 'just_sniff' failed make: *** [just_sniff] Error 2 make: Leaving directory '/home/jer/portage/net-wireless/airtraf-1.1-r3/work/airtraf-1.1/src' [31;01m*[0m ERROR: net-wireless/airtraf-1.1-r3::gentoo failed (compile phase): [31;01m*[0m emake failed [31;01m*[0m [31;01m*[0m If you need support, post the output of `emerge --info '=net-wireless/airtraf-1.1-r3::gentoo'`, [31;01m*[0m the complete build log and the output of `emerge -pqv '=net-wireless/airtraf-1.1-r3::gentoo'`. [31;01m*[0m The complete build log is located at '/keeps/gentoo/emergelogs/wim/net-wireless:airtraf-1.1-r3:20150818-051931.log'. [31;01m*[0m For convenience, a symlink to the build log is located at '/home/jer/portage/net-wireless/airtraf-1.1-r3/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/home/jer/portage/net-wireless/airtraf-1.1-r3/temp/environment'. [31;01m*[0m Working directory: '/home/jer/portage/net-wireless/airtraf-1.1-r3/work/airtraf-1.1' [31;01m*[0m S: '/home/jer/portage/net-wireless/airtraf-1.1-r3/work/airtraf-1.1'