<<  >> (p.12)
    Author Topic: [ANN] ECC  (Read 259403 times)
    This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
    Griffith (OP)
    Legendary
    *
    Offline Offline

    Activity: 1400
    Merit: 1000


    View Profile
    May 06, 2015, 02:25:50 AM
     #221



    /bin/sh ../share/genbuild.sh obj/build.h
    g++ -c -O2  -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/root/ECCoin/src -I/root/ECCoin/src/obj -DUSE_IPV6=1 -I/root/ECCoin/src/leveldb/include -I/root/ECCoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/checkpoints.d -o obj/checkpoints.o checkpoints.cpp
    In file included fromusr/include/c++/4.8/thread:35:0,
                     from txdb-leveldb.h:14,
                     from checkpoints.cpp:10:
    /usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
     #error This file requires compiler and library support for the \
      ^
    In file included from txdb-leveldb.h:9:0,
                     from checkpoints.cpp:10:
    main.h:53:16: warning: ‘nBestTimeReceived’ defined but not used [-Wunused-variable]
     static int64_t nBestTimeReceived;
                    ^
    In file included from checkpoints.cpp:10:0:
    txdb-leveldb.h:224:21: warning: ‘CBlockIndex* InsertBlockIndex(uint256)’ declared ‘static’ but never defined [-Wunused-function]
     static CBlockIndex *InsertBlockIndex(uint256 hash);
                         ^
    make: *** [obj/checkpoints.o] Error 1



    this being said the declaration in the header and the function declaration are both static. this is an error although it shouldnt cause a wallet compile failure. neither of them should be static. try removing the static tags from in front of where the function is defined and its definition in the header. (this is a problem i will fix with an upload to git.




    cool about the x11 stuff. i wondered Cheesy

    i redownloaded from git.

    tried compiling with no changes.
    using: make -f makefile.unix "USE_UPNP=-"
    it output

    g++ -c -O2  -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/root/ECCoin/src -I/root/ECCoin/src/obj -DUSE_IPV6=1 -I/root/ECCoin/src/leveldb/include -I/root/ECCoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/checkpoints.d -o obj/checkpoints.o checkpoints.cpp
    In file included fromusr/include/c++/4.8/thread:35:0,
                     from txdb-leveldb.h:14,
                     from checkpoints.cpp:10:
    /usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
     #error This file requires compiler and library support for the \
      ^
    make: *** [obj/checkpoints.o] Error 1


    then i removed "static" in main.h
    51. static int64_t nBestTimeReceived;

    not sure where else to do so ..

    now it outputs

    g++ -c -O2  -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -I/root/ECCoin/src -I/root/ECCoin/src/obj -DUSE_IPV6=1 -I/root/ECCoin/src/leveldb/include -I/root/ECCoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/checkpoints.d -o obj/checkpoints.o checkpoints.cpp
    In file included fromusr/include/c++/4.8/thread:35:0,
                     from txdb-leveldb.h:14,
                     from checkpoints.cpp:10:
    /usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
     #error This file requires compiler and library support for the \
      ^
    make: *** [obj/checkpoints.o] Error 1

    my last change to the git removed the static i was referring to.

    are you compiling the gui version or the daemon?
Page 11
Viewing Page: 12