Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: Re: [Ethereal-dev] what happened to wiretap/ascend-grammar.h ?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Sat, 6 Mar 2004 01:49:56 -0800
On Fri, Mar 05, 2004 at 09:55:38AM -0500, Jeff Morriss wrote:
> 
> My builds in wiretap are failing here:
> 
> > source='ascend-scanner.c' object='ascend-scanner.o' libtool=no \
> > depfile='.deps/ascend-scanner.Po' tmpdepfile='.deps/ascend-scanner.TPo' \
> > depmode=gcc3 /bin/sh ./../depcomp \
> > gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/local/include  -D_U_="__attribute__((unused))" -Wall -W  -g -O2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/local/include -c `test -f ascend-scanner.c || echo './'`ascend-scanner.c
> > ./ascend-scanner.l:38:28: ascend-grammar.h: No such file or directory

	...

> > ascend-grammar.h: ascend-grammar.c

Try removing ascend-grammar.h, ascend-grammar.c, and ascend-grammar.o,
to force stuff to be rebuilt.

> Changing "ascend-scanner.c" to do:
> 
> #include "ascend-grammar.c"
> 
> (instead of ".h") makes it compile.  Is that correct?

No.