Unable to install libraw

My system:
fedora 25
Kernel 4.11.5-200
gcc gcc version 6.3.1 20161221 (Red Hat 6.3.1-1) (GCC)
LibRaw version 0.18.2

I am trying to install LibRaw but running into errors, the makefile always fails. See attached for details. According to this page, https://www.libraw.org/docs/Install-LibRaw.html, LibRaw has not been tested for gcc versions higher than 4.x. Am I trying to install an outdated version? And where can I get one more recent?

Plain text icon makefile.txt47.5 KB