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

Hi, I had followed the examples (9.1,9.2 and 9.3) given in the following link "" 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.


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


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

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 ♦♦
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



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: 26 Nov '11, 06:04

question was seen: 3,241 times

last updated: 26 Nov '11, 06:21

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