Re: tcptrace-bugs Problem compiling TCPTrace 6.6.1

From: Aaron Mitchell (amitchel@masaka.cs.ohiou.edu)
Date: 09/20/04


Date: Mon, 20 Sep 2004 11:40:55 -0400
From: Aaron Mitchell <amitchel@masaka.cs.ohiou.edu>
Subject: Re: tcptrace-bugs Problem compiling TCPTrace 6.6.1
Message-ID: <20040920154055.GA9328@localhost>

Brian,

I have just tried to compile on a Mandrake 10 system and I noted no
problems. Perhaps there is a problem with you libpcap installation
or one of your path variables. I would check these first.

Best of Luck!

On Mon, Sep 20, 2004 at 03:11:12PM +0200, wilsonb wrote:
>
> Hello,
>
> I am trying to install tcptrace on my system.
> The system ha the Mandrake 10.0 installed on it and tcp dump is installed as well.
>
> I downloaded the tcptrace-6.6.1.tar.gz file from tcptrace.org and when I run
> the config and make files I get the following output:
>
<snip>
>
> MAKE:
> gcc -L/usr/local/lib -Llib -Lpcap -L../pcap -L./cygwin-libs -O2
> -DGUNZIP="\"gunzip\"" -DBUNZIP2="\"bunzip2\"" -DLOAD_MODULE_HTTP -DHTTP_SAFE
> -DHTTP_DUMP_TIMES -DLOAD_MODULE_TRAFFIC -DLOAD_MODULE_SLICE
> -DLOAD_MODULE_RTTGRAPH -DLOAD_MODULE_COLLIE -DLOAD_MODULE_REALTIME
> -DGROK_SNOOP -DGROK_TCPDUMP -DGROK_NETM -DGROK_ETHERPEEK -DGROK_NS
> -DGROK_NETSCOUT -DGROK_ERF -DYYTEXT_POINTER=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_LONG_LONG_INT=8
> -DSIZEOF_UNSIGNED_LONG_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2
> -DHAVE_MKSTEMP=1 -DHAVE_VALLOC=1 -DHAVE_MEMALIGN=1 -DHAVE_INET_PTON=1
> -DUSE_LLU=1 -D_BSD_SOURCE -I. -I/usr/local/include -I. -I../pcap
> -I/usr/include/pcap avl.o compress.o erf.o etherpeek.o gcache.o mfiles.o
> names.o netm.o output.o plotter.o print.o rexmit.o snoop.o nlanr.o tcpdump.o
> tcptrace.o thruput.o trace.o ipv6.o filt_scanner.o filt_parser.o filter.o
> udp.o ns.o netscout.o version.o pool.o poolaccess.o dstring.o mod_http.o
> mod_traffic.o mod_rttgraph.o mod_tcplib.o mod_collie.o mod_slice.o
> mod_realtime.o dyncounter.o -o tcptrace -lm -lpcap
> /usr/local/lib/libpcap.a(pcap.o)(.text+0x14b): In function `pcap_perror':
> : undefined reference to `__sF'
> /usr/local/lib/libpcap.a(savefile.o)(.text+0x16e): In function
> `pcap_open_offline':
> : undefined reference to `__sF'
> /usr/local/lib/libpcap.a(savefile.o)(.text+0x189): In function
> `pcap_open_offline':
> : undefined reference to `__error'
> /usr/local/lib/libpcap.a(savefile.o)(.text+0x1c3): In function
> `pcap_open_offline':
> : undefined reference to `__error'
> /usr/local/lib/libpcap.a(savefile.o)(.text+0x584): In function
> `pcap_dump_open':: undefined reference to `__sF'
> /usr/local/lib/libpcap.a(savefile.o)(.text+0x5a1): In function
> `pcap_dump_open':: undefined reference to `__error'
> /usr/local/lib/libpcap.a(pcap-bpf.o)(.text+0x35): In function `pcap_stats':
> : undefined reference to `__error'
> /usr/local/lib/libpcap.a(pcap-bpf.o)(.text+0x8b): In function `pcap_read':
> : undefined reference to `__error'
> /usr/local/lib/libpcap.a(pcap-bpf.o)(.text+0xa5): In function `pcap_read':
> : undefined reference to `__error'
> /usr/local/lib/libpcap.a(pcap-bpf.o)(.text+0x15e): In function
> `pcap_open_live':: undefined reference to `__error'
> /usr/local/lib/libpcap.a(pcap-bpf.o)(.text+0x1b3): more undefined references
> to `__error' follow
> collect2: ld returned 1 exit status
> make: *** [tcptrace] Error 1
>
>
> After this tcptarce does not work (obviously).
>
> Could you please tell me if I am doing something wrong and what I can do to
> get this working properly.
>
> Thank you
>
> Brian Wilson
>

-- 
Aaron Mitchell <amitchel@cs.ohiou.edu>
http://oak.cats.ohiou.edu/~am283298/


This archive was generated by hypermail 2.1.7 : 09/20/04 EDT