Post
Topic
Board Announcements (Altcoins)
Re: [LTCD] LitecoinDark | Scrypt | PoD | Bittrex | Cryptsy | New bounties!!
by
best-pool.com
on 16/09/2014, 06:18:52 UTC
I'm still having trouble getting any connections or blocks on the command line version I compiled on Debian 7.6.  It seems that people connect for a second at a time then disconnect, and no blocks ever get downloaded.  I have added all the peers listed in the few posts in this thread.  Does anyone have suggestions?

Clone from the staging repository and checkout master or checkout the ltcd-1.0.1 branch (or litecoindark-1.0.1 tag) on your local clone.  Master branch is never guaranteed to be stable.  Releases are built from their own branch and tag.  Sounds like you're getting connections that you are dropping due to protocol version numbers not matching.  We didn't need to update the protocol version in 1.0.1 (nor has it changed in 1.1.0) and these changes were reverted and a newer code base will fix your problem
That got version 1.0.1 to work, which I appreciate.  However, now I am trying to update to version 1.1.0 using the 1.1.0 branch and I get the compilation error:
Code:
Building LevelDB ...
make[1]: Entering directory `/home/litecoindark/litecoindark-staging/src/leveldb'
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -DBOOST_NO_CXX11_SCOPED_ENUMS -I/home/litecoindark/litecoindark-staging/src -I/home/litecoindark/litecoindark-staging/src/obj -DUSE_UPNP=1 -DUSE_IPV6=1 -I/home/litecoindark/litecoindark-staging/src/leveldb/include -I/home/litecoindark/litecoindark-staging/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -std=c++1y -c db/builder.cc -o db/builder.o
g++: error: unrecognized command line option ‘-std=c++1y’
make[1]: *** [db/builder.o] Error 1
make[1]: Leaving directory `/home/litecoindark/litecoindark-staging/src/leveldb'
make: *** [leveldb/libleveldb.a] Error 2

Try this:

Code:
chmod a+x ./leveldb/build_detect_platform