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: Jeff Morriss <jeff_morriss@xxxxxxxxxxx>
Date: Sat, 06 Mar 2004 12:54:13 -0500

Guy Harris wrote:
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.

That's got it.

It turns out that "maintainer-clean" (which I just started using) removes "ascend-grammar.h" but not "ascend-grammmar.c". I can't figure out why it removes the .h file, though...

The attached patch fixes it (more or less) but I'm not sure if this is correct either...

Attachment: wiretap-Makefile-am.patch.gz
Description: GNU Zip compressed data