Wireshark mailing list archives

setting up for win32 development


From: Risto Paasila <risto () longpoint org au>
Date: Mon, 4 Apr 2011 14:23:22 +1000

Hi,

I'm using http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html to
set up the environment, in order to compile wireshark under windows.

However, while doing the verify tools check, I keep getting this problem
(tried on 2 seperate machines):

Setting environment for using Microsoft Visual Studio 2008 x86 tools.
C:\Program Files\Microsoft Visual Studio 9.0\VC>cd \wireshark
C:\wireshark>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/tools/win-setup.sh: line 6: $'\r': command not found
/cygdrive/c/wireshark/tools/win-setup.sh: line 14: $'\r': command not found
/cygdrive/c/wireshark/tools/win-setup.sh: line 29: syntax error near
unexpected
token `$'{\r''
'cygdrive/c/wireshark/tools/win-setup.sh: line 29: `err_exit () {
/cygdrive/c/wireshark/tools/win-setup.sh: line 6: $'\r': command not found
/cygdrive/c/wireshark/tools/win-setup.sh: line 14: $'\r': command not found
/cygdrive/c/wireshark/tools/win-setup.sh: line 29: syntax error near
unexpected
token `$'{\r''
'cygdrive/c/wireshark/tools/win-setup.sh: line 29: `err_exit () {
NMAKE : fatal error U1077: 'c:\cygwin\bin\bash.EXE' : return code '0x2'
Stop.

Could you please advise me how to get around this problem.

Thanks in advance...
Risto
___________________________________________________________________________
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: