Hey All,
I’ve been trying to setup my own private ZCash mining pool following the steps highlighted here:
Important: this will work with only zcash 1.0.3
So, you will have to use GitHub - zcash/zcash at v1.0.3 when downloading zcash
I thought I’d share with you all what I have learned in building a privet (or if you want public) zec pool. I pursued this in hope that maybe if can build my own farm, I will have it work on my own private pool, instead of using a public pool.
The core of the pool (and 90% of what I will write) is from eXtremal-ik7 work Zcash Pool Frontend , but I had a lot of help fr…
However when I get to the step where I need to build Poolcore, I keep receiving a build error. I’ve opened up an issue on github with the Poolcore developer here:
You will also find the build failure and the CMakeError.log that was generated at that link. Has anyone else run into this issue when trying to build Poolcore? How did you fix it?
Thanks for the help!
This is the actual error I’m seeing in the CMakeError.log file:
CMakeFiles/cmTC_17f3e.dir/CheckSymbolExists.c.o: In function main’: CheckSymbolExists.c:(.text+0x16): undefined reference topthread_create’
You can view even more details by following the link I provided to the Poolcore issue I opened with the developer here:
opened 06:35AM - 12 Jan 18 UTC
hwd@hwd-desktop:/home/ZEC/poolcore/x86_64-Linux$ make -j4
[ 16%] Generating poo… l_generated.cpp, pool_generated.h
/bin/sh: 1: FLATC_COMMAND-NOTFOUND: not found
poolcommon/CMakeFiles/poolcommon.dir/build.make:61: recipe for target 'poolcommon/pool_generated.cpp' failed
make[2]: *** [poolcommon/pool_generated.cpp] Error 127
CMakeFiles/Makefile2:85: recipe for target 'poolcommon/CMakeFiles/poolcommon.dir/all' failed
make[1]: *** [poolcommon/CMakeFiles/poolcommon.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 16%] Building CXX object zcash/CMakeFiles/poolrpczcash.dir/__/poolrpc/poolrpc.cpp.o
[ 16%] Building CXX object zcash/CMakeFiles/poolrpczcash.dir/zcash.cpp.o
In file included from /home/ZEC/poolcore/src/zcash/zcash.cpp:1:0:
/home/ZEC/poolcore/src/include/poolrpc/poolrpc.h:4:39: fatal error: poolcommon/pool_generated.h: No such file or directory
compilation terminated.
zcash/CMakeFiles/poolrpczcash.dir/build.make:86: recipe for target 'zcash/CMakeFiles/poolrpczcash.dir/zcash.cpp.o' failed
make[2]: *** [zcash/CMakeFiles/poolrpczcash.dir/zcash.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/ZEC/poolcore/src/poolrpc/poolrpc.cpp:4:0:
/home/ZEC/poolcore/src/include/poolrpc/poolrpc.h:4:39: fatal error: poolcommon/pool_generated.h: No such file or directory
compilation terminated.
zcash/CMakeFiles/poolrpczcash.dir/build.make:62: recipe for target 'zcash/CMakeFiles/poolrpczcash.dir/__/poolrpc/poolrpc.cpp.o' failed
make[2]: *** [zcash/CMakeFiles/poolrpczcash.dir/__/poolrpc/poolrpc.cpp.o] Error 1
CMakeFiles/Makefile2:250: recipe for target 'zcash/CMakeFiles/poolrpczcash.dir/all' failed
make[1]: *** [zcash/CMakeFiles/poolrpczcash.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
It seems the pool_generated.h & .cpp files can't be found, is there something wrong?