Ask Your Question

Revision history [back]

unregister the dissector/protocol to build tshark


I am trying to cross-compile the wireshark source code to build tshark binary for embedded platform. I could able to cross-compile the code but the size of the "" is 90Mb after stripping.

I would like to know the process to unregister some of the protocols in a cleaner way.

Please, suggest the best way to unregister the dissector in the source code.

I did remove the source file entry from the epan/dissector/CMakeLists.txt but there were compilation error and lot of "undefined reference to" error.

Any help will be appreciated!.

Thanks, Nousi