How do u write makefile for that ? do u use gcc or g++ ? if u can paste a sample makefile then that may help.
On Mon, Jul 18, 2011 at 1:32 PM, Helge Kruse <helge.kruse-nos...@gmx.net>wrote: > Am 18.07.2011 07:16, schrieb sagar sg: > > Yes. My dissector code is in C++ which i am compiling independently and >> using the required libraries. >> > > I use always C++ to write my custom dissectors. Did you surround the > Wireshark #include with extern "C" like this? > > extern "C" { > #include <epan/packet.h> > #include <ftypes/ftypes.h> > } > > Helge > > ______________________________**______________________________** > _______________ > Sent via: Wireshark-dev mailing list <wireshark-dev@wireshark.org> > Archives: > http://www.wireshark.org/**lists/wireshark-dev<http://www.wireshark.org/lists/wireshark-dev> > Unsubscribe: > https://wireshark.org/mailman/**options/wireshark-dev<https://wireshark.org/mailman/options/wireshark-dev> > > mailto:wireshark-dev-request@**wireshark.org<wireshark-dev-requ...@wireshark.org> > ?subject=**unsubscribe >
___________________________________________________________________________ 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-requ...@wireshark.org?subject=unsubscribe