Wireshark mailing list archives

Re: Facing Issue while compiling Wireshark onWindowsXP


From: "Anders Broman" <anders.broman () ericsson com>
Date: Mon, 18 Jan 2010 10:18:00 +0100

Hi,
Didn't we make changes to the 1.x branch to make it compile with something else than MSVC6?
As ian says why not try a recent version a lot of changes/improvments has been done...
/Anders


-----Original Message-----
From: wireshark-dev-bounces () wireshark org on behalf of Ian Schorr
Sent: Mon 1/18/2010 9:39 AM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Facing Issue while compiling Wireshark onWindowsXP
 
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 () aricent com> 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
___________________________________________________________________________
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

<<winmail.dat>>

___________________________________________________________________________
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: