Search code examples
makefilegnuautomakewiresharkwireshark-dissector

How do I compile this plugin?


I'm following the foo dissector example but would like to know how to compile it.

The foo dissector example is shown in this link: http://www.wireshark.org/docs/wsdg_html_chunked/ChDissectAdd.html

You'll notice it mentions that the interlink directory contains good examples of support files I can use and that I need to modify Makefile.am & makefile.common etc. I've modified those to reflect the foo module.

However, now I'd like to know how to build it. I tried running automake but it complains there there is no configure.in. Sorry I'm not too familar with the gnu build environment yet.

Also, is it possible to build this module standalone? or do I need all the other wireshark sources available? I have of course installed wireshark-dev under ubuntu.


Solution

  • Answering my own question.

    Looks like I have to follow the instructions contained in the Wireshark source. i.e. doc/README.plugins

    Provides all the information required to build plugins for Wireshark.