Red Hat Bugzilla – Bug 1284496
wireshark-devel is missing stat_menu.h
Last modified: 2017-09-06 06:31:33 EDT
Description of problem:
When compiling a dissector that includes <epan/stats_tree.h>, you get an error that it cannot find "../stat_menu.h". That is because stat_menu.h is not included in the wireshark-devel package.
Version-Release number of selected component (if applicable):
Every time, assuming you are compiling a dissector that includes epan/stats_tree.h.
Steps to Reproduce:
1. #include <epan/stats_tree.h> in your dissector.
2. Compile your dissector.
3. Observe error that "../stat_menu.h" is not found.
Compile error due to missing .h file.
Compile succeeds because all the .h files are present.
This has been a problem for a long time in RedHat's wireshark-devel package.
I just decided to finally write it up and see if we can fix that.
We've been working around it locally for years by using the base code from wireshark.org to get all the header files.