Wireshark mailing list archives

win-setup.sh text mode


From: Pascal Quantin <pascal.quantin () gmail com>
Date: Fri, 15 Jan 2010 20:40:25 +0100

Hi all,

since I updated my trunk tree to revision 31528, I cannot compile 
Wireshark on my Windows box (WinXP, MSVC2008SP1, cygwin 1.7.1). I get 
the following error:
C:\wireshark\trunk>nmake -f Makefile.nmake all

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

/cygdrive/c/wireshark/trunk2/tools/win-setup.sh: line 4: $'\r': command 
not found
/cygdrive/c/wireshark/trunk2/tools/win-setup.sh: line 12: $'\r': command 
not found
/cygdrive/c/wireshark/trunk2/tools/win-setup.sh: line 27: syntax error 
near unexpected token `$'{\r''
'cygdrive/c/wireshark/trunk2/tools/win-setup.sh: line 27: `err_exit () {
? Wireshark Libraries not up-to-date ?
? Do you need to run nmake -f Makefile.nmake setup ?

NMAKE : fatal error U1077: 'exit' : code retour '0x1'
Stop.

I get the same thing with a clean checkout.
I had to manually convert win-setup.sh file from dos encoding to unix 
encoding to get things working again. Is anyone else experiencing the 
same issue ?

Regards,
Pascal.

___________________________________________________________________________
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: