0

Trying to compile the NETHACK cloned version 3.6.0 from github in msys2 mingw32 shell under WIN10. I completed the steps cd sys/winnt call nhsetup.bat cd ../../src then mingw32-make -f Makefile.gcc fails

/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
Makefile.gcc:834: recipe for target 'o/obj.tag' failed
mingw32-make: *** [o/obj.tag] Error 1

$ mingw32-make.exe -v GNU Make 4.1.90 Built for Windows32

$ gcc -v gcc version 6.2.0 (Rev2, Built by MSYS2 project)

Any ideas what it means? Help to track it down would be appreciated!

M. P.
  • 181
  • 2
  • 5
  • 1
    I would recommend using `make` (`/usr/bin/make`) instead of `mingw32-make`, but other than that, I don't know what the problem might be. If you could link to the source code you tried to compile then someone might be able to reproduce the problem and help you. – David Grayson Oct 12 '16 at 20:58
  • Code come from here. $ git remote -v origin https://github.com/NetHack/NetHack.git (fetch) origin https://github.com/NetHack/NetHack.git (push) /usr/bin/make has the same result – M. P. Oct 13 '16 at 17:25

0 Answers0