[ndnSIM] installation error ndnsim 2.0

Trade trade20122012 at gmail.com
Sun May 24 03:38:26 PDT 2015


under the directory ndn-cxx,  after ./waf, getting this error:


[119/123] Linking build/libndn-cxx.a
[120/123] Linking build/bin/ndncatchunks3
[121/123] Linking build/bin/ndnsec
[122/123] Linking build/bin/ndnputchunks3
[123/123] Linking build/bin/tlvdump
Undefined symbols for architecture x86_64:
   "vtable for CryptoPP::SHA256", referenced from:
ndn::SecTpmFile::Impl::transformName(std::__1::basic_string<char, 
std::__1::char_traits<char>, std::__1::allocator<char> > const&, 
std::__1::basic_string<char, std::__1::char_traits<char>, 
std::__1::allocator<char> > const&) in libndn-cxx.a(sec-tpm-file.cpp.2.o)
CryptoPP::DL_SignerImpl<CryptoPP::DL_SignatureSchemeOptions<CryptoPP::DL_SS<CryptoPP::DL_Keys_ECDSA<CryptoPP::ECP>, 
CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>, 
CryptoPP::DL_SignatureMessageEncodingMethod_DSA, CryptoPP::SHA256, int>, 
CryptoPP::DL_Keys_ECDSA<CryptoPP::ECP>, 
CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>, 
CryptoPP::DL_SignatureMessageEncodingMethod_DSA, CryptoPP::SHA256> 
 >::NewSignatureAccumulator(CryptoPP::RandomNumberGenerator&) const in 
libndn-cxx.a(sec-tpm-file.cpp.2.o)
       CryptoPP::ClonableImpl<CryptoPP::SHA256, 
CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned int, 
CryptoPP::EnumToType<CryptoPP::ByteOrder, 1>, 64u, 
CryptoPP::HashTransformation>, CryptoPP::SHA256> >::Clone() const in 
libndn-cxx.a(sec-tpm-file.cpp.2.o)
       CryptoPP::TF_ObjectImplBase<CryptoPP::TF_SignerBase, 
CryptoPP::TF_SignatureSchemeOptions<CryptoPP::TF_SS<CryptoPP::PKCS1v15, 
CryptoPP::SHA256, CryptoPP::RSA, int>, CryptoPP::RSA, 
CryptoPP::PKCS1v15_SignatureMessageEncodingMethod, CryptoPP::SHA256>, 
CryptoPP::InvertibleRSAFunction>::NewSignatureAccumulator(CryptoPP::RandomNumberGenerator&) 
const in libndn-cxx.a(sec-tpm-file.cpp.2.o)
       ndn::ndn_digestSha256(unsigned char const*, unsigned long, 
unsigned char*) in libndn-cxx.a(crypto.cpp.2.o)
       ndn::crypto::sha256(unsigned char const*, unsigned long) in 
libndn-cxx.a(crypto.cpp.2.o)
       CryptoPP::ClonableImpl<CryptoPP::SHA256, 
CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned int, 
CryptoPP::EnumToType<CryptoPP::ByteOrder, 1>, 64u, 
CryptoPP::HashTransformation>, CryptoPP::SHA256> >::Clone() const in 
libndn-cxx.a(crypto.cpp.2.o)
       ...
   NOTE: a missing vtable usually means the first non-inline virtual 
member function has no definition.
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see 
invocation)

Undefined symbols for architecture x86_64:
   "vtable for CryptoPP::SHA256", referenced from:
ndn::SecTpmFile::Impl::transformName(std::__1::basic_string<char, 
std::__1::char_traits<char>, std::__1::allocator<char> > const&, 
std::__1::basic_string<char, std::__1::char_traits<char>, 
std::__1::allocator<char> > const&) in libndn-cxx.a(sec-tpm-file.cpp.2.o)
CryptoPP::DL_SignerImpl<CryptoPP::DL_SignatureSchemeOptions<CryptoPP::DL_SS<CryptoPP::DL_Keys_ECDSA<CryptoPP::ECP>, 
CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>, 
CryptoPP::DL_SignatureMessageEncodingMethod_DSA, CryptoPP::SHA256, int>, 
CryptoPP::DL_Keys_ECDSA<CryptoPP::ECP>, 
CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>, 
CryptoPP::DL_SignatureMessageEncodingMethod_DSA, CryptoPP::SHA256> 
 >::NewSignatureAccumulator(CryptoPP::RandomNumberGenerator&) const in 
libndn-cxx.a(sec-tpm-file.cpp.2.o)
       CryptoPP::ClonableImpl<CryptoPP::SHA256, 
CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned int, 
CryptoPP::EnumToType<CryptoPP::ByteOrder, 1>, 64u, 
CryptoPP::HashTransformation>, CryptoPP::SHA256> >::Clone() const in 
libndn-cxx.a(sec-tpm-file.cpp.2.o)
       CryptoPP::TF_ObjectImplBase<CryptoPP::TF_SignerBase, 
CryptoPP::TF_SignatureSchemeOptions<CryptoPP::TF_SS<CryptoPP::PKCS1v15, 
CryptoPP::SHA256, CryptoPP::RSA, int>, CryptoPP::RSA, 
CryptoPP::PKCS1v15_SignatureMessageEncodingMethod, CryptoPP::SHA256>, 
CryptoPP::InvertibleRSAFunction>::NewSignatureAccumulator(CryptoPP::RandomNumberGenerator&) 
const in libndn-cxx.a(sec-tpm-file.cpp.2.o)
       ndn::ndn_digestSha256(unsigned char const*, unsigned long, 
unsigned char*) in libndn-cxx.a(crypto.cpp.2.o)
       ndn::crypto::sha256(unsigned char const*, unsigned long) in 
libndn-cxx.a(crypto.cpp.2.o)
       CryptoPP::ClonableImpl<CryptoPP::SHA256, 
CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned int, 
CryptoPP::EnumToType<CryptoPP::ByteOrder, 1>, 64u, 
CryptoPP::HashTransformation>, CryptoPP::SHA256> >::Clone() const in 
libndn-cxx.a(crypto.cpp.2.o)
       ...
   NOTE: a missing vtable usually means the first non-inline virtual 
member function has no definition.
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see 
invocation)

Undefined symbols for architecture x86_64:
   "vtable for CryptoPP::SHA256", referenced from:
       ndn::ndn_digestSha256(unsigned char const*, unsigned long, 
unsigned char*) in libndn-cxx.a(crypto.cpp.2.o)
       ndn::crypto::sha256(unsigned char const*, unsigned long) in 
libndn-cxx.a(crypto.cpp.2.o)
       CryptoPP::ClonableImpl<CryptoPP::SHA256, 
CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned int, 
CryptoPP::EnumToType<CryptoPP::ByteOrder, 1>, 64u, 
CryptoPP::HashTransformation>, CryptoPP::SHA256> >::Clone() const in 
libndn-cxx.a(crypto.cpp.2.o)
ndn::SecTpmFile::Impl::transformName(std::__1::basic_string<char, 
std::__1::char_traits<char>, std::__1::allocator<char> > const&, 
std::__1::basic_string<char, std::__1::char_traits<char>, 
std::__1::allocator<char> > const&) in libndn-cxx.a(sec-tpm-file.cpp.2.o)
CryptoPP::DL_SignerImpl<CryptoPP::DL_SignatureSchemeOptions<CryptoPP::DL_SS<CryptoPP::DL_Keys_ECDSA<CryptoPP::ECP>, 
CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>, 
CryptoPP::DL_SignatureMessageEncodingMethod_DSA, CryptoPP::SHA256, int>, 
CryptoPP::DL_Keys_ECDSA<CryptoPP::ECP>, 
CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>, 
CryptoPP::DL_SignatureMessageEncodingMethod_DSA, CryptoPP::SHA256> 
 >::NewSignatureAccumulator(CryptoPP::RandomNumberGenerator&) const in 
libndn-cxx.a(sec-tpm-file.cpp.2.o)
       CryptoPP::ClonableImpl<CryptoPP::SHA256, 
CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned int, 
CryptoPP::EnumToType<CryptoPP::ByteOrder, 1>, 64u, 
CryptoPP::HashTransformation>, CryptoPP::SHA256> >::Clone() const in 
libndn-cxx.a(sec-tpm-file.cpp.2.o)
       CryptoPP::TF_ObjectImplBase<CryptoPP::TF_SignerBase, 
CryptoPP::TF_SignatureSchemeOptions<CryptoPP::TF_SS<CryptoPP::PKCS1v15, 
CryptoPP::SHA256, CryptoPP::RSA, int>, CryptoPP::RSA, 
CryptoPP::PKCS1v15_SignatureMessageEncodingMethod, CryptoPP::SHA256>, 
CryptoPP::InvertibleRSAFunction>::NewSignatureAccumulator(CryptoPP::RandomNumberGenerator&) 
const in libndn-cxx.a(sec-tpm-file.cpp.2.o)
       ...
   NOTE: a missing vtable usually means the first non-inline virtual 
member function has no definition.
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see 
invocation)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150524/28ae3be8/attachment.html>


More information about the ndnSIM mailing list