Tried to create the Wolf Espers Sgminer after manual windows-build.
Unfortunately errors
My system
mingw-get-inst-20120426
Windows10 Pro 64bit
source from here
https://ottrbutt.com/tmp/sgminer-wolf-esp.tar.xzautoreconf -fvi
CFLAGS = "- O2 -msse2 ./configure
-------------------------------------------------- ----------------------
sgminer 5.1.1
-------------------------------------------------- ----------------------
Configuration Options Summary:
Use git version ......: yes
libcurl (GBT + getwork). Enabled: -LC: / MinGW / lib -lcurl -lcurldll
curses.TUI ...........: FOUND: -lpdcurses
OpenCL ...............: FOUND. GPU mining support enabled
ADL ..................: SDK found, GPU monitoring support enabled
Compilation ............: make (or gmake)
CPPFLAGS .............:
CFLAGS ...............: -O2 -msse2
LDFLAGS ..............:
LDADD ................: -LC: / MinGW / lib -lcurl -lcurldll submodule / Jansson / src / .libs / libjansson.a -lpthread -lOpenCL -lws2_32 -lm
Installation ...........: make install (as root if needed, with 'su' or 'sudo')
prefix ...............: / usr / local
make
make [2]: Entering directory `/ home / worgon / sgminer '
CC sgminer sgminer.o
In file included from compat.h: 8: 0,
from sgminer.c: 53:
c: \ mingw \ include \ pthread.h: 320: 8: error: redefinition of "struct timespec"
struct {timespec
^
In file included from c: \ mingw \ include \ sys \ time.h: 3: 0,
from sgminer.c: 25:
c: \ mingw \ include \ time.h: 102: 8: Note: originally defined here
struct timespec
^
In file included from sgminer.c: 53: 0:
compat.h: 17: 19: error: conflicting types for "nanosleep"
static inline int nanosleep (const struct timespec * req, struct timespec * rem)
^
In file included from c: \ mingw \ include \ sys \ time.h: 3: 0,
from sgminer.c: 25:
c: \ mingw \ include \ time.h: 405: 5: Note: Prior definition of "nanosleep" was here
int nanosleep (const struct timespec * period, struct timespec * residual)
^
In file included from sgminer.c: 53: 0:
compat.h: 52: 19: error: conflicting types for "sleep"
static inline int sleep (unsigned int secs)
^
In file included from sgminer.c: 24: 0:
c: \ mingw \ include \ unistd.h: 114: 10: Note: Prior definition of "sleep" was here
unsigned sleep (unsigned period) {return __mingw_sleep (period, 0); }
^
sgminer.c: In function 'set_devices ":
sgminer.c: 682: 5: warning: implicit declaration of function 'strcasecmp "[-Wimplicit-function-declaration]
if (! strcasecmp (arg, "?"))
^
sgminer.c: In function 'detect_stratum ":
sgminer.c: 761: 3: warning: implicit declaration of function 'strncasecmp "[-Wimplicit-function-declaration]
if (! strncasecmp (url, "stratum + tcp: //", 14)) {
^
sgminer.c: In function 'set_log_file ":
sgminer.c: 1185: 20: error: 'O_WRONLY' undeclared (first use in this function)
fd = open (arg, O_WRONLY | O_APPEND | O_CREAT, S_IRUSR | S_IWUSR);
^
sgminer.c: 1185: 20: Note: each undeclared identifier is only once for each function, in Which It is present, reported
sgminer.c: 1185: 31: error: 'O_APPEND' undeclared (first use in this function)
fd = open (arg, O_WRONLY | O_APPEND | O_CREAT, S_IRUSR | S_IWUSR);
^
sgminer.c: 1185: 42: error: "O_CREAT" undeclared (first use in this function)
fd = open (arg, O_WRONLY | O_APPEND | O_CREAT, S_IRUSR | S_IWUSR);
^
sgminer.c: In function 'gbt_decode ":
sgminer.c: 2225: 3: warning: implicit declaration of function 'align_len "[-Wimplicit-function-declaration]
align_len (cal_len);
^
sgminer.c: In function 'gbt_solo_decode ":
sgminer.c: 2465: 2: warning: implicit declaration of function 'ser_number "[-Wimplicit-function-declaration]
ofs + = ser_number (pool-> scriptsig_base + ofs, height); // Max 5
^
sgminer.c: In function 'setup_gbt_solo ":
sgminer.c: 6211: 2: warning: implicit declaration of function 'address_to_pubkeyhash "[-Wimplicit-function-declaration]
address_to_pubkeyhash (pool-> script_pubkey, opt_gbt_address);
^
make [2]: *** [sgminer-sgminer.o] Error 1
make [2]: Leaving directory `/ home / worgon / sgminer '
make [1]: *** [all-recursive] Error 1
make [1]: Leaving directory `/ home / worgon / sgminer '
make: *** [all] Error 2
someone here has a solution?