I did "Dependency Build Instructions" for debian,don't want upnp, no qt UI,

I'm currently in front this page long building error,

Code:

makefile.unix:131: warning: overriding commands for target `obj/nogui/scrypt.o'makefile.unix:128: warning: ignoring old commands for target `obj/nogui/scrypt.o 'g++ -c -pthread -Wno-invalid-offsetof -Wformat -g -DNOPCH -DUSE_UPNP=0 -DUSE_SS L -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOU RCE=2 -O2 -MMD -o obj/nogui/crypter.o crypter.cppIn file included from crypter.cpp:9:headers.h:36:20: warning: db_cxx.h: No such file or directoryIn file included from main.h:12, from headers.h:89, from crypter.cpp:9:db.h:29: error: ‚DbEnv‚ does not name a typedb.h:42: error: ISO C++ forbids declaration of ‚Db‚ with no typedb.h:42: error: expected ‚;‚ before ‚*‚ tokendb.h:44: error: ‚DbTxn‚ was not declared in this scopedb.h:44: error: template argument 1 is invaliddb.h:44: error: template argument 2 is invaliddb.h:157: error: ISO C++ forbids declaration of ‚Dbc‚ with no typedb.h:157: error: expected ‚;‚ before ‚*‚ tokendb.h:168: error: expected ‚;‚ before ‚int‚db.h:168: error: ‚Dbc‚ has not been declareddb.h:207: error: ISO C++ forbids declaration of ‚DbTxn‚ with no typedb.h:207: error: expected ‚;‚ before ‚*‚ tokendb.h:215: error: expected ‚;‚ before ‚public‚db.h:168: error: ‚DB_NEXT‚ was not declared in this scopedb.h: In member function ‚bool CDB::Read(const K&, T&)‚:db.h:59: error: ‚pdb‚ was not declared in this scopedb.h:66: error: ‚Dbt‚ was not declared in this scopedb.h:66: error: expected ‚;‚ before ‚datKey‚db.h:69: error: expected ‚;‚ before ‚datValue‚db.h:70: error: ‚datValue‚ was not declared in this scopedb.h:70: error: ‚DB_DBT_MALLOC‚ was not declared in this scopedb.h:71: error: ‚pdb‚ was not declared in this scopedb.h:71: error: there are no arguments to ‚GetTxn‚ that depend on a template par ameter, so a declaration of ‚GetTxn‚ must be availabledb.h:71: note: (if you use ‚-fpermissive‚, G++ will accept your code, but allowi ng the use of an undeclared name is deprecated)db.h:71: error: ‚datKey‚ was not declared in this scopedb.h: In member function ‚bool CDB::Write(const K&, const T&, bool)‚:db.h:89: error: ‚pdb‚ was not declared in this scopedb.h:98: error: ‚Dbt‚ was not declared in this scopedb.h:98: error: expected ‚;‚ before ‚datKey‚db.h:104: error: expected ‚;‚ before ‚datValue‚db.h:107: error: ‚pdb‚ was not declared in this scopedb.h:107: error: there are no arguments to ‚GetTxn‚ that depend on a template pa rameter, so a declaration of ‚GetTxn‚ must be availabledb.h:107: error: ‚datKey‚ was not declared in this scopedb.h:107: error: ‚datValue‚ was not declared in this scopedb.h:107: error: ‚DB_NOOVERWRITE‚ was not declared in this scopedb.h: In member function ‚bool CDB::Erase(const K&)‚:db.h:118: error: ‚pdb‚ was not declared in this scopedb.h:127: error: ‚Dbt‚ was not declared in this scopedb.h:127: error: expected ‚;‚ before ‚datKey‚db.h:130: error: ‚pdb‚ was not declared in this scopedb.h:130: error: there are no arguments to ‚GetTxn‚ that depend on a template pa rameter, so a declaration of ‚GetTxn‚ must be availabledb.h:130: error: ‚datKey‚ was not declared in this scopedb.h:134: error: ‚DB_NOTFOUND‚ was not declared in this scopedb.h: In member function ‚bool CDB::Exists(const K&)‚:db.h:140: error: ‚pdb‚ was not declared in this scopedb.h:147: error: ‚Dbt‚ was not declared in this scopedb.h:147: error: expected ‚;‚ before ‚datKey‚db.h:150: error: ‚pdb‚ was not declared in this scopedb.h:150: error: there are no arguments to ‚GetTxn‚ that depend on a template pa rameter, so a declaration of ‚GetTxn‚ must be availabledb.h:150: error: ‚datKey‚ was not declared in this scopedb.h: In member function ‚int CDB::ReadAtCursor(int*, CDataStream&, CDataStream& , unsigned int)‚:db.h:171: error: ‚Dbt‚ was not declared in this scopedb.h:171: error: expected ‚;‚ before ‚datKey‚db.h:172: error: ‚DB_SET‚ was not declared in this scopedb.h:172: error: ‚DB_SET_RANGE‚ was not declared in this scopedb.h:172: error: ‚DB_GET_BOTH‚ was not declared in this scopedb.h:172: error: ‚DB_GET_BOTH_RANGE‚ was not declared in this scopedb.h:174: error: ‚datKey‚ was not declared in this scopedb.h:177: error: expected ‚;‚ before ‚datValue‚db.h:178: error: ‚DB_GET_BOTH‚ was not declared in this scopedb.h:178: error: ‚DB_GET_BOTH_RANGE‚ was not declared in this scopedb.h:180: error: ‚datValue‚ was not declared in this scopedb.h:183: error: ‚datKey‚ was not declared in this scopedb.h:183: error: ‚DB_DBT_MALLOC‚ was not declared in this scopedb.h:184: error: ‚datValue‚ was not declared in this scopedb.h:185: error: request for member ‚get‚ in ‚* pcursor‚, which is of non-class type ‚int‚db.h: In member function ‚bool CDB::TxnBegin()‚:db.h:218: error: ‚pdb‚ was not declared in this scopedb.h:220: error: ‚DbTxn‚ was not declared in this scopedb.h:220: error: ‚ptxn‚ was not declared in this scopedb.h:221: error: ‚dbenv‚ was not declared in this scopedb.h:221: error: ‚GetTxn‚ was not declared in this scopedb.h:221: error: ‚DB_TXN_NOSYNC‚ was not declared in this scopedb.h:224: error: request for member ‚push_back‚ in ‚((CDB*)this)->CDB::vTxn‚, wh ich is of non-class type ‚int‚db.h: In member function ‚bool CDB::TxnCommit()‚:db.h:230: error: ‚pdb‚ was not declared in this scopedb.h:232: error: request for member ‚empty‚ in ‚((CDB*)this)->CDB::vTxn‚, which is of non-class type ‚int‚db.h:234: error: request for member ‚back‚ in ‚((CDB*)this)->CDB::vTxn‚, which i s of non-class type ‚int‚db.h:235: error: request for member ‚pop_back‚ in ‚((CDB*)this)->CDB::vTxn‚, whi ch is of non-class type ‚int‚db.h: In member function ‚bool CDB::TxnAbort()‚:db.h:241: error: ‚pdb‚ was not declared in this scopedb.h:243: error: request for member ‚empty‚ in ‚((CDB*)this)->CDB::vTxn‚, which is of non-class type ‚int‚db.h:245: error: request for member ‚back‚ in ‚((CDB*)this)->CDB::vTxn‚, which i s of non-class type ‚int‚db.h:246: error: request for member ‚pop_back‚ in ‚((CDB*)this)->CDB::vTxn‚, whi ch is of non-class type ‚int‚make: *** [obj/nogui/crypter.o] Error 1

