Post
Topic
Board Announcements (Altcoins)
Re: [ANN][SCRYPT] Klondike Coin ★ 16 coins block / 19mil total ★ 0% Premine [KDC]
by
xminer2014
on 11/03/2014, 20:47:50 UTC
Hi,

I just want to start with kdc, some please help me getting started.
I have troubles compiling it on Linux while wallets of other coins compile fine here. I have qt4 and db4.8. This is what I get
Code:
make[1]: Entering directory `/tmp/klondikecoin/src/leveldb'
make[1]: `libleveldb.a' is up to date.
make[1]: `libmemenv.a' is up to date.
make[1]: Leaving directory `/tmp/klondikecoin/src/leveldb'
cd /tmp/klondikecoin; /bin/sh share/genbuild.sh /tmp/klondikecoin/build/build.h
g++ -c -pipe -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Isrc/leveldb/include -Isrc/leveldb/helpers -Ibuild -Ibuild -o build/db.o src/db.cpp
:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
src/db.cpp:1:0: note: this is the location of the previous definition
src/db.cpp:29:1: error: ‘CDBEnv’ does not name a type
src/db.cpp:31:6: error: ‘CDBEnv’ has not been declared
src/db.cpp: In function ‘void EnvShutdown()’:
src/db.cpp:33:10: error: ‘fDbEnvInit’ was not declared in this scope
src/db.cpp:36:5: error: ‘fDbEnvInit’ was not declared in this scope
src/db.cpp:37:15: error: ‘dbenv’ was not declared in this scope
src/db.cpp:40:10: error: ‘fMockDb’ was not declared in this scope
src/db.cpp:41:25: error: ‘path’ was not declared in this scope
src/db.cpp:41:25: note: suggested alternative:
In file included from /usr/include/boost/filesystem.hpp:16:0,
                 from src/util.h:25,
                 from src/db.cpp:8:
/usr/include/boost/filesystem/path.hpp:55:31: note:   ‘boost::filesystem::path’
src/db.cpp: At global scope:
src/db.cpp:44:1: error: ‘CDBEnv’ does not name a type
src/db.cpp:50:1: error: ‘CDBEnv’ does not name a type
src/db.cpp:55:6: error: ‘CDBEnv’ has not been declared
src/db.cpp:60:6: error: ‘CDBEnv’ has not been declared
src/db.cpp: In function ‘bool Open(const boost::filesystem::path&)’:
src/db.cpp:62:9: error: ‘fDbEnvInit’ was not declared in this scope
src/db.cpp:67:5: error: ‘path’ was not declared in this scope
src/db.cpp:67:5: note: suggested alternative:
In file included from /usr/include/boost/filesystem.hpp:16:0,
                 from src/util.h:25,
                 from src/db.cpp:8:
