Wireshark-dev: Re: [Wireshark-dev] problems with building wireshark unter win xp
From: Graham Bloice <[email protected]>
Date: Thu, 05 Apr 2007 10:37:56 +0100
Hallo wrote:
>  
> 
> Hello,
> 
>  
> 
>  
> 
> I have a problem with build wireshark under win xp.
> 
>  
> 
> I get follow ERR
> 
>  
> 
>         C:\Programme\Microsoft Platform SDK for Windows Server 2003
> R2\Include\W
> 
> inSock.h(903): Siehe Deklaration von 'WSAAsyncGetServByPort'
> 
> C:\Programme\Microsoft Platform SDK for Windows Server 2003
> R2\Include\WinSock2.
> 
> h(2432) : error C2375: 'WSAAsyncGetProtoByName': Neudefinition;
> unterschiedliche
> 
>  Bindung
> 
>         C:\Programme\Microsoft Platform SDK for Windows Server 2003
> R2\Include\W
> 
> inSock.h(911): Siehe Deklaration von 'WSAAsyncGetProtoByName'
> 
> C:\Programme\Microsoft Platform SDK for Windows Server 2003
> R2\Include\WinSock2.
> 
> h(2457) : error C2375: 'WSAAsyncGetProtoByNumber': Neudefinition;
> unterschiedlic
> 
> he Bindung
> 
>         C:\Programme\Microsoft Platform SDK for Windows Server 2003
> R2\Include\W
> 
> inSock.h(918): Siehe Deklaration von 'WSAAsyncGetProtoByNumber'
> 
> C:\Programme\Microsoft Platform SDK for Windows Server 2003
> R2\Include\WinSock2.
> 
> h(2482) : error C2375: 'WSAAsyncGetHostByName': Neudefinition;
> unterschiedliche
> 
> Bindung
> 
>         C:\Programme\Microsoft Platform SDK for Windows Server 2003
> R2\Include\W
> 
> inSock.h(925): Siehe Deklaration von 'WSAAsyncGetHostByName'
> 
> C:\Programme\Microsoft Platform SDK for Windows Server 2003
> R2\Include\WinSock2.
> 
> h(2509) : error C2375: 'WSAAsyncGetHostByAddr': Neudefinition;
> unterschiedliche
> 
> Bindung
> 
>         C:\Programme\Microsoft Platform SDK for Windows Server 2003
> R2\Include\W
> 
> inSock.h(932): Siehe Deklaration von 'WSAAsyncGetHostByAddr'
> 
> C:\Programme\Microsoft Platform SDK for Windows Server 2003
> R2\Include\WinSock2.
> 
> h(2532) : error C2375: 'WSACancelAsyncRequest': Neudefinition;
> unterschiedliche
> 
> Bindung
> 
>         C:\Programme\Microsoft Platform SDK for Windows Server 2003
> R2\Include\W
> 
> inSock.h(941): Siehe Deklaration von 'WSACancelAsyncRequest'
> 
> C:\Programme\Microsoft Platform SDK for Windows Server 2003
> R2\Include\WinSock2.
> 
> h(2552) : error C2375: 'WSAAsyncSelect': Neudefinition; unterschiedliche
> Bindung
> 
>  
> 
>         C:\Programme\Microsoft Platform SDK for Windows Server 2003
> R2\Include\W
> 
> inSock.h(943): Siehe Deklaration von 'WSAAsyncSelect'
> 
>  
> 
>  
> 
> what is worng???
> 

Are you building from SVN, if so are you up to date.  I checked in a fix
 for similar errors yesterday in r21335.

I'd also like to point out that a list of compiler errors is not very
helpful without a context, i.e. the compiler line that preceded the errors.

-- 
Regards,

Graham Bloice