I did "Dependency Build Instructions" for debian,don't want upnp, no qt UI,

I'm currently in front this page long building error,

Code:

makefile.unix:131: warning: overriding commands for target `obj/nogui/scrypt.o'makefile.unix:128: warning: ignoring old commands for target `obj/nogui/scrypt.o 'g++ -c -pthread -Wno-invalid-offsetof -Wformat -g -DNOPCH -DUSE_UPNP=0 -DUSE_SS L -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOU RCE=2 -O2 -MMD -o obj/nogui/crypter.o crypter.cppIn file included from crypter.cpp:9:headers.h:36:20: warning: db_cxx.h: No such file or directoryIn file included from main.h:12, from headers.h:89, from crypter.cpp:9:db.h:29: error: ‚DbEnv‚ does not name a typedb.h:42: error: ISO C++ forbids declaration of ‚Db‚ with no typedb.h:42: error: expected ‚;‚ before ‚*‚ tokendb.h:44: error: ‚DbTxn‚ was not declared in this scopedb.h:44: error: template argument 1 is invaliddb.h:44: error: template argument 2 is invaliddb.h:157: error: ISO C++ forbids declaration of ‚Dbc‚ with no typedb.h:157: error: expected ‚;‚ before ‚*‚ tokendb.h:168: error: expected ‚;‚ before ‚int‚db.h:168: error: ‚Dbc‚ has not been declareddb.h:207: error: ISO C++ forbids declaration of ‚DbTxn‚ with no typedb.h:207: error: expected ‚;‚ before ‚*‚ tokendb.h:215: error: expected ‚;‚ before ‚public‚db.h:168: error: ‚DB_NEXT‚ was not declared in this scopedb.h: In member function ‚bool CDB::Read(const K&, T&)‚:db.h:59: error: ‚pdb‚ was not declared in this scopedb.h:66: error: ‚Dbt‚ was not declared in this scopedb.h:66: error: expected ‚;‚ before ‚datKey‚db.h:69: error: expected ‚;‚ before ‚datValue‚db.h:70: error: ‚datValue‚ was not declared in this scopedb.h:70: error: ‚DB_DBT_MALLOC‚ was not declared in this scopedb.h:71: error: ‚pdb‚ was not declared in this scopedb.h:71: error: there are no arguments to ‚GetTxn‚ that depend on a template par ameter, so a declaration of ‚GetTxn‚ must be availabledb.h:71: note: (if you use ‚-fpermissive‚, G++ will accept your code, but allowi ng the use of an undeclared name is deprecated)db.h:71: error: ‚datKey‚ was not declared in this scopedb.h: In member function ‚bool CDB::Write(const K&, const T&, bool)‚:db.h:89: error: ‚pdb‚ was not declared in this scopedb.h:98: error: ‚Dbt‚ was not declared in this scopedb.h:98: error: expected ‚;‚ before ‚datKey‚db.h:104: error: expected ‚;‚ before ‚datValue‚db.h:107: error: ‚pdb‚ was not declared in this scopedb.h:107: error: there are no arguments to ‚GetTxn‚ that depend on a template pa rameter, so a declaration of ‚GetTxn‚ must be availabledb.h:107: error: ‚datKey‚ was not declared in this scopedb.h:107: error: ‚datValue‚ was not declared in this scopedb.h:107: error: ‚DB_NOOVERWRITE‚ was not declared in this scopedb.h: In member function ‚bool CDB::Erase(const K&)‚:db.h:118: error: ‚pdb‚ was not declared in this scopedb.h:127: error: ‚Dbt‚ was not declared in this scopedb.h:127: error: expected ‚;‚ before ‚datKey‚db.h:130: error: ‚pdb‚ was not declared in this scopedb.h:130: error: there are no arguments to ‚GetTxn‚ that depend on a template pa rameter, so a declaration of ‚GetTxn‚ must be availabledb.h:130: error: ‚datKey‚ was not declared in this scopedb.h:134: error: ‚DB_NOTFOUND‚ was not declared in this scopedb.h: In member function ‚bool CDB::Exists(const K&)‚:db.h:140: error: ‚pdb‚ was not declared in this scopedb.h:147: error: ‚Dbt‚ was not declared in this scopedb.h:147: error: expected ‚;‚ before ‚datKey‚db.h:150: error: ‚pdb‚ was not declared in this scopedb.h:150: error: there are no arguments to ‚GetTxn‚ that depend on a template pa rameter, so a declaration of ‚GetTxn‚ must be availabledb.h:150: error: ‚datKey‚ was not declared in this scopedb.h: In member function ‚int CDB::ReadAtCursor(int*, CDataStream&, CDataStream& , unsigned int)‚:db.h:171: error: ‚Dbt‚ was not declared in this scopedb.h:171: error: expected ‚;‚ before ‚datKey‚db.h:172: error: ‚DB_SET‚ was not declared in this scopedb.h:172: error: ‚DB_SET_RANGE‚ was not declared in this scopedb.h:172: error: ‚DB_GET_BOTH‚ was not declared in this scopedb.h:172: error: ‚DB_GET_BOTH_RANGE‚ was not declared in this scopedb.h:174: error: ‚datKey‚ was not declared in this scopedb.h:177: error: expected ‚;‚ before ‚datValue‚db.h:178: error: ‚DB_GET_BOTH‚ was not declared in this scopedb.h:178: error: ‚DB_GET_BOTH_RANGE‚ was not declared in this scopedb.h:180: error: ‚datValue‚ was not declared in this scopedb.h:183: error: ‚datKey‚ was not declared in this scopedb.h:183: error: ‚DB_DBT_MALLOC‚ was not declared in this scopedb.h:184: error: ‚datValue‚ was not declared in this scopedb.h:185: error: request for member ‚get‚ in ‚* pcursor‚, which is of non-class type ‚int‚db.h: In member function ‚bool CDB::TxnBegin()‚:db.h:218: error: ‚pdb‚ was not declared in this scopedb.h:220: error: ‚DbTxn‚ was not declared in this scopedb.h:220: error: ‚ptxn‚ was not declared in this scopedb.h:221: error: ‚dbenv‚ was not declared in this scopedb.h:221: error: ‚GetTxn‚ was not declared in this scopedb.h:221: error: ‚DB_TXN_NOSYNC‚ was not declared in this scopedb.h:224: error: request for member ‚push_back‚ in ‚((CDB*)this)->CDB::vTxn‚, wh ich is of non-class type ‚int‚db.h: In member function ‚bool CDB::TxnCommit()‚:db.h:230: error: ‚pdb‚ was not declared in this scopedb.h:232: error: request for member ‚empty‚ in ‚((CDB*)this)->CDB::vTxn‚, which is of non-class type ‚int‚db.h:234: error: request for member ‚back‚ in ‚((CDB*)this)->CDB::vTxn‚, which i s of non-class type ‚int‚db.h:235: error: request for member ‚pop_back‚ in ‚((CDB*)this)->CDB::vTxn‚, whi ch is of non-class type ‚int‚db.h: In member function ‚bool CDB::TxnAbort()‚:db.h:241: error: ‚pdb‚ was not declared in this scopedb.h:243: error: request for member ‚empty‚ in ‚((CDB*)this)->CDB::vTxn‚, which is of non-class type ‚int‚db.h:245: error: request for member ‚back‚ in ‚((CDB*)this)->CDB::vTxn‚, which i s of non-class type ‚int‚db.h:246: error: request for member ‚pop_back‚ in ‚((CDB*)this)->CDB::vTxn‚, whi ch is of non-class type ‚int‚make: *** [obj/nogui/crypter.o] Error 1

The CFLAGS are good for all except the latest Sandybridge Intel. If you got that (i3/5/7 2xxx) then add a -mavx to the flags. If you have an older CPU, and the executable hangs with "invalid operation" or "segmentation fault" try to recompile by removing one by one the -msseX flags (4.2 first, then 4.1, then 4, if it still doesn't work, get a better CPU )

In the miner command line (last one above) the -t switch should match your number of cores.