+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ipgrab-0.9.9nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ipgrab-0.9.9nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ipgrab-0.9.9nb1 /opt/pkg/bin/bmake all-recursive Making all in src if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT ah.o -MD -MP -MF ".deps/ah.Tpo" -c -o ah.o `test -f 'ah.c' || echo './'`ah.c; then mv -f ".deps/ah.Tpo" ".deps/ah.Po"; else rm -f ".deps/ah.Tpo"; exit 1; fi ah.c: In function 'dump_ah': ah.c:95:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 95 | display_minimal_string("| AH "); | ^~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ah.c:97:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 97 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ah.c:108:32: warning: pointer targets in passing argument 2 of 'display' differ in signedness [-Wpointer-sign] 108 | display("Next header", holder, strlen(holder), DISP_STRING); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:73:23: note: in expansion of macro 'u_int8_t' 73 | void display (char *, u_int8_t *, u_int32_t, display_t); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT arp.o -MD -MP -MF ".deps/arp.Tpo" -c -o arp.o `test -f 'arp.c' || echo './'`arp.c; then mv -f ".deps/arp.Tpo" ".deps/arp.Po"; else rm -f ".deps/arp.Tpo"; exit 1; fi arp.c: In function 'dump_etherarp': arp.c:92:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 92 | display_ipv4("Sender IP address", | ^~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ arp.c:96:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 96 | display_ipv4("Target IP address", | ^~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ arp.c: In function 'dump_arp': arp.c:162:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 162 | display_minimal_string("| ARP "); | ^~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ arp.c:167:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 167 | display_minimal_string(map2str(arp_opcode_map, arp.opcode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ arp.c:168:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 168 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT cbcp.o -MD -MP -MF ".deps/cbcp.Tpo" -c -o cbcp.o `test -f 'cbcp.c' || echo './'`cbcp.c; then mv -f ".deps/cbcp.Tpo" ".deps/cbcp.Po"; else rm -f ".deps/cbcp.Tpo"; exit 1; fi cbcp.c: In function 'dump_cbcp': cbcp.c:120:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 120 | display_minimal_string("| CBCP "); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ cbcp.c:121:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 121 | display_minimal_string(map2str(cbcp_code_map, cbcp.code)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ cbcp.c:122:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 122 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ cbcp.c:181:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 181 | display_minimal_string(", "); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ cbcp.c:183:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 183 | display_minimal_string("("); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ cbcp.c:193:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 193 | display_minimal_string(map2str(cbcp_option_map, type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ cbcp.c:218:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 218 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ cbcp.c:235:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 235 | display_minimal_string(")"); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT ccp.o -MD -MP -MF ".deps/ccp.Tpo" -c -o ccp.o `test -f 'ccp.c' || echo './'`ccp.c; then mv -f ".deps/ccp.Tpo" ".deps/ccp.Po"; else rm -f ".deps/ccp.Tpo"; exit 1; fi ccp.c: In function 'dump_ccp': ccp.c:150:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 150 | display_minimal_string("| CCP "); | ^~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ccp.c:151:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 151 | display_minimal_string(map2str(ccp_code_map, ccp.code)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ccp.c:152:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 152 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ccp.c:212:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 212 | display_minimal_string(", "); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ccp.c:214:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 214 | display_minimal_string("("); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ccp.c:224:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 224 | display_minimal_string(map2str(ccp_option_map, type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ccp.c:249:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 249 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ccp.c:266:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 266 | display_minimal_string(")"); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT chap.o -MD -MP -MF ".deps/chap.Tpo" -c -o chap.o `test -f 'chap.c' || echo './'`chap.c; then mv -f ".deps/chap.Tpo" ".deps/chap.Po"; else rm -f ".deps/chap.Tpo"; exit 1; fi chap.c: In function 'dump_chap': chap.c:98:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 98 | display_minimal_string("| CHAP "); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ chap.c:149:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 149 | display_minimal_string("challenge "); | ^~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ chap.c:151:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 151 | display_minimal_string("response "); | ^~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ chap.c:152:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 152 | display_minimal_string("("); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ chap.c:154:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 154 | display_minimal_string(", "); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ chap.c:156:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 156 | display_minimal_string(")"); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ chap.c:162:21: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 162 | display_string("Name", name); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ chap.c:191:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 191 | display_minimal_string("success "); | ^~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ chap.c:193:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 193 | display_minimal_string("failure "); | ^~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ chap.c:194:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 194 | display_minimal_string("("); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ chap.c:196:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 196 | display_minimal_string(")"); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ chap.c:200:21: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 200 | display_string("Message", message); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT datalink.o -MD -MP -MF ".deps/datalink.Tpo" -c -o datalink.o `test -f 'datalink.c' || echo './'`datalink.c; then mv -f ".deps/datalink.Tpo" ".deps/datalink.Po"; else rm -f ".deps/datalink.Tpo"; exit 1; fi datalink.c: In function 'datalink': datalink.c:169:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 169 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ datalink.c:174:33: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 174 | display_minimal_string(packet.timestamp); | ~~~~~~^~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ datalink.c:175:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 175 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT dhcp.o -MD -MP -MF ".deps/dhcp.Tpo" -c -o dhcp.o `test -f 'dhcp.c' || echo './'`dhcp.c; then mv -f ".deps/dhcp.Tpo" ".deps/dhcp.Po"; else rm -f ".deps/dhcp.Tpo"; exit 1; fi dhcp.c: In function 'dump_dhcp': dhcp.c:164:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 164 | display_minimal_string(map2str(dhcp_op_map, dhcp.op)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ dhcp.c:165:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 165 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ dhcp.c:186:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 186 | display_ipv4("Client addr", (u_int8_t *) &dhcp.ciaddr); | ^~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ dhcp.c:187:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 187 | display_ipv4("Your addr", (u_int8_t *) &dhcp.yiaddr); | ^~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ dhcp.c:188:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 188 | display_ipv4("Next server addr", (u_int8_t *) &dhcp.siaddr); | ^~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ dhcp.c:189:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 189 | display_ipv4("Relay agent addr", (u_int8_t *) &dhcp.giaddr); | ^~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ dhcp.c:267:19: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 267 | display_ipv4(" Mask", (u_int8_t *) holder); | ^~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ dhcp.c:288:16: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 288 | display_ipv4(" Address", (u_int8_t *) holder); | ^~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ dhcp.c:340:21: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 340 | display_string("Node type", holder); | ^~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ dhcp.c:340:34: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 340 | display_string("Node type", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ dhcp.c:347:19: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 347 | display_ipv4(" Address", (u_int8_t *) holder); | ^~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ dhcp.c:351:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 351 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ dhcp.c:371:23: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 371 | display_string(" Message type", holder); | ^~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ dhcp.c:371:41: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 371 | display_string(" Message type", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ dhcp.c:374:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 374 | display_minimal_string(map2str(dhcp_msgtype_map, msg_type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ dhcp.c:375:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 375 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ dhcp.c:384:19: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 384 | display_ipv4(" Address", (u_int8_t *) holder); | ^~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ dhcp.c:398:20: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 398 | display_string(" Option", holder); | ^~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ dhcp.c:398:32: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 398 | display_string(" Option", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ dhcp.c:453:23: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 453 | display_string(" Hardware type", (u_int8_t *) holder); | ^~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT display.o -MD -MP -MF ".deps/display.Tpo" -c -o display.o `test -f 'display.c' || echo './'`display.c; then mv -f ".deps/display.Tpo" ".deps/display.Po"; else rm -f ".deps/display.Tpo"; exit 1; fi display.c: In function 'display_minimal': display.c:355:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 355 | len = strlen(ptr); | ^~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/sys/socket_impl.h:56, from /usr/include/netinet/in.h:44, from global.h:40, from display.h:29, from display.c:26: /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ display.c:367:24: warning: pointer targets in passing argument 1 of 'isprint_str' differ in signedness [-Wpointer-sign] 367 | if (!isprint_str(ptr, len)) | ^~~ | | | uint8_t * {aka unsigned char *} In file included from display.h:31, from display.c:26: utilities.h:32:20: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 32 | int isprint_str(char *, int); | ^~~~~~ display.c:219:20: warning: variable 'ip_holder' set but not used [-Wunused-but-set-variable] 219 | struct in_addr * ip_holder; | ^~~~~~~~~ display.c: In function 'display_minimal_string': display.c:408:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 408 | display_minimal(content, strlen(content), DISP_STRING); | ^~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/sys/socket_impl.h:56, from /usr/include/netinet/in.h:44, from global.h:40, from display.h:29, from display.c:26: /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ display.c: In function 'display_string': display.c:423:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 423 | display(label, content, strlen(content), DISP_STRING_MULTILINE); | ^~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/sys/socket_impl.h:56, from /usr/include/netinet/in.h:44, from global.h:40, from display.h:29, from display.c:26: /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ display.c:423:11: warning: pointer targets in passing argument 1 of 'display' differ in signedness [-Wpointer-sign] 423 | display(label, content, strlen(content), DISP_STRING_MULTILINE); | ^~~~~ | | | uint8_t * {aka unsigned char *} display.c:158:28: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 158 | inline void display(char * label, u_int8_t * content, u_int32_t length, | ~~~~~~~^~~~~ display.c: In function 'display_strmap': display.c:442:18: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 442 | display_string(label, holder); | ^~~~~ | | | char * display.c:421:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 421 | inline void display_string(u_int8_t * label, u_int8_t * content) display.c:442:25: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 442 | display_string(label, holder); | ^~~~~~ | | | char * display.c:421:57: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 421 | inline void display_string(u_int8_t * label, u_int8_t * content) display.c: In function 'display_strmap_hex': display.c:462:18: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 462 | display_string(label, holder); | ^~~~~ | | | char * display.c:421:39: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 421 | inline void display_string(u_int8_t * label, u_int8_t * content) display.c:462:25: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 462 | display_string(label, holder); | ^~~~~~ | | | char * display.c:421:57: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 421 | inline void display_string(u_int8_t * label, u_int8_t * content) display.c: In function 'display_ipv4': display.c:477:11: warning: pointer targets in passing argument 1 of 'display' differ in signedness [-Wpointer-sign] 477 | display(label, addr, 4, DISP_DOTTEDDEC); | ^~~~~ | | | uint8_t * {aka unsigned char *} display.c:158:28: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 158 | inline void display(char * label, u_int8_t * content, u_int32_t length, | ~~~~~~~^~~~~ display.c: In function 'display_ipv6': display.c:492:11: warning: pointer targets in passing argument 1 of 'display' differ in signedness [-Wpointer-sign] 492 | display(label, addr, 16, DISP_HEXCOLONS4); | ^~~~~ | | | uint8_t * {aka unsigned char *} display.c:158:28: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 158 | inline void display(char * label, u_int8_t * content, u_int32_t length, | ~~~~~~~^~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT dns.o -MD -MP -MF ".deps/dns.Tpo" -c -o dns.o `test -f 'dns.c' || echo './'`dns.c; then mv -f ".deps/dns.Tpo" ".deps/dns.Po"; else rm -f ".deps/dns.Tpo"; exit 1; fi dns.c: In function 'dump_dns_questions': dns.c:145:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 145 | display_minimal_string(holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ dns.c:146:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 146 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ dns.c:150:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 150 | display_string("Query", holder); | ^~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ dns.c:150:28: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 150 | display_string("Query", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ dns.c:153:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 153 | display_string(" Query type", holder); | ^~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ dns.c:153:35: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 153 | display_string(" Query type", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ dns.c:156:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 156 | display_string(" Query class", holder); | ^~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ dns.c:156:36: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 156 | display_string(" Query class", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ dns.c: In function 'dump_dns_answers': dns.c:219:25: warning: pointer targets in passing argument 2 of 'parse_ns_labels' differ in signedness [-Wpointer-sign] 219 | parse_ns_labels(pkt, resource_data); | ^~~~~~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from dns.c:27: ns_labels.h:54:34: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 54 | void parse_ns_labels(packet_t *, char *); | ^~~~~~ dns.c:240:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 240 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ dns.c:246:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 246 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ dns.c:251:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 251 | display_string(answer_type, holder); | ^~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ dns.c:251:32: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 251 | display_string(answer_type, holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ dns.c:254:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 254 | display_string(" Query type", holder); | ^~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ dns.c:254:35: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 254 | display_string(" Query type", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ dns.c:257:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 257 | display_string(" Query class", holder); | ^~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ dns.c:257:36: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 257 | display_string(" Query class", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ dns.c:264:21: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 264 | display_ipv4(" Resource data", (u_int8_t *) resource_data); | ^~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ dns.c:268:21: warning: pointer targets in passing argument 1 of 'display_ipv6' differ in signedness [-Wpointer-sign] 268 | display_ipv6(" Resource data", (u_int8_t *) resource_data); | ^~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:78:20: note: in expansion of macro 'u_int8_t' 78 | void display_ipv6 (u_int8_t *, u_int8_t *); | ^~~~~~~~ dns.c:275:23: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 275 | display_string(" Resource data", resource_data); | ^~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ dns.c: In function 'dump_dns': dns.c:351:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 351 | display_minimal_string("| DNS "); | ^~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ dns.c:352:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 352 | display_minimal_string(map2str(dns_qrflag_map, f_qr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ dns.c:353:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 353 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ dns.c:366:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 366 | display_string("Flag query/response", holder); | ^~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ dns.c:366:45: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 366 | display_string("Flag query/response", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ dns.c:369:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 369 | display_string("Flag opcode", holder); | ^~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ dns.c:369:37: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 369 | display_string("Flag opcode", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ dns.c:377:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 377 | display_string("Flag return code", holder); | ^~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ dns.c:377:42: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 377 | display_string("Flag return code", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ dns.c:301:40: warning: variable 'f_rd' set but not used [-Wunused-but-set-variable] 301 | u_int8_t f_qr, f_opcode, f_aa, f_tc, f_rd, f_ra, f_zero, f_rcode; | ^~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT dynports.o -MD -MP -MF ".deps/dynports.Tpo" -c -o dynports.o `test -f 'dynports.c' || echo './'`dynports.c; then mv -f ".deps/dynports.Tpo" ".deps/dynports.Po"; else rm -f ".deps/dynports.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT error.o -MD -MP -MF ".deps/error.Tpo" -c -o error.o `test -f 'error.c' || echo './'`error.c; then mv -f ".deps/error.Tpo" ".deps/error.Po"; else rm -f ".deps/error.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT esp.o -MD -MP -MF ".deps/esp.Tpo" -c -o esp.o `test -f 'esp.c' || echo './'`esp.c; then mv -f ".deps/esp.Tpo" ".deps/esp.Po"; else rm -f ".deps/esp.Tpo"; exit 1; fi esp.c: In function 'dump_esp': esp.c:79:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 79 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT ethernet.o -MD -MP -MF ".deps/ethernet.Tpo" -c -o ethernet.o `test -f 'ethernet.c' || echo './'`ethernet.c; then mv -f ".deps/ethernet.Tpo" ".deps/ethernet.Po"; else rm -f ".deps/ethernet.Tpo"; exit 1; fi ethernet.c: In function 'dump_ethernet': ethernet.c:72:25: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 72 | display_minimal_string("ETH "); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ethernet.c:74:25: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 74 | display_minimal_string("| ETH "); | ^~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ethernet.c:76:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 76 | display_minimal_string("->"); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ethernet.c:78:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 78 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ethernet.c:105:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 105 | display_minimal_string("("); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ethernet.c:107:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 107 | display_minimal_string(") "); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ethernet.c:131:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 131 | display_minimal_string("("); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ethernet.c:133:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 133 | display_minimal_string(") "); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT ethertypes.o -MD -MP -MF ".deps/ethertypes.Tpo" -c -o ethertypes.o `test -f 'ethertypes.c' || echo './'`ethertypes.c; then mv -f ".deps/ethertypes.Tpo" ".deps/ethertypes.Po"; else rm -f ".deps/ethertypes.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT file.o -MD -MP -MF ".deps/file.Tpo" -c -o file.o `test -f 'file.c' || echo './'`file.c; then mv -f ".deps/file.Tpo" ".deps/file.Po"; else rm -f ".deps/file.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT ftpctrl.o -MD -MP -MF ".deps/ftpctrl.Tpo" -c -o ftpctrl.o `test -f 'ftpctrl.c' || echo './'`ftpctrl.c; then mv -f ".deps/ftpctrl.Tpo" ".deps/ftpctrl.Po"; else rm -f ".deps/ftpctrl.Tpo"; exit 1; fi ftpctrl.c: In function 'dump_ftpctrl': ftpctrl.c:61:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 61 | ptr = payload + strlen(payload); | ^~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/sys/socket_impl.h:56, from /usr/include/netinet/in.h:44, from global.h:40, from ftpctrl.h:29, from ftpctrl.c:26: /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ ftpctrl.c:91:27: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 91 | strncpy(replycode_str, payload, 3); | ^~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:34, from global.h:44, from ftpctrl.h:29, from ftpctrl.c:26: /usr/include/iso/string_iso.h:82:44: note: expected 'const char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 82 | extern char *strncpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, size_t); | ^ ftpctrl.c:97:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 97 | display_minimal_string("FTP control "); | ^~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ftpctrl.c:98:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 98 | display_minimal_string(replycode_str); | ^~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ftpctrl.c:104:23: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 104 | display_string("Reply code", replycode_str); | ^~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ ftpctrl.c:104:37: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 104 | display_string("Reply code", replycode_str); | ^~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ ftpctrl.c:105:23: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 105 | display_string("Reply", payload+4); | ^~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ ftpctrl.c:89:8: warning: variable 'replycode' set but not used [-Wunused-but-set-variable] 89 | int replycode; | ^~~~~~~~~ ftpctrl.c:113:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 113 | display_minimal_string("FTP control "); | ^~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ftpctrl.c:119:23: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 119 | display_string("Reply", payload); | ^~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ ftpctrl.c:130:20: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 130 | ptr = strchr(payload, ' '); | ^~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:34, from global.h:44, from ftpctrl.h:29, from ftpctrl.c:26: /usr/include/iso/string_iso.h:140:21: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 140 | extern char *strchr(const char *, int); | ^~~~~~~~~~~~ ftpctrl.c:130:11: warning: pointer targets in assignment from 'char *' to 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 130 | ptr = strchr(payload, ' '); | ^ ftpctrl.c:134:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 134 | ptr = payload + strlen(payload); | ^~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/sys/socket_impl.h:56, from /usr/include/netinet/in.h:44, from global.h:40, from ftpctrl.h:29, from ftpctrl.c:26: /usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 76 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ ftpctrl.c:141:12: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 141 | strncpy(requestcode_str, payload, ptr - payload); | ^~~~~~~~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:34, from global.h:44, from ftpctrl.h:29, from ftpctrl.c:26: /usr/include/iso/string_iso.h:82:22: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 82 | extern char *strncpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, size_t); | ^ ftpctrl.c:141:29: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 141 | strncpy(requestcode_str, payload, ptr - payload); | ^~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:34, from global.h:44, from ftpctrl.h:29, from ftpctrl.c:26: /usr/include/iso/string_iso.h:82:44: note: expected 'const char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 82 | extern char *strncpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, size_t); | ^ ftpctrl.c:147:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 147 | display_minimal_string("FTP control "); | ^~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ftpctrl.c:149:34: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 149 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ftpctrl.c:155:26: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 155 | display_string("Request code", requestcode_str); | ^~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ ftpctrl.c:157:21: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 157 | display_string("Request", ptr+1); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" -c -o getopt.o `test -f 'getopt.c' || echo './'`getopt.c; then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f ".deps/getopt.Tpo"; exit 1; fi In file included from getopt.c:34: getopt.h:136:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 136 | extern int getopt (); | ^~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT gre.o -MD -MP -MF ".deps/gre.Tpo" -c -o gre.o `test -f 'gre.c' || echo './'`gre.c; then mv -f ".deps/gre.Tpo" ".deps/gre.Po"; else rm -f ".deps/gre.Tpo"; exit 1; fi gre.c: In function 'dump_gre': gre.c:86:33: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 86 | reserved = (gre0.reserved_high << 5) || gre0.reserved_low; | ~~~~~~~~~~~~~~~~~~~~^~~~~ gre.c:112:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 112 | display_minimal_string("| GRE v0 "); | ^~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ gre.c:181:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 181 | display_minimal_string("| GRE v0 "); | ^~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ gre.c:183:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 183 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ gre.c:318:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 318 | display_minimal_string("| GREv1 "); | ^~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ gre.c:354:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 354 | display_minimal_string("seq "); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ gre.c:356:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 356 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ gre.c:371:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 371 | display_minimal_string("ack "); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ gre.c:373:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 373 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ gre.c:401:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 401 | display_minimal_string("("); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ gre.c:403:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 403 | display_minimal_string(") "); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT hexbuffer.o -MD -MP -MF ".deps/hexbuffer.Tpo" -c -o hexbuffer.o `test -f 'hexbuffer.c' || echo './'`hexbuffer.c; then mv -f ".deps/hexbuffer.Tpo" ".deps/hexbuffer.Po"; else rm -f ".deps/hexbuffer.Tpo"; exit 1; fi hexbuffer.c: In function 'hexbuffer_flush': hexbuffer.c:134:35: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 134 | snprintf(temp_hexbuf+(i*3), TEMPBUFFER_SIZE-1,"%.2X ", | ~~~~~~~~~~~^~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/stdio.h:151, from global.h:29, from hexbuffer.h:32, from hexbuffer.c:26: /usr/include/iso/stdio_c99.h:82:21: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD, | ^ hexbuffer.c:138:40: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 138 | snprintf(temp_charbuf+i+col, TEMPBUFFER_SIZE-1, "%c", | ~~~~~~~~~~~~~~^~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/stdio.h:151, from global.h:29, from hexbuffer.h:32, from hexbuffer.c:26: /usr/include/iso/stdio_c99.h:82:21: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD, | ^ hexbuffer.c:141:40: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 141 | snprintf(temp_charbuf+i+col, TEMPBUFFER_SIZE-1, "."); | ~~~~~~~~~~~~~~^~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/stdio.h:151, from global.h:29, from hexbuffer.h:32, from hexbuffer.c:26: /usr/include/iso/stdio_c99.h:82:21: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD, | ^ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT http.o -MD -MP -MF ".deps/http.Tpo" -c -o http.o `test -f 'http.c' || echo './'`http.c; then mv -f ".deps/http.Tpo" ".deps/http.Po"; else rm -f ".deps/http.Tpo"; exit 1; fi http.c: In function 'dump_http': http.c:65:29: warning: pointer targets in passing argument 1 of 'get_packet_line' differ in signedness [-Wpointer-sign] 65 | len = get_packet_line(line, LINE_SIZE, pkt); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' packet_manip.h:73:27: note: in expansion of macro 'u_int8_t' 73 | int get_packet_line(u_int8_t *, u_int32_t, packet_t *); | ^~~~~~~~ http.c:81:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 81 | display_minimal_string(line); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ http.c:98:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 98 | display_string("Header", line); | ^~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ http.c:98:32: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 98 | display_string("Header", line); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT iana.o -MD -MP -MF ".deps/iana.Tpo" -c -o iana.o `test -f 'iana.c' || echo './'`iana.c; then mv -f ".deps/iana.Tpo" ".deps/iana.Po"; else rm -f ".deps/iana.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT icmp.o -MD -MP -MF ".deps/icmp.Tpo" -c -o icmp.o `test -f 'icmp.c' || echo './'`icmp.c; then mv -f ".deps/icmp.Tpo" ".deps/icmp.Po"; else rm -f ".deps/icmp.Tpo"; exit 1; fi icmp.c: In function 'dump_icmp_echo': icmp.c:154:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 154 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ icmp.c: In function 'dump_icmp_mask': icmp.c:193:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 193 | display_ipv4("Mask", (u_int8_t *) &mask.mask); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ icmp.c: In function 'dump_icmp_routeradvert': icmp.c:256:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 256 | display_minimal_string("("); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ icmp.c:258:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 258 | display_minimal_string(") "); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ icmp.c:262:17: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 262 | display_ipv4("Address", (u_int8_t *) &addr); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ icmp.c: In function 'dump_icmp': icmp.c:301:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 301 | display_minimal_string("| ICMP "); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ icmp.c:302:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 302 | display_minimal_string(map2str(icmp_type_map, icmp.type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ icmp.c:303:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 303 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ icmp.c:307:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 307 | display_minimal_string(map2str(icmp_du_map, icmp.code)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ icmp.c:311:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 311 | display_minimal_string(map2str(icmp_timeexceeded_map, icmp.code)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT icmpv6.o -MD -MP -MF ".deps/icmpv6.Tpo" -c -o icmpv6.o `test -f 'icmpv6.c' || echo './'`icmpv6.c; then mv -f ".deps/icmpv6.Tpo" ".deps/icmpv6.Po"; else rm -f ".deps/icmpv6.Tpo"; exit 1; fi icmpv6.c: In function 'dump_icmpv6': icmpv6.c:114:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 114 | display_minimal_string("| ICMPv6 "); | ^~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ icmpv6.c:115:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 115 | display_minimal_string(map2str(icmpv6_type_map, icmpv6.type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ icmpv6.c:116:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 116 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ icmpv6.c:126:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 126 | display_string("Type", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ icmpv6.c:126:30: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 126 | display_string("Type", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ icmpv6.c:134:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 134 | display_string("Code", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ icmpv6.c:134:27: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 134 | display_string("Code", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ icmpv6.c:212:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 212 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ icmpv6.c:215:15: warning: pointer targets in passing argument 1 of 'display_ipv6' differ in signedness [-Wpointer-sign] 215 | display_ipv6("Address", (u_int8_t *) &v6addr); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:78:20: note: in expansion of macro 'u_int8_t' 78 | void display_ipv6 (u_int8_t *, u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT igmp.o -MD -MP -MF ".deps/igmp.Tpo" -c -o igmp.o `test -f 'igmp.c' || echo './'`igmp.c; then mv -f ".deps/igmp.Tpo" ".deps/igmp.Po"; else rm -f ".deps/igmp.Tpo"; exit 1; fi igmp.c: In function 'dump_igmp': igmp.c:91:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 91 | display_minimal_string("| IGMP "); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ igmp.c:92:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 92 | display_minimal_string(map2str(igmp_type_map, igmp.type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ igmp.c:93:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 93 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ igmp.c:103:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 103 | display_string("Type", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ igmp.c:103:30: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 103 | display_string("Type", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ igmp.c:113:15: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 113 | display_ipv4("Group address", (u_int8_t *) &igmp.address); | ^~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT ip.o -MD -MP -MF ".deps/ip.Tpo" -c -o ip.o `test -f 'ip.c' || echo './'`ip.c; then mv -f ".deps/ip.Tpo" ".deps/ip.Po"; else rm -f ".deps/ip.Tpo"; exit 1; fi ip.c: In function 'dump_ip': ip.c:127:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 127 | display_minimal_string("| IP "); | ^~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ip.c:129:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 129 | display_minimal_string("->"); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ip.c:132:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 132 | display_minimal_string(" (len:"); | ^~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ip.c:134:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 134 | display_minimal_string(",id:"); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ip.c:137:25: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 137 | display_minimal_string(",DF"); | ^~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ip.c:139:25: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 139 | display_minimal_string(",MF"); | ^~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ip.c:140:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 140 | display_minimal_string(",frag:"); | ^~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ip.c:142:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 142 | display_minimal_string(") "); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ip.c:153:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 153 | sprintf(holder, "%d (%d bytes)", hlen, hlen*4); | ^~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/stdio.h:82, from global.h:29, from ip.c:26: /usr/include/iso/stdio_iso.h:212:20: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 212 | extern int sprintf(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, ...); | ^ ip.c:154:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 154 | display_string("Header length", holder); | ^~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ ip.c:161:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 161 | sprintf(holder, "%d (%d bytes)", frag_off, frag_off*8); | ^~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/stdio.h:82, from global.h:29, from ip.c:26: /usr/include/iso/stdio_iso.h:212:20: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 212 | extern int sprintf(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, ...); | ^ ip.c:162:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 162 | display_string("Fragmentation offset", holder); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ ip.c:176:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 176 | display_ipv4("Source address", (u_int8_t *) &ip.src); | ^~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ ip.c:177:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 177 | display_ipv4("Destination address", (u_int8_t *) &ip.dst); | ^~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ ip.c: In function 'dump_ip_recordroute': ip.c:237:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 237 | display_ipv4(" Address", (u_int8_t *) &addr); | ^~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ ip.c: In function 'dump_ip_options': ip.c:275:17: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 275 | display_string("IP option code", holder); | ^~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ ip.c:275:35: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 275 | display_string("IP option code", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ ip.c:278:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 278 | display_minimal_string(holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ip.c:279:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 279 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ip.c:315:24: warning: pointer targets in passing argument 1 of 'dump_ip_recordroute' differ in signedness [-Wpointer-sign] 315 | dump_ip_recordroute(holder, opt.length-2); | ^~~~~~ | | | char * ip.c:214:37: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 214 | void dump_ip_recordroute(u_int8_t * rr, u_int8_t len) if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT ip_protocols.o -MD -MP -MF ".deps/ip_protocols.Tpo" -c -o ip_protocols.o `test -f 'ip_protocols.c' || echo './'`ip_protocols.c; then mv -f ".deps/ip_protocols.Tpo" ".deps/ip_protocols.Po"; else rm -f ".deps/ip_protocols.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT ip_services.o -MD -MP -MF ".deps/ip_services.Tpo" -c -o ip_services.o `test -f 'ip_services.c' || echo './'`ip_services.c; then mv -f ".deps/ip_services.Tpo" ".deps/ip_services.Po"; else rm -f ".deps/ip_services.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT ipcp.o -MD -MP -MF ".deps/ipcp.Tpo" -c -o ipcp.o `test -f 'ipcp.c' || echo './'`ipcp.c; then mv -f ".deps/ipcp.Tpo" ".deps/ipcp.Po"; else rm -f ".deps/ipcp.Tpo"; exit 1; fi ipcp.c: In function 'dump_ipcp': ipcp.c:152:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 152 | display_minimal_string("| IPCP "); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ipcp.c:153:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 153 | display_minimal_string(map2str(ipcp_code_map, ipcp.code)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ipcp.c:154:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 154 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ipcp.c:214:46: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 214 | display_minimal_string(", "); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ipcp.c:216:46: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 216 | display_minimal_string("("); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ipcp.c:226:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 226 | display_minimal_string(map2str(ipcp_option_map, type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ipcp.c:263:33: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 263 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ipcp.c:264:33: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 264 | display_minimal_string(map2str | ^~~~~~~ | | | char * 265 | (ipcp_comp_map, | ~~~~~~~~~~~~~~~ 266 | comp_type)); | ~~~~~~~~~~ <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ipcp.c:292:33: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 292 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ipcp.c:296:21: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 296 | display_ipv4("IP address", (u_int8_t *) &value); | ^~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ ipcp.c:309:38: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 309 | display_minimal_string(")"); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT ipgrab.o -MD -MP -MF ".deps/ipgrab.Tpo" -c -o ipgrab.o `test -f 'ipgrab.c' || echo './'`ipgrab.c; then mv -f ".deps/ipgrab.Tpo" ".deps/ipgrab.Po"; else rm -f ".deps/ipgrab.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT ipv6.o -MD -MP -MF ".deps/ipv6.Tpo" -c -o ipv6.o `test -f 'ipv6.c' || echo './'`ipv6.c; then mv -f ".deps/ipv6.Tpo" ".deps/ipv6.Po"; else rm -f ".deps/ipv6.Tpo"; exit 1; fi ipv6.c: In function 'dump_ipv6': ipv6.c:111:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 111 | display_minimal_string("| IPv6 "); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ipv6.c:113:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 113 | display_minimal_string("->"); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ipv6.c:115:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 115 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ipv6.c:130:30: warning: pointer targets in passing argument 2 of 'display' differ in signedness [-Wpointer-sign] 130 | display("Next header", holder, strlen(holder), DISP_STRING); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:73:23: note: in expansion of macro 'u_int8_t' 73 | void display (char *, u_int8_t *, u_int32_t, display_t); | ^~~~~~~~ ipv6.c:132:20: warning: pointer targets in passing argument 1 of 'display_ipv6' differ in signedness [-Wpointer-sign] 132 | display_ipv6("Source address",(u_int8_t *) &ipv6.src_addr); | ^~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:78:20: note: in expansion of macro 'u_int8_t' 78 | void display_ipv6 (u_int8_t *, u_int8_t *); | ^~~~~~~~ ipv6.c:133:20: warning: pointer targets in passing argument 1 of 'display_ipv6' differ in signedness [-Wpointer-sign] 133 | display_ipv6("Destination address",(u_int8_t *) &ipv6.dst_addr); | ^~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:78:20: note: in expansion of macro 'u_int8_t' 78 | void display_ipv6 (u_int8_t *, u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT ipx.o -MD -MP -MF ".deps/ipx.Tpo" -c -o ipx.o `test -f 'ipx.c' || echo './'`ipx.c; then mv -f ".deps/ipx.Tpo" ".deps/ipx.Po"; else rm -f ".deps/ipx.Tpo"; exit 1; fi ipx.c: In function 'dump_ipx': ipx.c:98:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 98 | display_minimal_string("| IPX "); | ^~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ipx.c:100:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 100 | display_minimal_string("->"); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ipx.c:102:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 102 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT ipxrip.o -MD -MP -MF ".deps/ipxrip.Tpo" -c -o ipxrip.o `test -f 'ipxrip.c' || echo './'`ipxrip.c; then mv -f ".deps/ipxrip.Tpo" ".deps/ipxrip.Po"; else rm -f ".deps/ipxrip.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT isakmp.o -MD -MP -MF ".deps/isakmp.Tpo" -c -o isakmp.o `test -f 'isakmp.c' || echo './'`isakmp.c; then mv -f ".deps/isakmp.Tpo" ".deps/isakmp.Po"; else rm -f ".deps/isakmp.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT l2tp.o -MD -MP -MF ".deps/l2tp.Tpo" -c -o l2tp.o `test -f 'l2tp.c' || echo './'`l2tp.c; then mv -f ".deps/l2tp.Tpo" ".deps/l2tp.Po"; else rm -f ".deps/l2tp.Tpo"; exit 1; fi l2tp.c: In function 'dump_l2tp_avp': l2tp.c:337:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 337 | display_minimal_string(map2str(l2tp_ctrl_map, attr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ l2tp.c:338:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 338 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ l2tp.c:364:23: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 364 | display_string(" Name", attribute); | ^~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ l2tp.c: In function 'dump_l2tp': l2tp.c:477:25: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 477 | display_minimal_string("| L2TP control "); | ^~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ l2tp.c:479:25: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 479 | display_minimal_string("| L2TP data "); | ^~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ l2tp.c:535:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 535 | display_minimal_string("tunnel "); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ l2tp.c:537:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 537 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ l2tp.c:538:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 538 | display_minimal_string("session "); | ^~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ l2tp.c:540:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 540 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT layers.o -MD -MP -MF ".deps/layers.Tpo" -c -o layers.o `test -f 'layers.c' || echo './'`layers.c; then mv -f ".deps/layers.Tpo" ".deps/layers.Po"; else rm -f ".deps/layers.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT lcp.o -MD -MP -MF ".deps/lcp.Tpo" -c -o lcp.o `test -f 'lcp.c' || echo './'`lcp.c; then mv -f ".deps/lcp.Tpo" ".deps/lcp.Po"; else rm -f ".deps/lcp.Tpo"; exit 1; fi lcp.c: In function 'dump_lcp': lcp.c:188:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 188 | display_minimal_string("| LCP "); | ^~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ lcp.c:189:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 189 | display_minimal_string(map2str(lcp_code_map, lcp.code)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ lcp.c:190:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 190 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ lcp.c:250:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 250 | display_minimal_string(", "); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ lcp.c:252:32: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 252 | display_minimal_string("("); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ lcp.c:262:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 262 | display_minimal_string(map2str(lcp_option_map, type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ lcp.c:287:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 287 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ lcp.c:304:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 304 | display_minimal_string(")"); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ lcp.c:361:26: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 361 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ lcp.c:387:23: warning: pointer targets in passing argument 1 of 'isprint_str' differ in signedness [-Wpointer-sign] 387 | if (isprint_str(data, data_len)) | ^~~~ | | | uint8_t * {aka unsigned char *} In file included from display.h:31, from local.h:30, from lcp.h:30, from lcp.c:26: utilities.h:32:20: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 32 | int isprint_str(char *, int); | ^~~~~~ lcp.c:388:24: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 388 | display_string("Data", data); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT llc.o -MD -MP -MF ".deps/llc.Tpo" -c -o llc.o `test -f 'llc.c' || echo './'`llc.c; then mv -f ".deps/llc.Tpo" ".deps/llc.Po"; else rm -f ".deps/llc.Tpo"; exit 1; fi llc.c: In function 'dump_llc': llc.c:63:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 63 | display_minimal_string("| LLC "); | ^~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ llc.c:65:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 65 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ llc.c:67:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 67 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ llc.c:94:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 94 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ llc.c:138:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 138 | display_minimal_string("SNAP "); | ^~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ llc.c:140:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 140 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT loopback.o -MD -MP -MF ".deps/loopback.Tpo" -c -o loopback.o `test -f 'loopback.c' || echo './'`loopback.c; then mv -f ".deps/loopback.Tpo" ".deps/loopback.Po"; else rm -f ".deps/loopback.Tpo"; exit 1; fi loopback.c: In function 'dump_loopback': loopback.c:60:25: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 60 | display_minimal_string("LOOPBACK "); | ^~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ loopback.c:62:25: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 62 | display_minimal_string("| LOOPBACK "); | ^~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT mgcp.o -MD -MP -MF ".deps/mgcp.Tpo" -c -o mgcp.o `test -f 'mgcp.c' || echo './'`mgcp.c; then mv -f ".deps/mgcp.Tpo" ".deps/mgcp.Po"; else rm -f ".deps/mgcp.Tpo"; exit 1; fi mgcp.c: In function 'is_mgcp': mgcp.c:47:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 47 | if ( !strncmp(pkt->current,"EPCF",4) ) return 1; | ~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:34, from global.h:44, from mgcp.h:28, from mgcp.c:27: /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ mgcp.c:48:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 48 | if ( !strncmp(pkt->current,"RQNT",4) ) return 1; | ~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:34, from global.h:44, from mgcp.h:28, from mgcp.c:27: /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ mgcp.c:49:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 49 | if ( !strncmp(pkt->current,"NTFY",4) ) return 1; | ~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:34, from global.h:44, from mgcp.h:28, from mgcp.c:27: /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ mgcp.c:50:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 50 | if ( !strncmp(pkt->current,"CRCX",4) ) return 1; | ~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:34, from global.h:44, from mgcp.h:28, from mgcp.c:27: /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ mgcp.c:51:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 51 | if ( !strncmp(pkt->current,"MDCX",4) ) return 1; | ~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:34, from global.h:44, from mgcp.h:28, from mgcp.c:27: /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ mgcp.c:52:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 52 | if ( !strncmp(pkt->current,"DLCX",4) ) return 1; | ~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:34, from global.h:44, from mgcp.h:28, from mgcp.c:27: /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ mgcp.c:53:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 53 | if ( !strncmp(pkt->current,"AUEP",4) ) return 1; | ~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:34, from global.h:44, from mgcp.h:28, from mgcp.c:27: /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ mgcp.c:54:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 54 | if ( !strncmp(pkt->current,"AUCX",4) ) return 1; | ~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:34, from global.h:44, from mgcp.h:28, from mgcp.c:27: /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ mgcp.c:55:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 55 | if ( !strncmp(pkt->current,"RSIP",4) ) return 1; | ~~~^~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/string.h:34, from global.h:44, from mgcp.h:28, from mgcp.c:27: /usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 81 | extern int strncmp(const char *, const char *, size_t); | ^~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT mobileip.o -MD -MP -MF ".deps/mobileip.Tpo" -c -o mobileip.o `test -f 'mobileip.c' || echo './'`mobileip.c; then mv -f ".deps/mobileip.Tpo" ".deps/mobileip.Po"; else rm -f ".deps/mobileip.Tpo"; exit 1; fi mobileip.c: In function 'dump_mobileip_ext_sessionspecific': mobileip.c:321:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 321 | display_minimal_string(map2str(mobileip_ext_map, ss.type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c:322:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 322 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c: In function 'dump_mobileip_ext_cvse': mobileip.c:396:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 396 | display_minimal_string(map2str(mobileip_ext_map, cvse.type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c:397:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 397 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c: In function 'dump_mobileip_ext_nai': mobileip.c:451:24: warning: pointer targets in passing argument 1 of 'get_packet_bytes' differ in signedness [-Wpointer-sign] 451 | if (get_packet_bytes(nai, pkt, length) == 0) | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' packet_manip.h:71:28: note: in expansion of macro 'u_int8_t' 71 | int get_packet_bytes(u_int8_t *, packet_t *, unsigned int); | ^~~~~~~~ mobileip.c:463:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 463 | display_string(" NAI", nai); | ^~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ mobileip.c:463:31: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 463 | display_string(" NAI", nai); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ mobileip.c: In function 'dump_mobileip_ext_mnfachallenge': mobileip.c:496:13: warning: pointer targets in assignment from 'char *' to 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 496 | challenge = (char *) malloc (length+2); | ^ mobileip.c: In function 'dump_mobileip_ext_mhauth': mobileip.c:597:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 597 | display_minimal_string(map2str(mobileip_ext_map, mh.type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c:598:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 598 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c: In function 'dump_mobileip': mobileip.c:643:28: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 643 | display_minimal_string("| Mobile IP "); | ^~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c:667:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 667 | display_minimal_string(map2str(mobileip_type_map, regreq.type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c:668:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 668 | display_minimal_string(" ("); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c:669:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 669 | display_minimal_string("addr:"); | ^~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c:671:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 671 | display_minimal_string(",HA:"); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c:673:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 673 | display_minimal_string(",COA:"); | ^~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c:675:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 675 | display_minimal_string(") "); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c:682:19: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 682 | display_ipv4("Home address", (u_int8_t *) ®req.home_addr); | ^~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ mobileip.c:683:19: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 683 | display_ipv4("Home agent", (u_int8_t *) ®req.home_agent); | ^~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ mobileip.c:684:19: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 684 | display_ipv4("Care of address", (u_int8_t *) ®req.care_of_addr); | ^~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ mobileip.c:705:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 705 | display_minimal_string(map2str(mobileip_type_map, regrep.type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c:706:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 706 | display_minimal_string(" ("); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c:707:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 707 | display_minimal_string("addr:"); | ^~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c:709:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 709 | display_minimal_string(",HA:"); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c:711:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 711 | display_minimal_string(") "); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c:718:19: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 718 | display_ipv4("Home address", (u_int8_t *) ®rep.home_addr); | ^~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ mobileip.c:719:19: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 719 | display_ipv4("Home agent", (u_int8_t *) ®rep.home_agent); | ^~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ mobileip.c:738:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 738 | display_minimal_string(map2str(mobileip_type_map, regupdate.type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c:739:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 739 | display_minimal_string(" ("); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c:740:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 740 | display_minimal_string("addr:"); | ^~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c:742:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 742 | display_minimal_string(",HA:"); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c:744:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 744 | display_minimal_string(") "); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c:750:19: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 750 | display_ipv4("Home address", (u_int8_t *) ®update.home_addr); | ^~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ mobileip.c:751:19: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 751 | display_ipv4("Home agent", (u_int8_t *) ®update.home_agent); | ^~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ mobileip.c:772:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 772 | display_minimal_string(map2str(mobileip_type_map, regack.type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c:773:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 773 | display_minimal_string(" ("); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c:774:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 774 | display_minimal_string("addr:"); | ^~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c:776:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 776 | display_minimal_string(",HA:"); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c:778:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 778 | display_minimal_string(") "); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ mobileip.c:785:19: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 785 | display_ipv4("Home address", (u_int8_t *) ®ack.home_addr); | ^~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ mobileip.c:786:19: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 786 | display_ipv4("Home agent", (u_int8_t *) ®ack.home_agent); | ^~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT mppc.o -MD -MP -MF ".deps/mppc.Tpo" -c -o mppc.o `test -f 'mppc.c' || echo './'`mppc.c; then mv -f ".deps/mppc.Tpo" ".deps/mppc.Po"; else rm -f ".deps/mppc.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT netbios_ns.o -MD -MP -MF ".deps/netbios_ns.Tpo" -c -o netbios_ns.o `test -f 'netbios_ns.c' || echo './'`netbios_ns.c; then mv -f ".deps/netbios_ns.Tpo" ".deps/netbios_ns.Po"; else rm -f ".deps/netbios_ns.Tpo"; exit 1; fi netbios_ns.c: In function 'dump_netbios_ns_questions': netbios_ns.c:220:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 220 | display_minimal_string(holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ netbios_ns.c:221:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 221 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ netbios_ns.c:225:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 225 | display_string("Query", holder); | ^~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ netbios_ns.c:225:28: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 225 | display_string("Query", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ netbios_ns.c:228:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 228 | display_string(" Type", holder); | ^~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ netbios_ns.c:228:29: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 228 | display_string(" Type", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ netbios_ns.c:231:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 231 | display_string(" Query class", holder); | ^~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ netbios_ns.c:231:36: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 231 | display_string(" Query class", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ netbios_ns.c: In function 'dump_netbios_ns_answers': netbios_ns.c:302:25: warning: pointer targets in passing argument 2 of 'parse_ns_labels' differ in signedness [-Wpointer-sign] 302 | parse_ns_labels(pkt, resource_data); | ^~~~~~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from netbios_ns.c:28: ns_labels.h:54:34: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 54 | void parse_ns_labels(packet_t *, char *); | ^~~~~~ netbios_ns.c:326:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 326 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ netbios_ns.c:331:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 331 | display_string(answer_type, holder); | ^~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ netbios_ns.c:331:32: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 331 | display_string(answer_type, holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ netbios_ns.c:334:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 334 | display_string(" Query type", holder); | ^~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ netbios_ns.c:334:35: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 334 | display_string(" Query type", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ netbios_ns.c:337:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 337 | display_string(" Query class", holder); | ^~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ netbios_ns.c:337:36: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 337 | display_string(" Query class", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ netbios_ns.c:345:21: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 345 | display_ipv4(" Resource data", (u_int8_t *) resource_data); | ^~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ netbios_ns.c:349:23: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 349 | display_string(" Resource data", resource_data); | ^~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ netbios_ns.c: In function 'dump_netbios_ns': netbios_ns.c:409:29: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 409 | flags = (nb_ns.flags_high << 4) || nb_ns.flags_low; | ~~~~~~~~~~~~~~~~~~^~~~~ netbios_ns.c:428:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 428 | display_minimal_string("| NETBIOS NS "); | ^~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ netbios_ns.c:429:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 429 | display_minimal_string(map2str(netbios_ns_r_map, r)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ netbios_ns.c:430:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 430 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ netbios_ns.c:440:16: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 440 | snprintf(holder, HOLDER_SIZE, "%d (%s)", r, | ^~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/stdio.h:151, from global.h:29, from netbios_ns.c:26: /usr/include/iso/stdio_c99.h:82:21: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD, | ^ netbios_ns.c:442:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 442 | display_string("R", holder); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ netbios_ns.c:443:16: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 443 | snprintf(holder, HOLDER_SIZE, "%d (%s)", opcode, | ^~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/stdio.h:151, from global.h:29, from netbios_ns.c:26: /usr/include/iso/stdio_c99.h:82:21: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD, | ^ netbios_ns.c:445:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 445 | display_string("Opcode", holder); | ^~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ netbios_ns.c:446:16: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 446 | snprintf(holder, HOLDER_SIZE, "%d (%s)", rcode, | ^~~~~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/stdio.h:151, from global.h:29, from netbios_ns.c:26: /usr/include/iso/stdio_c99.h:82:21: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 82 | extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD, | ^ netbios_ns.c:448:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 448 | display_string("Rcode", holder); | ^~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ netbios_ns.c:377:64: warning: variable 'flag_b' set but not used [-Wunused-but-set-variable] 377 | u_int8_t flag_aa, flag_tc, flag_rd, flag_ra, flag_zeros, flag_b; | ^~~~~~ netbios_ns.c:377:52: warning: variable 'flag_zeros' set but not used [-Wunused-but-set-variable] 377 | u_int8_t flag_aa, flag_tc, flag_rd, flag_ra, flag_zeros, flag_b; | ^~~~~~~~~~ netbios_ns.c:377:43: warning: variable 'flag_ra' set but not used [-Wunused-but-set-variable] 377 | u_int8_t flag_aa, flag_tc, flag_rd, flag_ra, flag_zeros, flag_b; | ^~~~~~~ netbios_ns.c:377:34: warning: variable 'flag_rd' set but not used [-Wunused-but-set-variable] 377 | u_int8_t flag_aa, flag_tc, flag_rd, flag_ra, flag_zeros, flag_b; | ^~~~~~~ netbios_ns.c:377:25: warning: variable 'flag_tc' set but not used [-Wunused-but-set-variable] 377 | u_int8_t flag_aa, flag_tc, flag_rd, flag_ra, flag_zeros, flag_b; | ^~~~~~~ netbios_ns.c:377:16: warning: variable 'flag_aa' set but not used [-Wunused-but-set-variable] 377 | u_int8_t flag_aa, flag_tc, flag_rd, flag_ra, flag_zeros, flag_b; | ^~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT nntp.o -MD -MP -MF ".deps/nntp.Tpo" -c -o nntp.o `test -f 'nntp.c' || echo './'`nntp.c; then mv -f ".deps/nntp.Tpo" ".deps/nntp.Po"; else rm -f ".deps/nntp.Tpo"; exit 1; fi nntp.c: In function 'dump_nntp': nntp.c:77:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 77 | display_minimal_string("| NNTP "); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT ns_labels.o -MD -MP -MF ".deps/ns_labels.Tpo" -c -o ns_labels.o `test -f 'ns_labels.c' || echo './'`ns_labels.c; then mv -f ".deps/ns_labels.Tpo" ".deps/ns_labels.Po"; else rm -f ".deps/ns_labels.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT open_pcap.o -MD -MP -MF ".deps/open_pcap.Tpo" -c -o open_pcap.o `test -f 'open_pcap.c' || echo './'`open_pcap.c; then mv -f ".deps/open_pcap.Tpo" ".deps/open_pcap.Po"; else rm -f ".deps/open_pcap.Tpo"; exit 1; fi open_pcap.c: In function 'open_pcap': open_pcap.c:74:4: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 74 | my_args->i = pcap_lookupdev(errorbuf); | ^~~~~~~ In file included from /home/pbulk/build/net/ipgrab/work/.buildlink/include/pcap.h:43, from global.h:68, from open_pcap.h:31, from open_pcap.c:28: /home/pbulk/build/net/ipgrab/work/.buildlink/include/pcap/pcap.h:394:16: note: declared here 394 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT ospf.o -MD -MP -MF ".deps/ospf.Tpo" -c -o ospf.o `test -f 'ospf.c' || echo './'`ospf.c; then mv -f ".deps/ospf.Tpo" ".deps/ospf.Po"; else rm -f ".deps/ospf.Tpo"; exit 1; fi ospf.c: In function 'dump_ospf_hello': ospf.c:95:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 95 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ospf.c:99:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 99 | display_ipv4("Netmask", (u_int8_t *) &ospf_hello.netmask); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ ospf.c:107:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 107 | display_ipv4("Designated router", | ^~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ ospf.c:109:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 109 | display_ipv4("Backup router", (u_int8_t *) &ospf_hello.backup_router); | ^~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ ospf.c:125:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 125 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ospf.c:128:15: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 128 | display_ipv4("Neighbor", (u_int8_t *) &neighbor); | ^~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ ospf.c: In function 'dump_ospf': ospf.c:178:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 178 | display_minimal_string("| OSPF "); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ospf.c:179:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 179 | display_minimal_string(map2str(ospf_type_map, ospf.type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ospf.c:180:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 180 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ospf.c:182:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 182 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ospf.c:192:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 192 | display_string("Type", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ ospf.c:192:30: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 192 | display_string("Type", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ ospf.c:194:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 194 | display_ipv4("Router ID", (u_int8_t *) &ospf.router_id); | ^~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ ospf.c:195:20: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 195 | display_ipv4("Area ID", (u_int8_t *) &ospf.area_id); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ ospf.c:199:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 199 | display_string("Authentication", holder); | ^~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ ospf.c:199:40: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 199 | display_string("Authentication", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT packet_manip.o -MD -MP -MF ".deps/packet_manip.Tpo" -c -o packet_manip.o `test -f 'packet_manip.c' || echo './'`packet_manip.c; then mv -f ".deps/packet_manip.Tpo" ".deps/packet_manip.Po"; else rm -f ".deps/packet_manip.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT padding.o -MD -MP -MF ".deps/padding.Tpo" -c -o padding.o `test -f 'padding.c' || echo './'`padding.c; then mv -f ".deps/padding.Tpo" ".deps/padding.Po"; else rm -f ".deps/padding.Tpo"; exit 1; fi padding.c: In function 'dump_padding': padding.c:56:29: warning: pointer targets in passing argument 1 of 'get_packet_bytestoend' differ in signedness [-Wpointer-sign] 56 | if (get_packet_bytestoend(holder, pkt, bytes) == 0) | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' packet_manip.h:72:33: note: in expansion of macro 'u_int8_t' 72 | int get_packet_bytestoend(u_int8_t *, packet_t *, unsigned int); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT parse_cl.o -MD -MP -MF ".deps/parse_cl.Tpo" -c -o parse_cl.o `test -f 'parse_cl.c' || echo './'`parse_cl.c; then mv -f ".deps/parse_cl.Tpo" ".deps/parse_cl.Po"; else rm -f ".deps/parse_cl.Tpo"; exit 1; fi In file included from parse_cl.c:21: ./getopt.h:136:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 136 | extern int getopt (); | ^~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT payload.o -MD -MP -MF ".deps/payload.Tpo" -c -o payload.o `test -f 'payload.c' || echo './'`payload.c; then mv -f ".deps/payload.Tpo" ".deps/payload.Po"; else rm -f ".deps/payload.Tpo"; exit 1; fi payload.c: In function 'dump_payload': payload.c:61:24: warning: pointer targets in passing argument 1 of 'get_packet_bytes' differ in signedness [-Wpointer-sign] 61 | if (get_packet_bytes(holder, pkt, bytes) == 0) | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' packet_manip.h:71:28: note: in expansion of macro 'u_int8_t' 71 | int get_packet_bytes(u_int8_t *, packet_t *, unsigned int); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT ppp.o -MD -MP -MF ".deps/ppp.Tpo" -c -o ppp.o `test -f 'ppp.c' || echo './'`ppp.c; then mv -f ".deps/ppp.Tpo" ".deps/ppp.Po"; else rm -f ".deps/ppp.Tpo"; exit 1; fi ppp.c: In function 'dump_ppp': ppp.c:130:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 130 | display_minimal_string("| PPP "); | ^~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ppp.c:178:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 178 | display_minimal_string("PPP "); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ppp.c: In function 'dump_ppp_hdlc': ppp.c:286:24: warning: pointer targets in passing argument 1 of 'get_packet_bytes' differ in signedness [-Wpointer-sign] 286 | if (get_packet_bytes(holder_before, pkt, length) == 0) | ^~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' packet_manip.h:71:28: note: in expansion of macro 'u_int8_t' 71 | int get_packet_bytes(u_int8_t *, packet_t *, unsigned int); | ^~~~~~~~ ppp.c:320:23: warning: pointer targets in assignment from 'char *' to 'uint8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 320 | hdlc_frame.contents = holder_after; | ^ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT pppoe.o -MD -MP -MF ".deps/pppoe.Tpo" -c -o pppoe.o `test -f 'pppoe.c' || echo './'`pppoe.c; then mv -f ".deps/pppoe.Tpo" ".deps/pppoe.Po"; else rm -f ".deps/pppoe.Tpo"; exit 1; fi pppoe.c: In function 'dump_pppoe_hdr': pppoe.c:141:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 141 | display_minimal_string("| PPPOE "); | ^~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT pptp.o -MD -MP -MF ".deps/pptp.Tpo" -c -o pptp.o `test -f 'pptp.c' || echo './'`pptp.c; then mv -f ".deps/pptp.Tpo" ".deps/pptp.Po"; else rm -f ".deps/pptp.Tpo"; exit 1; fi pptp.c: In function 'dump_pptp_startccreq': pptp.c:111:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 111 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ pptp.c:124:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 124 | display_string("Host name", hdr.hostname); | ^~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ pptp.c:125:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 125 | display_string("Vendor", hdr.vendor); | ^~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ pptp.c: In function 'dump_pptp_startccrep': pptp.c:169:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 169 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ pptp.c:183:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 183 | display_string("Host name", hdr.hostname); | ^~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ pptp.c:184:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 184 | display_string("Vendor", hdr.vendor); | ^~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ pptp.c: In function 'dump_pptp_outgoingreq': pptp.c:234:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 234 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ pptp.c:251:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 251 | display_string("Phone number", hdr.phone_num); | ^~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ pptp.c:252:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 252 | display_string("Subaddress", hdr.subaddress); | ^~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ pptp.c: In function 'dump_pptp_outgoingrep': pptp.c:296:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 296 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ pptp.c: In function 'dump_pptp_setlinkinfo': pptp.c:352:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 352 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ pptp.c: In function 'dump_pptp_callclearreq': pptp.c:399:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 399 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ pptp.c: In function 'dump_pptp_calldiscntfy': pptp.c:444:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 444 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ pptp.c: In function 'dump_pptp': pptp.c:499:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 499 | display_minimal_string("| PPTP "); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ pptp.c:500:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 500 | display_minimal_string(map2str(pptp_msgtype_map, | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * 501 | pptp.pptp_msg_type)); | ~~~~~~~~~~~~~~~~~~~ <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ pptp.c:502:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 502 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ pptp.c:503:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 503 | display_minimal_string(map2str(pptp_cntlmsgtype_map, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * 504 | pptp.control_msg_type)); | ~~~~~~~~~~~~~~~~~~~~~~ <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ pptp.c:505:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 505 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT radius.o -MD -MP -MF ".deps/radius.Tpo" -c -o radius.o `test -f 'radius.c' || echo './'`radius.c; then mv -f ".deps/radius.Tpo" ".deps/radius.Po"; else rm -f ".deps/radius.Tpo"; exit 1; fi radius.c: In function 'dump_radius_vendorspecific': radius.c:185:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 185 | display_minimal_string(map2str(radius_attr_map, type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ radius.c:186:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 186 | display_minimal_string("["); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ radius.c:187:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 187 | display_minimal_string(map2str(iana_enterprise_map, vendor)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ radius.c:188:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 188 | display_minimal_string("]: "); | ^~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ radius.c: In function 'dump_radius_attribute': radius.c:249:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 249 | display_minimal_string(map2str(radius_attr_map, type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ radius.c:250:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 250 | display_minimal_string(": "); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ radius.c:257:21: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 257 | display_string(" Value", username); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ radius.c:285:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 285 | display_minimal_string(map2str(radius_attr_map, type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ radius.c:286:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 286 | display_minimal_string(": "); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ radius.c:312:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 312 | display_minimal_string(map2str(radius_attr_map, type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ radius.c:313:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 313 | display_minimal_string(": "); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ radius.c:344:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 344 | display_minimal_string(map2str(radius_attr_map, type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ radius.c:345:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 345 | display_minimal_string(": "); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ radius.c: In function 'dump_radius': radius.c:393:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 393 | display_minimal_string("| RADIUS "); | ^~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ radius.c:394:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 394 | display_minimal_string(map2str(radius_code_map, radius.code)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ radius.c:395:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 395 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ radius.c:397:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 397 | display_minimal_string(" ("); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ radius.c:417:25: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 417 | display_minimal_string(", "); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ radius.c:424:28: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 424 | display_minimal_string(")"); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT radius_3gpp2.o -MD -MP -MF ".deps/radius_3gpp2.Tpo" -c -o radius_3gpp2.o `test -f 'radius_3gpp2.c' || echo './'`radius_3gpp2.c; then mv -f ".deps/radius_3gpp2.Tpo" ".deps/radius_3gpp2.Po"; else rm -f ".deps/radius_3gpp2.Tpo"; exit 1; fi radius_3gpp2.c: In function 'dump_radius_3gpp2': radius_3gpp2.c:163:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 163 | display_minimal_string(map2str(radius_attr_map, type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ radius_3gpp2.c:164:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 164 | display_minimal_string("["); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ radius_3gpp2.c:165:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 165 | display_minimal_string(map2str(iana_enterprise_map, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * 166 | IANA_ENTERPRISE_3GPP2)); | ~~~~~~~~~~~~~~~~~~~~~~ <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ radius_3gpp2.c:167:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 167 | display_minimal_string("]: "); | ^~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ radius_3gpp2.c:168:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 168 | display_minimal_string(map2str(radius_attr_3gpp2_map, vendortype)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ radius_3gpp2.c:169:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 169 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT raw.o -MD -MP -MF ".deps/raw.Tpo" -c -o raw.o `test -f 'raw.c' || echo './'`raw.c; then mv -f ".deps/raw.Tpo" ".deps/raw.Po"; else rm -f ".deps/raw.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT rip.o -MD -MP -MF ".deps/rip.Tpo" -c -o rip.o `test -f 'rip.c' || echo './'`rip.c; then mv -f ".deps/rip.Tpo" ".deps/rip.Po"; else rm -f ".deps/rip.Tpo"; exit 1; fi rip.c: In function 'dump_rip': rip.c:94:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 94 | display_minimal_string("| RIPv1 "); | ^~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ rip.c:95:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 95 | display_minimal_string(map2str(rip_command_map, ripv1.command)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ rip.c:96:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 96 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ rip.c:105:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 105 | display_string("Command", holder); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ rip.c:105:30: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 105 | display_string("Command", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ rip.c:143:21: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 143 | display_ipv4("IP address", (u_int8_t *) &ripv1_route.ipaddr); | ^~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ rip.c:177:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 177 | display_minimal_string("| RIPv2 "); | ^~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ rip.c:178:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 178 | display_minimal_string(map2str(rip_command_map, ripv2.command)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ rip.c:179:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 179 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ rip.c:188:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 188 | display_string("Command", holder); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ rip.c:188:30: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 188 | display_string("Command", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ rip.c:236:20: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 236 | display_string("Password", ripv2_auth.passwd); | ^~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ rip.c:268:18: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 268 | display_ipv4("IP address", (u_int8_t *) &ripv2_route.ipaddr); | ^~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ rip.c:269:18: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 269 | display_ipv4("Netmask", (u_int8_t *) &ripv2_route.netmask); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ rip.c:270:18: warning: pointer targets in passing argument 1 of 'display_ipv4' differ in signedness [-Wpointer-sign] 270 | display_ipv4("Next hop", (u_int8_t *) &ripv2_route.next_hop); | ^~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:77:20: note: in expansion of macro 'u_int8_t' 77 | void display_ipv4 (u_int8_t *, u_int8_t *); | ^~~~~~~~ rip.c:283:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 283 | display_minimal_string(" routes "); | ^~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT ripng.o -MD -MP -MF ".deps/ripng.Tpo" -c -o ripng.o `test -f 'ripng.c' || echo './'`ripng.c; then mv -f ".deps/ripng.Tpo" ".deps/ripng.Po"; else rm -f ".deps/ripng.Tpo"; exit 1; fi ripng.c: In function 'dump_ripng': ripng.c:76:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 76 | display_minimal_string("| RIPng "); | ^~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ripng.c:77:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 77 | display_minimal_string(map2str(ripng_command_map, ripng.command)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ripng.c:78:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 78 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ripng.c:87:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 87 | display_string("Command", holder); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ ripng.c:87:33: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 87 | display_string("Command", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ ripng.c:120:17: warning: pointer targets in passing argument 1 of 'display_ipv6' differ in signedness [-Wpointer-sign] 120 | display_ipv6("Address", (u_int8_t *) &ripng_route.address); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:78:20: note: in expansion of macro 'u_int8_t' 78 | void display_ipv6 (u_int8_t *, u_int8_t *); | ^~~~~~~~ ripng.c:135:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 135 | display_minimal_string(" routes "); | ^~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT rsvp.o -MD -MP -MF ".deps/rsvp.Tpo" -c -o rsvp.o `test -f 'rsvp.c' || echo './'`rsvp.c; then mv -f ".deps/rsvp.Tpo" ".deps/rsvp.Po"; else rm -f ".deps/rsvp.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT rtcp.o -MD -MP -MF ".deps/rtcp.Tpo" -c -o rtcp.o `test -f 'rtcp.c' || echo './'`rtcp.c; then mv -f ".deps/rtcp.Tpo" ".deps/rtcp.Po"; else rm -f ".deps/rtcp.Tpo"; exit 1; fi rtcp.c: In function 'dump_rtcp_sr': rtcp.c:170:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 170 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ rtcp.c:208:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 208 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ rtcp.c: In function 'dump_rtcp_rr': rtcp.c:259:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 259 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ rtcp.c:284:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 284 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ rtcp.c: In function 'dump_rtcp_sdes': rtcp.c:341:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 341 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ rtcp.c:366:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 366 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ rtcp.c:372:23: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 372 | display_string(" SDES", string); | ^~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ rtcp.c: In function 'dump_rtcp': rtcp.c:434:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 434 | display_minimal_string("| RTCPv"); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ rtcp.c:436:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 436 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ rtcp.c:437:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 437 | display_minimal_string(map2str(rtcp_packettype_map, packet_type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ rtcp.c:438:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 438 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ rtcp.c:410:17: warning: variable 'bytes_remaining' set but not used [-Wunused-but-set-variable] 410 | u_int16_t bytes_remaining; | ^~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT rtp.o -MD -MP -MF ".deps/rtp.Tpo" -c -o rtp.o `test -f 'rtp.c' || echo './'`rtp.c; then mv -f ".deps/rtp.Tpo" ".deps/rtp.Po"; else rm -f ".deps/rtp.Tpo"; exit 1; fi rtp.c: In function 'dump_rtp': rtp.c:180:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 180 | display_minimal_string("| RTPv"); | ^~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ rtp.c:182:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 182 | display_minimal_string(" ("); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ rtp.c:183:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 183 | display_minimal_string(map2str(rtp_payloadtype_map, payload_type)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ rtp.c:184:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 184 | display_minimal_string(","); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ rtp.c:186:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 186 | display_minimal_string(") "); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT sdp.o -MD -MP -MF ".deps/sdp.Tpo" -c -o sdp.o `test -f 'sdp.c' || echo './'`sdp.c; then mv -f ".deps/sdp.Tpo" ".deps/sdp.Po"; else rm -f ".deps/sdp.Tpo"; exit 1; fi sdp.c: In function 'dump_sdp': sdp.c:56:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 56 | display_minimal_string("SDP "); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ sdp.c:67:26: warning: pointer targets in passing argument 1 of 'get_packet_line' differ in signedness [-Wpointer-sign] 67 | len = get_packet_line(line, length-total_length, pkt); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' packet_manip.h:73:27: note: in expansion of macro 'u_int8_t' 73 | int get_packet_line(u_int8_t *, u_int32_t, packet_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT sip.o -MD -MP -MF ".deps/sip.Tpo" -c -o sip.o `test -f 'sip.c' || echo './'`sip.c; then mv -f ".deps/sip.Tpo" ".deps/sip.Po"; else rm -f ".deps/sip.Tpo"; exit 1; fi sip.c: In function 'dump_sip': sip.c:67:26: warning: pointer targets in passing argument 1 of 'get_packet_line' differ in signedness [-Wpointer-sign] 67 | len = get_packet_line(line, LINE_SIZE, pkt); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' packet_manip.h:73:27: note: in expansion of macro 'u_int8_t' 73 | int get_packet_line(u_int8_t *, u_int32_t, packet_t *); | ^~~~~~~~ sip.c:147:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 147 | display_minimal_string("SIP "); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ sip.c:149:29: warning: pointer targets in passing argument 1 of 'get_packet_line' differ in signedness [-Wpointer-sign] 149 | len = get_packet_line(line, LINE_SIZE, pkt); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' packet_manip.h:73:27: note: in expansion of macro 'u_int8_t' 73 | int get_packet_line(u_int8_t *, u_int32_t, packet_t *); | ^~~~~~~~ sip.c:152:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 152 | display_minimal_string(line); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ sip.c:153:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 153 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT slip.o -MD -MP -MF ".deps/slip.Tpo" -c -o slip.o `test -f 'slip.c' || echo './'`slip.c; then mv -f ".deps/slip.Tpo" ".deps/slip.Po"; else rm -f ".deps/slip.Tpo"; exit 1; fi slip.c: In function 'dump_slip': slip.c:64:25: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 64 | display_minimal_string("SLIP "); | ^~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ slip.c:66:25: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 66 | display_minimal_string("| SLIP "); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT slp.o -MD -MP -MF ".deps/slp.Tpo" -c -o slp.o `test -f 'slp.c' || echo './'`slp.c; then mv -f ".deps/slp.Tpo" ".deps/slp.Po"; else rm -f ".deps/slp.Tpo"; exit 1; fi slp.c: In function 'dump_slp': slp.c:90:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 90 | display_minimal_string("| SLPv1 "); | ^~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ slp.c:91:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 91 | display_minimal_string(map2str(slp_msgtype_map, slpv1.function_id)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ slp.c:92:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 92 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ slp.c:103:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 103 | display_string("Operation", holder); | ^~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ slp.c:103:32: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 103 | display_string("Operation", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ slp.c:131:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 131 | display_minimal_string("| SLPv2 "); | ^~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ slp.c:132:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 132 | display_minimal_string(map2str(slp_msgtype_map, slpv2.function_id)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ slp.c:133:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 133 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ slp.c:144:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 144 | display_string("Operation", holder); | ^~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ slp.c:144:32: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 144 | display_string("Operation", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT snmp.o -MD -MP -MF ".deps/snmp.Tpo" -c -o snmp.o `test -f 'snmp.c' || echo './'`snmp.c; then mv -f ".deps/snmp.Tpo" ".deps/snmp.Po"; else rm -f ".deps/snmp.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT spx.o -MD -MP -MF ".deps/spx.Tpo" -c -o spx.o `test -f 'spx.c' || echo './'`spx.c; then mv -f ".deps/spx.Tpo" ".deps/spx.Po"; else rm -f ".deps/spx.Tpo"; exit 1; fi spx.c: In function 'dump_spx': spx.c:72:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 72 | display_minimal_string("| SPX "); | ^~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT ssh.o -MD -MP -MF ".deps/ssh.Tpo" -c -o ssh.o `test -f 'ssh.c' || echo './'`ssh.c; then mv -f ".deps/ssh.Tpo" ".deps/ssh.Po"; else rm -f ".deps/ssh.Tpo"; exit 1; fi ssh.c: In function 'dump_ssh': ssh.c:80:19: warning: pointer targets in passing argument 1 of 'isprint_str' differ in signedness [-Wpointer-sign] 80 | if (isprint_str(payload, size)) | ^~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from display.h:31, from local.h:30, from ssh.h:30, from ssh.c:35: utilities.h:32:20: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 32 | int isprint_str(char *, int); | ^~~~~~ ssh.c:85:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 85 | display_minimal_string("| "); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ ssh.c:91:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 91 | display_string("Version", payload); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT state.o -MD -MP -MF ".deps/state.Tpo" -c -o state.o `test -f 'state.c' || echo './'`state.c; then mv -f ".deps/state.Tpo" ".deps/state.Po"; else rm -f ".deps/state.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT stats.o -MD -MP -MF ".deps/stats.Tpo" -c -o stats.o `test -f 'stats.c' || echo './'`stats.c; then mv -f ".deps/stats.Tpo" ".deps/stats.Po"; else rm -f ".deps/stats.Tpo"; exit 1; fi stats.c:67:10: warning: 'stats_paused' is static but used in inline function 'stats_ispaused' which is not static 67 | return stats_paused; | ^~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT strmap.o -MD -MP -MF ".deps/strmap.Tpo" -c -o strmap.o `test -f 'strmap.c' || echo './'`strmap.c; then mv -f ".deps/strmap.Tpo" ".deps/strmap.Po"; else rm -f ".deps/strmap.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT tcp.o -MD -MP -MF ".deps/tcp.Tpo" -c -o tcp.o `test -f 'tcp.c' || echo './'`tcp.c; then mv -f ".deps/tcp.Tpo" ".deps/tcp.Po"; else rm -f ".deps/tcp.Tpo"; exit 1; fi tcp.c: In function 'dump_tcp_options': tcp.c:91:23: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 91 | display_string("Option", holder); | ^~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ tcp.c:91:33: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 91 | display_string("Option", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ tcp.c:101:19: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 101 | display_string("Option", holder); | ^~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ tcp.c:101:29: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 101 | display_string("Option", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ tcp.c:105:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 105 | display_minimal_string("<"); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tcp.c:106:27: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 106 | display_minimal_string(map2str(tcp_option_map, kind)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tcp.c:136:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 136 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tcp.c:138:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 138 | display_minimal_string(">"); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tcp.c:147:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 147 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tcp.c:149:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 149 | display_minimal_string(">"); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tcp.c:167:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 167 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tcp.c:169:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 169 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tcp.c:171:31: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 171 | display_minimal_string(">"); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tcp.c:187:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 187 | display_minimal_string(">"); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tcp.c:198:28: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 198 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tcp.c: In function 'dump_tcp': tcp.c:282:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 282 | display_minimal_string("| TCP "); | ^~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tcp.c:284:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 284 | display_minimal_string("->"); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tcp.c:286:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 286 | display_minimal_string(" ("); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tcp.c:287:23: warning: pointer targets in passing argument 1 of 'display_minimal' differ in signedness [-Wpointer-sign] 287 | display_minimal(flag_str, strlen(flag_str), DISP_STRING); | ^~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:79:23: note: in expansion of macro 'u_int8_t' 79 | void display_minimal (u_int8_t *, u_int32_t, display_t); | ^~~~~~~~ tcp.c:288:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 288 | display_minimal_string(","); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tcp.c:290:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 290 | display_minimal_string(","); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tcp.c:292:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 292 | display_minimal_string(","); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tcp.c:294:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 294 | display_minimal_string(") "); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tcp.c:313:22: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 313 | display_string("Header length", holder); | ^~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ tcp.c:313:39: warning: pointer targets in passing argument 2 of 'display_string' differ in signedness [-Wpointer-sign] 313 | display_string("Header length", holder); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:34: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT tftp.o -MD -MP -MF ".deps/tftp.Tpo" -c -o tftp.o `test -f 'tftp.c' || echo './'`tftp.c; then mv -f ".deps/tftp.Tpo" ".deps/tftp.Po"; else rm -f ".deps/tftp.Tpo"; exit 1; fi tftp.c: In function 'dump_tftp': tftp.c:80:28: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 80 | display_minimal_string("| TFTP "); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tftp.c:98:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 98 | display_minimal_string(map2str(tftp_opcode_map, opcode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tftp.c:99:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 99 | display_minimal_string(" ("); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tftp.c:101:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 101 | display_minimal_string(","); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tftp.c:103:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 103 | display_minimal_string(")"); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tftp.c:108:21: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 108 | display_string("Filename", filename); | ^~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ tftp.c:109:21: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 109 | display_string("Mode", mode); | ^~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ tftp.c:149:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 149 | display_minimal_string(map2str(tftp_opcode_map, opcode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tftp.c:150:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 150 | display_minimal_string(" block "); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tftp.c:182:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 182 | display_minimal_string(map2str(tftp_opcode_map, opcode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tftp.c:183:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 183 | display_minimal_string(" block "); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tftp.c:225:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 225 | display_minimal_string(map2str(tftp_opcode_map, opcode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tftp.c:226:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 226 | display_minimal_string(" ("); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tftp.c:228:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 228 | display_minimal_string(","); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tftp.c:230:29: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 230 | display_minimal_string(")"); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ tftp.c:236:21: warning: pointer targets in passing argument 1 of 'display_string' differ in signedness [-Wpointer-sign] 236 | display_string("Message", msg); | ^~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:74:22: note: in expansion of macro 'u_int8_t' 74 | void display_string (u_int8_t *, u_int8_t *); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT udp.o -MD -MP -MF ".deps/udp.Tpo" -c -o udp.o `test -f 'udp.c' || echo './'`udp.c; then mv -f ".deps/udp.Tpo" ".deps/udp.Po"; else rm -f ".deps/udp.Tpo"; exit 1; fi udp.c: In function 'dump_udp': udp.c:77:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 77 | display_minimal_string("| UDP "); | ^~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ udp.c:79:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 79 | display_minimal_string("->"); | ^~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ udp.c:81:30: warning: pointer targets in passing argument 1 of 'display_minimal_string' differ in signedness [-Wpointer-sign] 81 | display_minimal_string(" "); | ^~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:80:30: note: in expansion of macro 'u_int8_t' 80 | void display_minimal_string (u_int8_t *); | ^~~~~~~~ udp.c:92:20: warning: pointer targets in passing argument 2 of 'display' differ in signedness [-Wpointer-sign] 92 | display("Length", (char *) &udp.length, 2, DISP_DEC); | ^~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:73:23: note: in expansion of macro 'u_int8_t' 73 | void display (char *, u_int8_t *, u_int32_t, display_t); | ^~~~~~~~ udp.c:93:22: warning: pointer targets in passing argument 2 of 'display' differ in signedness [-Wpointer-sign] 93 | display("Checksum", (char *) &udp.checksum, 2, DISP_DEC); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * <command-line>: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' display.h:73:23: note: in expansion of macro 'u_int8_t' 73 | void display (char *, u_int8_t *, u_int32_t, display_t); | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/opt/pkg/include -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -MT utilities.o -MD -MP -MF ".deps/utilities.Tpo" -c -o utilities.o `test -f 'utilities.c' || echo './'`utilities.c; then mv -f ".deps/utilities.Tpo" ".deps/utilities.Po"; else rm -f ".deps/utilities.Tpo"; exit 1; fi gcc -Wall -Wstrict-prototypes -Wformat -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -lnsl -lsocket -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o ipgrab ah.o arp.o cbcp.o ccp.o chap.o datalink.o dhcp.o display.o dns.o dynports.o error.o esp.o ethernet.o ethertypes.o file.o ftpctrl.o getopt.o gre.o hexbuffer.o http.o iana.o icmp.o icmpv6.o igmp.o ip.o ip_protocols.o ip_services.o ipcp.o ipgrab.o ipv6.o ipx.o ipxrip.o isakmp.o l2tp.o layers.o lcp.o llc.o loopback.o mgcp.o mobileip.o mppc.o netbios_ns.o nntp.o ns_labels.o open_pcap.o ospf.o packet_manip.o padding.o parse_cl.o payload.o ppp.o pppoe.o pptp.o radius.o radius_3gpp2.o raw.o rip.o ripng.o rsvp.o rtcp.o rtp.o sdp.o sip.o slip.o slp.o snmp.o spx.o ssh.o state.o stats.o strmap.o tcp.o tftp.o udp.o utilities.o -L/usr/local/lib -lpcap -lintl Undefined first referenced symbol in file stats_ispaused stats.o display_whitespace_pad display.o get_packet_bytesgeneral packet_manip.o ld: fatal: symbol referencing errors. No output written to ipgrab collect2: error: ld returned 1 exit status *** [ipgrab] Error code 1 bmake[2]: stopped in /home/pbulk/build/net/ipgrab/work/ipgrab-0.9.9/src 1 error bmake[2]: stopped in /home/pbulk/build/net/ipgrab/work/ipgrab-0.9.9/src *** [all-recursive] Error code 1 bmake[1]: stopped in /home/pbulk/build/net/ipgrab/work/ipgrab-0.9.9 1 error bmake[1]: stopped in /home/pbulk/build/net/ipgrab/work/ipgrab-0.9.9 *** [all] Error code 2 bmake: stopped in /home/pbulk/build/net/ipgrab/work/ipgrab-0.9.9 1 error bmake: stopped in /home/pbulk/build/net/ipgrab/work/ipgrab-0.9.9 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ipgrab *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ipgrab