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.
