我在運行verify_tools
時遇到問題,無法在Windows上生成Wireshark。生成文件失敗,出現以下關於無法找到文件的錯誤。Wireshark verify_tools失敗,顯示「沒有這樣的文件或目錄」
C:\Development\wireshark>nmake -f Makefile.nmake verify_tools
Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
Copyright (C) Microsoft Corporation. All rights reserved.
tools/win64-setup.sh: line 12: /cygdrive/c/Development/wireshark/tools/win-setup: No such file or directory
tools/win64-setup.sh: line 12: exec: /cygdrive/c/Development/wireshark/tools/win: cannot execute: No such file or directory
tools/win64-setup.sh: line 12: /cygdrive/c/Development/wireshark/tools/win-setup: No such file or directory
tools/win64-setup.sh: line 12: exec: /cygdrive/c/Development/wireshark/tools/win: cannot execute: No such file or directory
NMAKE : fatal error U1077: 'C:\Users\indiv\apps\cygwin\bin\bash.EXE' : return code '0x7e'
Stop.
要調試,我改變win64-setup.sh並使其打印WIN_SETUP
。
echo WIN_SETUP: [$WIN_SETUP]
exec $WIN_SETUP [email protected]
結果很奇怪。可能是由於一些行尾問題。
C:\Development\wireshark>nmake -f Makefile.nmake verify_tools
Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
Copyright (C) Microsoft Corporation. All rights reserved.
]IN_SETUP: [tools/win-setup.sh
我該如何解決或解決此問題?