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

clarification for idl2wrs?

0

Hi, I have wireshark 1.2.7 loaded on my ubuntu virtualbox (Lucid) and was following the instructions for idl2wrs here: https://www.wireshark.org/docs/wsdg_html_chunked/ChDissectIdl2wrs.html

I was able to create a C file from the idl and was looking at the step where it says "Copy the resulting C code to subdirectory epan/dissectors/ inside your Wireshark source directory". When I did a "find" under /usr, it looks like this is under /usr/include/wireshark/epan/dissectors. Assuming this path is correct, I'm not seeing the Makefile.common under that directory, just the header files. Are the makefiles something that I need to download? Any help is much appreciated.

asked 22 Jan '16, 19:24

jnp's gravatar image

jnp
11114
accept rate: 0%


One Answer:

1

You need to install the Wireshark source package. The source directory is inside that package. You can't add new GIOP dissectors except by compiling Wireshark from the source code.

answered 22 Jan '16, 19:30

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%

Thanks for your quick reply! Yes, this makes sense. I'll look to install the source and compile

(22 Jan '16, 19:38) jnp