Wireshark-dev: Re: [Wireshark-dev] Facing Issue while compiling Wireshark on WindowsXP
From: Ian Schorr <ian.schorr@xxxxxxxxx>
Date: Mon, 18 Jan 2010 19:39:02 +1100
Just curious - why are you trying to compile a 2 year old version?

On Mon, Jan 18, 2010 at 7:24 PM, Varun Gupta <varun.gupta@xxxxxxxxxxx> wrote:
> Hi All,
>
>
>
> I am trying to build wireshak 99.8.0 on my windows XP machine and facing an
> issue. I am using MS Visual C++ 2005EE for building the code.
>
> While compiling the files this error is thrown for files capture.c and
> capture_opts.c.  Has anybody came across such an issue?
>
>
>
> capture.c
>
> C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\ws2tcpip.h(583) :
> error C2373: 'inet_pton' : redefinition; different t
>
> ype modifiers
>
>         c:\program files\microsoft visual studio
> 8\vc\bin\wireshark-0.99.8\inet_v6defs.h(31) : see declaration of 'inet_pton
>
> '
>
> C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\ws2tcpip.h(600) :
> error C2373: 'inet_ntop' : redefinition; different t
>
> ype modifiers
>
>         c:\program files\microsoft visual studio
> 8\vc\bin\wireshark-0.99.8\inet_v6defs.h(33) : see declaration of 'inet_ntop
>
> '
>
> capture_opts.c
>
> C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\ws2tcpip.h(583) :
> error C2373: 'inet_pton' : redefinition; different t
>
> ype modifiers
>
>         c:\program files\microsoft visual studio
> 8\vc\bin\wireshark-0.99.8\inet_v6defs.h(31) : see declaration of 'inet_pton
>
> '
>
> C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\ws2tcpip.h(600) :
> error C2373: 'inet_ntop' : redefinition; different t
>
> ype modifiers
>
>         c:\program files\microsoft visual studio
> 8\vc\bin\wireshark-0.99.8\inet_v6defs.h(33) : see declaration of 'inet_ntop
>
> '
>
> Generating Code...
>
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 8\VC\BIN\cl.EXE"' : return code '0x2'
>
> Stop.
>
>
>
> Please let me know if any more info is required.
>
> Any help on this would really be appreciated. Thanks.
>
>
>
> Regards,
>
> Varun