Author

Topic: Qt Wallet Having Hashing Issues (Read 362 times)

full member
Activity: 326
Merit: 100
June 27, 2014, 09:54:23 PM
#1
After rewriting litecoin to use the whirlpool algorithm, I'm having issues compiling the qt wallet. Daemon compiles perfectly, yet when I try to compile the qt wallet (linux at this stage) i get this after compilation when it tries to assemble the executable.
Code:
build/core.o: In function `CBlockHeader::GetHash() const':
core.cpp:(.text+0x438): undefined reference to `sph_whirlpool_init(void*)'
core.cpp:(.text+0x44d): undefined reference to `sph_whirlpool1(void*, void const*, unsigned long)'
core.cpp:(.text+0x458): undefined reference to `sph_whirlpool1_close(void*, void*)'
build/core.o: In function `CBlock::print() const':
core.cpp:(.text+0x1d20): undefined reference to `sph_whirlpool_init(void*)'
core.cpp:(.text+0x1d3d): undefined reference to `sph_whirlpool1(void*, void const*, unsigned long)'
core.cpp:(.text+0x1d4a): undefined reference to `sph_whirlpool1_close(void*, void*)'


sph_whirlpool.h (where those things it can't find are), whirlpool.c and hash.h (where they do things) are all in the .pro file, and the core.cpp includes sph_whirlpool.h

Any ideas? I've made several coins previously and such as simple problem is really frustrating me...
Jump to: