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: Biot Olivier <Olivier.Biot@xxxxxxxxxxx>
Date: Thu, 17 Jun 2004 11:22:25 +0200
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.