- Mesaj
- 80
- Çözümler
- 6
- Beğeni
- 15
- Puan
- 414
- Ticaret Puanı
- 0
2 kere aynı işlemleri yaptım eksiksiz
kütüphaneleri güncellemiştim gcc9 da sorun yok çalışıyor kütüphaneler makefileler filan ama clang9 a çevirdiğimde bu cryptopp hataları alıyorum nasıl düzeltileceğini bilen var mı ?
kütüphaneleri güncellemiştim gcc9 da sorun yok çalışıyor kütüphaneler makefileler filan ama clang9 a çevirdiğimde bu cryptopp hataları alıyorum nasıl düzeltileceğini bilen var mı ?
sysser:
game olusturuldu../game....
ld: error: undefined symbol: CryptoPP::RandomPool::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long long)
>>> referenced by cipher.cpp
>>> OBJDIR/cipher.o:(vtable for CryptoPP::AutoSeededRandomPool)
ld: error: undefined symbol: CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long long)
>>> referenced by cipher.cpp
>>> OBJDIR/cipher.o:(vtable for CryptoPP::CipherModeFinalTemplate_CipherHolder<CryptoPP::BlockCipherFinal<(CryptoPP::CipherDir)0, CryptoPP::RC6::Enc>, CryptoPP::ConcretePolicyHolder<CryptoPP::Empty, CryptoPP::AdditiveCipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::AdditiveCipherAbstractPolicy, CryptoPP::CTR_ModePolicy> >, CryptoPP::AdditiveCipherAbstractPolicy> >)
>>> referenced by cipher.cpp
>>> OBJDIR/cipher.o:(vtable for CryptoPP::CipherModeFinalTemplate_CipherHolder<CryptoPP::BlockCipherFinal<(CryptoPP::CipherDir)0, CryptoPP::MARS::Enc>, CryptoPP::ConcretePolicyHolder<CryptoPP::Empty, CryptoPP::AdditiveCipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::AdditiveCipherAbstractPolicy, CryptoPP::CTR_ModePolicy> >, CryptoPP::AdditiveCipherAbstractPolicy> >)
>>> referenced by cipher.cpp
>>> OBJDIR/cipher.o:(vtable for CryptoPP::CipherModeFinalTemplate_CipherHolder<CryptoPP::BlockCipherFinal<(CryptoPP::CipherDir)0, CryptoPP::Twofish::Enc>, CryptoPP::ConcretePolicyHolder<CryptoPP::Empty, CryptoPP::AdditiveCipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::AdditiveCipherAbstractPolicy, CryptoPP::CTR_ModePolicy> >, CryptoPP::AdditiveCipherAbstractPolicy> >)
>>> referenced 10 more times
ld: error: undefined symbol: CryptoPP::SHACAL2::Base::AlgorithmProvider() const
>>> referenced by cipher.cpp
>>> OBJDIR/cipher.o:(vtable for CryptoPP::BlockCipherFinal<(CryptoPP::CipherDir)0, CryptoPP::SHACAL2::Enc>)
ld: error: undefined symbol: non-virtual thunk to CryptoPP::SHACAL2::Base::AlgorithmProvider() const
>>> referenced by cipher.cpp
>>> OBJDIR/cipher.o:(vtable for CryptoPP::BlockCipherFinal<(CryptoPP::CipherDir)0, CryptoPP::SHACAL2::Enc>)
ld: error: undefined symbol: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned int&, unsigned int)
>>> referenced by basic_string.tcc:219 (/usr/local/lib/gcc9/include/c++/bits/basic_string.tcc:219)
>>> cryptlib.o:(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (.isra.0)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced by basic_string.tcc:219 (/usr/local/lib/gcc9/include/c++/bits/basic_string.tcc:219)
>>> cryptlib.o:(CryptoPP::Exception::Exception(CryptoPP::Exception::ErrorType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced by basic_string.tcc:219 (/usr/local/lib/gcc9/include/c++/bits/basic_string.tcc:219)
>>> cryptlib.o:(CryptoPP::BufferedTransformation::NoChannelSupport::NoChannelSupport(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced 66 more times
ld: error: undefined symbol: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)
>>> referenced by basic_string.h:6123 (/usr/local/lib/gcc9/include/c++/bits/basic_string.h:6123)
>>> cryptlib.o:(CryptoPP::StreamTransformation::ProcessLastBlock(unsigned char*, unsigned int, unsigned char const*, unsigned int) (.cold)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced by basic_string.h:6123 (/usr/local/lib/gcc9/include/c++/bits/basic_string.h:6123)
>>> cryptlib.o:(CryptoPP::SimpleKeyingInterface::ThrowIfResynchronizable() (.cold)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced by basic_string.h:6123 (/usr/local/lib/gcc9/include/c++/bits/basic_string.h:6123)
>>> cryptlib.o:(CryptoPP::SimpleKeyingInterface::ThrowIfInvalidIV(unsigned char const*) (.cold)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced 239 more times
ld: error: undefined symbol: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)
>>> referenced by basic_string.h:6123 (/usr/local/lib/gcc9/include/c++/bits/basic_string.h:6123)
>>> cryptlib.o:(CryptoPP::StreamTransformation::ProcessLastBlock(unsigned char*, unsigned int, unsigned char const*, unsigned int) (.cold)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced by basic_string.h:6123 (/usr/local/lib/gcc9/include/c++/bits/basic_string.h:6123)
>>> cryptlib.o:(CryptoPP::SimpleKeyingInterface::ThrowIfResynchronizable() (.cold)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced by basic_string.h:6123 (/usr/local/lib/gcc9/include/c++/bits/basic_string.h:6123)
>>> cryptlib.o:(CryptoPP::SimpleKeyingInterface::ThrowIfInvalidIV(unsigned char const*) (.cold)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced 132 more times
ld: error: undefined symbol: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::insert(unsigned int, char const*)
>>> referenced by basic_string.h:6111 (/usr/local/lib/gcc9/include/c++/bits/basic_string.h:6111)
>>> cryptlib.o:(CryptoPP::HashTransformation::ThrowIfInvalidTruncatedSize(unsigned int) const (.cold)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced by basic_string.h:6111 (/usr/local/lib/gcc9/include/c++/bits/basic_string.h:6111)
>>> filters.o:(CryptoPP::StreamTransformationFilter::InitializeDerivedAndReturnNewSizes(CryptoPP::NameValuePairs const&, unsigned int&, unsigned int&, unsigned int&) (.cold)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced by basic_string.h:6111 (/usr/local/lib/gcc9/include/c++/bits/basic_string.h:6111)
>>> filters.o:(CryptoPP::StreamTransformationFilter::InitializeDerivedAndReturnNewSizes(CryptoPP::NameValuePairs const&, unsigned int&, unsigned int&, unsigned int&) (.cold)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced 2 more times
ld: error: undefined symbol: std::__throw_logic_error(char const*)
>>> referenced by basic_string.tcc:212 (/usr/local/lib/gcc9/include/c++/bits/basic_string.tcc:212)
>>> cryptlib.o:(CryptoPP::Exception::Exception(CryptoPP::Exception::ErrorType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced by basic_string.tcc:212 (/usr/local/lib/gcc9/include/c++/bits/basic_string.tcc:212)
>>> cryptlib.o:(CryptoPP::BufferedTransformation::NoChannelSupport::NoChannelSupport(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced by basic_string.tcc:212 (/usr/local/lib/gcc9/include/c++/bits/basic_string.tcc:212)
>>> cryptlib.o:(CryptoPP::BufferedTransformation::NoChannelSupport::NoChannelSupport(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced 29 more times
ld: error: undefined symbol: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned int)
>>> referenced by basic_string.h:1268 (/usr/local/lib/gcc9/include/c++/bits/basic_string.h:1268)
>>> cryptlib.o:(CryptoPP::BufferedTransformation::NoChannelSupport::NoChannelSupport(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced by basic_string.h:1268 (/usr/local/lib/gcc9/include/c++/bits/basic_string.h:1268)
>>> cryptlib.o:(CryptoPP::AlgorithmParametersBase::ParameterNotUsed::ParameterNotUsed(char const*)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced by basic_string.h:1268 (/usr/local/lib/gcc9/include/c++/bits/basic_string.h:1268)
>>> cryptlib.o:(CryptoPP::AlgorithmParametersBase::ParameterNotUsed::ParameterNotUsed(char const*)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced 103 more times
ld: error: undefined symbol: std::__throw_length_error(char const*)
>>> referenced by basic_string.h:323 (/usr/local/lib/gcc9/include/c++/bits/basic_string.h:323)
>>> cryptlib.o:(CryptoPP::BufferedTransformation::NoChannelSupport::NoChannelSupport(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced by basic_string.h:323 (/usr/local/lib/gcc9/include/c++/bits/basic_string.h:323)
>>> cryptlib.o:(CryptoPP::AlgorithmParametersBase::ParameterNotUsed::ParameterNotUsed(char const*)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced by basic_string.h:323 (/usr/local/lib/gcc9/include/c++/bits/basic_string.h:323)
>>> cryptlib.o:(CryptoPP::AlgorithmParametersBase::ParameterNotUsed::ParameterNotUsed(char const*)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced 98 more times
ld: error: undefined symbol: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned int, unsigned int, char const*, unsigned int)
>>> referenced by basic_string.h:1941 (/usr/local/lib/gcc9/include/c++/bits/basic_string.h:1941)
>>> cryptlib.o:(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced by basic_string.h:1941 (/usr/local/lib/gcc9/include/c++/bits/basic_string.h:1941)
>>> cryptlib.o:(CryptoPP::InvalidKeyLength::InvalidKeyLength(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced by basic_string.h:1941 (/usr/local/lib/gcc9/include/c++/bits/basic_string.h:1941)
>>> cryptlib.o:(CryptoPP::InvalidDerivedKeyLength::InvalidDerivedKeyLength(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced 17 more times
ld: error: undefined symbol: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned int)
>>> referenced by basic_string.tcc:1180 (/usr/local/lib/gcc9/include/c++/bits/basic_string.tcc:1180)
>>> cryptlib.o:(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > CryptoPP::IntToString<unsigned int>(unsigned int, unsigned int)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced by basic_string.tcc:1180 (/usr/local/lib/gcc9/include/c++/bits/basic_string.tcc:1180)
>>> cryptlib.o:(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > CryptoPP::IntToString<int>(int, unsigned int)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced by basic_string.tcc:1166 (/usr/local/lib/gcc9/include/c++/bits/basic_string.tcc:1166)
>>> cryptlib.o:(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > CryptoPP::IntToString<int>(int, unsigned int)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced 7 more times
ld: error: undefined symbol: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_aux(unsigned int, unsigned int, unsigned int, char)
>>> referenced by basic_string.h:1281 (/usr/local/lib/gcc9/include/c++/bits/basic_string.h:1281)
>>> cryptlib.o:(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > CryptoPP::IntToString<unsigned int>(unsigned int, unsigned int)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced by basic_string.h:1281 (/usr/local/lib/gcc9/include/c++/bits/basic_string.h:1281)
>>> cryptlib.o:(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > CryptoPP::IntToString<int>(int, unsigned int)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced by basic_string.h:1281 (/usr/local/lib/gcc9/include/c++/bits/basic_string.h:1281)
>>> integer.o:(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > CryptoPP::IntToString<unsigned long long>(unsigned long long, unsigned int)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced 1 more times
ld: error: undefined symbol: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()
>>> referenced by cryptlib.cpp:1027
>>> cryptlib.o:(_GLOBAL__sub_I.00275__ZN8CryptoPP12TheBitBucketEv) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced by cryptlib.cpp:1028
>>> cryptlib.o:(_GLOBAL__sub_I.00276__ZN8CryptoPP12TheBitBucketEv) in archive ../../../Extern/lib/libcryptopp.a
ld: error: undefined symbol: std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)
>>> referenced by ostream:518 (/usr/local/lib/gcc9/include/c++/ostream:518)
>>> integer.o:(CryptoPP::operator<<(std::ostream&, CryptoPP::Integer const&)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced by ostream:518 (/usr/local/lib/gcc9/include/c++/ostream:518)
>>> integer.o:(CryptoPP::operator<<(std::ostream&, CryptoPP::Integer const&)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced by ostream:518 (/usr/local/lib/gcc9/include/c++/ostream:518)
>>> integer.o:(CryptoPP::operator<<(std::ostream&, CryptoPP::Integer const&)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced 8 more times
ld: error: undefined symbol: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned int, unsigned int, char const*, unsigned int)
>>> referenced by basic_string.h:1353 (/usr/local/lib/gcc9/include/c++/bits/basic_string.h:1353)
>>> integer.o:(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > CryptoPP::IntToString<CryptoPP::Integer>(CryptoPP::Integer, unsigned int)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced by basic_string.h:1353 (/usr/local/lib/gcc9/include/c++/bits/basic_string.h:1353)
>>> integer.o:(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > CryptoPP::IntToString<CryptoPP::Integer>(CryptoPP::Integer, unsigned int)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced by basic_string.h:1353 (/usr/local/lib/gcc9/include/c++/bits/basic_string.h:1353)
>>> integer.o:(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > CryptoPP::IntToString<CryptoPP::Integer>(CryptoPP::Integer, unsigned int)) in archive ../../../Extern/lib/libcryptopp.a
>>> referenced 5 more times
ld: error: undefined symbol: std::basic_istream<char, std::char_traits<char> >& std::ws<char, std::char_traits<char> >(std::basic_istream<char, std::char_traits<char> >&)
>>> referenced by integer.cpp:3667
>>> integer.o:(CryptoPP::operator>>(std::istream&, CryptoPP::Integer&)) in archive ../../../Extern/lib/libcryptopp.a
ld: error: undefined symbol: std::istream::read(char*, int)
>>> referenced by integer.cpp:3671
>>> integer.o:(CryptoPP::operator>>(std::istream&, CryptoPP::Integer&)) in archive ../../../Extern/lib/libcryptopp.a
ld: error: undefined symbol: std::istream::putback(char)
>>> referenced by integer.cpp:3679
>>> integer.o:(CryptoPP::operator>>(std::istream&, CryptoPP::Integer&)) in archive ../../../Extern/lib/libcryptopp.a
ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [Makefile:123: ../game] Error 1