I'm trying to add a custom plugin to a Wireshark built from source for Windows. The plugin has previously been successfully added to a Wireshark built from source for Linux, and the code has not been changed. I've gotten Wireshark to build successfully from source without adding the plugin, and have built it successfully with the plugin in the plugins folder but without any of the changes to add it as an extension. When I change the custom.example files as directed in the README.plugins file, I immediately run into build errors. There are hundreds of compilation errors not in any of the source files, but in wireshark\epan\proto.h. They're all of the syntax error type, things like missing parenthesis and nonstandard extensions used. The plugin files compiled successfully for linux--why would they not work here? And why would the errors show up in epan\proto.h? asked 19 Jan '15, 06:49 mehubb985 |
One Answer:
It's possible the plugin includes header files only found on Linux, or includes something that then breaks subsequent includes, e.g. proto.h. Redirect the build output to a file, e.g. answered 19 Jan '15, 09:03 grahamb ♦ |