This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Dear Wireshark-Community,

I've developed a basic dissector for a protocol. I implemented it as a standard dissector in wireshark. Everything worked pretty well, but now I want to implement this source-code as a plugin. But then I always get this error-message:

packet-rasta.obj : error LNK2019: unresolved external symbol _imp_register_dissector referenced in funktion _proto_register_rasta

packet-rasta.obj : error LNK2019: unresolved external symbol _imp_proto_register_subtree_array referenced in funktion _proto_register_rasta

...

This message appears almost at every funktion, overall 14 unresolved external symbols. I use Win7 and MSVS2010, all changes in Makefiel.am, Makefile.nmake and so on have been made and are correct. Can somebody healp me...

asked 07 Oct '13, 03:33

Marko1988's gravatar image

Marko1988
1223
accept rate: 0%

You may want to pattern your Makefile.nmake after the one in the plugins/gryphon directory. Copy those Makefiles (including Makefile.common, etc.) to your own dissector and then make only the changes needed to refer to your protocol. That's usually the cleanest way to resolve linking issues.

(14 Oct '13, 09:16) beroset
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×173
×9
×6
×3
×3

question asked: 07 Oct '13, 03:33

question was seen: 1,277 times

last updated: 14 Oct '13, 09:16

p​o​w​e​r​e​d by O​S​Q​A