Wireshark-dev: [Wireshark-dev] Facing Issue while compiling Wireshark on WindowsXP
From: Varun Gupta <varun.gupta@xxxxxxxxxxx>
Date: Mon, 18 Jan 2010 13:54:44 +0530

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



"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."