From: mcesar@ravel.ufrj.br
Date: 05/24/05
Message-ID: <1116963745.429383a1032d0@webmail.ravel.ufrj.br> Date: Tue, 24 May 2005 16:42:25 -0300 From: mcesar@ravel.ufrj.br Subject: tcptrace-bugs print.c
Hi,
My name is Marcos and I'm a master science student from Brasil. I had a problem
to compile tcptrace. The problem is shown as follows:
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
I've already tried to find some "include" or something missing but I've failed.
Could you please give me some help?
I appreciatte.
Marcos Cesar.
PS.: Congratulations for the great job!
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
This archive was generated by hypermail 2.1.7 : 05/25/05 EDT