Here is the gmake's error: https://pastebin.com/AUuwQ7vA
Please update your Installation instruction, too. Your instruction for SunOS no longer true for modern Illumos, as they have switched to GCC Toolchain rather than Sun Studio. I don't know about Oracle Solaris, though. You should split SunOS guide into Illumos guide, Solaris 10 guide and Solaris 11 guide as they are very different system now. Thank you.