foo1inge / datacoin-hp

High-performance version of datacoin (primecoin-hp fork)
MIT License
34 stars 30 forks source link

Mac Build Issue #1

Open tibbon opened 10 years ago

tibbon commented 10 years ago

Trying to build using the makefile.osx but without much luck. Any ideas?

davids-mbp:src davidfisher$ ls
addrman.cpp     checkpointsync.h    key.h           makefile.unix       rpcblockchain.cpp   txdb.h
addrman.h       checkqueue.h        keystore.cpp        mruset.h        rpcdump.cpp     ui_interface.h
alert.cpp       clientversion.h     keystore.h      net.cpp         rpcmining.cpp       uint256.h
alert.h         compat.h        leveldb         net.h           rpcnet.cpp      util.cpp
allocators.h        crypter.cpp     leveldb.cpp     netbase.cpp     rpcrawtransaction.cpp   util.h
base58.h        crypter.h       leveldb.h       netbase.h       rpcwallet.cpp       version.cpp
bignum.h        db.cpp          limitedmap.h        noui.cpp        script.cpp      version.h
bitcoinrpc.cpp      db.h            main.cpp        obj         script.h        wallet.cpp
bitcoinrpc.h        hash.cpp        main.h          obj-test        serialize.h     wallet.h
bloom.cpp       hash.h          makefile.linux-mingw    prime.cpp       sync.cpp        walletdb.cpp
bloom.h         init.cpp        makefile.linux-mingw64  prime.h         sync.h          walletdb.h
checkpoints.cpp     init.h          makefile.mingw      protocol.cpp        test
checkpoints.h       json            makefile.osx        protocol.h      threadsafety.h
checkpointsync.cpp  key.cpp         makefile.solaris    qt          txdb.cpp
davids-mbp:src davidfisher$ make -f makefile.osx 
Building LevelDB ...
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c db/builder.cc -o db/builder.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c db/c.cc -o db/c.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c db/db_impl.cc -o db/db_impl.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c db/db_iter.cc -o db/db_iter.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c db/dbformat.cc -o db/dbformat.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c db/filename.cc -o db/filename.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c db/log_reader.cc -o db/log_reader.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c db/log_writer.cc -o db/log_writer.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c db/memtable.cc -o db/memtable.o
db/memtable.cc:104:31: warning: comparison of integers of different signs: 'long' and 'const size_t' (aka 'const unsigned long') [-Wsign-compare]
  assert((p + val_size) - buf == encoded_len);
         ~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~
/usr/include/assert.h:93:25: note: expanded from macro 'assert'
    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
                        ^
