From: Jim Gifford (jim@jg555.com)
Date: 04/25/04
Message-ID: <063a01c42b14$bf32e320$d100a8c0@W2RZ8L4S02> From: "Jim Gifford" <jim@jg555.com> Subject: tcptrace-bugs GCC 3.4.0 Build Issue Date: Sun, 25 Apr 2004 15:29:17 -0700
When building with GCC 3.4.0 I receive the following errors, any suggestions
on a fix?
gcc -O2 -DGUNZIP="\"gunzip\"" -DBUNZIP2="\"bunzip2\"" -DLOAD_MODULE_HTTP -DH
TTP_SAFE -DHTTP_DUMP_TIMES -DLOAD_MODULE_TRAFFIC -DLOAD_MODULE_SLICE -DLOAD_
MODULE_RTTGRAPH -DLOAD_MODULE_COLLIE -DLOAD_MODULE_REALTIME -DGROK_SNOOP -DG
ROK_TCPDUMP -DGROK_NETM -DGROK_ETHERPEEK -DGROK_NS -DGROK_NETSCOUT -DGROK_ER
F -DYYTEXT_POINTER=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DH
AVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAV
E_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZE
OF_UNSIGNED_LONG_LONG_INT=8 -DSIZEOF_UNSIGNED_LONG_INT=4 -DSIZEOF_UNSIGNED_I
NT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DHAVE_MKSTEMP=1 -DHAVE_VALLOC=1 -DHAVE_MEMAL
IGN=1 -DHAVE_INET_PTON=1 -DUSE_LLU=1 -I. -I/usr/include -I. -I../pcap -I/
usr/include/pcap -c -o print.o print.c
print.c: In function `printtcp_packet':
print.c:380: error: structure has no member named `th_off'
print.c:387: error: structure has no member named `th_sport'
print.c:388: error: structure has no member named `th_sport'
print.c:390: error: structure has no member named `th_dport'
print.c:391: error: structure has no member named `th_dport'
print.c:393: error: structure has no member named `th_flags'
print.c:394: error: structure has no member named `th_flags'
print.c:395: error: structure has no member named `th_flags'
print.c:395: error: `TH_URG' undeclared (first use in this function)
print.c:395: error: (Each undeclared identifier is reported only once
print.c:395: error: for each function it appears in.)
print.c:396: error: structure has no member named `th_flags'
print.c:396: error: `TH_ACK' undeclared (first use in this function)
print.c:397: error: structure has no member named `th_flags'
print.c:397: error: `TH_PUSH' undeclared (first use in this function)
print.c:398: error: structure has no member named `th_flags'
print.c:398: error: `TH_RST' undeclared (first use in this function)
print.c:399: error: structure has no member named `th_flags'
print.c:399: error: `TH_SYN' undeclared (first use in this function)
print.c:400: error: structure has no member named `th_flags'
print.c:400: error: `TH_FIN' undeclared (first use in this function)
print.c:401: error: structure has no member named `th_flags'
print.c:402: error: structure has no member named `th_seq'
print.c:403: error: structure has no member named `th_ack'
print.c:404: error: structure has no member named `th_win'
print.c:405: error: structure has no member named `th_off'
print.c:406: error: structure has no member named `th_off'
print.c:413: error: structure has no member named `th_x2'
print.c:415: error: structure has no member named `th_x2'
print.c:417: error: structure has no member named `th_sum'
print.c:418: error: structure has no member named `th_off'
print.c:439: error: structure has no member named `th_off'
print.c:443: error: structure has no member named `th_off'
print.c:444: error: structure has no member named `th_off'
print.c:503: error: structure has no member named `th_off'
print.c: In function `printudp_packet':
print.c:535: error: structure has no member named `uh_sport'
print.c:536: error: structure has no member named `uh_sport'
print.c:538: error: structure has no member named `uh_dport'
print.c:539: error: structure has no member named `uh_dport'
print.c:541: error: structure has no member named `uh_ulen'
print.c:543: error: structure has no member named `uh_sum'
print.c:552: error: structure has no member named `uh_ulen'
print.c:553: error: structure has no member named `uh_ulen'
print.c:556: error: structure has no member named `uh_ulen'
make: *** [print.o] Error 1
---- Jim Gifford jim@jg555.com giffordj@linkline.com FWD: 275410 IPKall: 360-968-1517
This archive was generated by hypermail 2.1.7 : 04/26/04 EDT