I am trying to build Wireshark from source and I followed all the directions in http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html. When building, I get the following error: Microsoft (R) Program Maintenance Utility Version 10.00.40219.01 Copyright (C) Microsoft Corporation. All rights reserved.
/usr/bin/bison: m4 subprocess failed NMAKE : fatal error U1077: 'c:\cygwin64\bin\bison.EXE' : return code '0x1' Stop. NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0 \VC\Bin\nmake.exe"' : return code '0x2' Stop. Any ideas on what the issue might be? asked 12 Aug '13, 09:19 miss_develop |
One Answer:
Can you verify that you have m4 installed, e.g. by running answered 12 Aug '13, 09:47 Gerald Combs ♦♦ That worked! I installed m4 explicitly on Cygwin and it worked. However, I now get another error: Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385 Copyright (C) Microsoft Corporation. All rights reserved.
NMAKE : fatal error U1077: 'c:\cygwin64\bin\perl.EXE' : return code '0xc0000135' Stop. (12 Aug '13, 10:26) miss_develop If an answer has solved your issue, please accept the answer for the benefit of other users by clicking the checkmark icon next to the answer. Please read the FAQ for more information. (12 Aug '13, 11:00) grahamb ♦ Got it resolved. It was a dependency that was not installed during the Cygwin install. (12 Aug '13, 11:11) miss_develop @miss_develop Can you comment on the dependency missing? I'm having the same issue. (10 Dec '13, 10:12) tlann |
I assume from the path to the Cygwin binaries you are using an x64 version of Cygwin.
While it may work, I'm not aware of anyone successfully using an x64 version of Cygwin to build Wireshark. If problems persist you may want to try a 32 bit version.