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

nmake -f Makefile.nmake setup fatal error U1077: “d:\cygwin64\bin\bash.EXE”: Return Code “0x1”

0

alt text

alt text

I follow the Step-by-Step Guide,when i go to the step"nmake -f Makefile.nmake setup",i catch "fatal error U1077: “d:\cygwin64\bin\bash.EXE”: 返回代码Return Code “0x1”",any one who can help me will be appreciated.

asked 21 Jul '14, 22:10

zhunanhui's gravatar image

zhunanhui
1112
accept rate: 0%

edited 22 Jul '14, 02:25

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237


One Answer:

2

It looks as though something is up with your build environment, particularly around the calls to winxx-setup.sh. The makefile calls the wrapper script winxx-setup.sh, where xx is 32 or 64 depending on how you've set your environment, yours looks like 32, and then the wrapper script exports some variables and calls the main setup script win-setup.sh, passing on the same parameters it was called with.

The fact that the usage message is printed implies win-setup.sh is being called with incorrect parameters, even though the appverify invocation does run. I don't understand why the missing QT error message is displayed, that only comes from the process_libs target which is run after the verify_tools target. Your output implies a failed invocation, the verify_tools target, then the clean_setup target, then another failed invocation

Have you made any changes at all to the source files? If so, please revert them and try to build a plain vanilla build first before making changes.

FYI, a Google translation into English of the Japanese text 返回代码 gives "Return Codes".

answered 22 Jul '14, 03:01

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

Thank you very much, I also suspect the error may be I've changed the code, I revert the latest source code, now has been successfully compiled

(22 Jul '14, 05:47) zhunanhui