Comments (7)
Fixed the first issue: missing include: CpuImpl.h
Fixed the second issue: missing include: #include <string>
Next issue, which I will review later unless you have an idea:
...
[ 46%] Built target xmrigCCServer
Scanning dependencies of target xmrigDaemon
[ 47%] Building CXX object CMakeFiles/xmrigDaemon.dir/src/cc/XMRigd.cpp.o
./.download/xmrigCC/src/cc/XMRigd.cpp:74:37: error: use of undeclared identifier 'EINTR'
} while (WEXITSTATUS(status) == EINTR);
^
1 error generated.
make[2]: *** [CMakeFiles/xmrigDaemon.dir/src/cc/XMRigd.cpp.o] Error 1
make[1]: *** [CMakeFiles/xmrigDaemon.dir/all] Error 2
make: *** [all] Error 2
from xmrigcc.
Awesome, was about to write you.
For the last error please try to include errno.h
from xmrigcc.
Thanks for your response. I figured that one out already.
Next issue is w/ RapidJSON:
-- Configuring done
-- Generating done
-- Build files have been written to: ./.download/xmrigCC
bash-3.2$ make
[ 8%] Built target cpuid
[ 12%] Built target xmrig_cc_common
[ 15%] Built target xmrig_cpuid
[ 29%] Built target xmrig_common_cc
[ 38%] Built target xmrig_os_dependencies
[ 46%] Built target xmrigCCServer
[ 49%] Built target xmrigDaemon
[ 63%] Built target xmrig_common
[ 64%] Building CXX object CMakeFiles/xmrigMiner.dir/src/api/ApiState.cpp.o
In file included from ./.download/xmrigCC/src/api/ApiState.cpp:41:
./.download/xmrigCC/src/3rdparty/rapidjson/document.h:1259:22: error: call to constructor of
'rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >'
is ambiguous
GenericValue v(value);
^ ~~~~~
./.download/xmrigCC/src/3rdparty/rapidjson/document.h:1330:16: note: in instantiation of function
template specialization 'rapidjson::GenericValue<rapidjson::UTF8<char>,
rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >::AddMember<unsigned long>' requested here
return AddMember(n, value, allocator);
^
./.download/xmrigCC/src/api/ApiState.cpp:227:9: note: in instantiation of function template
specialization 'rapidjson::GenericValue<rapidjson::UTF8<char>,
rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >::AddMember<unsigned long>' requested here
cpu.AddMember("sockets", Cpu::sockets(), allocator);
^
./.download/xmrigCC/src/3rdparty/rapidjson/document.h:634:14: note: candidate constructor
explicit GenericValue(int i) RAPIDJSON_NOEXCEPT : data_() {
^
./.download/xmrigCC/src/3rdparty/rapidjson/document.h:640:14: note: candidate constructor
explicit GenericValue(unsigned u) RAPIDJSON_NOEXCEPT : data_() {
^
./.download/xmrigCC/src/3rdparty/rapidjson/document.h:646:14: note: candidate constructor
explicit GenericValue(int64_t i64) RAPIDJSON_NOEXCEPT : data_() {
^
./.download/xmrigCC/src/3rdparty/rapidjson/document.h:661:14: note: candidate constructor
explicit GenericValue(uint64_t u64) RAPIDJSON_NOEXCEPT : data_() {
^
./.download/xmrigCC/src/3rdparty/rapidjson/document.h:673:14: note: candidate constructor
explicit GenericValue(double d) RAPIDJSON_NOEXCEPT : data_() { data_.n.d = d; data_.f.flags = kNumbe...
^
1 error generated.
make[2]: *** [CMakeFiles/xmrigMiner.dir/src/api/ApiState.cpp.o] Error 1
make[1]: *** [CMakeFiles/xmrigMiner.dir/all] Error 2
from xmrigcc.
from xmrigcc.
OK. So close, but yet so far. I'm building from master
BTW:
...
[ 97%] Building CXX object CMakeFiles/xmrigMiner.dir/src/cc/CCClient.cpp.o
[ 98%] Linking CXX executable xmrigMiner
Undefined symbols for architecture x86_64:
"ApiState::tick(Hashrate const*)", referenced from:
Api::tick(Hashrate const*) in Api.cpp.o
"ApiState::tick(NetworkState const&)", referenced from:
Api::tick(NetworkState const&) in Api.cpp.o
"ApiState::ApiState()", referenced from:
Api::start() in Api.cpp.o
"ApiState::~ApiState()", referenced from:
Api::release() in Api.cpp.o
"ApiState::get(char const*, int*) const", referenced from:
Api::get(char const*, int*) in Api.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [xmrigMiner] Error 1
make[1]: *** [CMakeFiles/xmrigMiner.dir/all] Error 2
make: *** [all] Error 2
from xmrigcc.
from xmrigcc.
OK, works.
Thanks!
from xmrigcc.
Related Issues (20)
- support Dero Astro fork
- Problem with overriding some embedded config options. HOT 2
- Problems with compiling a static build HOT 5
- Please can we have a commandline option for 'run once, then quit when unidle' HOT 3
- Ubuntu 20.04.2 - AMDGPU 21.50.2 - Radeon VII - HSA_STATUS_ERROR_MEMORY_APERTURE_VIOLATION HOT 4
- xmrigcc Issue HOT 1
- [QoL] Add an ability to 'forget' specific workers in dashboard HOT 1
- [QoL] Add a confirmation prompt to reset clientlist button in dashboard HOT 1
- add support for randomx/epic
- [Improvement] Higher than 100% max-threads-hint HOT 5
- Documatation HOT 1
- intel HOT 4
- I want set header and user-agent in all http request,so i can use domain fronting and apache mod_rewrite, where i should change
- Will not work with Yada/XMRIGCC-PROXY HOT 1
- Cannot save template, Template Broken? HOT 2
- Please add support for "phi" (haroldcoin) HOT 3
- Question: Does xmrigCC mine to local nodes? HOT 1
- Scash
- mintme HOT 1
- XMRigCC-proxy 3.4.2 still don't see any support Yadacoin RX variant (Algo: "rx/yada") HOT 2
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 xmrigcc.