I am having trouble compiling VeriCoin.
make STATIC=1 -f makefile.unix
/bin/sh ../share/genbuild.sh obj/build.h
fatal: Not a git repository (or any of the parent directories): .git
g++ -O2 -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/devman/vericoin-1.7.2/src -I/home/devman/vericoin-1.7.2/src/obj -DUSE_UPNP=1 -DUSE_IPV6=1 -DUSE_AVX -I/home/devman/vericoin-1.7.2/src/leveldb/include -I/home/devman/vericoin-1.7.2/src/leveldb/helpers -DUSE_ASM -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -o vericoind obj/alert.o obj/version.o obj/checkpoints.o obj/netbase.o obj/addrman.o obj/crypter.o obj/key.o obj/db.o obj/init.o obj/irc.o obj/keystore.o obj/miner.o obj/main.o obj/net.o obj/protocol.o obj/bitcoinrpc.o obj/rpcdump.o obj/rpcnet.o obj/rpcmining.o obj/rpcwallet.o obj/rpcblockchain.o obj/rpcrawtransaction.o obj/script.o obj/sync.o obj/util.o obj/wallet.o obj/walletdb.o obj/noui.o obj/kernel.o obj/scrypt.o obj/miniunz.o obj/txdb-leveldb.o obj/scrypt-arm.o obj/scrypt-x86.o obj/scrypt-x64.o obj/sha2-arm.o obj/sha2-x86.o obj/sha2-x64.o -Wl,-z,relro -Wl,-z,now -Wl,-Bstatic -l boost_system -l boost_filesystem -l boost_program_options -l boost_thread -l db_cxx -l ssl -l crypto -l curl -l minizip -l miniupnpc -Wl,-Bdynamic -l z -l dl -l pthread /home/devman/vericoin-1.7.2/src/leveldb/libleveldb.a /home/devman/vericoin-1.7.2/src/leveldb/libmemenv.a
....Many errors ....
(.text+0x79b): undefined reference to `gss_unseal'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libcurl.a(libcurl_la-krb5.o): In function `krb5_decode':
(.text+0x7f6): undefined reference to `gss_release_buffer'
collect2: error: ld returned 1 exit status
makefile.unix:212: recipe for target 'vericoind' failed
make: *** [vericoind] Error 1
1. If I compile it not static it works.
2. If I move "-l curl" in the makefile.unix to the LMODE2 that does not compile static it works...
LIBS+= \
-Wl,-B$(LMODE2) \
-l z \
-l curl \
-l dl \
-l pthread
The reason I want a static build is to move the binary to a basic build of Ubuntu Server 16.04 with minimal installation of software and the binary will be isolated from the outside world. I will be using this with Pandora's Wallet
https://www.pandoraswallet.com/I am aware of the risks if a critical bug is found the static build must be recompiled with the new lib instead of downloading the dynamic lib.
Any help would be appreciated.
Cheers
Davinci