Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 878404 Details for
Bug 919471
net-analyzer/hunt-1.5_p6_p1 - tpserv.c: error: passing argument 2 of connect from incompatible pointer type [-Wincompatible-pointer-types]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-analyzer:hunt-1.5_p6_p1:20231208-155044.log
net-analyzer:hunt-1.5_p6_p1:20231208-155044.log (text/plain), 83.75 KB, created by
Toralf Förster
on 2023-12-08 16:43:30 UTC
(
hide
)
Description:
net-analyzer:hunt-1.5_p6_p1:20231208-155044.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-12-08 16:43:30 UTC
Size:
83.75 KB
patch
obsolete
> * Package: net-analyzer/hunt-1.5_p6_p1:0 > * Repository: gentoo > * Maintainer: netmon@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking hunt_1.5.orig.tar.gz to /var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work >>>> Unpacking hunt_1.5-6.1.diff.gz to /var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work >>>> Source unpacked in /var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work >>>> Preparing source in /var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work/hunt-1.5 ... > * Applying hunt_1.5-6.1.diff ... > [ ok ] > * Applying hunt-1.5-exit.patch ... > [ ok ] > * Applying hunt-1.5-gentoo.patch ... > [ ok ] > * Applying hunt-1.5-log2.patch ... > [ ok ] > * Applying hunt-1.5-tpserv-log.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work/hunt-1.5 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work/hunt-1.5 ... >make -j4 CC=x86_64-pc-linux-gnu-gcc 'LDFLAGS=-O3 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' -C . >make: Entering directory '/var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work/hunt-1.5' >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o hunt.o hunt.c >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o main.o main.c >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o c/list.o c/list.c >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o c/hash.o c/hash.c >hunt.c: In function âconn_add_updateâ: >hunt.c:393:51: warning: variable âh_dstâ set but not used [-Wunused-but-set-variable] > 393 | struct host_info *h_src, *h_dst; > | ^~~~~ >hunt.c: In function âmac_arp_learnâ: >hunt.c:696:21: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 696 | mac = arpethh->ar_sha; > | ^ >hunt.c: In function âmac_ip_learnâ: >hunt.c:710:13: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 710 | mac = p->p_ethh->h_source; > | ^ >hunt.c: In function âprint_mac_tableâ: >hunt.c:1016:40: warning: pointer targets in passing argument 2 of âsprintf_eth_macâ differ in signedness [-Wpointer-sign] > 1016 | sprintf_eth_mac(buf, mi->mac); > | ~~^~~~~ > | | > | char * >In file included from hunt.c:9: >hunt.h:422:45: note: expected âunsigned char *â but argument is of type âchar *â > 422 | int sprintf_eth_mac(char *b, unsigned char *mac); > | ~~~~~~~~~~~~~~~^~~ >c/list.c: In function â__func_remove_atâ: >c/list.c:252:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > 252 | if (nr == (int) m) > | ^ >c/list.c: In function âlist_remove_atâ: >c/list.c:297:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 297 | return __list_remove(l, __func_remove_at, (void *) nr); > | ^ >main.c: In function âa_hijackâ: >main.c:350:48: warning: pointer targets in passing argument 2 of âuser_arp_hijackâ differ in signedness [-Wpointer-sign] > 350 | retval = user_arp_hijack(&uci, src_fake_mac, dst_fake_mac, input_mode); > | ^~~~~~~~~~~~ > | | > | unsigned char * >In file included from main.c:9: >hunt.h:503:55: note: expected âchar *â but argument is of type âunsigned char *â > 503 | int user_arp_hijack(struct user_conn_info *uci, char *src_fake_mac, > | ~~~~~~^~~~~~~~~~~~ >main.c:350:62: warning: pointer targets in passing argument 3 of âuser_arp_hijackâ differ in signedness [-Wpointer-sign] > 350 | retval = user_arp_hijack(&uci, src_fake_mac, dst_fake_mac, input_mode); > | ^~~~~~~~~~~~ > | | > | unsigned char * > >hunt.h:504:27: note: expected âchar *â but argument is of type âunsigned char *â > 504 | char *dst_fake_mac, int input_mode); > | ~~~~~~^~~~~~~~~~~~ >main.c:373:38: warning: pointer targets in passing argument 1 of âuser_arp_hijack_doneâ differ in signedness [-Wpointer-sign] > 373 | user_arp_hijack_done(src_fake_mac, dst_fake_mac); > | ^~~~~~~~~~~~ > | | > | unsigned char * >hunt.h:505:33: note: expected âchar *â but argument is of type âunsigned char *â > 505 | void user_arp_hijack_done(char *src_fake_mac, char *dst_fake_mac); > | ~~~~~~^~~~~~~~~~~~ >main.c:373:52: warning: pointer targets in passing argument 2 of âuser_arp_hijack_doneâ differ in signedness [-Wpointer-sign] > 373 | user_arp_hijack_done(src_fake_mac, dst_fake_mac); > | ^~~~~~~~~~~~ > | | > | unsigned char * >hunt.h:505:53: note: expected âchar *â but argument is of type âunsigned char *â > 505 | void user_arp_hijack_done(char *src_fake_mac, char *dst_fake_mac); > | ~~~~~~^~~~~~~~~~~~ >main.c: In function âmainâ: >main.c:509:70: warning: backslash and newline separated by space > 509 | fprintf(stderr, "Network interface %s does not have "\ >main.c: In function âsimple_hijackâ: >main.c:250:25: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 250 | fgets(cmdbuf, sizeof(cmdbuf), stdin); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o c/array.o c/array.c >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o util.o util.c >In file included from c/array.c:10: >c/array.c: In function âarray_initâ: >c/array.c:27:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] > 27 | assert(a->a_arr = malloc(size * sizeof(struct array_item))); > | ^ >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o net.o net.c >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o rst.o rst.c >net.c: In function âis_icmp_replyâ: >net.c:189:24: warning: variable âseqâ set but not used [-Wunused-but-set-variable] > 189 | unsigned short seq, id; > | ^~~ >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o menu.o menu.c >util.c: In function âip_in_cksumâ: >util.c:190:24: warning: âpheaderâ is used uninitialized [-Wuninitialized] > 190 | sum += *pheader_ptr++; > | ^~~~~~~~~~~~~~ >util.c:180:11: note: âpheaderâ declared here > 180 | } pheader; > | ^~~~~~~ >net.c: In function âsend_tcp_packetâ: >net.c:85:9: warning: â__builtin_strncpyâ specified bound 14 equals destination size [-Wstringop-truncation] > 85 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); > | ^ >net.c: In function âsend_icmp_packetâ: >net.c:151:9: warning: â__builtin_strncpyâ specified bound 14 equals destination size [-Wstringop-truncation] > 151 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); > | ^ >menu.c: In function âmenu_choose_macâ: >menu.c:254:36: warning: pointer targets in passing argument 2 of âparse_macâ differ in signedness [-Wpointer-sign] > 254 | if (parse_mac(buf, mac_ret) == 0) > | ^~~~~~~ > | | > | unsigned char * >menu.c:173:32: note: expected âchar *â but argument is of type âunsigned char *â > 173 | int parse_mac(char *buf, char *mac_ret) > | ~~~~~~^~~~~~~ >menu.c: In function âmenu_choose_portsâ: >menu.c:281:38: warning: pointer targets in passing argument 2 of âparse_portsâ differ in signedness [-Wpointer-sign] > 281 | if (parse_ports(buf, ret_ports) == 0) > | ^~~~~~~~~ > | | > | int * >menu.c:58:42: note: expected âunsigned int *â but argument is of type âint *â > 58 | int parse_ports(char *buf, unsigned int *ret_ports) > | ~~~~~~~~~~~~~~^~~~~~~~~ >menu.c: In function âmenu_choose_host_mask_ports_dflâ: >menu.c:347:43: warning: pointer targets in passing argument 1 of âsprintf_db_portsâ differ in signedness [-Wpointer-sign] > 347 | buf_p += sprintf_db_ports(dfl_ports, buf_p, > | ^~~~~~~~~ > | | > | int * >In file included from menu.c:9: >hunt.h:415:36: note: expected âunsigned int *â but argument is of type âint *â > 415 | int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); > | ~~~~~~~~~~~~~~^~~~~ >menu.c: In function âmenuâ: >menu.c:522:26: warning: field width specifier â*â expects argument of type âintâ, but argument 2 has type âsize_tâ {aka âlong unsigned intâ} [-Wformat=] > 522 | printf("%*s", strlen(head) + 9, " "); > | ~^~ ~~~~~~~~~~~~~~~~ > | | | > | int size_t {aka long unsigned int} >rst.c: In function ârstâ: >rst.c:60:28: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 60 | ts.src_mac = ci->dst.dst_mac; > | ^ >rst.c:61:28: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 61 | ts.dst_mac = ci->dst.src_mac; > | ^ >rst.c:69:28: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 69 | ts.src_mac = ci->src.dst_mac; > | ^ >rst.c:70:28: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 70 | ts.dst_mac = ci->src.src_mac; > | ^ >menu.c: In function âmenu_promptâ: >menu.c:33:9: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 33 | fgets(buf, buf_size, stdin); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >menu.c: In function âmenu_choose_char_nconnâ: >menu.c:426:17: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 426 | fgets(buf, sizeof(buf), stdin); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >menu.c: In function âmenu_choose_stringâ: >menu.c:487:9: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 487 | fgets(buf, sizeof(buf), stdin); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >net.c: In function âsend_arp_packetâ: >net.c:246:9: warning: â__builtin_strncpyâ specified bound 14 equals destination size [-Wstringop-truncation] > 246 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); > | ^ >net.c: In function âsend_packetâ: >net.c:274:9: warning: â__builtin_strncpyâ specified bound 14 equals destination size [-Wstringop-truncation] > 274 | strncpy(spkt.sa_data, eth_device, sizeof(spkt.sa_data)); > | ^ >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o hijack.o hijack.c >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o rstd.o rstd.c >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o sniff.o sniff.c >rstd.c: In function âfunc_tcp_packetâ: >rstd.c:86:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 86 | p->p_arg[MODULE_RSTD] = (void *) dbi->rst_mode; > | ^ >rstd.c: In function ârst_daemon_thrâ: >rstd.c:140:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > 140 | rst_mode = (int) p->p_arg[MODULE_RSTD]; > | ^ >rstd.c: In function ârst_add_itemâ: >rstd.c:265:44: warning: pointer targets in passing argument 4 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 265 | &src_mask, src_ports, 0, 0, NULL) < 0) > | ^~~~~~~~~ > | | > | int * >In file included from rstd.c:9: >hunt.h:371:55: note: expected âunsigned int *â but argument is of type âint *â > 371 | unsigned int *ret_mask, unsigned int *ret_ports, > | ~~~~~~~~~~~~~~^~~~~~~~~ >rstd.c:268:44: warning: pointer targets in passing argument 4 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 268 | &dst_mask, dst_ports, 0, 0, NULL) < 0) > | ^~~~~~~~~ > | | > | int * >hunt.h:371:55: note: expected âunsigned int *â but argument is of type âint *â > 371 | unsigned int *ret_mask, unsigned int *ret_ports, > | ~~~~~~~~~~~~~~^~~~~~~~~ >rstd.c:281:20: warning: pointer targets in passing argument 1 of âport_htonsâ differ in signedness [-Wpointer-sign] > 281 | port_htons(src_ports); > | ^~~~~~~~~ > | | > | int * >hunt.h:428:31: note: expected âunsigned int *â but argument is of type âint *â > 428 | void port_htons(unsigned int *db_ports); > | ~~~~~~~~~~~~~~^~~~~~~~ >rstd.c:285:20: warning: pointer targets in passing argument 1 of âport_htonsâ differ in signedness [-Wpointer-sign] > 285 | port_htons(dst_ports); > | ^~~~~~~~~ > | | > | int * >hunt.h:428:31: note: expected âunsigned int *â but argument is of type âint *â > 428 | void port_htons(unsigned int *db_ports); > | ~~~~~~~~~~~~~~^~~~~~~~ >rstd.c: In function ârst_mod_itemâ: >rstd.c:314:49: warning: pointer targets in passing argument 4 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 314 | &src_ip, &src_mask, src_ports, > | ^~~~~~~~~ > | | > | int * >hunt.h:371:55: note: expected âunsigned int *â but argument is of type âint *â > 371 | unsigned int *ret_mask, unsigned int *ret_ports, > | ~~~~~~~~~~~~~~^~~~~~~~~ >rstd.c:315:62: warning: pointer targets in passing argument 7 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 315 | dbi->src_addr, dbi->src_mask, dbi->src_ports) < 0) > | ~~~^~~~~~~~~~~ > | | > | unsigned int * > >hunt.h:372:66: note: expected âint *â but argument is of type âunsigned int *â > 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); > | ~~~~~^~~~~~~~~ > >rstd.c:318:49: warning: pointer targets in passing argument 4 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 318 | &dst_ip, &dst_mask, dst_ports, > | ^~~~~~~~~ > | | > | int * >hunt.h:371:55: note: expected âunsigned int *â but argument is of type âint *â > 371 | unsigned int *ret_mask, unsigned int *ret_ports, > | ~~~~~~~~~~~~~~^~~~~~~~~ >rstd.c:319:62: warning: pointer targets in passing argument 7 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 319 | dbi->dst_addr, dbi->dst_mask, dbi->dst_ports) < 0) > | ~~~^~~~~~~~~~~ > | | > | unsigned int * > >hunt.h:372:66: note: expected âint *â but argument is of type âunsigned int *â > 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); > | ~~~~~^~~~~~~~~ > >rstd.c:326:20: warning: pointer targets in passing argument 1 of âport_htonsâ differ in signedness [-Wpointer-sign] > 326 | port_htons(src_ports); > | ^~~~~~~~~ > | | > | int * >hunt.h:428:31: note: expected âunsigned int *â but argument is of type âint *â > 428 | void port_htons(unsigned int *db_ports); > | ~~~~~~~~~~~~~~^~~~~~~~ >rstd.c:327:20: warning: pointer targets in passing argument 1 of âport_htonsâ differ in signedness [-Wpointer-sign] > 327 | port_htons(dst_ports); > | ^~~~~~~~~ > | | > | int * >hunt.h:428:31: note: expected âunsigned int *â but argument is of type âint *â > 428 | void port_htons(unsigned int *db_ports); > | ~~~~~~~~~~~~~~^~~~~~~~ >hijack.c: In function âfast_ack_to_dstâ: >hijack.c:89:36: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 89 | ts.src_mac = ci->src.src_mac; > | ^ >hijack.c:90:36: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 90 | ts.dst_mac = ci->dst.src_mac; > | ^ >hijack.c: In function âstormack_hijackâ: >hijack.c:223:20: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 223 | ts.src_mac = ci->dst.dst_mac; > | ^ >hijack.c:224:20: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 224 | ts.dst_mac = ci->dst.src_mac; > | ^ >sniff.c: In function âsniff_item_printâ: >sniff.c:128:28: warning: pointer targets in passing argument 1 of âsprintf_db_portsâ differ in signedness [-Wpointer-sign] > 128 | sprintf_db_ports(si->src_ports, buf_src_ports, sizeof(buf_src_ports), 1); > | ~~^~~~~~~~~~~ > | | > | int * >In file included from sniff.c:9: >hunt.h:415:36: note: expected âunsigned int *â but argument is of type âint *â > 415 | int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); > | ~~~~~~~~~~~~~~^~~~~ >sniff.c:129:28: warning: pointer targets in passing argument 1 of âsprintf_db_portsâ differ in signedness [-Wpointer-sign] > 129 | sprintf_db_ports(si->dst_ports, buf_dst_ports, sizeof(buf_dst_ports), 1); > | ~~^~~~~~~~~~~ > | | > | int * >hunt.h:415:36: note: expected âunsigned int *â but argument is of type âint *â > 415 | int sprintf_db_ports(unsigned int *ports, char *buf, int buf_size, int all); > | ~~~~~~~~~~~~~~^~~~~ >sniff.c: In function âsniff_packet_matchâ: >sniff.c:174:41: warning: pointer targets in passing argument 2 of âport_matchâ differ in signedness [-Wpointer-sign] > 174 | port_match(tcph->source, si->src_ports) && > | ~~^~~~~~~~~~~ > | | > | int * >hunt.h:427:40: note: expected âunsigned int *â but argument is of type âint *â > 427 | int port_match(int port, unsigned int *db_ports); > | ~~~~~~~~~~~~~~^~~~~~~~ >sniff.c:175:39: warning: pointer targets in passing argument 2 of âport_matchâ differ in signedness [-Wpointer-sign] > 175 | port_match(tcph->dest, si->dst_ports)) > | ~~^~~~~~~~~~~ > | | > | int * >hunt.h:427:40: note: expected âunsigned int *â but argument is of type âint *â > 427 | int port_match(int port, unsigned int *db_ports); > | ~~~~~~~~~~~~~~^~~~~~~~ >sniff.c:181:41: warning: pointer targets in passing argument 2 of âport_matchâ differ in signedness [-Wpointer-sign] > 181 | port_match(tcph->source, si->dst_ports) && > | ~~^~~~~~~~~~~ > | | > | int * >hunt.h:427:40: note: expected âunsigned int *â but argument is of type âint *â > 427 | int port_match(int port, unsigned int *db_ports); > | ~~~~~~~~~~~~~~^~~~~~~~ >sniff.c:182:39: warning: pointer targets in passing argument 2 of âport_matchâ differ in signedness [-Wpointer-sign] > 182 | port_match(tcph->dest, si->src_ports)) > | ~~^~~~~~~~~~~ > | | > | int * >hunt.h:427:40: note: expected âunsigned int *â but argument is of type âint *â > 427 | int port_match(int port, unsigned int *db_ports); > | ~~~~~~~~~~~~~~^~~~~~~~ >sniff.c: In function âsniff_add_itemâ: >sniff.c:664:25: warning: pointer targets in passing argument 3 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 664 | &src_mask, src_ports, 0, 0, NULL) < 0) > | ^~~~~~~~~ > | | > | int * >hunt.h:371:31: note: expected âunsigned int *â but argument is of type âint *â > 371 | unsigned int *ret_mask, unsigned int *ret_ports, > | ~~~~~~~~~~~~~~^~~~~~~~ >sniff.c:664:36: warning: pointer targets in passing argument 4 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 664 | &src_mask, src_ports, 0, 0, NULL) < 0) > | ^~~~~~~~~ > | | > | int * >hunt.h:371:55: note: expected âunsigned int *â but argument is of type âint *â > 371 | unsigned int *ret_mask, unsigned int *ret_ports, > | ~~~~~~~~~~~~~~^~~~~~~~~ >sniff.c:667:25: warning: pointer targets in passing argument 3 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 667 | &dst_mask, dst_ports, 0, 0, NULL) < 0) > | ^~~~~~~~~ > | | > | int * >hunt.h:371:31: note: expected âunsigned int *â but argument is of type âint *â > 371 | unsigned int *ret_mask, unsigned int *ret_ports, > | ~~~~~~~~~~~~~~^~~~~~~~ >sniff.c:667:36: warning: pointer targets in passing argument 4 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 667 | &dst_mask, dst_ports, 0, 0, NULL) < 0) > | ^~~~~~~~~ > | | > | int * >hunt.h:371:55: note: expected âunsigned int *â but argument is of type âint *â > 371 | unsigned int *ret_mask, unsigned int *ret_ports, > | ~~~~~~~~~~~~~~^~~~~~~~~ >sniff.c:705:20: warning: pointer targets in passing argument 1 of âport_htonsâ differ in signedness [-Wpointer-sign] > 705 | port_htons(src_ports); > | ^~~~~~~~~ > | | > | int * >hunt.h:428:31: note: expected âunsigned int *â but argument is of type âint *â > 428 | void port_htons(unsigned int *db_ports); > | ~~~~~~~~~~~~~~^~~~~~~~ >sniff.c:709:20: warning: pointer targets in passing argument 1 of âport_htonsâ differ in signedness [-Wpointer-sign] > 709 | port_htons(dst_ports); > | ^~~~~~~~~ > | | > | int * >hunt.h:428:31: note: expected âunsigned int *â but argument is of type âint *â > 428 | void port_htons(unsigned int *db_ports); > | ~~~~~~~~~~~~~~^~~~~~~~ >sniff.c: In function âsniff_mod_itemâ: >sniff.c:747:38: warning: pointer targets in passing argument 3 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 747 | &src_ip, &src_mask, src_ports, > | ^~~~~~~~~ > | | > | int * >hunt.h:371:31: note: expected âunsigned int *â but argument is of type âint *â > 371 | unsigned int *ret_mask, unsigned int *ret_ports, > | ~~~~~~~~~~~~~~^~~~~~~~ >sniff.c:747:49: warning: pointer targets in passing argument 4 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 747 | &src_ip, &src_mask, src_ports, > | ^~~~~~~~~ > | | > | int * >hunt.h:371:55: note: expected âunsigned int *â but argument is of type âint *â > 371 | unsigned int *ret_mask, unsigned int *ret_ports, > | ~~~~~~~~~~~~~~^~~~~~~~~ >sniff.c:751:38: warning: pointer targets in passing argument 3 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 751 | &dst_ip, &dst_mask, dst_ports, > | ^~~~~~~~~ > | | > | int * >hunt.h:371:31: note: expected âunsigned int *â but argument is of type âint *â > 371 | unsigned int *ret_mask, unsigned int *ret_ports, > | ~~~~~~~~~~~~~~^~~~~~~~ >sniff.c:751:49: warning: pointer targets in passing argument 4 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 751 | &dst_ip, &dst_mask, dst_ports, > | ^~~~~~~~~ > | | > | int * >hunt.h:371:55: note: expected âunsigned int *â but argument is of type âint *â > 371 | unsigned int *ret_mask, unsigned int *ret_ports, > | ~~~~~~~~~~~~~~^~~~~~~~~ >sniff.c:770:20: warning: pointer targets in passing argument 1 of âport_htonsâ differ in signedness [-Wpointer-sign] > 770 | port_htons(src_ports); > | ^~~~~~~~~ > | | > | int * >hunt.h:428:31: note: expected âunsigned int *â but argument is of type âint *â > 428 | void port_htons(unsigned int *db_ports); > | ~~~~~~~~~~~~~~^~~~~~~~ >sniff.c:771:20: warning: pointer targets in passing argument 1 of âport_htonsâ differ in signedness [-Wpointer-sign] > 771 | port_htons(dst_ports); > | ^~~~~~~~~ > | | > | int * >hunt.h:428:31: note: expected âunsigned int *â but argument is of type âint *â > 428 | void port_htons(unsigned int *db_ports); > | ~~~~~~~~~~~~~~^~~~~~~~ >rstd.c: In function âdb_item_printâ: >rstd.c:228:30: warning: â%sâ directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] > 228 | sprintf(buf, "%s/%d [%s]", host_lookup(dbi->src_addr, hl_mode), > | ^~ > 229 | count_mask(dbi->src_mask), buf_src_ports); > | ~~~~~~~~~~~~~ >In file included from /usr/include/stdio.h:964, > from rstd.c:10: >In function âsprintfâ, > inlined from âdb_item_printâ at rstd.c:228:2: >/usr/include/bits/stdio2.h:30:10: note: â__builtin___sprintf_chkâ output 6 or more bytes (assuming 517) into a destination of size 512 > 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 31 | __glibc_objsize (__s), __fmt, > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 32 | __va_arg_pack ()); > | ~~~~~~~~~~~~~~~~~ >sniff.c: In function âsniff_item_printâ: >sniff.c:135:35: warning: â%sâ directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] > 135 | sprintf(host_buf, "%s/%d [%s]", host_lookup(si->src_addr, hl_mode), > | ^~ > 136 | count_mask(si->src_mask), buf_src_ports); > | ~~~~~~~~~~~~~ >In file included from /usr/include/stdio.h:964, > from sniff.c:12: >In function âsprintfâ, > inlined from âsniff_item_printâ at sniff.c:135:2: >/usr/include/bits/stdio2.h:30:10: note: â__builtin___sprintf_chkâ output 6 or more bytes (assuming 517) into a destination of size 512 > 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 31 | __glibc_objsize (__s), __fmt, > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 32 | __va_arg_pack ()); > | ~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o macdisc.o macdisc.c >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o tap.o tap.c >macdisc.c: In function âmac_discoverâ: >macdisc.c:40:20: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 40 | as.src_mac = my_eth_mac; > | ^ >macdisc.c:41:20: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 41 | as.dst_mac = mac_broadcast; > | ^ >macdisc.c:43:23: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 43 | as.sender_mac = my_eth_mac; > | ^ >macdisc.c:45:23: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 45 | as.target_mac = mac_zero; > | ^ >tap.c: In function âget_ifc_infoâ: >tap.c:135:31: warning: pointer targets in passing argument 1 of âprint_eth_macâ differ in signedness [-Wpointer-sign] > 135 | print_eth_mac(mac); > | ^~~ > | | > | char * >In file included from tap.c:31: >hunt.h:421:34: note: expected âunsigned char *â but argument is of type âchar *â > 421 | int print_eth_mac(unsigned char *mac); > | ~~~~~~~~~~~~~~~^~~ >sniff.c: In function âsniffer_log_printâ: >sniff.c:236:56: warning: â%dâ directive writing between 1 and 10 bytes into a region of size between 0 and 511 [-Wformat-overflow=] > 236 | sprintf(file_name, "%s_%d", file_name_buf, ++i); > | ^~ >sniff.c:236:52: note: directive argument in the range [1, 2147483647] > 236 | sprintf(file_name, "%s_%d", file_name_buf, ++i); > | ^~~~~~~ >In function âsprintfâ, > inlined from âsniffer_log_printâ at sniff.c:236:5: >/usr/include/bits/stdio2.h:30:10: note: â__builtin___sprintf_chkâ output between 3 and 523 bytes into a destination of size 512 > 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 31 | __glibc_objsize (__s), __fmt, > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 32 | __va_arg_pack ()); > | ~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o arphijack.o arphijack.c >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o tty.o tty.c >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o synchijack.o synchijack.c >arphijack.c: In function âwatch_ttyâ: >arphijack.c:81:28: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 81 | ts.dst_mac = wtd->ci->dst.src_mac; > | ^ >arphijack.c: In function âarp_hijackâ: >arphijack.c:122:54: warning: pointer targets in passing argument 3 of âstart_arp_spoofâ differ in signedness [-Wpointer-sign] > 122 | ci->src.src_mac, ci->dst.src_mac, > | ~~~~~~~^~~~~~~~ > | | > | unsigned char * >In file included from arphijack.c:9: >hunt.h:522:23: note: expected âchar *â but argument is of type âunsigned char *â > 522 | char *src_mac, char *dst_mac, char *src_fake_mac, > | ~~~~~~^~~~~~~ >arphijack.c:122:71: warning: pointer targets in passing argument 4 of âstart_arp_spoofâ differ in signedness [-Wpointer-sign] > 122 | ci->src.src_mac, ci->dst.src_mac, > | ~~~~~~~^~~~~~~~ > | | > | unsigned char * > >hunt.h:522:38: note: expected âchar *â but argument is of type âunsigned char *â > 522 | char *src_mac, char *dst_mac, char *src_fake_mac, > | ~~~~~~^~~~~~~ >arphijack.c:143:54: warning: pointer targets in passing argument 3 of âstart_arp_spoofâ differ in signedness [-Wpointer-sign] > 143 | ci->dst.src_mac, ci->src.src_mac, > | ~~~~~~~^~~~~~~~ > | | > | unsigned char * >hunt.h:522:23: note: expected âchar *â but argument is of type âunsigned char *â > 522 | char *src_mac, char *dst_mac, char *src_fake_mac, > | ~~~~~~^~~~~~~ >arphijack.c:143:71: warning: pointer targets in passing argument 4 of âstart_arp_spoofâ differ in signedness [-Wpointer-sign] > 143 | ci->dst.src_mac, ci->src.src_mac, > | ~~~~~~~^~~~~~~~ > | | > | unsigned char * > >hunt.h:522:38: note: expected âchar *â but argument is of type âunsigned char *â > 522 | char *src_mac, char *dst_mac, char *src_fake_mac, > | ~~~~~~^~~~~~~ >arphijack.c:169:26: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 169 | wtd.src_fake_mac = asi_src ? asi_src->src_fake_mac : ci->src.src_mac; > | ^ >arphijack.c:200:44: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 200 | ts.src_mac = asi_src ? asi_src->src_fake_mac : > | ^ >arphijack.c:202:44: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 202 | ts.dst_mac = ci->dst.src_mac; > | ^ >arphijack.c:224:44: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 224 | ts.src_mac = asi_dst ? asi_dst->src_fake_mac : > | ^ >arphijack.c:226:44: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 226 | ts.dst_mac = ci->src.src_mac; > | ^ >synchijack.c: In function âhijack_sync_init_msgâ: >synchijack.c:153:28: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 153 | ts.src_mac = ci->src.dst_mac; > | ^ >synchijack.c:154:28: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 154 | ts.dst_mac = ci->src.src_mac; > | ^ >synchijack.c: In function âneed_read_write_negativeâ: >synchijack.c:220:20: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 220 | ts.src_mac = ci->dst.dst_mac; > | ^ >synchijack.c:221:20: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 221 | ts.dst_mac = ci->dst.src_mac; > | ^ >synchijack.c: In function âneed_write_positiveâ: >synchijack.c:279:20: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 279 | ts.src_mac = ci->src.dst_mac; > | ^ >synchijack.c:280:20: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 280 | ts.dst_mac = ci->src.src_mac; > | ^ >synchijack.c: In function âneed_read_positiveâ: >synchijack.c:307:20: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 307 | ts.src_mac = ci->src.dst_mac; > | ^ >synchijack.c:308:20: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 308 | ts.dst_mac = ci->src.src_mac; > | ^ >synchijack.c: In function âf_hijack_syncâ: >synchijack.c:419:44: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 419 | ts.src_mac = ci->dst.dst_mac; > | ^ >synchijack.c:420:44: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 420 | ts.dst_mac = ci->dst.src_mac; > | ^ >synchijack.c: In function âhijack_syncâ: >synchijack.c:467:24: warning: unused variable âpâ [-Wunused-variable] > 467 | struct packet *p; > | ^ >synchijack.c:463:36: warning: unused variable âifunc_dstâ [-Wunused-variable] > 463 | struct ifunc_item ifunc_f, ifunc_dst; > | ^~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o arpspoof.o arpspoof.c >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o hostup.o hostup.c >arpspoof.c: In function âsend_src_spoof_to_dstâ: >arpspoof.c:85:24: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 85 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : asi->src_fake_mac; > | ^ >arpspoof.c:86:24: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 86 | as_dst.dst_mac = asi->dst_mac; > | ^ >arpspoof.c:88:27: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 88 | as_dst.sender_mac = asi->src_fake_mac; > | ^ >arpspoof.c:90:27: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 90 | as_dst.target_mac = asi->dst_mac; > | ^ >arpspoof.c: In function âsend_src_spoof_to_dst_through_requestâ: >arpspoof.c:117:24: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 117 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : asi->src_fake_mac; > | ^ >arpspoof.c:118:24: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 118 | as_dst.dst_mac = asi->dst_mac; /* don't use broadcast - we want that it is received only by the target */ > | ^ >arpspoof.c:120:27: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 120 | as_dst.sender_mac = asi->src_fake_mac; > | ^ >arpspoof.c:122:27: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 122 | as_dst.target_mac = mac_zero; > | ^ >arpspoof.c: In function âstop_arp_spoofâ: >arpspoof.c:543:40: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 543 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : > | ^ >arpspoof.c:546:40: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 546 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : > | ^ >arpspoof.c:548:32: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 548 | as_dst.dst_mac = asi->dst_mac; > | ^ >arpspoof.c:550:35: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 550 | as_dst.sender_mac = asi_src_mac; > | ^ >arpspoof.c:552:35: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 552 | as_dst.target_mac = asi->dst_mac; > | ^ >arpspoof.c:565:40: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 565 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : > | ^ >arpspoof.c:568:40: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 568 | as_dst.src_mac = arp_spoof_with_my_mac ? my_eth_mac : > | ^ >arpspoof.c:570:32: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 570 | as_dst.src_mac = asi->src_mac; > | ^ >arpspoof.c:571:32: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 571 | as_dst.dst_mac = asi->dst_mac; > | ^ >arpspoof.c:573:35: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 573 | as_dst.sender_mac = asi_src_mac; > | ^ >arpspoof.c:575:35: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 575 | as_dst.target_mac = mac_zero; > | ^ >arpspoof.c: In function âarp_spoof_range_listâ: >arpspoof.c:951:41: warning: pointer targets in passing argument 2 of âsprintf_eth_macâ differ in signedness [-Wpointer-sign] > 951 | sprintf_eth_mac(buf, asr->src_fake_mac); > | ~~~^~~~~~~~~~~~~~ > | | > | char * >In file included from arpspoof.c:9: >hunt.h:422:45: note: expected âunsigned char *â but argument is of type âchar *â > 422 | int sprintf_eth_mac(char *b, unsigned char *mac); > | ~~~~~~~~~~~~~~~^~~ >arpspoof.c: In function âarp_spoof_add_itemâ: >arpspoof.c:1008:71: warning: pointer targets in passing argument 5 of âstart_arp_spoofâ differ in signedness [-Wpointer-sign] > 1008 | mi_dst ? mi_dst->mac : NULL, src_fake_mac, > | ^~~~~~~~~~~~ > | | > | unsigned char * > >arpspoof.c:398:53: note: expected âchar *â but argument is of type âunsigned char *â > 398 | char *src_mac, char *dst_mac, char *src_fake_mac, > | ~~~~~~^~~~~~~~~~~~ >arpspoof.c: In function âarp_spoof_add_hâ: >arpspoof.c:1163:84: warning: pointer targets in passing argument 5 of âstart_arp_spoofâ differ in signedness [-Wpointer-sign] > 1163 | = start_arp_spoof(src_ip, dst_ip, mi_src->mac, mi_dst->mac, src_fake_mac, > | ^~~~~~~~~~~~ > | | > | unsigned char * > >arpspoof.c:398:53: note: expected âchar *â but argument is of type âunsigned char *â > 398 | char *src_mac, char *dst_mac, char *src_fake_mac, > | ~~~~~~^~~~~~~~~~~~ >arpspoof.c:1165:84: warning: pointer targets in passing argument 5 of âstart_arp_spoofâ differ in signedness [-Wpointer-sign] > 1165 | = start_arp_spoof(dst_ip, src_ip, mi_dst->mac, mi_src->mac, dst_fake_mac, > | ^~~~~~~~~~~~ > | | > | unsigned char * > >arpspoof.c:398:53: note: expected âchar *â but argument is of type âunsigned char *â > 398 | char *src_mac, char *dst_mac, char *src_fake_mac, > | ~~~~~~^~~~~~~~~~~~ >arpspoof.c: In function âarpspoof_testâ: >arpspoof.c:1390:68: warning: pointer targets in passing argument 3 of âsend_icmp_requestâ differ in signedness [-Wpointer-sign] > 1390 | send_icmp_request(asi->src_addr, asi->dst_addr, asi->src_fake_mac, > | ~~~^~~~~~~~~~~~~~ > | | > | unsigned char * > >hunt.h:698:30: note: expected âchar *â but argument is of type âunsigned char *â > 698 | char *src_mac, char *dst_mac, unsigned short seq); > | ~~~~~~^~~~~~~ >arpspoof.c:1391:38: warning: pointer targets in passing argument 4 of âsend_icmp_requestâ differ in signedness [-Wpointer-sign] > 1391 | asi->dst_mac, 1 + i); > | ~~~^~~~~~~~~ > | | > | unsigned char * >hunt.h:698:45: note: expected âchar *â but argument is of type âunsigned char *â > 698 | char *src_mac, char *dst_mac, unsigned short seq); > | ~~~~~~^~~~~~~ >arpspoof.c:1397:51: warning: pointer targets in passing argument 4 of âis_icmp_replyâ differ in signedness [-Wpointer-sign] > 1397 | asi->dst_mac, asi->src_fake_mac); > | ~~~^~~~~~~~~ > | | > | unsigned char * >hunt.h:700:25: note: expected âchar *â but argument is of type âunsigned char *â > 700 | char *src_mac, char *dst_mac); > | ~~~~~~^~~~~~~ >arpspoof.c:1397:65: warning: pointer targets in passing argument 5 of âis_icmp_replyâ differ in signedness [-Wpointer-sign] > 1397 | asi->dst_mac, asi->src_fake_mac); > | ~~~^~~~~~~~~~~~~~ > | | > | unsigned char * > >hunt.h:700:40: note: expected âchar *â but argument is of type âunsigned char *â > 700 | char *src_mac, char *dst_mac); > | ~~~~~~^~~~~~~ >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o addpolicy.o addpolicy.c >hostup.c: In function âperform_pingâ: >hostup.c:87:63: warning: pointer targets in passing argument 3 of âsend_icmp_requestâ differ in signedness [-Wpointer-sign] > 87 | ip, my_eth_mac, > | ^~~~~~~~~~ > | | > | unsigned char * > >In file included from hostup.c:9: >hunt.h:698:30: note: expected âchar *â but argument is of type âunsigned char *â > 698 | char *src_mac, char *dst_mac, unsigned short seq); > | ~~~~~~^~~~~~~ >hostup.c:93:49: warning: pointer targets in passing argument 3 of âsend_icmp_requestâ differ in signedness [-Wpointer-sign] > 93 | my_eth_mac, fake_mac, htons(j + 2000)); > | ^~~~~~~~~~ > | | > | unsigned char * >hunt.h:698:30: note: expected âchar *â but argument is of type âunsigned char *â > 698 | char *src_mac, char *dst_mac, unsigned short seq); > | ~~~~~~^~~~~~~ >hostup.c:93:61: warning: pointer targets in passing argument 4 of âsend_icmp_requestâ differ in signedness [-Wpointer-sign] > 93 | my_eth_mac, fake_mac, htons(j + 2000)); > | ^~~~~~~~ > | | > | unsigned char * >hunt.h:698:45: note: expected âchar *â but argument is of type âunsigned char *â > 698 | char *src_mac, char *dst_mac, unsigned short seq); > | ~~~~~~^~~~~~~ >hostup.c:106:52: warning: pointer targets in passing argument 4 of âis_icmp_replyâ differ in signedness [-Wpointer-sign] > 106 | p->p_ethh->h_source, my_eth_mac) || > | ~~~~~~~~~^~~~~~~~~~ > | | > | unsigned char * >hunt.h:700:25: note: expected âchar *â but argument is of type âunsigned char *â > 700 | char *src_mac, char *dst_mac); > | ~~~~~~^~~~~~~ >hostup.c:106:64: warning: pointer targets in passing argument 5 of âis_icmp_replyâ differ in signedness [-Wpointer-sign] > 106 | p->p_ethh->h_source, my_eth_mac) || > | ^~~~~~~~~~ > | | > | unsigned char * > >hunt.h:700:40: note: expected âchar *â but argument is of type âunsigned char *â > 700 | char *src_mac, char *dst_mac); > | ~~~~~~^~~~~~~ >hostup.c:108:43: warning: pointer targets in passing argument 4 of âis_icmp_replyâ differ in signedness [-Wpointer-sign] > 108 | fake_mac, my_eth_mac))) { > | ^~~~~~~~ > | | > | unsigned char * >hunt.h:700:25: note: expected âchar *â but argument is of type âunsigned char *â > 700 | char *src_mac, char *dst_mac); > | ~~~~~~^~~~~~~ >hostup.c:108:53: warning: pointer targets in passing argument 5 of âis_icmp_replyâ differ in signedness [-Wpointer-sign] > 108 | fake_mac, my_eth_mac))) { > | ^~~~~~~~~~ > | | > | unsigned char * >hunt.h:700:40: note: expected âchar *â but argument is of type âunsigned char *â > 700 | char *src_mac, char *dst_mac); > | ~~~~~~^~~~~~~ >hostup.c: In function âsend_arp_messageâ: >hostup.c:125:20: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 125 | as.src_mac = my_eth_mac; > | ^ >hostup.c:128:23: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 128 | as.sender_mac = my_eth_mac; > | ^ >hostup.c:130:23: warning: pointer targets in assignment from âunsigned char *â to âchar *â differ in signedness [-Wpointer-sign] > 130 | as.target_mac = mac_zero; > | ^ >hostup.c: In function âperform_arpâ: >hostup.c:159:62: warning: pointer targets in passing argument 2 of âsend_arp_messageâ differ in signedness [-Wpointer-sign] > 159 | send_arp_message(ip, mac_broadcast); > | ^~~~~~~~~~~~~ > | | > | unsigned char * > >hostup.c:121:53: note: expected âchar *â but argument is of type âunsigned char *â > 121 | static void send_arp_message(unsigned int ip, char *dst_mac) > | ~~~~~~^~~~~~~ >hostup.c:161:62: warning: pointer targets in passing argument 2 of âsend_arp_messageâ differ in signedness [-Wpointer-sign] > 161 | send_arp_message(ip, fake_mac); > | ^~~~~~~~ > | | > | unsigned char * >hostup.c:121:53: note: expected âchar *â but argument is of type âunsigned char *â > 121 | static void send_arp_message(unsigned int ip, char *dst_mac) > | ~~~~~~^~~~~~~ >hostup.c: In function âhost_upâ: >hostup.c:299:33: warning: pointer targets in passing argument 1 of âsprintf_eth_macâ differ in signedness [-Wpointer-sign] > 299 | sprintf_eth_mac(buf_mac, suggest_mac()); > | ^~~~~~~ > | | > | unsigned char * >hunt.h:422:27: note: expected âchar *â but argument is of type âunsigned char *â > 422 | int sprintf_eth_mac(char *b, unsigned char *mac); > | ~~~~~~^ >hostup.c:300:84: warning: pointer targets in passing argument 3 of âmenu_choose_macâ differ in signedness [-Wpointer-sign] > 300 | u_choose_mac("choose unused MAC in your network", fake_mac, buf_mac) >= 0) { > | ^~~~~~~ > | | > | unsigned char * > >hunt.h:365:64: note: expected âchar *â but argument is of type âunsigned char *â > 365 | int menu_choose_mac(char *label, unsigned char *mac_ret, char *dfl); > | ~~~~~~^~~ >hostup.c:314:33: warning: pointer targets in passing argument 1 of âsprintf_eth_macâ differ in signedness [-Wpointer-sign] > 314 | sprintf_eth_mac(buf_mac, suggest_mac()); > | ^~~~~~~ > | | > | unsigned char * >hunt.h:422:27: note: expected âchar *â but argument is of type âunsigned char *â > 422 | int sprintf_eth_mac(char *b, unsigned char *mac); > | ~~~~~~^ >hostup.c:315:84: warning: pointer targets in passing argument 3 of âmenu_choose_macâ differ in signedness [-Wpointer-sign] > 315 | u_choose_mac("choose unused MAC in your network", fake_mac, buf_mac) >= 0) { > | ^~~~~~~ > | | > | unsigned char * > >hunt.h:365:64: note: expected âchar *â but argument is of type âunsigned char *â > 365 | int menu_choose_mac(char *label, unsigned char *mac_ret, char *dfl); > | ~~~~~~^~~ >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o options.o options.c >addpolicy.c: In function âaddpolicy_add_itemâ: >addpolicy.c:113:44: warning: pointer targets in passing argument 4 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 113 | &src_mask, src_ports, 0, 0, NULL) < 0) > | ^~~~~~~~~ > | | > | int * >In file included from addpolicy.c:9: >hunt.h:371:55: note: expected âunsigned int *â but argument is of type âint *â > 371 | unsigned int *ret_mask, unsigned int *ret_ports, > | ~~~~~~~~~~~~~~^~~~~~~~~ >addpolicy.c:116:44: warning: pointer targets in passing argument 4 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 116 | &dst_mask, dst_ports, 0, 0, NULL) < 0) > | ^~~~~~~~~ > | | > | int * >hunt.h:371:55: note: expected âunsigned int *â but argument is of type âint *â > 371 | unsigned int *ret_mask, unsigned int *ret_ports, > | ~~~~~~~~~~~~~~^~~~~~~~~ >addpolicy.c:125:20: warning: pointer targets in passing argument 1 of âport_htonsâ differ in signedness [-Wpointer-sign] > 125 | port_htons(src_ports); > | ^~~~~~~~~ > | | > | int * >hunt.h:428:31: note: expected âunsigned int *â but argument is of type âint *â > 428 | void port_htons(unsigned int *db_ports); > | ~~~~~~~~~~~~~~^~~~~~~~ >addpolicy.c:129:20: warning: pointer targets in passing argument 1 of âport_htonsâ differ in signedness [-Wpointer-sign] > 129 | port_htons(dst_ports); > | ^~~~~~~~~ > | | > | int * >hunt.h:428:31: note: expected âunsigned int *â but argument is of type âint *â > 428 | void port_htons(unsigned int *db_ports); > | ~~~~~~~~~~~~~~^~~~~~~~ >addpolicy.c: In function âaddpolicy_mod_itemâ: >addpolicy.c:150:49: warning: pointer targets in passing argument 4 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 150 | &src_ip, &src_mask, src_ports, > | ^~~~~~~~~ > | | > | int * >hunt.h:371:55: note: expected âunsigned int *â but argument is of type âint *â > 371 | unsigned int *ret_mask, unsigned int *ret_ports, > | ~~~~~~~~~~~~~~^~~~~~~~~ >addpolicy.c:151:62: warning: pointer targets in passing argument 7 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 151 | api->src_addr, api->src_mask, api->src_ports) < 0) > | ~~~^~~~~~~~~~~ > | | > | unsigned int * > >hunt.h:372:66: note: expected âint *â but argument is of type âunsigned int *â > 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); > | ~~~~~^~~~~~~~~ > >addpolicy.c:154:49: warning: pointer targets in passing argument 4 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 154 | &dst_ip, &dst_mask, dst_ports, > | ^~~~~~~~~ > | | > | int * >hunt.h:371:55: note: expected âunsigned int *â but argument is of type âint *â > 371 | unsigned int *ret_mask, unsigned int *ret_ports, > | ~~~~~~~~~~~~~~^~~~~~~~~ >addpolicy.c:155:62: warning: pointer targets in passing argument 7 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 155 | api->dst_addr, api->dst_mask, api->dst_ports) < 0) > | ~~~^~~~~~~~~~~ > | | > | unsigned int * > >hunt.h:372:66: note: expected âint *â but argument is of type âunsigned int *â > 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); > | ~~~~~^~~~~~~~~ > >addpolicy.c:157:20: warning: pointer targets in passing argument 1 of âport_htonsâ differ in signedness [-Wpointer-sign] > 157 | port_htons(src_ports); > | ^~~~~~~~~ > | | > | int * >hunt.h:428:31: note: expected âunsigned int *â but argument is of type âint *â > 428 | void port_htons(unsigned int *db_ports); > | ~~~~~~~~~~~~~~^~~~~~~~ >addpolicy.c:158:20: warning: pointer targets in passing argument 1 of âport_htonsâ differ in signedness [-Wpointer-sign] > 158 | port_htons(dst_ports); > | ^~~~~~~~~ > | | > | int * >hunt.h:428:31: note: expected âunsigned int *â but argument is of type âint *â > 428 | void port_htons(unsigned int *db_ports); > | ~~~~~~~~~~~~~~^~~~~~~~ >addpolicy.c: In function âaddpolicy_item_printâ: >addpolicy.c:79:35: warning: â%sâ directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] > 79 | sprintf(host_buf, "%s/%d [%s]", host_lookup(api->src_addr, hl_mode), > | ^~ > 80 | count_mask(api->src_mask), buf_src_ports); > | ~~~~~~~~~~~~~ >In file included from /usr/include/stdio.h:964, > from addpolicy.c:10: >In function âsprintfâ, > inlined from âaddpolicy_item_printâ at addpolicy.c:79:2: >/usr/include/bits/stdio2.h:30:10: note: â__builtin___sprintf_chkâ output 6 or more bytes (assuming 517) into a destination of size 512 > 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 31 | __glibc_objsize (__s), __fmt, > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 32 | __va_arg_pack ()); > | ~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o resolv.o resolv.c >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o timer.o timer.c >resolv.c: In function âupdate_thrâ: >resolv.c:131:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > 131 | int fd = (int) arg; > | ^ >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o pktrelay.o pktrelay.c >resolv.c: In function âresolv_initâ: >resolv.c:485:59: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 485 | pthread_create(&res_update_thr, NULL, update_thr, (void *) fd_req); > | ^ >resolv.c: In function âresolv_requestâ: >resolv.c:105:9: warning: ignoring return value of âwriteâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 105 | write(fd_req, &req, sizeof(struct req)); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >resolv.c: In function âhandle_responseâ: >resolv.c:337:25: warning: ignoring return value of âreadâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 337 | read(sl->s_fd, res + 1, res->name_len); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >resolv.c:339:25: warning: ignoring return value of âwriteâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 339 | write(fd, buf, sizeof(struct res) + res->name_len); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >resolv.c: In function âsend_req_to_slaveâ: >resolv.c:257:25: warning: ignoring return value of âwriteâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 257 | write(sl->s_fd, &req, sizeof(struct req)); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >resolv.c:285:25: warning: ignoring return value of âwriteâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 285 | write(sl->s_fd, &req, sizeof(struct req)); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >resolv.c: In function âresolv_slaveâ: >resolv.c:226:25: warning: ignoring return value of âwriteâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 226 | write(fd, res, sizeof(struct res) + res->name_len); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >pktrelay.c: In function ârelay_add_itemâ: >pktrelay.c:270:44: warning: pointer targets in passing argument 4 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 270 | &src_mask, src_ports, 0, 0, NULL) < 0) > | ^~~~~~~~~ > | | > | int * >In file included from pktrelay.c:9: >hunt.h:371:55: note: expected âunsigned int *â but argument is of type âint *â > 371 | unsigned int *ret_mask, unsigned int *ret_ports, > | ~~~~~~~~~~~~~~^~~~~~~~~ >pktrelay.c:273:44: warning: pointer targets in passing argument 4 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 273 | &dst_mask, dst_ports, 0, 0, NULL) < 0) > | ^~~~~~~~~ > | | > | int * >hunt.h:371:55: note: expected âunsigned int *â but argument is of type âint *â > 371 | unsigned int *ret_mask, unsigned int *ret_ports, > | ~~~~~~~~~~~~~~^~~~~~~~~ >pktrelay.c:294:20: warning: pointer targets in passing argument 1 of âport_htonsâ differ in signedness [-Wpointer-sign] > 294 | port_htons(src_ports); > | ^~~~~~~~~ > | | > | int * >hunt.h:428:31: note: expected âunsigned int *â but argument is of type âint *â > 428 | void port_htons(unsigned int *db_ports); > | ~~~~~~~~~~~~~~^~~~~~~~ >pktrelay.c:298:20: warning: pointer targets in passing argument 1 of âport_htonsâ differ in signedness [-Wpointer-sign] > 298 | port_htons(dst_ports); > | ^~~~~~~~~ > | | > | int * >hunt.h:428:31: note: expected âunsigned int *â but argument is of type âint *â > 428 | void port_htons(unsigned int *db_ports); > | ~~~~~~~~~~~~~~^~~~~~~~ >pktrelay.c: In function ârelay_mod_itemâ: >pktrelay.c:334:49: warning: pointer targets in passing argument 4 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 334 | &src_ip, &src_mask, src_ports, > | ^~~~~~~~~ > | | > | int * >hunt.h:371:55: note: expected âunsigned int *â but argument is of type âint *â > 371 | unsigned int *ret_mask, unsigned int *ret_ports, > | ~~~~~~~~~~~~~~^~~~~~~~~ >pktrelay.c:335:59: warning: pointer targets in passing argument 7 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 335 | ri->src_addr, ri->src_mask, ri->src_ports) < 0) > | ~~^~~~~~~~~~~ > | | > | unsigned int * >hunt.h:372:66: note: expected âint *â but argument is of type âunsigned int *â > 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); > | ~~~~~^~~~~~~~~ > >pktrelay.c:338:49: warning: pointer targets in passing argument 4 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 338 | &dst_ip, &dst_mask, dst_ports, > | ^~~~~~~~~ > | | > | int * >hunt.h:371:55: note: expected âunsigned int *â but argument is of type âint *â > 371 | unsigned int *ret_mask, unsigned int *ret_ports, > | ~~~~~~~~~~~~~~^~~~~~~~~ >pktrelay.c:339:59: warning: pointer targets in passing argument 7 of âmenu_choose_host_mask_ports_dflâ differ in signedness [-Wpointer-sign] > 339 | ri->dst_addr, ri->dst_mask, ri->dst_ports) < 0) > | ~~^~~~~~~~~~~ > | | > | unsigned int * >hunt.h:372:66: note: expected âint *â but argument is of type âunsigned int *â > 372 | unsigned int dfl_ip, unsigned int dfl_mask, int *dfl_ports); > | ~~~~~^~~~~~~~~ > >pktrelay.c:367:20: warning: pointer targets in passing argument 1 of âport_htonsâ differ in signedness [-Wpointer-sign] > 367 | port_htons(src_ports); > | ^~~~~~~~~ > | | > | int * >hunt.h:428:31: note: expected âunsigned int *â but argument is of type âint *â > 428 | void port_htons(unsigned int *db_ports); > | ~~~~~~~~~~~~~~^~~~~~~~ >pktrelay.c:368:20: warning: pointer targets in passing argument 1 of âport_htonsâ differ in signedness [-Wpointer-sign] > 368 | port_htons(dst_ports); > | ^~~~~~~~~ > | | > | int * >hunt.h:428:31: note: expected âunsigned int *â but argument is of type âint *â > 428 | void port_htons(unsigned int *db_ports); > | ~~~~~~~~~~~~~~^~~~~~~~ >pktrelay.c: In function ârelay_item_printâ: >pktrelay.c:225:30: warning: â%sâ directive writing up to 511 bytes into a region of size 508 [-Wformat-overflow=] > 225 | sprintf(buf, "%s/%d [%s]", host_lookup(ri->src_addr, hl_mode), > | ^~ > 226 | count_mask(ri->src_mask), buf_src_ports); > | ~~~~~~~~~~~~~ >In file included from /usr/include/stdio.h:964, > from pktrelay.c:12: >In function âsprintfâ, > inlined from ârelay_item_printâ at pktrelay.c:225:2: >/usr/include/bits/stdio2.h:30:10: note: â__builtin___sprintf_chkâ output 6 or more bytes (assuming 517) into a destination of size 512 > 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 31 | __glibc_objsize (__s), __fmt, > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 32 | __va_arg_pack ()); > | ~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o hunt hunt.o main.o c/list.o c/hash.o c/array.o util.o net.o rst.o menu.o hijack.o rstd.o sniff.o macdisc.o tap.o arphijack.o tty.o synchijack.o arpspoof.o hostup.o addpolicy.o options.o resolv.o timer.o pktrelay.o -lpthread >make: Leaving directory '/var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work/hunt-1.5' >make -j4 CC=x86_64-pc-linux-gnu-gcc 'LDFLAGS=-O3 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' -C tpserv >make: Entering directory '/var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work/hunt-1.5/tpserv' >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -DSYNC_FAST -c -o tpserv.o tpserv.c >tpserv.c: In function âprocess_request_connectâ: >tpserv.c:161:32: error: passing argument 2 of âconnectâ from incompatible pointer type [-Wincompatible-pointer-types] > 161 | if (connect(fd_remote, to_addr, to_addr_len) < 0) { > | ^~~~~~~ > | | > | struct sockaddr_in * >In file included from tpserv.c:11: >/usr/include/sys/socket.h:126:52: note: expected âconst struct sockaddr *â but argument is of type âstruct sockaddr_in *â > 126 | extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len); > | ^ >tpserv.c:166:69: warning: pointer targets in passing argument 3 of âgetsocknameâ differ in signedness [-Wpointer-sign] > 166 | if (getsockname(fd_remote, (struct sockaddr *) &local_addr, &local_addr_len) < 0) { > | ^~~~~~~~~~~~~~~ > | | > | int * > >/usr/include/sys/socket.h:117:47: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 117 | socklen_t *__restrict __len) __THROW; > | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ >tpserv.c: In function âserv_slaveâ: >tpserv.c:216:59: warning: pointer targets in passing argument 3 of âgetsocknameâ differ in signedness [-Wpointer-sign] > 216 | if (getsockname(fd, (struct sockaddr *) &to_addr, &to_addr_len) < 0) { > | ^~~~~~~~~~~~ > | | > | int * >/usr/include/sys/socket.h:117:47: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 117 | socklen_t *__restrict __len) __THROW; > | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ >tpserv.c:222:61: warning: pointer targets in passing argument 3 of âgetpeernameâ differ in signedness [-Wpointer-sign] > 222 | if (getpeername(fd, (struct sockaddr *) &from_addr, &from_addr_len) < 0) { > | ^~~~~~~~~~~~~~ > | | > | int * >/usr/include/sys/socket.h:131:47: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 131 | socklen_t *__restrict __len) __THROW; > | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ >tpserv.c: In function âmainâ: >tpserv.c:336:75: warning: pointer targets in passing argument 3 of âacceptâ differ in signedness [-Wpointer-sign] > 336 | clifd = accept(lfd, (struct sockaddr *) &cliaddr, &clilen); > | ^~~~~~~ > | | > | int * > >/usr/include/sys/socket.h:307:42: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 307 | socklen_t *__restrict __addr_len); > | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ >tpserv.c:327:17: warning: ignoring return value of âdaemonâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 327 | daemon(0, 0); > | ^~~~~~~~~~~~ >make: *** [<builtin>: tpserv.o] Error 1 >make: Leaving directory '/var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work/hunt-1.5/tpserv' > * ERROR: net-analyzer/hunt-1.5_p6_p1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-analyzer/hunt-1.5_p6_p1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-analyzer/hunt-1.5_p6_p1::gentoo'`. > * The complete build log is located at '/var/log/portage/net-analyzer:hunt-1.5_p6_p1:20231208-155044.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/temp/environment'. > * Working directory: '/var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work/hunt-1.5' > * S: '/var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work/hunt-1.5' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 919471
:
878399
|
878400
|
878401
|
878402
|
878403
| 878404 |
878405
|
878406