Bitcoin Forum
July 05, 2024, 10:49:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Qt Wallet Having Hashing Issues  (Read 344 times)
nuggetbram (OP)
Full Member
***
Offline Offline

Activity: 326
Merit: 100



View Profile
June 28, 2014, 02:54:23 AM
 #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...
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!