Post
Topic
Board Announcements (Altcoins)
Re: [ANN] [BEE2] [BEECOIN V2] POW X11/POS Hybrid - Now With CLIENT CHAT Feature!
by
gjhiggins
on 23/02/2015, 05:36:56 UTC
Code:
...
make -f makefile.unix -e PIE=1 USE_UPNP=-

Then it should compile without issues.

Except that the PIE=1 directive reveals that somehow leveldb isn't compiled with -fPIC by default and causes a link failure. I found I needed to explicitly add a -fPIC to the OPTIONS in leveldb's Makefile;

Code:
-OPT ?= -O2 -DNDEBUG       # (A) Production use (optimized mode)
+OPT ?= -O2 -DNDEBUG -fPIC # (A) Production use (optimized mode)

HTH

Cheers

Graham