Ethereal-dev: [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 06:38:15 +0100
I have been seeing fearful problems in dissecting ip packets, which I think
I have narrowed down to a faulty value for FT_IPv4.

I am currently working on the basis that this has arisen because my
set-up has a faulty set-up of dependencies.

As I see it, this important value is established in ftenum in proto.h.
proto.h is included in numerous files, and if it is modified then (in my
humble opinion) a large number of packet-*.c become out of date.
This is definitely not happening on my system, videlicet:

ben@Mulberry:~/src/ethereal > ls -ltr proto.* packet-ip.*
-rw-r--r--   1 ben      users       48758 Apr  5 11:13 packet-ip.c
-rw-r--r--   1 ben      users        3524 Apr  5 11:13 packet-ip.h
-rw-r--r--   1 ben      users       93168 Apr  9 02:46 packet-ip.o
-rw-r--r--   1 ben      users       11876 Apr 11 22:02 proto.h~
-rw-r--r--   1 ben      users       46428 Apr 11 23:04 proto.c~
-rw-r--r--   1 ben      users       46626 Apr 12 06:04 proto.c
-rw-r--r--   1 ben      users       93228 Apr 12 06:04 proto.o
-rw-r--r--   1 ben      users       11876 Apr 12 06:13 proto.h
ben@Mulberry:~/src/ethereal > make
make  all-recursive
make[1]: Entering directory `/home/ben/src/ethereal'
Making all in wiretap
make[2]: Entering directory `/home/ben/src/ethereal/wiretap'
make[2]: Leaving directory `/home/ben/src/ethereal/wiretap'
Making all in gtk
make[2]: Entering directory `/home/ben/src/ethereal/gtk'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ben/src/ethereal/gtk'
Making all in plugins
make[2]: Entering directory `/home/ben/src/ethereal/plugins'
Making all in gryphon
make[3]: Entering directory `/home/ben/src/ethereal/plugins/gryphon'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/ben/src/ethereal/plugins/gryphon'
make[3]: Entering directory `/home/ben/src/ethereal/plugins'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/ben/src/ethereal/plugins'
make[2]: Leaving directory `/home/ben/src/ethereal/plugins'
make[2]: Entering directory `/home/ben/src/ethereal'
make[2]: Leaving directory `/home/ben/src/ethereal'
make[1]: Leaving directory `/home/ben/src/ethereal'
ben@Mulberry:~/src/ethereal >

My questions:

Does anyone have any comments? Is the system for dependencies
considered satisfactory? Am I doing something known to be wrong?
What advice does anyone have?

Ben.

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