compile error dashd

tolazy

New member
i've downloaded dash from github
but when i compile i get error this is on ubuntu server 15.10

make[1]: Entering directory '/home/dashd/dash/src'
CXXLD dashd
dashd-dashd.o: In function `AppInit(int, char**)':
/home/dashd/dash/src/dashd.cpp:114: undefined reference to `masternodeConfig'
/usr/bin/ld: dashd-dashd.o: relocation R_X86_64_PC32 against undefined symbol `masternodeConfig' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Makefile:2617: recipe for target 'dashd' failed
make[1]: *** [dashd] Error 1
make[1]: Leaving directory '/home/dashd/dash/src'
Makefile:6779: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
 
It's been a minute since compiled but - is this not a memory error?
How much memory are you running?
do you have a swap setup?
 
all dependencies are installed.
./configure --disable-wallet --without-gui
make

have 6Gb ram and have 6Gb swap.
 
I pulled this from my MN Guide.......

to Compile

./autogen.sh
./configure --with-incompatible-bdb --disable-tests --without-gui
make clean
make
 
./autogen.sh
./configure --with-incompatible-bdb --disable-tests --without-gui
make clean
make

made it without error. trying now without wallet so see. otherwise it much be the --disable-tests that did it.
thx alot.
 
With v0.12.1.x "--disable-wallet" seems to be the problem, the build process is messed up with this option.

As a temporary fix jut don't use this option. If you have concerns about memory consumption start the daemon with "-disablewallet". (note the different syntax!)
 
Back
Top