Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] error in epan/tfs.h

From: Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx>
Date: Fri, 15 Jul 2011 17:08:45 +0200
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?