Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 618728 Details for
Bug 712456
net-analyzer/hunt-1.5_p6_p1 : hunt.c: error: struct tcphdr has no member named source
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:20200314-020500.log
net-analyzer:hunt-1.5_p6_p1:20200314-020500.log (text/plain), 11.13 KB, created by
Toralf Förster
on 2020-03-14 09:40:58 UTC
(
hide
)
Description:
net-analyzer:hunt-1.5_p6_p1:20200314-020500.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-03-14 09:40:58 UTC
Size:
11.13 KB
patch
obsolete
> * Package: net-analyzer/hunt-1.5_p6_p1 > * Repository: gentoo > * Maintainer: netmon@gentoo.org > * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU > * 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 -j1 CC=x86_64-gentoo-linux-musl-gcc 'LDFLAGS=-O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wl,-O1 -Wl,--as-needed' -C . >make: Entering directory '/var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work/hunt-1.5' >x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -D_REENTRANT -std=gnu89 -DSYNC_FAST -c -o hunt.o hunt.c >hunt.c: In function 'fill_uci': >hunt.c:163:33: error: 'struct tcphdr' has no member named 'source' > 163 | uci->src_port = p->p_hdr.p_tcph->source; > | ^~ >hunt.c:164:33: error: 'struct tcphdr' has no member named 'dest' > 164 | uci->dst_port = p->p_hdr.p_tcph->dest; > | ^~ >hunt.c: In function 'packet_match': >hunt.c:277:26: error: 'struct tcphdr' has no member named 'source' > 277 | pi->src_port == tcph->source && > | ^~ >hunt.c:278:26: error: 'struct tcphdr' has no member named 'dest' > 278 | pi->dst_port == tcph->dest && > | ^~ >hunt.c:279:30: error: 'struct tcphdr' has no member named 'seq' > 279 | pi->src.next_seq == tcph->seq && > | ^~ >hunt.c:280:32: error: 'struct tcphdr' has no member named 'ack_seq' > 280 | pi->src.next_d_seq == tcph->ack_seq && > | ^~ >hunt.c: In function '__conn_add': >hunt.c:318:16: error: 'struct tcphdr' has no member named 'dest' > 318 | if (ntohs(tcph->dest) >= 1024 && ntohs(tcph->source) < 1024) { > | ^~ >hunt.c:318:45: error: 'struct tcphdr' has no member named 'source' > 318 | if (ntohs(tcph->dest) >= 1024 && ntohs(tcph->source) < 1024) { > | ^~ >hunt.c:321:22: error: 'struct tcphdr' has no member named 'dest' > 321 | ci->src_port = tcph->dest; > | ^~ >hunt.c:322:22: error: 'struct tcphdr' has no member named 'source' > 322 | ci->dst_port = tcph->source; > | ^~ >hunt.c:328:22: error: 'struct tcphdr' has no member named 'source' > 328 | ci->src_port = tcph->source; > | ^~ >hunt.c:329:22: error: 'struct tcphdr' has no member named 'dest' > 329 | ci->dst_port = tcph->dest; > | ^~ >hunt.c:333:36: error: 'struct tcphdr' has no member named 'seq' > 333 | h_src->next_seq = htonl(ntohl(tcph->seq) + p->p_data_len + > | ^~ >hunt.c:334:9: error: 'struct tcphdr' has no member named 'syn' > 334 | tcph->syn ? 1 : 0); > | ^~ >hunt.c:335:10: error: 'struct tcphdr' has no member named 'ack' > 335 | if (tcph->ack) > | ^~ >hunt.c:336:27: error: 'struct tcphdr' has no member named 'ack_seq' > 336 | h_src->next_d_seq = tcph->ack_seq; > | ^~ >hunt.c:337:22: error: 'struct tcphdr' has no member named 'window' > 337 | h_src->window = tcph->window; > | ^~ >hunt.c:345:22: error: 'struct tcphdr' has no member named 'window' > 345 | h_dst->window = tcph->window; > | ^~ >hunt.c: In function 'conn_add_update': >hunt.c:399:28: error: 'struct tcphdr' has no member named 'source' > 399 | ci->src_port == tcph->source && > | ^~ >hunt.c:400:28: error: 'struct tcphdr' has no member named 'dest' > 400 | ci->dst_port == tcph->dest) { > | ^~ >hunt.c:409:38: error: 'struct tcphdr' has no member named 'seq' > 409 | h_src->next_seq = htonl(ntohl(tcph->seq) + > | ^~ >hunt.c:411:12: error: 'struct tcphdr' has no member named 'ack' > 411 | if (tcph->ack) > | ^~ >hunt.c:412:29: error: 'struct tcphdr' has no member named 'ack_seq' > 412 | h_src->next_d_seq = tcph->ack_seq; > | ^~ >hunt.c:414:24: error: 'struct tcphdr' has no member named 'window' > 414 | h_src->window = tcph->window; > | ^~ >hunt.c:393:30: warning: variable 'h_dst' set but not used [-Wunused-but-set-variable] > 393 | struct host_info *h_src, *h_dst; > | ^~~~~ >hunt.c:448:46: error: 'struct tcphdr' has no member named 'source' > 448 | last_toadd.src_port == p->p_hdr.p_tcph->source && > | ^~ >hunt.c:449:46: error: 'struct tcphdr' has no member named 'dest' > 449 | last_toadd.dst_port == p->p_hdr.p_tcph->dest) || > | ^~ >hunt.c:452:46: error: 'struct tcphdr' has no member named 'dest' > 452 | last_toadd.src_port == p->p_hdr.p_tcph->dest && > | ^~ >hunt.c:453:46: error: 'struct tcphdr' has no member named 'source' > 453 | last_toadd.dst_port == p->p_hdr.p_tcph->source)) { > | ^~ >hunt.c:463:42: error: 'struct tcphdr' has no member named 'source' > 463 | last_toadd.src_port = p->p_hdr.p_tcph->source; > | ^~ >hunt.c:464:42: error: 'struct tcphdr' has no member named 'dest' > 464 | last_toadd.dst_port = p->p_hdr.p_tcph->dest; > | ^~ >hunt.c: In function 'conn_del': >hunt.c:492:23: error: 'struct tcphdr' has no member named 'source' > 492 | p->p_hdr.p_tcph->source == ci->src_port && > | ^~ >hunt.c:493:23: error: 'struct tcphdr' has no member named 'dest' > 493 | p->p_hdr.p_tcph->dest == ci->dst_port) { > | ^~ >hunt.c:495:28: error: 'struct tcphdr' has no member named 'seq' > 495 | if (p->p_hdr.p_tcph->seq == ci->dst.next_d_seq) > | ^~ >hunt.c:499:24: error: 'struct tcphdr' has no member named 'seq' > 499 | if (p->p_hdr.p_tcph->seq == ci->src.next_d_seq) > | ^~ >hunt.c: In function 'conn_update_table': >hunt.c:542:10: error: 'struct tcphdr' has no member named 'syn' > 542 | if (tcph->syn && !tcph->ack) { > | ^~ >hunt.c:542:24: error: 'struct tcphdr' has no member named 'ack' > 542 | if (tcph->syn && !tcph->ack) { > | ^~ >hunt.c:546:17: error: 'struct tcphdr' has no member named 'rst' > 546 | } else if (tcph->rst || tcph->fin) { > | ^~ >hunt.c:546:30: error: 'struct tcphdr' has no member named 'fin' > 546 | } else if (tcph->rst || tcph->fin) { > | ^~ >hunt.c: In function 'mac_arp_learn': >hunt.c:696:7: 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:6: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] > 710 | mac = p->p_ethh->h_source; > | ^ >In file included from hunt.c:9: >hunt.c: In function 'hunt': >hunt.h:275:35: error: 'struct tcphdr' has no member named 'doff' > 275 | (pdata) = ((char *) tcph) + (tcph->doff << 2); \ > | ^~ >hunt.c:831:6: note: in expansion of macro 'ALIGNPOINTERS_TCP' > 831 | ALIGNPOINTERS_TCP(iph, p->p_hdr.p_tcph, > | ^~~~~~~~~~~~~~~~~ >hunt.h:289:66: error: 'struct tcphdr' has no member named 'doff' > 289 | #define TCP_DATA_LENGTH(iph, tcph) (IP_DATA_LENGTH(iph) - ((tcph)->doff << 2)) > | ^~ >hunt.c:833:22: note: in expansion of macro 'TCP_DATA_LENGTH' > 833 | p->p_data_len = TCP_DATA_LENGTH(iph, p->p_hdr.p_tcph); > | ^~~~~~~~~~~~~~~ >hunt.c: In function 'print_tcp': >hunt.c:906:51: error: 'struct tcphdr' has no member named 'source' > 906 | host_lookup(ip->saddr, hl_mode), ntohs(tcp->source), > | ^~ >hunt.c:907:33: error: 'struct tcphdr' has no member named 'seq' > 907 | (unsigned int) ntohl(tcp->seq), tcp->ack ? (unsigned int) ntohl(tcp->ack_seq) : 0, > | ^~ >hunt.c:907:44: error: 'struct tcphdr' has no member named 'ack' > 907 | (unsigned int) ntohl(tcp->seq), tcp->ack ? (unsigned int) ntohl(tcp->ack_seq) : 0, > | ^~ >hunt.c:907:76: error: 'struct tcphdr' has no member named 'ack_seq' > 907 | signed int) ntohl(tcp->seq), tcp->ack ? (unsigned int) ntohl(tcp->ack_seq) : 0, > | ^~ > >hunt.c:908:51: error: 'struct tcphdr' has no member named 'dest' > 908 | host_lookup(ip->daddr, hl_mode), ntohs(tcp->dest), p->p_raw_len, p->p_data_len); > | ^~ >hunt.c: In function 'print_mac_table': >hunt.c:1016:26: 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); > | ~~~~~~~~~~~~~~~^~~ >make: *** [<builtin>: hunt.o] Error 1 >make: Leaving directory '/var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work/hunt-1.5' > * 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:20200314-020500.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 712456
:
618720
|
618722
|
618724
|
618726
| 618728 |
618730