Wireshark-dev: Re: [Wireshark-dev] error in epan/tfs.h
From: sagar sg <[email protected]>
Date: Mon, 18 Jul 2011 15:21:29 +0530
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 <[email protected]> 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>


Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
           mailto:[email protected]wireshark.org?subject=unsubscribe