Bug #3128
Updated by Junxiao Shi about 9 years ago
``` $ ./waf configure Setting top to : /Users/ilmoisee/ndn-cxx Setting out to : /Users/ilmoisee/ndn-cxx/build Building static library : no Building shared library : yes Checking for 'clang++' (C++ compiler) : /usr/bin/clang++ Checking supported CXXFLAGS : -std=c++11 -Wno-error=unneeded-internal-declaration -Wno-error=deprecated-register -stdlib=libc++ Checking supported LINKFLAGS : -stdlib=libc++ Checking supported CXXFLAGS : -pedantic -Wall -O2 -g Checking for program 'doxygen' : not found Checking for program 'tar' : /usr/bin/tar Checking for program 'sphinx-build' : not found Checking for std::is_default_constructible : yes Checking for std::is_nothrow_move_constructible : yes Checking for std::is_nothrow_move_assignable : yes Checking for friend typename-specifier : yes Checking for override and final specifiers : yes Checking for std::vector::insert with const_iterators : yes Checking for program 'sh' : /bin/sh Checking for library pthread : yes Checking for library rt : not found Checking for function getpass : yes Checking for rtnetlink : not found Checking for framework CoreFoundation : yes Checking for framework CoreServices : yes Checking for framework Security : yes Checking for program 'pkg-config' : /opt/local/bin/pkg-config Checking for 'sqlite3' : yes Checking Crypto++ lib : 562 Checking if CryptoPP library works : no Checking if CryptoPP library works : yes Checking boost includes : 1.59.0 Checking boost libs : ok Checking for boost linkage : ok 'configure' finished successfully (3.852s) $ ILMOISEE-M-M0BJ:ndn-cxx ilmoisee$ ./waf Waf: Entering directory `/Users/ilmoisee/ndn-cxx/build' [ 3/138] Compiling libndn-cxx.pc.in [ 3/138] Compiling src/common-pch.hpp [ 28/138] Compiling src/util/time.cpp [ 29/138] Compiling src/util/signal-scoped-connection.cpp [ 30/138] Compiling src/util/signal-connection.cpp [ 31/138] Compiling src/util/scheduler.cpp [ 32/138] Compiling src/util/indented-stream.cpp [ 33/138] Compiling src/util/in-memory-storage-entry.cpp [ 34/138] Compiling src/util/crypto.cpp [ 35/138] Compiling src/util/config-file.cpp [ 36/138] Compiling src/transport/tcp-transport.cpp [ 37/138] Compiling src/security/validity-period.cpp [ 38/138] Compiling src/security/validator.cpp [ 39/138] Compiling src/security/signature-sha256-with-ecdsa.cpp [ 40/138] Compiling src/security/sec-rule-specific.cpp [ 41/138] Compiling src/security/pib.cpp [ 42/138] Compiling src/security/certificate-cache-ttl.cpp [ 43/138] Compiling src/name.cpp [ 44/138] Compiling src/name-component.cpp [ 45/138] Compiling src/management/nfd-command-options.cpp [ 46/138] Compiling src/lp/nack-header.cpp [ 47/138] Compiling src/lp/cache-policy.cpp [ 48/138] Compiling src/interest-filter.cpp [ 49/138] Compiling src/face.cpp [ 50/138] Compiling src/encoding/oid.cpp [ 51/138] Compiling src/encoding/nfd-constants.cpp [ 52/138] Compiling src/encoding/buffer.cpp [ 53/138] Compiling src/data.cpp [ 54/138] Compiling src/encoding/cryptopp/asn_ext.cpp [ 55/138] Compiling src/lp/packet.cpp [ 56/138] Compiling src/management/nfd-control-response.cpp [ 57/138] Compiling src/management/nfd-fib-entry.cpp [ 58/138] Compiling src/management/nfd-forwarder-status.cpp [ 59/138] Compiling src/management/nfd-rib-entry.cpp [ 60/138] Compiling src/security/additional-description.cpp [ 61/138] Compiling src/security/certificate-subject-description.cpp [ 62/138] Compiling src/security/identity-certificate.cpp [ 63/138] Compiling src/security/identity.cpp [ 64/138] Compiling src/security/key-container.cpp [ 65/138] Compiling src/security/pib-memory.cpp [ 66/138] Compiling src/security/sec-tpm.cpp [ 67/138] Compiling src/security/signature-sha256-with-rsa.cpp [ 68/138] Compiling src/security/signing-helpers.cpp [ 69/138] Compiling src/security/validator-config.cpp [ 70/138] Compiling src/selectors.cpp [ 71/138] Compiling src/signature-info.cpp [ 72/138] Compiling src/util/digest.cpp [ 73/138] Compiling src/util/dns.cpp [ 74/138] Compiling src/util/ethernet.cpp [ 75/138] Compiling src/util/face-uri.cpp [ 76/138] Compiling src/util/in-memory-storage-lfu.cpp [ 77/138] Compiling src/util/in-memory-storage.cpp [ 78/138] Compiling src/util/network-monitor.cpp [ 79/138] Compiling src/util/segment-fetcher.cpp [ 80/138] Compiling src/util/time-unit-test-clock.cpp [ 81/138] Compiling src/security/sec-tpm-osx.cpp [ 82/138] Compiling src/security/pib-sqlite3.cpp [ 83/138] Compiling tools/ndnsec/main.cpp [ 84/138] Compiling tools/ndnputchunks3.cpp [ 85/138] Compiling tools/ndncatchunks3.cpp [ 86/138] Compiling src/security/sec-public-info-sqlite3.cpp [ 87/138] Compiling src/util/string-helper.cpp [ 88/138] Compiling src/util/sqlite3-statement.cpp [ 89/138] Compiling src/util/scheduler-scoped-event-id.cpp [ 90/138] Compiling src/util/random.cpp [ 91/138] Compiling src/util/in-memory-storage-lru.cpp [ 92/138] Compiling src/util/in-memory-storage-fifo.cpp [ 93/138] Compiling src/signature.cpp [ 94/138] Compiling src/security/validator-regex.cpp [ 95/138] Compiling src/security/secured-bag.cpp [ 96/138] Compiling src/security/sec-tpm-file.cpp In file included from ../tools/ndnsec/main.cpp:26: /Users/ilmoisee/ndn-cxx/tools/ndnsec/util.hpp:226:14: error: allocating an object of abstract class type 'AccumulatorType<int>' return new AccumulatorType<T>(store); ^ /Users/ilmoisee/ndn-cxx/tools/ndnsec/list.hpp:121:19: note: in instantiation of function template specialization 'accumulator<int>' requested here ("verbose,v", accumulator<int>(&verboseLevel), ^ /opt/local/include/boost/program_options/value_semantic.hpp:44:22: note: unimplemented pure virtual method 'adjacent_tokens_only' in 'AccumulatorType' virtual bool adjacent_tokens_only() const = 0; ^ 1 error generated. ```