Post
Topic
Board Announcements (Altcoins)
Re: [ANN] Diamond Coin (DMD) Evolution v 2.0 | NEW wallet, coin mechanics, 50% POS
by
zuper
on 04/05/2014, 15:44:25 UTC
Sorry but no luck with source code.

Code:
obj/db.o: In function `HashGroestl':
/dmd2/Diamond-Coin-2.0/src/hash.h:23: undefined reference to `sph_groestl512_init'
/dmd2/Diamond-Coin-2.0/src/hash.h:24: undefined reference to `sph_groestl512'
/dmd2/Diamond-Coin-2.0/src/hash.h:25: undefined reference to `sph_groestl512_close'
/dmd2/Diamond-Coin-2.0/src/hash.h:27: undefined reference to `sph_groestl512_init'
/dmd2/Diamond-Coin-2.0/src/hash.h:28: undefined reference to `sph_groestl512'
/dmd2/Diamond-Coin-2.0/src/hash.h:29: undefined reference to `sph_groestl512_close'
obj/main.o: In function `BitcoinMiner(CWallet*, bool)':
/dmd2/Diamond-Coin-2.0/src/main.cpp:4550: undefined reference to `scrypt_1024_1_1_256_sp_generic(char const*, char*, char*)'
obj/main.o: In function `uint256 HashGroestl(char*, char*)':
/dmd2/Diamond-Coin-2.0/src/hash.h:23: undefined reference to `sph_groestl512_init'
/dmd2/Diamond-Coin-2.0/src/hash.h:24: undefined reference to `sph_groestl512'
/dmd2/Diamond-Coin-2.0/src/hash.h:25: undefined reference to `sph_groestl512_close'
/dmd2/Diamond-Coin-2.0/src/hash.h:27: undefined reference to `sph_groestl512_init'
/dmd2/Diamond-Coin-2.0/src/hash.h:28: undefined reference to `sph_groestl512'
/dmd2/Diamond-Coin-2.0/src/hash.h:29: undefined reference to `sph_groestl512_close'
obj/wallet.o: In function `HashGroestl':
/dmd2/Diamond-Coin-2.0/src/hash.h:23: undefined reference to `sph_groestl512_init'
/dmd2/Diamond-Coin-2.0/src/hash.h:24: undefined reference to `sph_groestl512'
/dmd2/Diamond-Coin-2.0/src/hash.h:25: undefined reference to `sph_groestl512_close'
/dmd2/Diamond-Coin-2.0/src/hash.h:27: undefined reference to `sph_groestl512_init'
/dmd2/Diamond-Coin-2.0/src/hash.h:28: undefined reference to `sph_groestl512'
/dmd2/Diamond-Coin-2.0/src/hash.h:29: undefined reference to `sph_groestl512_close'
collect2: error: ld returned 1 exit status
make: *** [diamondd] Error 1


Any help please?


If you are compiling the daemon, change a line in the makefile.unix file:

change:

obj/groestl.o \

for:

hash/groestl.o \


EDIT:  ...and add:

   obj/hash.o \

EDIT2:   In the latest version, Dev removed the "src/hash" directory, and moved groestl files in the main src directory,   Angry

Still add the hash.o above, and rename the directory "obj-test" to "obj" 

Thank you! So, devs should note all these issues and release a new stable wallet version.