Wireshark-dev: [Wireshark-dev] can't compile wireshark

From: Rafi Lavi <rafilavi9@xxxxxxxxx>
Date: Sun, 12 Feb 2012 09:29:13 +0200
Hello ,
 
I'm trying to compile wireshark on win XP , using Visual Studio 2005
I've downloaded cygwin , and installed all required components.
when trying to execute
 
I get the following error: erf.c(651) : error C2220: warning treated as error - no 'object' file generated
 
        cl  -WX  -DHAVE_CONFIG_H -D_U_="" /DPCAP_VERSION=4_1_2 /Zi /W3 /MD /DWIN
32_LEAN_AND_MEAN /DMSC_VER_REQUIRED=1400  /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONS
TDC_NO_DEPRECATE /D_BIND_TO_CURRENT_CRT_VERSION=1 /GS /w34295  -DYYMALLOC=malloc
 -DYYFREE=free  /I. /I.. /IC:\wireshark-win32-libs\gtk2\include\glib-2.0  /IC:\w
ireshark-win32-libs\gtk2\lib\glib-2.0\include  -DG_DISABLE_DEPRECATED  /IC:\wire
shark-win32-libs\zlib125\include /IC:\wireshark-win32-libs\WPdpack/include -Fd.\
 -c erf.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.
erf.c
erf.c(651) : error C2220: warning treated as error - no 'object' file generated
erf.c(651) : warning C4244: '=' : conversion from 'gint64' to 'int', possible lo
ss of data
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\c
l.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\n
make.exe"' : return code '0x2'
Stop.
 
Is it a known issue , is there any fix for this?
 
Thanks,
Rafi.