Ethereal-dev: Re: [ethereal-dev] Targets dependent on proto.h

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

From: Ben Fowler <wapdev@xxxxxxxxxxxx>
Date: Wed, 12 Apr 2000 09:40:41 +0100

What happens if you do

        egrep proto.h .deps/*.P

I fell at this fence:

ben@Mulberry:~/src/ethereal > egrep proto.h .deps/*.P
egrep: .deps/*.P: No such file or directory

See also:

ben@Mulberry:~/src/ethereal > ls -ad .*
. .#proto.c.1.60 .dfilter-grammar.c.swp .packet-udp.c.swp .#Makefile.am.1.177 .. .dfilter-grammar.h.swp .proto.c.swp .#Makefile.am.1.178 .Makefile.swp .dfilter-grammar.y.swp .proto.h.swp
.#Makefile.am.1.179     .cvsignore              .libs
.#packet-udp.c.1.58     .cvsignore~             .packet-ip.c.swp


in the top-level source directory of Ethereal?  If it doesn't print a
lot of lines, you're not getting the dependency files generated
correctly, perhaps because your compiler doesn't support the flag in
question - what compiler (and version thereof) are you using?

Currently,

ben@Mulberry:~/src/ethereal > gcc --version
egcs-2.91.66

but I can fix this to not use egcs.

(FWIW in the ethereal makefile the reference to .c.o goes:

.c.o:
        $(COMPILE) -c $<

which is not what you were referring to, but there is no % at all! );

Ben.


--
Leedsnet - The information resource for Leeds and the West Riding
< URL:http://www.leedsnet.com/mobile/ >