Closed imtrynalearn closed 3 years ago
Please provide config.log
. Also, are you building from the git repo or from tarball?
I builded using msys on windows
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: cannot find -lcurldll
There's your problem. Make sure that you have the proper libraries installed and that the build system knows where to find them.
where should I put my libraries when I installed libcurl i used ./configure –prefix=/c/mingw make make install
I don't know much about MSYS, but generally speaking you can put your libraries wherever you want. You might just have to tell configure
where to find them.
What is the command order to do that?
You would normally set LDFLAGS
to tell the linker where to find your libraries. This is nothing specific to cpuminer.
Sorry but this is an issue tracker, not a help forum. I'm seeing no indication of a cpuminer issue, so I'm closing this ticket.
this command CFLAGS="-O2 -msse2" ./configure
works, this LIBCURL="-lcurldll" ./configure CFLAGS="-O3"
not. Do you have a clue why?
My guess would be that you have the curl
library file installed but not the curldll
one.
why does it have tons of malwares https://www.virustotal.com/gui/file/7d4dc9c9456054b8c655b382356ee46332911d64375ab6af3e6910632e1226aa/detection
anyways do you know how to fix this error while I build sgminer
In file included from sgminer.c:52:0:
compat.h:76: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:117:10: note: previous definition of 'sleep' was here
unsigned sleep( unsigned period ){ return __mingw_sleep( period, 0 ); }