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

ASN2WRS does not compile

0

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

One Answer:

0

OK, the issue is solved :)

answered 14 Dec '12, 08:49

Ewgenijkkg's gravatar image

Ewgenijkkg
668915
accept rate: 60%