g++ -c -O2 -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/home/pool/wallets/denarius/src -I/home/pool/wallets/denarius/src/obj -I/home/pool/wallets/denarius/src/json -DIS_ARCH_64 -DUSE_UPNP=1 -I/home/pool/wallets/denarius/src/leveldb/include -I/home/pool/wallets/denarius/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/txdb-leveldb.d -o obj/txdb-leveldb.o txdb-leveldb.cpp
txdb-leveldb.cpp:26:10: error: ‘DB’ in namespace ‘leveldb’ does not name a type
leveldb::DB *txdb; // global pointer for LevelDB object instance
^
txdb-leveldb.cpp:28:17: error: ‘Options’ in namespace ‘leveldb’ does not name a type
static leveldb::Options GetOptions() {
^
txdb-leveldb.cpp:36:31: error: variable or field ‘init_blockindex’ declared void
void init_blockindex(leveldb::Options& options, bool fRemoveOld = false) {
^
txdb-leveldb.cpp:36:22: error: ‘Options’ is not a member of ‘leveldb’
void init_blockindex(leveldb::Options& options, bool fRemoveOld = false) {
^
txdb-leveldb.cpp:36:40: error: ‘options’ was not declared in this scope
void init_blockindex(leveldb::Options& options, bool fRemoveOld = false) {
^
txdb-leveldb.cpp:36:49: error: expected primary-expression before ‘bool’
void init_blockindex(leveldb::Options& options, bool fRemoveOld = false) {
^
makefile.unix:182: recipe for target 'obj/txdb-leveldb.o' failed
make: *** [obj/txdb-leveldb.o] Error 1
I tried with these two commands but got the same issue
make -f makefile.unix
make -f makefile.unix USE_LEVELDB=1
Did anyone else encounter this issue?
Let me know if you need more info to debug
Hey I do apologize, I changed some under the hood workings of LEVELDB vs BDB. I realized I forgot a commit, which I just added: https://github.com/carsenk/denarius/commit/2291d5c50e9166fff2cb3ba8de2407a7f85bcc4d
Go ahead and pull the github again, you should now be able to build no problem with make -f makefile.unix You do not have to use the USE_LEVELDB=1 command now as well only for building the QT.
Thanks for the quick fix. It worked and now its up and running