Yes, I have #ifdef HAVE_CONFIG_H # include "config.h" #endif
But my code is in C++ and i am using gcc compiler. does this make any difference? On Fri, Jul 15, 2011 at 8:38 PM, Jakub Zawadzki <darkjames...@darkjames.pl>wrote: > Hi, > > On Fri, Jul 15, 2011 at 08:34:48PM +0530, sagar sg wrote: > > I am getting the following error during the compilation of the > dissector > > on linux platform, does anybody know the cause for this error and > solution ?? > > > /wireshark/wireshark-1.4.7/epan/ftypes/ftypes.h:263: error: expected > > constructor, destructor, or type conversion before âu > > /wireshark/wireshark-1.4.7/epan/proto.h:60: error: expected constructor, > > destructor, or type conversion before âintâ > > /wireshark/wireshark-1.4.7/epan/proto.h:1630: error: âWS_VAR_IMPORTâ does > > not name a type > > Do you have: > #ifdef HAVE_CONFIG_H > # include "config.h" > #endif > > at the beginning of dissector c file? > ___________________________________________________________________________ > 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 >
___________________________________________________________________________ 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