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