Wireshark-dev: Re: [Wireshark-dev] Compilation error on windows XP
From: Graham Bloice <[email protected]>
Date: Fri, 23 May 2008 16:48:41 +0100
Abhijit Mirajkar wrote:

I am trying to compile the wireshark by following the instructions
word-by-word  given at
Only that instead of getting the source through subversion, I have
downloaded version zipped code.

However I am getting following compilation error :
C:\cygwin\usr\include\sys/_types.h(15) : error C2054: expected '(' to follow
C:\cygwin\usr\include\sys/_types.h(15) : error C2085: '_off64_t' : not in
 parameter list"

Note that I had to append the INCLUDE environment variable with the path for
cygwin include (C:\cygwin\usr\include\sys).

Can anybody please throw some light?
Thanks in advance,

You don't need the Cygwin include path at all.  This is causing these 
errors.  Remove that addition to the INCLUDE env var and try again.  If 
you are still getting errors have you set up the Visual Studio env vars 
by the steps in 2.2.6 of the guide?

Graham Bloice