This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

ERROR: The contents of C:\wireshark-win32-libs\current_tag.txt is (unknown). It should be 2011-06-27.

0

I am developing amf plugin for wireshark in windows.

when i run the following command: nmake -f Makefile.nmake verify_tools

The output is as follows:

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

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

ERROR: The contents of C:\wireshark-win32-libs\current_tag.txt is (unknown). It should be 2011-06-27.

Checking for required applications: cl: /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/cl link: /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/link nmake: /cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN/nmake bash: /usr/bin/bash bison: /usr/bin/bison flex: /usr/bin/flex env: /usr/bin/env grep: /usr/bin/grep /usr/bin/find: /usr/bin/find perl: /usr/bin/perl C:\Python27\python.exe: /cygdrive/c/Python27/python.exe sed: /usr/bin/sed unzip: /usr/bin/unzip wget: /usr/bin/wget

Can't find: mt

ERROR: These application(s) are either not installed or simply can't be found in the current PATH: /cygdrive/c/Python27:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VSTSDB/Deploy:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE:/cygdrive/c/Program Files (x86)/Microsoft Visual Stu dio 10.0/VC/BIN:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools:/cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319:/cygdrive/c/Windows/Microsoft.NET/Framework64/v3.5:/cygdrive/c/Program Files (x86)/MicrosoftVisual Studio 10.0/VC/VCPackages:/cygdrive/c/PlatformSDK/bin/NETFX 4.0 Tools:/cygdrive/c/PlatformSDK/bin:/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/WindowsWbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files (x86)/Hewlett-HP ProtectTools Security Manager/Bin:/cygdrive/c/Program Files/Intel/DMIX:/cygdrive/c/Program Files (x86)/Intel/Services/IPT:/cygdrive/c/Program Files/Microsoft/Web Platform Installer:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/100/Tools/Binn:/cygdrive/c/Program Files/Microsoft SQL Server/100/Tools/Binn:/cygdrive/c/Program Files/Microsoft SQL Server/100/DTS/Binn:/cygdrive/c/Program Files (x86)/Microsoft ASP.NET/ASP.NET Web Pages/v1.0:/cygdrive/c/Program Files/Microsoft SQL Server/110/Tools/Binn:/cygdrive/c/Program Files/Microsoft Windows Performance Toolkit:/cygdrive/c/Program Files/TortoiseSVN/bin:/usr/bin:/cygdrive/c/wireshark-win32-libs/gtk2/bin:/cygdrive/c/bin:/cygdrive/c/wireshark-win32-libs/zlib125.

For additional help, please visit: http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html

NMAKE : fatal error U1077: 'c:\cygwin\bin\bash.EXE' : return code '0x1'


how should i fix it

asked 22 Nov ‘12, 21:26

Akhil's gravatar image

Akhil
53272831
accept rate: 0%

edited 23 Nov ‘12, 01:48

grahamb's gravatar image

grahamb ♦
19.8k330206

If you have followed the developers guide and installed cygwin and all the tools I supose it’s a problem with your path.

(22 Nov ‘12, 22:05) Anders ♦

I have followed developers guide strictly and have installed the tools in the same order.

(22 Nov ‘12, 22:22) Akhil

Do this in a cmd window, not the bash shell.

(22 Nov ‘12, 22:52) Jaap ♦

I am doing it in a cmd window

(23 Nov ‘12, 00:52) Akhil


One Answer:

0

Your configuration (in config.nmake) doesn't seem to be set correctly. You appear to have VS 2010 installed (from the path) but verify_tools is looking for mt.exe, the manifest tool.

According to my reading of config.nmake, mt.exe is only required for VS 2005 and 2008. This is set by checking the config.nmake entry for the compiler to use.

The compiler to use is set by by the MSVC_VARIANT variable, e.g. MSVC_VARIANT=MSVS2010.

If you have strictly followed the developers guide you should have set this entry as part of step 2.2.5.2.c

answered 23 Nov '12, 02:02

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

I followed the guide and it give an error:

Can't find: cl E:\Python27\python.exe

NMAKE : fatal error U1077: 'c:\cygwin\bin\bash.EXE' : return code '0x1' Stop. How do I solve it?

(29 May '14, 11:54) aman

This seems to be a different question, please start a new question with an appropriate title and the full output from nmake -f Makefile.nmake verify_tools

(30 May '14, 02:53) grahamb ♦