ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: RE: [Ethereal-dev] How to add a new dissector in Linux build?

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

From: "Martijn Schipper" <martijn.schipper@xxxxxxxxxxxx>
Date: Thu, 17 Jun 2004 11:39:32 +0200
It's only available in the epan directory. The same problem occurs with
ethereal-tap-register.c; it isn't regenerated. The modified sources came
from our version control system (Perforce). This system gives all files
the current date and time. Maybe that is the problem. After I got the
sources I modified configure.in (for a different version number) and
Makefile.am (to add our own libraries), did a ./autogen.sh, ./configure,
make and make install. Because this didn't work I did a "make distclean"
and the same sequence again but still these files where not regenerated.

> -----Original Message-----
> From: ethereal-dev-bounces@xxxxxxxxxxxx [mailto:ethereal-dev-
> bounces@xxxxxxxxxxxx] On Behalf Of Biot Olivier
> Sent: donderdag 17 juni 2004 11:22
> To: 'Ethereal development'
> Subject: RE: [Ethereal-dev] How to add a new dissector in Linux build?
> 
> Hello Martijn,
> 
> Maybe you still had a stale register.c in the top-level directory. Try
> doing
> the following from the top directory of your Ethereal source:
> $ find . -name register.c -exec ls -l {} ';'
> You should only find one in epan/ (not anymore in the top directory).
For
> some time in the 0.10.x series we moved some generated output to epan,
and
> we got rid of an unnecessary configure step in epan/. If the find
returns
> more than one entry (do the same find for config.h; you should only
find
> one
> in the top directory and one in wiretap/), you're having problems with
an
> intermediate state where there are still remnants of the files before
the
> moves.
> 
> Regards,
> 
> Olivier
> 
> -----Original Message-----
> From: Martijn Schipper
> 
> I found the solution my self. It seems that register.c wasn't
regenerated.
> After deleing this file it was regenerated and the protocols are
> available.
> But why wasn't register.c not regenerated? I tried a "make distclean"
but
> that didn't help.
> 
> -----Original Message-----
> From: Martijn Schipper
> 
> Hello list,
> I created a couple of dissectors of my own and added these to
> Makefile.common. If I compile this version of Ethereal on Windows the
new
> dissectors are incorporated. However if I build this version on Linux
the
> new dissector files get compiled but they do not end up in the binary
> image
> (the frames are not dissected and the protocol and fields can't be
> selected
> in the filer box). Does anybody have a clue what I am doing wrong?
> Thanks in advance,
> Martijn Schipper.
> 
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev



******************Legal Disclaimer**************************
"This email may contain confidential and privileged material for the sole use of the intended recipient.  Any unauthorized review, use or distribution by others is strictly prohibited.  If you have received the message in error, please advise the sender by reply email help@xxxxxxxxxxxx, and delete the message. Thank you."
****************************************************************