Comments (2)
this is some type of failure that was introduced with the release of libmicrohttpd 0.9.71 it looks like. See also:
fireice-uk/xmr-stak#2701
from xmr-stak-cpu.
similar problem reported in the Ola open-source project:
OpenLightingProject/ola#1672
one user reported success with installing libmicrohttpd using macports instead of home-brew, and then replacing the microhttpd header file with this one:
https://github.com/scottjg/libmicrohttpd/blob/master/src/include/microhttpd.h
this seems like something that xmr-stak dev team would need to patch, if I'm not mistaken, since the upstream changes in libmicrohttpd broke this. I tried taking the latest microhttpd.h file from the upstream GNU linux project page directly:
https://git.gnunet.org/libmicrohttpd.git/tree/src/include/microhttpd.h
which also failed
UPDATE: found this merge request where it looks like a fix was already checked into another branch:
fireice-uk/xmr-stak#2688
fireice-uk/xmr-stak#2689
Fix is here:
fireice-uk/xmr-stak@f2770a7
I can confirm that if I download the following two files:
https://github.com/fireice-uk/xmr-stak/blob/f2770a767f0b288dde00b04aca68c77ceaf8055e/xmrstak/http/httpd.cpp
https://github.com/fireice-uk/xmr-stak/blob/f2770a767f0b288dde00b04aca68c77ceaf8055e/xmrstak/http/httpd.hpp
and save them to the ./xmr-stak/xmrstak/http/ directory
I am them able to compile successfully with just a warning generated here:
[ 23%] Built target xmr-stak-c Consolidate compiler generated dependencies of target xmr-stak-backend [ 25%] Building CXX object CMakeFiles/xmr-stak-backend.dir/xmrstak/http/httpd.cpp.o /Users/benners/xmr-stak/xmrstak/http/httpd.cpp:79:10: warning: result of comparison of constant -1 with expression of type 'MHD_Result' is always false [-Wtautological-constant-out-of-range-compare] if(ret == MHD_INVALID_NONCE || ret == MHD_NO) ~~~ ^ ~~~~~~~~~~~~~~~~~ /Users/benners/xmr-stak/xmrstak/http/httpd.cpp:82:94: warning: result of comparison of constant -1 with expression of type 'MHD_Result' is always false [-Wtautological-constant-out-of-range-compare] ret = MHD_queue_auth_fail_response(connection, sHttpAuthRealm, sHttpAuthOpaque, rsp, (ret == MHD_INVALID_NONCE) ? MHD_YES : MHD_NO); ~~~ ^ ~~~~~~~~~~~~~~~~~ 2 warnings generated.
from xmr-stak-cpu.
Related Issues (20)
- The program locks on this part HOT 1
- Can't enable all logical processors on multi cpu
- SOCKET ERROR - [pool.sumokoin.com:443] SEND error: An established connection was aborted by the software in your host machine. HOT 5
- We can doante it,Can you updata this version xmr-stak-cpu for us to mine xmr v7?thank you HOT 1
- Panda Antivirus showing xmr-stak-cpu.exe as trojan HOT 2
- cent os 7 , Result rejected by the pool. HOT 3
- Low hashrate on Xeon E5-2620 HOT 2
- remote throttling ? HOT 2
- Invalid config file 'config.txt'. Missing value "print_m otd". HOT 2
- stak crashes on one rig HOT 1
- hwloc: can't bind memory on linux
- Anybody who know how I can update to hardforked monero algorithm? HOT 3
- [2019-07-17 09:04:46] : JSON config parse error(offset 6151): Invalid escape character in string. HOT 1
- Linux how to compile all dependencies in the executable HOT 1
- [CUDA] Error gpu 0: <C:/xmr-stak/xmr-stak-rx-win64-1.0.1/xmrstak/blackend/nvidia/RandomX/randomx.cu>:33
- [xmr-stak-rx-linux-1.0.5-cpu] hwloc 2.2.0 received invalid information from the operating system.
- xmr-stak flowchart
- Error gpu, can't use more than 4 gpu.
- About Artificial Intelligence and Cryptocurrencies
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xmr-stak-cpu.