Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] compiling dissector plugin

From: Christopher Maynard <Chris.Maynard@xxxxxxxxx>
Date: Fri, 5 Nov 2010 14:47:44 +0000 (UTC)
Lange Jan-Erik <Jan-Erik.Lange@...> writes:

> now I'm using linux for creating a wireshark dissector. Compiling Wireshark on
Windows 7 64-bit is too
> strange for me.

Well, maybe you can revisit Windows later on if you're able to overcome the SDK
installation problems.

> Compiling wireshark finished with no errors. Now I created a dissector as
decribed on http://www.wireshark.org/docs/wsdg_html_chunked/ChDissectAdd.html

You might also want to take a look at doc/README.plugins.  I'm not sure if the
developer guide and that file are perfectly synchronized, so you might find
additional helpful information there as well.

> How can I compile it? Do I have to type make foo? Or do I have to compile the
whole wireshark new?

I believe the first time you will need to recompile everything so all the
Makefiles, etc. are created, so re-run autogen.sh, configure and make.  Once
you've done that once, you shouldn't need to do it again - just make if you need
to recompile anything.