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

Hello, I tried to compile my own dissector yesterday. I'm quite new to the matter, so I copied already available configuration files (Makefile, .cnf) from the inap dissector, changed the name there and removed asn files which I do not use. Then I put the name of my asn file in. After execution of make I got additional files in the directory: parsetab.py, -exp.cnf. Nothing else. According to http://wiki.wireshark.org/Asn2wrs files

packet-proto-ett.c
packet-proto-ettarr.c
packet-proto-fn.c
packet-proto-hf.c
packet-proto-hfarr.c
packet-proto-val.h
packet-proto-exp.h
packet-proto-table.c
packet-proto-syn-reg.c

Should be created. So, I did something wrong. But what? There was no error output by asn2wrs...

BR Ewgenij

asked 14 Dec '12, 02:08

Ewgenijkkg's gravatar image

Ewgenijkkg
668915
accept rate: 60%

1

Dis you run asn2wrs with the -k option? Does your template file have the needed #includes ? (Like #include "packet-acp133-ett.c" etc).

(14 Dec '12, 04:20) Anders ♦

Ah, OK, the -k option, thanks :)

(14 Dec '12, 08:47) Ewgenijkkg

OK, the issue is solved :)

permanent link

answered 14 Dec '12, 08:49

Ewgenijkkg's gravatar image

Ewgenijkkg
668915
accept rate: 60%

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:

×193
×22
×8
×2

question asked: 14 Dec '12, 02:08

question was seen: 1,681 times

last updated: 14 Dec '12, 08:49

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