Wireshark-dev: Re: [Wireshark-dev] error in epan/tfs.h
From: sagar sg <sagu072@xxxxxxxxx>
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 <Helge.Kruse-nospam@xxxxxxx> 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@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
           mailto:wireshark-dev-request@wireshark.org?subject=unsubscribe