Oh, still not there yet..
$ make
...
In file included from util.c:27:0:
c:\mingw\include\mstcpip.h:2:14: error: expected '=', ',', ';', 'asm' or '__attr
ibute__' before numeric constant
* Copyright 2008 Hans Leidekker for CodeWeavers.
^
c:\mingw\include\mstcpip.h:4:35: error: unknown type name 'you'
* This library is free software; you can redistribute it and/or
^
c:\mingw\include\mstcpip.h:4:43: error: expected '=', ',', ';', 'asm' or '__attr
ibute__' before 'redistribute'
* This library is free software; you can redistribute it and/or
^
c:\mingw\include\mstcpip.h:4:43: error: unknown type name 'redistribute'
c:\mingw\include\mstcpip.h:6:58: error: unknown type name 'either'
* License as published by the Free Software Foundation; either
^
c:\mingw\include\mstcpip.h:7:12: error: expected '=', ',', ';', 'asm' or '__attr
ibute__' before numeric constant
* version 2.1 of the License, or (at your option) any later version.
^
c:\mingw\include\mstcpip.h:10:30: error: unknown type name 'without'
* but WITHOUT ANY WARRANTY; without even the implied warranty of
^
c:\mingw\include\mstcpip.h:10:43: error: expected '=', ',', ';', 'asm' or '__att
ribute__' before 'the'
* but WITHOUT ANY WARRANTY; without even the implied warranty of
^
c:\mingw\include\mstcpip.h:10:43: error: unknown type name 'the'
c:\mingw\include\mstcpip.h:15:37: error: expected identifier or '(' before 'if'
* License along with this library; if not, write to the Free Software
^
util.c: In function 'sockopt_keepalive_cb':
util.c:283:23: error: storage size of 'vals' isn't known
struct tcp_keepalive vals;
^
make[2]: *** [minerd-util.o] Error 1
make[2]: Leaving directory `/xcoin-cpuminer-master'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/xcoin-cpuminer-master'
make: *** [all] Error 2
I read that I should copy mstcpip.h to MinGW\include so I found a random version on the web and... it's not working.
Why do I have to find my own mstcpip.h? I guess a better question is why doesn't it work.
Doesn't like the comments?
...and the culprit is a missing
at the very beginning of the file. Thank you to whoever uploaded this file.