Problems and Solutions for adding a new dissector in Wireshark

Source: Internet
Author: User
Tags perforce automake

Adding a new dissector in Wireshark encountered this problem, adding a packet-xx.c in makefile. except des is added in common, but the regiister registered by the added function cannot be compiled. c, even if you remove register. C does not work either.

Later we found that the compilation process has the following warning:

Make [3]: Entering directory '/root/perforce/wireshark-1.4.4/epan/dissectors'
CD ../.. &/bin/bash/root/perforce/wireshark-1.4.4/missing -- run automake-1.9 -- GNU epan/dissectors/makefile
/Root/perforce/wireshark-1.4.4/missing: Line 52: automake-1.9: Command not found
Warning: 'automake-1.9 'is missing on your system. You shoshould only need it if
You modified 'makefile. am', 'acinclude. M4 'or 'configure. in '.
You might want to install the 'automake' and 'perl 'packages.
Grab them from any GNU archive site.
CD ../.. &/bin/bash./config. Status epan/dissectors/makefile depfiles
Config. Status: Creating epan/dissectors/makefile
Config. Status: executing depfiles commands
Make [3]: Leaving directory '/root/perforce/wireshark-1.4.4/epan/dissectors'
Make [3]: Entering directory '/root/perforce/wireshark-1.4.4/epan/dissectors'
Making register. C with Python

That is to say, automake is not executed. This causes makefile. Common to be changed and makefile. In is not updated. Opening makefile. In did not find the newly added packet-xx.c file.

So reinstall automake and execute automake in the wireshark-1.4.4 directory to solve the problem.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.