/usr/include/boost/filesystem/path.hpp:55:31: note:   ‘boost::filesystem::path’
src/db.cpp:77:5: error: ‘dbenv’ was not declared in this scope
src/db.cpp:100:5: error: ‘fDbEnvInit’ was not declared in this scope
src/db.cpp:101:5: error: ‘fMockDb’ was not declared in this scope
src/db.cpp: At global scope:
src/db.cpp:105:6: error: ‘CDBEnv’ has not been declared
src/db.cpp: In function ‘void MakeMock()’:
src/db.cpp:107:9: error: ‘fDbEnvInit’ was not declared in this scope
src/db.cpp:114:5: error: ‘dbenv’ was not declared in this scope
src/db.cpp:133:5: error: ‘fDbEnvInit’ was not declared in this scope
src/db.cpp:134:5: error: ‘fMockDb’ was not declared in this scope
src/db.cpp: At global scope:
src/db.cpp:137:1: error: ‘CDBEnv’ does not name a type
src/db.cpp:154:6: error: ‘CDBEnv’ has not been declared
src/db.cpp:155:34: error: ‘CDBEnv’ was not declared in this scope
src/db.cpp:155:53: error: template argument 1 is invalid
src/db.cpp:155:53: error: template argument 2 is invalid
src/db.cpp: In function ‘bool Salvage(std::string, bool, int&)’:
src/db.cpp:157:5: error: ‘cs_db’ was not declared in this scope
src/db.cpp:158:5: error: ‘mapFileUseCount’ was not declared in this scope
src/db.cpp:165:12: error: ‘dbenv’ was not declared in this scope
src/db.cpp:201:21: error: request for member ‘push_back’ in ‘vResult’, which is of non-class type ‘int’
src/db.cpp: At global scope:
src/db.cpp:209:6: error: ‘CDBEnv’ has not been declared
src/db.cpp: In function ‘void CheckpointLSN(std::string)’:
src/db.cpp:211:5: error: ‘dbenv’ was not declared in this scope
src/db.cpp:212:9: error: ‘fMockDb’ was not declared in this scope
src/db.cpp: At global scope:
src/db.cpp:218:1: error: ‘CDB’ does not name a type
src/db.cpp:281:6: error: ‘CDB’ has not been declared
src/db.cpp: In function ‘void Flush()’:
src/db.cpp:283:9: error: ‘activeTxn’ was not declared in this scope
src/db.cpp:288:9: error: ‘fReadOnly’ was not declared in this scope
src/db.cpp:291:5: error: ‘bitdb’ was not declared in this scope
src/db.cpp: At global scope:
src/db.cpp:294:6: error: ‘CDB’ has not been declared
src/db.cpp: In function ‘void Close()’:
src/db.cpp:294:6: error: redefinition of ‘void Close()’
src/db.cpp:55:6: error: ‘void Close()’ previously defined here
src/db.cpp:296:10: error: ‘pdb’ was not declared in this scope
src/db.cpp:298:9: error: ‘activeTxn’ was not declared in this scope
src/db.cpp:300:5: error: ‘activeTxn’ was not declared in this scope
src/db.cpp:301:5: error: ‘pdb’ was not declared in this scope
src/db.cpp:306:9: error: ‘bitdb’ was not declared in this scope
src/db.cpp:307:33: error: ‘strFile’ was not declared in this scope
src/db.cpp: At global scope:
src/db.cpp:311:6: error: ‘CDBEnv’ has not been declared
src/db.cpp: In function ‘void CloseDb(const string&)’:
src/db.cpp:314:9: error: ‘cs_db’ was not declared in this scope
src/db.cpp:315:13: error: ‘mapDb’ was not declared in this scope
src/db.cpp: At global scope:
src/db.cpp:326:6: error: ‘CDBEnv’ has not been declared
src/db.cpp: In function ‘bool RemoveDb(const string&)’:
src/db.cpp:328:5: error: invalid use of ‘this’ in non-member function
src/db.cpp:330:5: error: ‘cs_db’ was not declared in this scope
src/db.cpp:331:14: error: ‘dbenv’ was not declared in this scope
src/db.cpp: At global scope:
src/db.cpp:335:6: error: ‘CDB’ has not been declared
src/db.cpp: In function ‘bool Rewrite(const string&, const char*)’:
src/db.cpp:340:13: error: ‘bitdb’ was not declared in this scope
src/db.cpp:352:21: error: ‘CDB’ was not declared in this scope
src/db.cpp:352:25: error: expected ‘;’ before ‘db’
src/db.cpp:367:36: error: ‘db’ was not declared in this scope
src/db.cpp: At global scope:
src/db.cpp:429:6: error: ‘CDBEnv’ has not been declared
src/db.cpp: In function ‘void Flush(bool)’:
src/db.cpp:434:59: error: ‘fDbEnvInit’ was not declared in this scope
src/db.cpp:438:9: error: ‘cs_db’ was not declared in this scope
src/db.cpp:439:41: error: ‘mapFileUseCount’ was not declared in this scope
src/db.cpp:450:17: error: ‘dbenv’ was not declared in this scope
src/db.cpp:452:22: error: ‘fMockDb’ was not declared in this scope
src/db.cpp:466:17: error: ‘dbenv’ was not declared in this scope
src/db.cpp:468:22: error: ‘fMockDb’ was not declared in this scope
src/db.cpp:469:51: error: ‘path’ was not declared in this scope
src/db.cpp:469:51: note: suggested alternative:
In file included from /usr/include/boost/filesystem.hpp:16:0,
                 from src/util.h:25,
                 from src/db.cpp:8:
/usr/include/boost/filesystem/path.hpp:55:31: note:   ‘boost::filesystem::path’
src/db.cpp: At global scope:
src/db.cpp:490:1: error: ‘CAddrDB’ does not name a type
src/db.cpp:495:6: error: ‘CAddrDB’ has not been declared
src/db.cpp: In function ‘bool Write(const CAddrMan&)’:
src/db.cpp:527:30: error: ‘pathAddr’ was not declared in this scope
src/db.cpp: At global scope:
src/db.cpp:533:6: error: ‘CAddrDB’ has not been declared
src/db.cpp: In function ‘bool Read(CAddrMan&)’:
src/db.cpp:536:24: error: ‘pathAddr’ was not declared in this scope
make: *** [build/db.o] Error 1

No linux haxxor to help out? We have to embrace all our new miners Smiley

It's still not solved but there are other issues with the source code e.g all translation files have the changed to WTH

https://github.com/klondikecoin/klondikecoin/blob/master/src/qt/locale/bitcoin_af_ZA.ts#L2

vs

https://github.com/bitcoin/bitcoin/blob/0.8.6/src/qt/locale/bitcoin_af_ZA.ts#L2

still fighting with db.cpp.

and after an other linker error, now it's all solved, will someone please send me some KDC so I can test if my hacked version on Linux is working?
L2HiN4vsqKJ9vjkq9rDJJZxt5wea7kFoPQ
Is this address correct? I thought KDC addresses start with a "K"?