Wireshark mailing list archives

How to compile your own dissector "packet-foo.c"?


From: Jack Liu <congliulyc () gmail com>
Date: Sun, 8 Apr 2012 08:10:22 +0800

This is a question after I read the wireshark dev doc.
http://www.wireshark.org/docs/wsdg_html_chunked/ChDissectAdd.html


This is an answered-question but I still want to post it. Just in case some
met the same question.
Hope it help.

Q: Just bother to ask you 1 question:
 I have added my Dissector "packet-foo.c" in /epan/dissectors/
 And then how to make it compile with the automatic-generated Makefile?




A: Add a corresponding entry to
 epan/dissectors/Makefile.common
 and rerun
 ./autogen.sh
 ./configure
 make


 Special thanks to Michael Tuexen!!

-- 


B.R.
Jack
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: