Ethereal-users: Re: [Ethereal-users] new_dissector

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Tue, 27 Mar 2001 15:24:05 -0800 (PST)
> I wrote a new dissector for DIS-PDU. Do I have to compile packet-dis.c 
> file

Yes.

> or is it done automatically when program is started?

No.

> I added my file to Makefile

Add it to "Makefile.am", instead.  Add it to the "DISSECTOR_SOURCES"
macro in "Makefile.am"; "make" should notice that "Makefile.am" is
newer than "Makefile.in", and re-run "automake" to regenerate it, and it
should then notice that "Makefile.in" is newer than "Makefile", and
re-run "configure" to regenerate it.

This will require that you have automake installed on your machine; if
you are going to be adding dissectors to Ethereal on UNIX, you need to
install automake (or figure out how to update "Makefile" or
"Makefile.in" by hand, but that's really a lot of work).