THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

I am getting an error "no plugin_version" symbol when I add a dll as plugin and start wireshark. How or where can i find the Plugin versions for custom dll in wireshark? How to solve the error ?

  • retag add tags

I have created a dissector and added it as dll to the plugins of the Wireshark, but am getting the above error when I start the Wireshark. I also checked G_MODULE_EXPORT const gchar version[] = VERSION, and the corresponding header but could not find the version in Wireshark to add to the program. How can I solve this ? Thank you in advance.

stbimudd's avatar
1
stbimudd
asked 2019-05-03 17:51:12 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Your plugin CMakeLists.txt is probably missing one or either of the following lines, these are from the Gryphon dissector plugin:

include(WiresharkPlugin)

# Plugin name and version info (major minor micro extra)
set_module_info(gryphon 0 0 4 0)

The CMakeLists.txt requirements are specified in the Developers Guide section on setting up a dissector.

grahamb's avatar
23.8k
grahamb
answered 2019-05-03 18:08:26 +0000
edit flag offensive 0 remove flag delete link

Comments

But where can I find the plugin version information?? Thank you.

stbimudd's avatar stbimudd (2019-05-04 11:51:54 +0000) edit

It's set in the CMakeList.txt line that calls set_module_info(...)

grahamb's avatar grahamb (2019-05-04 11:56:04 +0000) edit

Note that this is the version of the plugin; since you are the author of this particular plugin, you define what the version of this particular plugin is - it's not something that Wireshark defines.

Guy Harris's avatar Guy Harris (2019-05-05 17:32:43 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer