From: Manikantan Ramadas (mramadas@masaka.cs.ohiou.edu)
Date: 09/15/04
Date: Wed, 15 Sep 2004 16:42:01 -0400 From: Manikantan Ramadas <mramadas@masaka.cs.ohiou.edu> Subject: Re: tcptrace-bugs Error building tcptrace Message-ID: <20040915204201.GA28859@masaka.cs.ohiou.edu>
Hello,
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
> -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../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 * http://irg.cs.ohiou.edu/~mramadas * ____________________________________________________________________
This archive was generated by hypermail 2.1.7 : 09/16/04 EDT