On Wednesday, December 6, 2017 at 12:59:27 PM UTC-5, [email protected] wrote: > > ... > 15) Get this nasty result: > ---- > /tmp/ccL1UIhb.o:test.cpp:(.text+0x8c): undefined reference to > `CryptoPP::StringSinkTemplate<std::__cxx11::basic_string<char, > std::char_traits<char>, std::allocator<char> > > >::StringSinkTemplate(std::__cxx11::basic_string<char, > std::char_traits<char>, std::allocator<char> >&)' > /tmp/ccL1UIhb.o:test.cpp:(.text+0x171): undefined reference to > `CryptoPP::HashFilter::HashFilter(CryptoPP::HashTransformation&, > CryptoPP::BufferedTransformation*, bool, int, > std::__cxx11::basic_string<char, std::char_traits<char>, > std::allocator<char> > const&, std::__cxx11::basic_string<char, > std::char_traits<char>, std::allocator<char> > const&)' > /tmp/ccL1UIhb.o:test.cpp:(.text$_ZN8CryptoPP23FilterWithBufferedInput4Put2EPKhyib[_ZN8CryptoPP23FilterWithBufferedInput4Put2EPKhyib]+0x48): > > > undefined reference to > `CryptoPP::FilterWithBufferedInput::PutMaybeModifiable(unsigned char*, > unsigned long long, int, bool, bool)' > /tmp/ccL1UIhb.o:test.cpp:(.text$_ZN8CryptoPP23FilterWithBufferedInput14PutModifiable2EPhyib[_ZN8CryptoPP23FilterWithBufferedInput14PutModifiable2EPhyib]+0x48): > > > undefined reference to > `CryptoPP::FilterWithBufferedInput::PutMaybeModifiable(unsigned char*, > unsigned long long, int, bool, bool)' > /tmp/ccL1UIhb.o:test.cpp:(.text$_ZN8CryptoPP17SimpleProxyFilterC2EPNS_22BufferedTransformationES2_[_ZN8CryptoPP17SimpleProxyFilterC2EPNS_22BufferedTransformationES2_]+0x35): > > > undefined reference to > `CryptoPP::ProxyFilter::ProxyFilter(CryptoPP::BufferedTransformation*, > unsigned long long, unsigned long long, > CryptoPP::BufferedTransformation*)' > [truncated] >
This is the sort of error I usually see when I forget to link to the library; or typo the library name. Maybe a -v will help identify the path problem you are experiencing. Jeff -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
