FeatherCoin / Feathercoin

https://feathercoin.com
MIT License
128 stars 124 forks source link

Ubuntu 16.04 build issue #373

Closed pinpins closed 5 years ago

pinpins commented 5 years ago

./autogen.sh && ./configure CFLAGS=-fPIC CXXFLAGS=-fPIC --without-gui --disable-tests && make -j4

  CXXLD    feathercoind
  CXXLD    feathercoin-cli
/usr/bin/ld: crypto/.libs/libbitcoinconsensus_la-neoscrypt_asm.o: relocation R_X86_64_PC32 against symbol `blake2s_compress' 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:3815: recipe for target 'libbitcoinconsensus.la' failed
make[2]: *** [libbitcoinconsensus.la] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/Feathercoin/src'
Makefile:10356: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/Feathercoin/src'
Makefile:777: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Bushstar commented 5 years ago

Add these options to configure then run make clean and make.

--disable-shared --enable-static