1 warning generated.
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c db/repair.cc -o db/repair.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c db/table_cache.cc -o db/table_cache.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c db/version_edit.cc -o db/version_edit.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c db/version_set.cc -o db/version_set.o
db/version_set.cc:58:13: warning: unused function 'IntSetToString' [-Wunused-function]
std::string IntSetToString(const std::set<uint64_t>& s) {
            ^
1 warning generated.
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c db/write_batch.cc -o db/write_batch.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c table/block.cc -o table/block.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c table/block_builder.cc -o table/block_builder.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c table/filter_block.cc -o table/filter_block.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c table/format.cc -o table/format.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c table/iterator.cc -o table/iterator.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c table/merger.cc -o table/merger.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c table/table.cc -o table/table.o
table/table.cc:231:13: warning: unused variable 'handle' [-Wunused-variable]
      Slice handle = iiter->value();
            ^
1 warning generated.
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c table/table_builder.cc -o table/table_builder.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c table/two_level_iterator.cc -o table/two_level_iterator.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c util/arena.cc -o util/arena.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c util/bloom.cc -o util/bloom.o
util/bloom.cc:50:26: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
    for (size_t i = 0; i < n; i++) {
                       ~ ^ ~
1 warning generated.
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c util/cache.cc -o util/cache.o
util/cache.cc:119:15: warning: unused variable 'key' [-Wunused-variable]
        Slice key = h->key();
              ^
util/cache.cc:163:12: warning: private field 'last_id_' is not used [-Wunused-private-field]
  uint64_t last_id_;
           ^
2 warnings generated.
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c util/coding.cc -o util/coding.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c util/comparator.cc -o util/comparator.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c util/crc32c.cc -o util/crc32c.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c util/env.cc -o util/env.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c util/env_posix.cc -o util/env_posix.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c util/env_win.cc -o util/env_win.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c util/filter_policy.cc -o util/filter_policy.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c util/hash.cc -o util/hash.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c util/histogram.cc -o util/histogram.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c util/logging.cc -o util/logging.o
util/logging.cc:67:40: warning: comparison of integers of different signs: 'const int' and 'unsigned long long' [-Wsign-compare]
          (v == kMaxUint64/10 && delta > kMaxUint64%10)) {
                                 ~~~~~ ^ ~~~~~~~~~~~~~
1 warning generated.
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c util/options.cc -o util/options.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c util/status.cc -o util/status.o
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c port/port_posix.cc -o port/port_posix.o
rm -f libleveldb.a
ar -rs libleveldb.a db/builder.o db/c.o db/db_impl.o db/db_iter.o db/dbformat.o db/filename.o db/log_reader.o db/log_writer.o db/memtable.o db/repair.o db/table_cache.o db/version_edit.o db/version_set.o db/write_batch.o table/block.o table/block_builder.o table/filter_block.o table/format.o table/iterator.o table/merger.o table/table.o table/table_builder.o table/two_level_iterator.o util/arena.o util/bloom.o util/cache.o util/coding.o util/comparator.o util/crc32c.o util/env.o util/env_posix.o util/env_win.o util/filter_policy.o util/hash.o util/histogram.o util/logging.o util/options.o util/status.o port/port_posix.o
ar: creating archive libleveldb.a
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libleveldb.a(env_win.o) has no symbols
llvm-g++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I/Users/davidfisher/Code/datacoin-hp/src -I/Users/davidfisher/Code/datacoin-hp/src/obj -I/opt/local/include -I/opt/local/include/db48 -c helpers/memenv/memenv.cc -o helpers/memenv/memenv.o
rm -f libmemenv.a
ar -rs libmemenv.a helpers/memenv/memenv.o
ar: creating archive libmemenv.a
llvm-g++ -c -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I"/Users/davidfisher/Code/datacoin-hp/src" -I"/Users/davidfisher/Code/datacoin-hp/src"/obj -I"/opt/local/include" -I"/opt/local/include/db48" -MMD -MF obj/alert.d -o obj/alert.o alert.cpp
alert.cpp:6:10: fatal error: 'boost/algorithm/string/classification.hpp' file not found
#include <boost/algorithm/string/classification.hpp>
         ^
1 error generated.
make: *** [obj/alert.o] Error 1
davids-mbp:src davidfisher$ 
tibbon commented 10 years ago

I'm trying brew install boost right now to see if that helps. It appears that there's some library dependency here that might be the problem.

tibbon commented 10 years ago

Ok, well that 'helped' a bit. New errors! Seem to be having a problem with SHA256 on Mavericks?

davids-mbp:src davidfisher$ make -f makefile.osx 
llvm-g++ -c -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I"/Users/davidfisher/Code/datacoin-hp/src" -I"/Users/davidfisher/Code/datacoin-hp/src"/obj -I"/opt/local/include" -I"/opt/local/include/db48" -MMD -MF obj/alert.d -o obj/alert.o alert.cpp
In file included from alert.cpp:11:
In file included from /Users/davidfisher/Code/datacoin-hp/src/alert.h:13:
In file included from /Users/davidfisher/Code/datacoin-hp/src/util.h:37:
In file included from /Users/davidfisher/Code/datacoin-hp/src/netbase.h:10:
/Users/davidfisher/Code/datacoin-hp/src/serialize.h:911:10: error: class member cannot be redeclared
    void insert(iterator it, std::vector<char>::const_iterator first, std::vector<char>::const_iterator last)
         ^
/Users/davidfisher/Code/datacoin-hp/src/serialize.h:898:10: note: previous declaration is here
    void insert(iterator it, const_iterator first, const_iterator last)
         ^
/Users/davidfisher/Code/datacoin-hp/src/serialize.h:911:10: error: redefinition of 'insert'
    void insert(iterator it, std::vector<char>::const_iterator first, std::vector<char>::const_iterator last)
         ^
/Users/davidfisher/Code/datacoin-hp/src/serialize.h:898:10: note: previous definition is here
    void insert(iterator it, const_iterator first, const_iterator last)
         ^
In file included from alert.cpp:12:
In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14:
/Users/davidfisher/Code/datacoin-hp/src/hash.h:22:5: warning: 'SHA256' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
    SHA256((unsigned char*)&hash1, sizeof(hash1), (unsigned char*)&hash2);
    ^
/usr/include/openssl/sha.h:150:16: note: 'SHA256' declared here
unsigned char *SHA256(const unsigned char *d, size_t n,unsigned char *md) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
               ^
In file included from alert.cpp:12:
In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14:
/Users/davidfisher/Code/datacoin-hp/src/hash.h:36:9: warning: 'SHA256_Init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        SHA256_Init(&ctx);
        ^
/usr/include/openssl/sha.h:147:5: note: 'SHA256_Init' declared here
int SHA256_Init(SHA256_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
    ^
In file included from alert.cpp:12:
In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14:
/Users/davidfisher/Code/datacoin-hp/src/hash.h:44:9: warning: 'SHA256_Update' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        SHA256_Update(&ctx, pch, size);
        ^
/usr/include/openssl/sha.h:148:5: note: 'SHA256_Update' declared here
int SHA256_Update(SHA256_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
    ^
In file included from alert.cpp:12:
In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14:
/Users/davidfisher/Code/datacoin-hp/src/hash.h:51:9: warning: 'SHA256_Final' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        SHA256_Final((unsigned char*)&hash1, &ctx);
        ^
/usr/include/openssl/sha.h:149:5: note: 'SHA256_Final' declared here
int SHA256_Final(unsigned char *md, SHA256_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
    ^
In file included from alert.cpp:12:
In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14:
/Users/davidfisher/Code/datacoin-hp/src/hash.h:53:9: warning: 'SHA256' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        SHA256((unsigned char*)&hash1, sizeof(hash1), (unsigned char*)&hash2);
        ^
/usr/include/openssl/sha.h:150:16: note: 'SHA256' declared here
unsigned char *SHA256(const unsigned char *d, size_t n,unsigned char *md) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
               ^
In file included from alert.cpp:12:
In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14:
/Users/davidfisher/Code/datacoin-hp/src/hash.h:73:5: warning: 'SHA256_Init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
    SHA256_Init(&ctx);
    ^
/usr/include/openssl/sha.h:147:5: note: 'SHA256_Init' declared here
int SHA256_Init(SHA256_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
    ^
In file included from alert.cpp:12:
In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14:
/Users/davidfisher/Code/datacoin-hp/src/hash.h:76:5: warning: 'SHA256_Final' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
    SHA256_Final((unsigned char*)&hash1, &ctx);
    ^
/usr/include/openssl/sha.h:149:5: note: 'SHA256_Final' declared here
int SHA256_Final(unsigned char *md, SHA256_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
    ^
In file included from alert.cpp:12:
In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14:
/Users/davidfisher/Code/datacoin-hp/src/hash.h:78:5: warning: 'SHA256' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
    SHA256((unsigned char*)&hash1, sizeof(hash1), (unsigned char*)&hash2);
    ^
/usr/include/openssl/sha.h:150:16: note: 'SHA256' declared here
unsigned char *SHA256(const unsigned char *d, size_t n,unsigned char *md) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
               ^
In file included from alert.cpp:12:
In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14:
/Users/davidfisher/Code/datacoin-hp/src/hash.h:90:5: warning: 'SHA256_Init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
    SHA256_Init(&ctx);
    ^
/usr/include/openssl/sha.h:147:5: note: 'SHA256_Init' declared here
int SHA256_Init(SHA256_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
    ^
In file included from alert.cpp:12:
In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14:
/Users/davidfisher/Code/datacoin-hp/src/hash.h:94:5: warning: 'SHA256_Final' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
    SHA256_Final((unsigned char*)&hash1, &ctx);
    ^
/usr/include/openssl/sha.h:149:5: note: 'SHA256_Final' declared here
int SHA256_Final(unsigned char *md, SHA256_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
    ^
In file included from alert.cpp:12:
In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14:
/Users/davidfisher/Code/datacoin-hp/src/hash.h:96:5: warning: 'SHA256' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
    SHA256((unsigned char*)&hash1, sizeof(hash1), (unsigned char*)&hash2);
    ^
/usr/include/openssl/sha.h:150:16: note: 'SHA256' declared here
unsigned char *SHA256(const unsigned char *d, size_t n,unsigned char *md) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
               ^
In file included from alert.cpp:12:
In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14:
/Users/davidfisher/Code/datacoin-hp/src/hash.h:111:5: warning: 'SHA256' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
    SHA256(&vch[0], vch.size(), (unsigned char*)&hash1);
    ^
/usr/include/openssl/sha.h:150:16: note: 'SHA256' declared here
unsigned char *SHA256(const unsigned char *d, size_t n,unsigned char *md) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
               ^
In file included from alert.cpp:12:
In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14:
/Users/davidfisher/Code/datacoin-hp/src/hash.h:113:5: warning: 'RIPEMD160' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
    RIPEMD160((unsigned char*)&hash1, sizeof(hash1), (unsigned char*)&hash2);
    ^
/usr/include/openssl/ripemd.h:101:16: note: 'RIPEMD160' declared here
unsigned char *RIPEMD160(const unsigned char *d, size_t n,
               ^
In file included from alert.cpp:13:
In file included from /Users/davidfisher/Code/datacoin-hp/src/net.h:21:
/Users/davidfisher/Code/datacoin-hp/src/addrman.h:385:10: warning: 'RAND_bytes' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
         RAND_bytes(&nKey[0], 32);
         ^
/usr/include/openssl/rand.h:104:6: note: 'RAND_bytes' declared here
int  RAND_bytes(unsigned char *buf,int num) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
     ^
In file included from alert.cpp:11:
In file included from /Users/davidfisher/Code/datacoin-hp/src/alert.h:13:
In file included from /Users/davidfisher/Code/datacoin-hp/src/util.h:37:
In file included from /Users/davidfisher/Code/datacoin-hp/src/netbase.h:10:
In file included from /Users/davidfisher/Code/datacoin-hp/src/serialize.h:22:
/Users/davidfisher/Code/datacoin-hp/src/allocators.h:250:13: warning: 'OPENSSL_cleanse' is deprecated: first deprecated in OS X 10.7
      [-Wdeprecated-declarations]
            OPENSSL_cleanse(p, sizeof(T) * n);
            ^
/Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/memory:1486:14: note: in instantiation of member function
      'zero_after_free_allocator<char>::deallocate' requested here
        {__a.deallocate(__p, __n);}
             ^
/Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/vector:478:25: note: in instantiation of member function
      'std::__1::allocator_traits<zero_after_free_allocator<char> >::deallocate' requested here
        __alloc_traits::deallocate(__alloc(), __begin_, capacity());
                        ^
/Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/iterator:1197:53: note: in instantiation of member function 'std::__1::__vector_base<char,
      zero_after_free_allocator<char> >::~__vector_base' requested here
    template <class _Tp, class _Alloc> friend class vector;
                                                    ^
/usr/include/openssl/crypto.h:486:6: note: 'OPENSSL_cleanse' declared here
void OPENSSL_cleanse(void *ptr, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
     ^
In file included from alert.cpp:12:
In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14:
/Users/davidfisher/Code/datacoin-hp/src/hash.h:20:5: warning: 'SHA256' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
    SHA256((pbegin == pend ? pblank : (unsigned char*)&pbegin[0]), (pend - pbegin) * sizeof(pbegin[0]), (unsigned char*)&hash1);
    ^
/Users/davidfisher/Code/datacoin-hp/src/key.h:85:16: note: in instantiation of function template specialization 'Hash<std::__1::__wrap_iter<const unsigned char
      *> >' requested here
        return Hash(vchPubKey.begin(), vchPubKey.end());
               ^
/usr/include/openssl/sha.h:150:16: note: 'SHA256' declared here
unsigned char *SHA256(const unsigned char *d, size_t n,unsigned char *md) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
               ^
In file included from alert.cpp:12:
In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14:
/Users/davidfisher/Code/datacoin-hp/src/hash.h:20:5: warning: 'SHA256' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
    SHA256((pbegin == pend ? pblank : (unsigned char*)&pbegin[0]), (pend - pbegin) * sizeof(pbegin[0]), (unsigned char*)&hash1);
    ^
/Users/davidfisher/Code/datacoin-hp/src/net.h:423:24: note: in instantiation of function template specialization 'Hash<std::__1::__wrap_iter<char *> >'
      requested here
        uint256 hash = Hash(ssSend.begin() + CMessageHeader::HEADER_SIZE, ssSend.end());
                       ^
/usr/include/openssl/sha.h:150:16: note: 'SHA256' declared here
unsigned char *SHA256(const unsigned char *d, size_t n,unsigned char *md) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
               ^
17 warnings and 2 errors generated.
make: *** [obj/alert.o] Error 1
davids-mbp:src davidfisher$ 
tibbon commented 10 years ago

Commented out lines 898 through 909 in serialize.h and it seems to get further now. But yet again, a new set of errors:

(many things and then...)

/usr/include/openssl/ripemd.h:101:16: note: 'RIPEMD160' declared here
unsigned char *RIPEMD160(const unsigned char *d, size_t n,
               ^
In file included from db.cpp:6:
In file included from /Users/davidfisher/Code/datacoin-hp/src/db.h:8:
In file included from /Users/davidfisher/Code/datacoin-hp/src/main.h:13:
In file included from /Users/davidfisher/Code/datacoin-hp/src/script.h:14:
In file included from /Users/davidfisher/Code/datacoin-hp/src/keystore.h:8:
/Users/davidfisher/Code/datacoin-hp/src/crypter.h:79:9: warning: 'OPENSSL_cleanse' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        OPENSSL_cleanse(chKey, sizeof(chKey));
        ^
/usr/include/openssl/crypto.h:486:6: note: 'OPENSSL_cleanse' declared here
void OPENSSL_cleanse(void *ptr, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
     ^
In file included from db.cpp:6:
In file included from /Users/davidfisher/Code/datacoin-hp/src/db.h:8:
In file included from /Users/davidfisher/Code/datacoin-hp/src/main.h:13:
In file included from /Users/davidfisher/Code/datacoin-hp/src/script.h:14:
In file included from /Users/davidfisher/Code/datacoin-hp/src/keystore.h:8:
/Users/davidfisher/Code/datacoin-hp/src/crypter.h:80:9: warning: 'OPENSSL_cleanse' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        OPENSSL_cleanse(chIV, sizeof(chIV));
        ^
/usr/include/openssl/crypto.h:486:6: note: 'OPENSSL_cleanse' declared here
void OPENSSL_cleanse(void *ptr, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
     ^
In file included from db.cpp:6:
/Users/davidfisher/Code/datacoin-hp/src/db.h:14:10: fatal error: 'db_cxx.h' file not found
#include <db_cxx.h>
         ^
82 warnings and 1 error generated.
palmd commented 10 years ago

Hi, I never could crosscompile it, and can't look too much right now but someone suggested this for 64bit:

-arch x86_64

macx:QMAKE_CFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk

macx:QMAKE_CXXFLAGS += -mmacosx-version-min=10.5 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk

On Tue, Dec 24, 2013 at 5:50 PM, David Fisher notifications@github.comwrote:

Ok, well that 'helped' a bit. New errors! Seem to be having a problem with SHA256 on Mavericks?

davids-mbp:src davidfisher$ make -f makefile.osx llvm-g++ -c -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I"/Users/davidfisher/Code/datacoin-hp/src" -I"/Users/davidfisher/Code/datacoin-hp/src"/obj -I"/opt/local/include" -I"/opt/local/include/db48" -MMD -MF obj/alert.d -o obj/alert.o alert.cpp In file included from alert.cpp:11: In file included from /Users/davidfisher/Code/datacoin-hp/src/alert.h:13: In file included from /Users/davidfisher/Code/datacoin-hp/src/util.h:37: In file included from /Users/davidfisher/Code/datacoin-hp/src/netbase.h:10: /Users/davidfisher/Code/datacoin-hp/src/serialize.h:911:10: error: class member cannot be redeclared void insert(iterator it, std::vector::const_iterator first, std::vector::const_iterator last) ^ /Users/davidfisher/Code/datacoin-hp/src/serialize.h:898:10: note: previous declaration is here void insert(iterator it, const_iterator first, const_iterator last) ^ /Users/davidfisher/Code/datacoin-hp/src/serialize.h:911:10: error: redefinition of 'insert' void insert(iterator it, std::vector::const_iterator first, std::vector::const_iterator last) ^ /Users/davidfisher/Code/datacoin-hp/src/serialize.h:898:10: note: previous definition is here void insert(iterator it, const_iterator first, constiterator last) ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:22:5: warning: 'SHA256' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256((unsigned char)&hash1, sizeof(hash1), (unsigned char_)&hash2); ^ /usr/include/openssl/sha.h:150:16: note: 'SHA256' declared here unsigned char _SHA256(const unsigned char d, size_t n,unsigned char md) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:36:9: warning: 'SHA256_Init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256_Init(&ctx); ^ /usr/include/openssl/sha.h:147:5: note: 'SHA256_Init' declared here int SHA256_Init(SHA256_CTX c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:44:9: warning: 'SHA256_Update' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256_Update(&ctx, pch, size); ^ /usr/include/openssl/sha.h:148:5: note: 'SHA256_Update' declared here int SHA256_Update(SHA256_CTX c, const void data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:51:9: warning: 'SHA256_Final' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256Final((unsigned char)&hash1, &ctx); ^ /usr/include/openssl/sha.h:149:5: note: 'SHA256_Final' declared here int SHA256_Final(unsigned char _md, SHA256_CTX c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_ANDLATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:53:9: warning: 'SHA256' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256((unsigned char)&hash1, sizeof(hash1), (unsigned char_)&hash2); ^ /usr/include/openssl/sha.h:150:16: note: 'SHA256' declared here unsigned char SHA256(const unsigned char d, size_t n,unsigned char md) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:73:5: warning: 'SHA256_Init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256_Init(&ctx); ^ /usr/include/openssl/sha.h:147:5: note: 'SHA256_Init' declared here int SHA256_Init(SHA256_CTX c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:76:5: warning: 'SHA256_Final' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256Final((unsigned char)&hash1, &ctx); ^ /usr/include/openssl/sha.h:149:5: note: 'SHA256_Final' declared here int SHA256_Final(unsigned char _md, SHA256_CTX c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_ANDLATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:78:5: warning: 'SHA256' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256((unsigned char)&hash1, sizeof(hash1), (unsigned char_)&hash2); ^ /usr/include/openssl/sha.h:150:16: note: 'SHA256' declared here unsigned char SHA256(const unsigned char d, size_t n,unsigned char md) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:90:5: warning: 'SHA256_Init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256_Init(&ctx); ^ /usr/include/openssl/sha.h:147:5: note: 'SHA256_Init' declared here int SHA256_Init(SHA256_CTX c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:94:5: warning: 'SHA256_Final' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256Final((unsigned char)&hash1, &ctx); ^ /usr/include/openssl/sha.h:149:5: note: 'SHA256_Final' declared here int SHA256_Final(unsigned char _md, SHA256_CTX c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_ANDLATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:96:5: warning: 'SHA256' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256((unsigned char)&hash1, sizeof(hash1), (unsigned char_)&hash2); ^ /usr/include/openssl/sha.h:150:16: note: 'SHA256' declared here unsigned char SHA256(const unsigned char d, size_t n,unsigned char md) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_ANDLATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:111:5: warning: 'SHA256' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256(&vch[0], vch.size(), (unsigned char)&hash1); ^ /usr/include/openssl/sha.h:150:16: note: 'SHA256' declared here unsigned char _SHA256(const unsigned char d, size_t n,unsigned char md) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_ANDLATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:113:5: warning: 'RIPEMD160' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] RIPEMD160((unsigned char)&hash1, sizeof(hash1), (unsigned char_)&hash2); ^ /usr/include/openssl/ripemd.h:101:16: note: 'RIPEMD160' declared here unsigned char RIPEMD160(const unsigned char d, size_t n, ^ In file included from alert.cpp:13: In file included from /Users/davidfisher/Code/datacoin-hp/src/net.h:21: /Users/davidfisher/Code/datacoin-hp/src/addrman.h:385:10: warning: 'RAND_bytes' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] RAND_bytes(&nKey[0], 32); ^ /usr/include/openssl/rand.h:104:6: note: 'RAND_bytes' declared here int RAND_bytes(unsigned char buf,int num) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ In file included from alert.cpp:11: In file included from /Users/davidfisher/Code/datacoin-hp/src/alert.h:13: In file included from /Users/davidfisher/Code/datacoin-hp/src/util.h:37: In file included from /Users/davidfisher/Code/datacoin-hp/src/netbase.h:10: In file included from /Users/davidfisher/Code/datacoin-hp/src/serialize.h:22: /Users/davidfisher/Code/datacoin-hp/src/allocators.h:250:13: warning: 'OPENSSL_cleanse' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] OPENSSL_cleanse(p, sizeof(T) * n); ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/memory:1486:14: note: in instantiation of member function 'zero_after_free_allocator::deallocate' requested here {a.deallocate(p, n);} ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/vector:478:25: note: in instantiation of member function 'std::1::allocator_traits<zero_after_free_allocator >::deallocate' requested here alloctraits::deallocate(alloc(), begin, capacity()); ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/iterator:1197:53: note: in instantiation of member function 'std::1::vector_base<char, zero_after_free_allocator >::~vector_base' requested here template <class _Tp, class _Alloc> friend class vector; ^ /usr/include/openssl/crypto.h:486:6: note: 'OPENSSL_cleanse' declared here void OPENSSL_cleanse(void ptr, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_ANDLATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:20:5: warning: 'SHA256' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256((pbegin == pend ? pblank : (unsigned char)&pbegin[0]), (pend - pbegin) * sizeof(pbegin[0]), (unsigned char_)&hash1); ^ /Users/davidfisher/Code/datacoin-hp/src/key.h:85:16: note: in instantiation of function template specialization 'Hash<std::1::wrap_iter<const unsigned char > >' requested here return Hash(vchPubKey.begin(), vchPubKey.end()); ^ /usr/include/openssl/sha.h:150:16: note: 'SHA256' declared here unsigned char SHA256(const unsigned char d, size_t n,unsigned char md) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_ANDLATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:20:5: warning: 'SHA256' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256((pbegin == pend ? pblank : (unsigned char)&pbegin[0]), (pend - pbegin) * sizeof(pbegin[0]), (unsigned char_)&hash1); ^ /Users/davidfisher/Code/datacoin-hp/src/net.h:423:24: note: in instantiation of function template specialization 'Hash<std::1::wrap_iter<char > >' requested here uint256 hash = Hash(ssSend.begin() + CMessageHeader::HEADER_SIZE, ssSend.end()); ^ /usr/include/openssl/sha.h:150:16: note: 'SHA256' declared here unsigned char SHA256(const unsigned char d, size_t n,unsigned char md) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ 17 warnings and 2 errors generated. make: _* [obj/alert.o] Error 1 davids-mbp:src davidfisher$

— Reply to this email directly or view it on GitHubhttps://github.com/foo1inge/datacoin-hp/issues/1#issuecomment-31186924 .

tibbon commented 10 years ago

That definitely cleaned up some of the warnings, but I'm still halting on the db_cxx.h error. Trying to debug that one now, just for others who might hit similar issues.

On Tue, Dec 24, 2013 at 6:00 PM, Palm Detroit notifications@github.comwrote:

Hi, I never could crosscompile it, and can't look too much right now but someone suggested this for 64bit:

-arch x86_64

macx:QMAKE_CFLAGS += -mmacosx-version-min=10.5 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk

macx:QMAKE_CXXFLAGS += -mmacosx-version-min=10.5 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk

On Tue, Dec 24, 2013 at 5:50 PM, David Fisher notifications@github.comwrote:

Ok, well that 'helped' a bit. New errors! Seem to be having a problem with SHA256 on Mavericks?

davids-mbp:src davidfisher$ make -f makefile.osx llvm-g++ -c -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/include -I/Users/davidfisher/Code/datacoin-hp/src/leveldb/helpers -DHAVE_BUILD_INFO -I"/Users/davidfisher/Code/datacoin-hp/src" -I"/Users/davidfisher/Code/datacoin-hp/src"/obj -I"/opt/local/include" -I"/opt/local/include/db48" -MMD -MF obj/alert.d -o obj/alert.o alert.cpp In file included from alert.cpp:11: In file included from /Users/davidfisher/Code/datacoin-hp/src/alert.h:13: In file included from /Users/davidfisher/Code/datacoin-hp/src/util.h:37: In file included from /Users/davidfisher/Code/datacoin-hp/src/netbase.h:10: /Users/davidfisher/Code/datacoin-hp/src/serialize.h:911:10: error: class member cannot be redeclared void insert(iterator it, std::vector::const_iterator first, std::vector::const_iterator last) ^ /Users/davidfisher/Code/datacoin-hp/src/serialize.h:898:10: note: previous declaration is here void insert(iterator it, const_iterator first, const_iterator last) ^ /Users/davidfisher/Code/datacoin-hp/src/serialize.h:911:10: error: redefinition of 'insert' void insert(iterator it, std::vector::const_iterator first, std::vector::const_iterator last) ^ /Users/davidfisher/Code/datacoin-hp/src/serialize.h:898:10: note: previous definition is here void insert(iterator it, const_iterator first, constiterator last) ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:22:5: warning: 'SHA256' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256((unsigned char)&hash1, sizeof(hash1), (unsigned char_)&hash2); ^ /usr/include/openssl/sha.h:150:16: note: 'SHA256' declared here unsigned char _SHA256(const unsigned char d, size_t n,unsigned char md) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:36:9: warning: 'SHA256_Init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256_Init(&ctx); ^ /usr/include/openssl/sha.h:147:5: note: 'SHA256_Init' declared here int SHA256_Init(SHA256_CTX c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:44:9: warning: 'SHA256_Update' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256_Update(&ctx, pch, size); ^ /usr/include/openssl/sha.h:148:5: note: 'SHA256_Update' declared here int SHA256_Update(SHA256_CTX c, const void data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:51:9: warning: 'SHA256_Final' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256Final((unsigned char)&hash1, &ctx); ^ /usr/include/openssl/sha.h:149:5: note: 'SHA256_Final' declared here int SHA256_Final(unsigned char _md, SHA256_CTX c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_ANDLATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:53:9: warning: 'SHA256' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256((unsigned char)&hash1, sizeof(hash1), (unsigned char_)&hash2); ^ /usr/include/openssl/sha.h:150:16: note: 'SHA256' declared here unsigned char SHA256(const unsigned char d, size_t n,unsigned char md) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:73:5: warning: 'SHA256_Init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256_Init(&ctx); ^ /usr/include/openssl/sha.h:147:5: note: 'SHA256_Init' declared here int SHA256_Init(SHA256_CTX c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:76:5: warning: 'SHA256_Final' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256Final((unsigned char)&hash1, &ctx); ^ /usr/include/openssl/sha.h:149:5: note: 'SHA256_Final' declared here int SHA256_Final(unsigned char _md, SHA256_CTX c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_ANDLATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:78:5: warning: 'SHA256' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256((unsigned char)&hash1, sizeof(hash1), (unsigned char_)&hash2); ^ /usr/include/openssl/sha.h:150:16: note: 'SHA256' declared here unsigned char SHA256(const unsigned char d, size_t n,unsigned char md) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:90:5: warning: 'SHA256_Init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256_Init(&ctx); ^ /usr/include/openssl/sha.h:147:5: note: 'SHA256_Init' declared here int SHA256_Init(SHA256_CTX c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:94:5: warning: 'SHA256_Final' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256Final((unsigned char)&hash1, &ctx); ^ /usr/include/openssl/sha.h:149:5: note: 'SHA256_Final' declared here int SHA256_Final(unsigned char _md, SHA256_CTX c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_ANDLATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:96:5: warning: 'SHA256' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256((unsigned char)&hash1, sizeof(hash1), (unsigned char_)&hash2); ^ /usr/include/openssl/sha.h:150:16: note: 'SHA256' declared here unsigned char SHA256(const unsigned char d, size_t n,unsigned char md) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_ANDLATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:111:5: warning: 'SHA256' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256(&vch[0], vch.size(), (unsigned char)&hash1); ^ /usr/include/openssl/sha.h:150:16: note: 'SHA256' declared here unsigned char _SHA256(const unsigned char d, size_t n,unsigned char md) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_ANDLATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:113:5: warning: 'RIPEMD160' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] RIPEMD160((unsigned char)&hash1, sizeof(hash1), (unsigned char)&hash2); ^ /usr/include/openssl/ripemd.h:101:16: note: 'RIPEMD160' declared here unsigned char RIPEMD160(const unsigned char d, size_t n, ^ In file included from alert.cpp:13: In file included from /Users/davidfisher/Code/datacoin-hp/src/net.h:21: /Users/davidfisher/Code/datacoin-hp/src/addrman.h:385:10: warning: 'RAND_bytes' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] RAND_bytes(&nKey[0], 32); ^ /usr/include/openssl/rand.h:104:6: note: 'RAND_bytes' declared here int RAND_bytes(unsigned char buf,int num) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ In file included from alert.cpp:11: In file included from /Users/davidfisher/Code/datacoin-hp/src/alert.h:13: In file included from /Users/davidfisher/Code/datacoin-hp/src/util.h:37: In file included from /Users/davidfisher/Code/datacoin-hp/src/netbase.h:10: In file included from /Users/davidfisher/Code/datacoin-hp/src/serialize.h:22: /Users/davidfisher/Code/datacoin-hp/src/allocators.h:250:13: warning: 'OPENSSL_cleanse' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] OPENSSL_cleanse(p, sizeof(T) \ n); ^

/Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/memory:1486:14: note: in instantiation of member function 'zero_after_free_allocator::deallocate' requested here {a.deallocate(p, n);} ^ /Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/vector:478:25: note: in instantiation of member function 'std::1::allocator_traits<zero_after_free_allocator ::deallocate' requested here __alloctraits::deallocate(alloc(), begin, capacity()); ^

/Library/Developer/CommandLineTools/usr/bin/../lib/c++/v1/iterator:1197:53: note: in instantiation of member function 'std::1::vector_base<char, zero_after_free_allocator >::~vector_base' requested here template <class _Tp, class _Alloc> friend class vector; ^ /usr/include/openssl/crypto.h:486:6: note: 'OPENSSL_cleanse' declared here void OPENSSL_cleanse(void _ptr, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_ANDLATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:20:5: warning: 'SHA256' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256((pbegin == pend ? pblank : (unsigned char)&pbegin[0]), (pend - pbegin) * sizeof(pbegin[0]), (unsigned char_)&hash1); ^ /Users/davidfisher/Code/datacoin-hp/src/key.h:85:16: note: in instantiation of function template specialization 'Hash<std::1::__wrap_iter<const unsigned char > >' requested here return Hash(vchPubKey.begin(), vchPubKey.end()); ^ /usr/include/openssl/sha.h:150:16: note: 'SHA256' declared here unsigned char SHA256(const unsigned char d, size_t n,unsigned char md) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_ANDLATER; ^ In file included from alert.cpp:12: In file included from /Users/davidfisher/Code/datacoin-hp/src/key.h:14: /Users/davidfisher/Code/datacoin-hp/src/hash.h:20:5: warning: 'SHA256' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SHA256((pbegin == pend ? pblank : (unsigned char)&pbegin[0]), (pend - pbegin) * sizeof(pbegin[0]), (unsigned char_)&hash1); ^ /Users/davidfisher/Code/datacoin-hp/src/net.h:423:24: note: in instantiation of function template specialization 'Hash<std::1::wrap_iter<char > >' requested here uint256 hash = Hash(ssSend.begin() + CMessageHeader::HEADER_SIZE, ssSend.end()); ^ /usr/include/openssl/sha.h:150:16: note: 'SHA256' declared here unsigned char SHA256(const unsigned char d, size_t n,unsigned char md) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_ANDLATER; ^ 17 warnings and 2 errors generated. make: ** [obj/alert.o] Error 1 davids-mbp:src davidfisher$

— Reply to this email directly or view it on GitHub< https://github.com/foo1inge/datacoin-hp/issues/1#issuecomment-31186924> .

— Reply to this email directly or view it on GitHubhttps://github.com/foo1inge/datacoin-hp/issues/1#issuecomment-31187061 .

laudney commented 10 years ago

use macports to install berkeley db

port install db48

laudney commented 10 years ago

however i'm now stuck in linker error. missing symbols

laudney commented 10 years ago

Undefined symbols for architecture x86_64: "boost::program_options::detail::common_config_file_iterator::common_config_file_iterator(std::1::set<std::1::basic_string<char, std::1::char_traits, std::1::allocator >, std::1::less<std::__1::basic_string<char, std::1::char_traits, std::1::allocator > >, std::1::allocator<std::1::basic_string<char, std::__1::char_traits, std::1::allocator > > > const&, bool)", referenced from: boost::program_options::detail::basic_config_file_iterator::basic_config_file_iterator(std::1::basic_istream<char, std::__1::char_traits >&, std::1::set<std::1::basic_string<char, std::__1::char_traits, std::1::allocator >, std::1::less<std::1::basic_string<char, std::1::char_traits, std::1::allocator > >, std::1::allocator<std::__1::basic_string<char, std::1::char_traits, std::1::allocator > > > const&, bool) in util.o "boost::program_options::to_internal(std::1::basic_string<char, std::1::char_traits, std::1::allocator > const&)", referenced from: boost::program_options::detail::basic_config_file_iterator::getline(std::1::basic_string<char, std::1::char_traits, std::__1::allocator >&) in util.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

laudney commented 10 years ago

i upgraded libboost and it compiled successfully on mac :)

NUKE1989 commented 10 years ago

Can you make a ready to run Mac wallet?