Any chance you could help with the following error during compilation?
This is under centos 6 and gcc 8.3.1
util.c: In function ‘send_line’:
util.c:1136:15: error: ‘sock’ undeclared (first use in this function); did you mean ‘work’?
n = send(sock, s + sent, len, 0);
^~~~
work
util.c:1136:15: note: each undeclared identifier is reported only once for each function it appears in
Make sure you are downloading it from the official source because line 1136 in util.c is a case statement and the function has nothing to do with sockets.
https://github.com/JayDDee/cpuminer-opt/blob/master/util.c#L1136case 196: /* Testnet script hash */