Wireshark-dev: [Wireshark-dev] Custom dissector forgotten in building process
From: Frédéric Courchesne - Paradox Innovation <fcourchesne@xxxxxxxxxxx>
Date: Mon, 12 May 2008 16:56:17 -0400

Hi,

 

I made a custom dissector for a custom protocol we are triyng to develop, but it is not included/recognized when I do a “nmake all” or a “packaging (nsis)” command.

 

1st problem :

- I am using the 1.0.99 (SVN) version of wireshark sources with Microsoft Visual Studio 2005 environnement.

- I did put my own dissector source code in the C:\wireshark\plugins\my-plugin directory. (Plugin based on the example given by Ken Thompson : http://www.codeproject.com/KB/IP/custom_dissector.aspx)

- I modified the file C:\ wireshark\plugins\Makefile.nmake to add my plugin in the process-plugins and the install-plugins sections

- When I run the command C:\wireshark> nmake –f Makefile.nmake all, the custom dissector is correctly built, but not copied to the wireshark-gtk2\plugins\1.0.99\ directory.

- If I manually copy the file, the plugin works well.

 

2nd problem :

- I modified the C:\wireshark\packaging\nsis\Makefile.nmake to add my custom dissector in the PLUGINS section.

- When I run the command C:\wireshark> nmake –f Makefile.nmake packaging, the custom dissector is absent of the package.

 

I looked almost every Makefile.nmake, Makefile.common, config.nmake of all folders, but I can’t find how to include my dissector. Do I have to open the whole project with Microsoft Visual Studio?

 

Frédéric Courchesne