g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/opt/crypto_coins/primecoin/src -I/opt/crypto_coins/primecoin/src/obj -DUSE_IPV6=1 -I/opt/crypto_coins/primecoin/src/leveldb/include -I/opt/crypto_coins/primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/init.d -o obj/init.o init.cpp
init.cpp: In function void DetectShutdownThread(boost::thread_group*):
init.cpp:130:8: error: fGenerate was not declared in this scope
This is strange error. Delete your directory with source files and try again:
git clone
https://bitbucket.org/mikaelh/primecoin-hp.gitCompiling from the primecoin-hp codebase actually worked.