This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Hi,

Started testing builds with VS 2013 Pro (nmake build), complaints about redefinitions:

C:\Program Files (x86)\Windows Kits\8.1\include\um\ws2tcpip.h(531) : error
C2373: 'ws_inet_pton' : redefinition; different type modifiers

E:\Wireshark\trunk\wsutil/inet_v6defs.h(44) : see declaration of
'ws_inet_pton'

C:\Program Files (x86)\Windows Kits\8.1\include\um\ws2tcpip.h(548) : error
C2373: 'ws_inet_ntop' : redefinition; different type modifiers

E:\Wireshark\trunk\wsutil/inet_v6defs.h(46) : see declaration of
'ws_inet_ntop'

Looking at the definitions of these I can't see what's up.

asked 18 Nov '15, 17:16

Govindarao%20Bandaru's gravatar image

Govindarao B...
1111
accept rate: 0%

edited 19 Nov '15, 03:50

grahamb's gravatar image

grahamb ♦
19.8k330206

Note that if you're trying to build 2.0, then the Windows build system has switched to CMake.

(19 Nov '15, 02:11) grahamb ♦

What version of the Wireshark source are you building from ?.

This problem was fixed in Dec 2013. The fix appeared in Wireshark-1.12 sources.

(See the wireshark-dev message thread beginning at: https://www.wireshark.org/lists/wireshark-dev/201312/msg00066.html

The actual commit: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3ccec6e23b8fa7f2601118660a1f01d325eb2dd4

permanent link

answered 18 Nov '15, 19:50

Bill%20Meier's gravatar image

Bill Meier ♦♦
3.2k1850
accept rate: 17%

I am using wireshark- 1.8.15

(19 Nov '15, 02:52) Govindarao B...
I am using wireshark- 1.8.15

OK, VS2013 isn't supported for that version.

(19 Nov '15, 03:15) grahamb ♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×193
×110
×13
×7
×3

question asked: 18 Nov '15, 17:16

question was seen: 1,383 times

last updated: 19 Nov '15, 03:50

p​o​w​e​r​e​d by O​S​Q​A