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

Hi, I had followed the examples (9.1,9.2 and 9.3) given in the following link "http://www.wireshark.org/docs/wsdg_html_chunked/ChDissectAdd.html" to dissect my protocol but i got error when i compiling it on my windows.My protocol name is "TLV".

Please Help me to fix this error.


error:


packet-tlv.c(29) : error C2065: 'dissect_tlv' : undeclared identifier

packet-tlv.c(29) : warning C4047: 'function' : 'dissector_t' differs in levels o f indirection from 'int'

packet-tlv.c(29) : warning C4024: 'create_dissector_handle' : different types fo r formal and actual parameter 1

packet-tlv.c(30) : warning C4013: 'dissector_add_unit' undefined; assuming exter n returning int

plugin.c

Generating Code... NMAKE : fatal error U1077: '"C:Program FilesMicrosoft Visual Studio 9.0VCBIN cl.EXE"' : return code '0x2' Stop.

asked 26 Nov '11, 06:04

JK7's gravatar image

JK7
31111214
accept rate: 0%


The errors look like simple errors in your source which you'll need to track down and fix. :)

For example: I expect dissector_add_unit should probably be dissector_add_uint

permanent link

answered 26 Nov '11, 06:21

Bill%20Meier's gravatar image

Bill Meier ♦♦
3.2k1850
accept rate: 17%

Your answer
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:

×637
×173

question asked: 26 Nov '11, 06:04

question was seen: 3,177 times

last updated: 26 Nov '11, 06:21

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