Please try searching the list archive next time before reporting a problem:
http://www.escribe.com/software/crypto/m1989.html On Mon, Jul 07, 2003 at 06:34:54PM +0300, Boris Ivanov Toninski wrote: > Hi, I'm trying to compile Crypto++ under Mandrake9 Linux with > gcc 3.2 compiler. After running make I have many warnings and these > errors: > > g++ -g -pipe -c luc.cpp > pubkey.cpp: In member function `unsigned int > CryptoPP::DecryptorTemplate<P, F>::Decrypt(const byte*, byte*) [with P = > CryptoPP::OAEP<CryptoPP::SHA, CryptoPP::P1363_MGF1<CryptoPP::SHA>, > (&CryptoPP::OAEP_P_DEFAULT), 0>, F = CryptoPP::InvertibleLUCFunction]': > luc.cpp:14: instantiated from here > pubkey.cpp:24: cannot call member function `virtual unsigned int > CryptoPP::PK_FixedLengthCryptoSystem::CipherTextLength() const' without > object > pubkey.cpp: In member function `void CryptoPP::EncryptorTemplate<P, > T>::Encrypt(CryptoPP::RandomNumberGenerator&, const byte*, unsigned int, > byte*) [with P = CryptoPP::OAEP<CryptoPP::SHA, > CryptoPP::P1363_MGF1<CryptoPP::SHA>, (&CryptoPP::OAEP_P_DEFAULT), 0>, T > = CryptoPP::LUCFunction]': > luc.cpp:14: instantiated from here > pubkey.cpp:31: cannot call member function `virtual unsigned int > CryptoPP::PK_FixedLengthCryptoSystem::MaxPlainTextLength() const' > without object > luc.cpp:14: instantiated from here > pubkey.cpp:35: cannot call member function `virtual unsigned int > CryptoPP::PK_FixedLengthCryptoSystem::CipherTextLength() const' without > object > make: *** [luc.o] Error 1 > > Can you help me with that? > 10x in advance. > >
