Re: tcptrace-bugs Error building tcptrace

From: Manikantan Ramadas (
Date: 09/15/04

Date: Wed, 15 Sep 2004 16:42:01 -0400
From: Manikantan Ramadas <>
Subject: Re: tcptrace-bugs Error building tcptrace
Message-ID: <>


  I am not really sure about the cause of the error you are seeing.
But some thoughts. Could you check if you also have bison installed on
your system. If you have it too, and still facing problems,
could you cut&paste what "configure" reports on your system when it
comes to print the following five lines?

checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y

FYI, the above five lines are from a Fedora Core 1 distribution on which
tcptrace compiles without any issues.

- Mani.

On Wed, Sep 15, 2004 at 02:50:02PM -0400, Vasu Parameswaran wrote:
> Hi,
> I am having trouble compiling tcptrace on Debian. The error message is
> below. Could you please help. I have flex 2.5.31 and libpcap installed
> correctly. Any help will be appreciated. Thanks - Vasu.
> gcc -O2 -DGUNZIP="\"gunzip\"" -DBUNZIP2="\"bunzip2\"" -DLOAD_MODULE_HTTP
> -D_BSD_SOURCE -I. -I/usr/local/include -I. -I../libpcap-0.4
> -I/usr/include/pcap -c -o filt_scanner.o filt_scanner.c
> ./filt_scanner.l: In function `filtyywrap':
> ./filt_scanner.l:159: error: `yytext_ptr' undeclared (first use in this
> function)
> ./filt_scanner.l:159: error: (Each undeclared identifier is reported
> only once
> ./filt_scanner.l:159: error: for each function it appears in.)
> make: *** [filt_scanner.o] Error 1
> uname -a gives the following
> Linux iai91 2.4.26-1-386 #1 Thu Jul 22 12:46:23 JST 2004 i686 GNU/Linux

"'Beauty is truth, truth beauty,'--that is all
  Ye know on earth, and all ye need to know." - John Keats
* Manikantan Ramadas * IRG, OU * *

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