Wireshark-dev: Re: [Wireshark-dev] Compilation error with Wireshark source code in Windows 7 +

Date: Wed, 6 Aug 2014 09:10:04 +0200
Hi,

On Tue, Aug 05, 2014 at 08:08:51PM +0530, Bharath Gandhi wrote:
> ws_mempbrk_sse42.c
> ws_mempbrk_sse42.c(50) : error C2061: syntax error : identifier
> '___m128i_shift_
> right'
> ws_mempbrk_sse42.c(50) : error C2059: syntax error : ';'
> ws_mempbrk_sse42.c(50) : error C3409: empty attribute block is not allowed
> ws_mempbrk_sse42.c(50) : error C2513: '/*global*/ ' : no variable declared
> befor
> e '='
> ws_mempbrk_sse42.c(59) : error C2065: '___m128i_shift_right' : undeclared
> identi
> fier
> NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio
> 10.0
> \VC\BIN\cl.EXE"' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio
> 10.0
> \VC\BIN\nmake.exe"' : return code '0x2'
> Stop.
> 
> 
> Please help me to resolve this issue.

I'm just guessing but try to replace type of ___m128i_shift_right to gint8, like:

 49 static const gint8 ___m128i_shift_right[31] =

<stdint.h> is already included for windows, so it should not help, but please try it.

Cheers,
Jakub.