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

compile dissector for Wireshark 1.10

0

Hello,

I was devising application-specific dissector and was doing fine with Wireshark 1.8. After update to 1.10 it fails to compile with following compiler output:

/usr/include/wireshark/wiretap/wtap.h:32:30: fatal error: ws_symbol_export.h: No such file or directory

#include "ws_symbol_export.h"

I'm not sure whether it could be headers installation issue. I use standard Extra repository of Arch Linux to install Wireshark, so it shouldn't be.

asked 26 Jun '13, 06:10

Andrey's gravatar image

Andrey
21447
accept rate: 50%


2 Answers:

1

It looks like you've installed a "wireshark development" package that came with the OS and the OS hasn't included all the necessary header files. I'd suggest you raise a bug with them if this is the case.

The normal suggested method of doing (C language) Wireshark development is to build from a Wireshark source tarball or, better yet, SVN.

answered 26 Jun '13, 12:14

JeffMorriss's gravatar image

JeffMorriss ♦
6.2k572
accept rate: 27%

Not sure whether they heard me or just fixed it themselves. But after another update it's seems fine. I have another issue though. Anyway, thank you.

(01 Jul '13, 06:58) Andrey

0

That header was added In Feb 2013. Looks like your source tree should be updated.

answered 26 Jun '13, 06:34

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

Wireshark source tree or my plug-in source tree?

(26 Jun '13, 06:38) Andrey

Wireshark sources. It's in the top level directory, e.g. trunk or trunk-1.10

(26 Jun '13, 06:43) grahamb ♦