Wireshark mailing list archives
Re: Compilation error with Wireshark source code in Windows 7 + MSVS 201
From: Graham Bloice <graham.bloice () trihedral com>
Date: Wed, 6 Aug 2014 11:09:53 +0100
On 6 August 2014 08:10, <darkjames-ws () darkjames pl> wrote:
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 notallowedws_mempbrk_sse42.c(50) : error C2513: '/*global*/ ' : no variabledeclaredbefor e '=' ws_mempbrk_sse42.c(59) : error C2065: '___m128i_shift_right' : undeclared identi fier NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft VisualStudio10.0 \VC\BIN\cl.EXE"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft VisualStudio10.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.
Unfortunately all the buildbots have been switched over to VS 2013 so there is no independent verification of VS2010 builds. However, VS2010 was used on the buildbots when the change to add that code was merged so it did work at one time. I've just cleaned my build and built with VS2010 Pro (off master) and it all built successfully, so it looks as though the issue is in your environment. Is your source tree modified? If so please try to compile a plain unmodified version first. -- Graham Bloice
___________________________________________________________________________ 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:
- Compilation error with Wireshark source code in Windows 7 + MSVS 201 Bharath Gandhi (Aug 05)
- Re: Compilation error with Wireshark source code in Windows 7 + MSVS 201 darkjames-ws (Aug 06)
- Re: Compilation error with Wireshark source code in Windows 7 + MSVS 201 Graham Bloice (Aug 06)
- Re: Compilation error with Wireshark source code in Windows 7 + MSVS 201 darkjames-ws (Aug 06)