Wireshark-dev: Re: [Wireshark-dev] win 64 wireshark build
From: Brian Oleksa <oleksab@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 23 Jul 2009 13:37:43 -0400
Ok

I got the latest version from SVN.  (Checked out revision 29179.)

I should NOT have to do anything else (like install cygwin and python as I already had this working in the past on this machine).

I made sure my platform was set to win64:
WIRESHARK_TARGET_PLATFORM=win64

I made sure my MSVC variant was set to:  MSVC_VARIANT=MSVC2008EE

Everything else should be set up and ready to go:

So I at least wanted to "verify the tools" before I did anything else....and I get the following error:

Any thoughts...??

Thanks,
Brian



C:\wireshark_july_09_64bit>nmake -f Makefile.nmake verify_tools

Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

/cygdrive/c/wireshark_july_09_64bit/tools/win32-setup.sh: line 4: $'\r': command
not found
/cygdrive/c/wireshark_july_09_64bit/tools/win32-setup.sh: line 14: $'\r': comman
d not found
/cygdrive/c/wireshark_july_09_64bit/tools/win32-setup.sh: line 16: $'\r': comman
d not found
/cygdrive/c/wireshark_july_09_64bit/tools/win32-setup.sh: line 18: $'\r': comman
d not found
/cygdrive/c/wireshark_july_09_64bit/tools/win32-setup.sh: line 21: $'\r': comman
d not found
/cygdrive/c/wireshark_july_09_64bit/tools/win32-setup.sh: line 22: syntax error
near unexpected token `$'{\r''
/cygdrive/c/wireshark_july_09_64bit/tools/win32-setup.sh: line 22: `err_exit ()
'
/cygdrive/c/wireshark_july_09_64bit/tools/win32-setup.sh: line 4: $'\r': command
not found
/cygdrive/c/wireshark_july_09_64bit/tools/win32-setup.sh: line 14: $'\r': comman
d not found
/cygdrive/c/wireshark_july_09_64bit/tools/win32-setup.sh: line 16: $'\r': comman
d not found
/cygdrive/c/wireshark_july_09_64bit/tools/win32-setup.sh: line 18: $'\r': comman
d not found
/cygdrive/c/wireshark_july_09_64bit/tools/win32-setup.sh: line 21: $'\r': comman
d not found
/cygdrive/c/wireshark_july_09_64bit/tools/win32-setup.sh: line 22: syntax error
near unexpected token `$'{\r''
/cygdrive/c/wireshark_july_09_64bit/tools/win32-setup.sh: line 22: `err_exit ()
'
NMAKE : fatal error U1077: 'c:\cygwin\bin\bash.EXE' : return code '0x2'
Stop.

Graham Bloice wrote:
Brian Oleksa wrote:
Ok..here is the "set lib" output

C:\Program Files\Microsoft Visual Studio 9.0\VC>set lib
LIB=C:\Program Files\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB;C:\Program Files\ Microsoft Visual Studio 9.0\VC\LIB;C:\Program Files\Microsoft SDKs\Windows\v7.0\
lib;
LIBPATH=Framework32\;Framework32\v2.0.50727;C:\Program Files\Microsoft Visual St
udio 9.0\VC\ATLMFC\LIB;C:\Program Files\Microsoft Visual Studio 9.0\VC\LIB;

Thanks,
Brian

Which shows that you are are not set up correctly for linking with the x64 MS libs. Instead of calling vcvars32.bat to set your build environment you need to use the 64 bit version. In my installation of VS2005 Pro, I have ...\VC\bin\vcvars32.bat, but I also have ...\VC\bin\amd64\vcvarsamd64.bat and ..\VC\bin\x86_amd64\vcvarsx86_amd64.bat. I would try one of the amd64 versions, don't know they're they're different.

--
Regards,

Graham Bloice
------------------------------------------------------------------------

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe