Post
Topic
Board Announcements (Altcoins)
Re: [ANN] Kryptohash | Brand new PoW algo | 320bit hash | ed25519 | PID algo for dif
by
BoscoMurray
on 16/08/2015, 14:30:49 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