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.

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...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.