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

Hello guys,

I've developped a dissector for a "homemade" protocol. So far, everything went well, it did its job, told all the information I wanted on wireshark. Then, I tried to implement some statistics operation... And it doesn't compile anymore ! I followed the developer's guide, implemented the tap functions, the statistics functions. But it doesn't work.

Here are my error messages :

plugin.obj : error LNK2005: _version already defined in packet-subnet.obj Creating library subnet.lib and objet subnet.exp subnet.dll : fatal error LNK1169: one or more mutliply defined symbols found NMAKE : fatal error U1077 : <path to="" link.exe=""> : return code '0x491' NMAKE : fatal error U1077 : <path to="" nmake.exe=""> : return code '0x2' Stop.

If you have any idea, or suggestion, that could help getting rid of this problem, this would greatly appreciated !

Thanks in advance,

Cheers from France.

asked 29 May '12, 01:42

cosinuz's gravatar image

accept rate: 0%

(This question was answered on the wireshark-dev mailing list. See: wireshark-dev thread).

Do you have some variable called 'version' in packet-subnet.c?
If yes rename it to some subnet_version. hth.

permanent link
This answer is marked "community wiki".

answered 29 May '12, 06:28

Bill%20Meier's gravatar image

Bill Meier ♦♦
accept rate: 17%

edited 30 May '12, 11:08

multipleinterfaces's gravatar image


Your answer
toggle preview

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 29 May '12, 01:42

question was seen: 3,463 times

last updated: 30 May '12, 11:08

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