Wireshark mailing list archives

Re: error in epan/tfs.h


From: Jakub Zawadzki <darkjames-ws () darkjames pl>
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?
___________________________________________________________________________
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-request () wireshark org?subject=unsubscribe


Current thread: