Post
Topic
Board Announcements (Altcoins)
Re: [ANN] Kryptohash | Brand new PoW algo | 320bit hash | ed25519 | PID algo for dif
by
wr104
on 17/08/2015, 13:21:40 UTC
I'm trying to build Kryptohash core and QT. I believe all dependencies are met, but I run into an issue.

I've done the following as per the readme:

Code:
git clone https://github.com/kryptohash/kryptohash.git kryptohash
 cd kryptohash
 ./autogen.sh
 CPPFLAGS="-Ikeccak -Ikeccak/SnP -Ikeccak/KeccakF-1600 -I/usr/local/include" LDFLAGS="-L/usr/local/lib -Wl,-rpath=/usr/local/lib" ./configure --enable-upnp-default --with-gui=qt5
 make

But I get the following back:

Code:
 OBJCXXLD kryptohash-qt
/usr/bin/ld: /usr/local/lib/libprotobuf.a(common.o): relocation R_X86_64_32S against `_ZTVN6google8protobuf7ClosureE' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libprotobuf.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status

I'm not sure if I just run make again with -fPIC, or where else this -fPIC option should go, if at all. Also, do I need to clean object files before recompiling? If so, how?

Thanks folks

Hi Bosco,

Sorry, I couldn't answer yesterday.

With the latest codebase 0.6.x, you are no longer required to build Boost with c++11 support.   So, you can use all the standard libraries in your Linux distribution.  See updated instructions here: https://github.com/kryptohash/kryptohash/blob/master/doc/build-unix.md

cd kryptohash
./autogen.sh
CPPFLAGS="-Ikeccak -Ikeccak/SnP -Ikeccak/KeccakF-1600" ./configure --enable-upnp-default --with-gui=qt5
make