Hi,
I have a build issue when building Wireshark on Windows 7, 64bit and MSVC2010. The error log returned is:
Build Log Build started: Project: packaging, Configuration: PortableApps|Win32
Command Lines Creating temporary file "C:\Users\RICHAR~1\AppData\Local\Temp\BAT00000357762912.bat" with contents
[
@echo off
nmake -f Makefile.nmake packaging_papps
if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
exit 1
:VCEnd
]
Creating command line "C:\Users\RICHAR~1\AppData\Local\Temp\BAT00000357762912.bat"
Output Window Performing Makefile project actions
Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.
ERROR: The contents of 'C:\Wireshark-win64-libs\current_tag.txt' is (unknown).
It should be 2013-03-09.
? Wireshark Libraries not up-to-date ?
? Do you need to run nmake -f Makefile.nmake setup ?
NMAKE : fatal error U1077: 'exit' : return code '0x1'
Stop.
Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
Results Build log was saved at "file://c:\WireShark\PortableApps\BuildLog.htm"
packaging - 2 error(s), 0 warning(s)
asked 04 Apr ‘13, 09:09
Richard Drayton
11●1●1●2
accept rate: 0%
edited 04 Apr ‘13, 11:07
Guy Harris ♦♦
17.4k●3●35●196
Thanks for the response - yes the project was built from within Visual Studio using the wireshark.sln file provided in the SVN download - the environment was built according to the details in the Win32 setup including the CygWin installation, Python download etc.. Running the setup gives:
Other than the unzip command (which seems to work fine) the result is as per the documentation until the last step.
The error occurs irrespective of the command line build or the MSVC build.
Regards Richard
Actually, not:
What does the command
dir c:\Wireshark-win64-libs
print?@Richard Drayton
As per my answer, do not use the solution file, it is outdated and doesn’t work, you must build from the command prompt.
Your issue with the command prompt is the oracle version of unzip:
unzip: /cygdrive/c/oraclexe/app/oracle/product/11.2.0/server/bin/unzip
.I don’t know what it is, but it doesn’t behave like a normal unzip. You’ll need to remove it from your path and try again with
nmake -f Makefile.nmake setup
.