aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2 3

Author Topic: aMule-2.0.0 RC3 compilation problems with GCC 3.4  (Read 13047 times)

kriztofo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
aMule-2.0.0 RC3 compilation problems with GCC 3.4
« on: May 13, 2004, 06:54:18 AM »

RC3 fails to compile under GCC 3.4 on the crypto stuff seemingly because of the major template changes in g++ (maybe someday there will be a 100% c++ compiler).

I'm not too knowledgeable so i tried to recompile libcrypto but that fails to compile as well with GCC 3.4.

Everything compiled fine with GCC 3.2.3

*edit*
oh yeah and RC2 gives the same errors

Begin dump
--------------------------------------------------
In file included from /usr/include/cryptopp/filters.h:4,
                 from /usr/include/cryptopp/pubkey.h:36,
                 from /usr/include/cryptopp/pkcspad.h:5,
                 from /usr/include/cryptopp/rsa.h:9,
                 from ClientCredits.h:32,
                 from BaseClient.cpp:47:
/usr/include/cryptopp/simple.h: In member function `bool CryptoPP::Unflushable::Flush(bool, int, bool)':
/usr/include/cryptopp/simple.h:71: error: `NULL_CHANNEL' undeclared (first use this function)
/usr/include/cryptopp/simple.h:71: error: (Each undeclared identifier is reported only once for each function it appears in.)
/usr/include/cryptopp/simple.h: In member function `bool CryptoPP::Unflushable::ChannelFlush(const std::string&, bool, int, bool)':
/usr/include/cryptopp/simple.h:80: error: there are no arguments to `AttachedTransformation' that depend on a template parameter, so a declaration of `AttachedTransformation' must be available
/usr/include/cryptopp/simple.h:80: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/include/cryptopp/simple.h: In member function `void CryptoPP::Multichannel::Initialize(const CryptoPP::NameValuePairs&, int)':
/usr/include/cryptopp/simple.h:134: error: `NULL_CHANNEL' undeclared (first use this function)
/usr/include/cryptopp/simple.h: In member function `bool CryptoPP::Multichannel::Flush(bool, int, bool)':
/usr/include/cryptopp/simple.h:136: error: `NULL_CHANNEL' undeclared (first use this function)
/usr/include/cryptopp/simple.h: In member function `bool CryptoPP::Multichannel::MessageSeriesEnd(int, bool)':
/usr/include/cryptopp/simple.h:138: error: `NULL_CHANNEL' undeclared (first use this function)
/usr/include/cryptopp/simple.h:138: error: there are no arguments to `ChannelMessageSeriesEnd' that depend on a template parameter, so a declaration of `ChannelMessageSeriesEnd' must be available
/usr/include/cryptopp/simple.h: In member function `unsigned char* CryptoPP::Multichannel::CreatePutSpace(unsigned int&)':
/usr/include/cryptopp/simple.h:140: error: `NULL_CHANNEL' undeclared (first use this function)
/usr/include/cryptopp/simple.h: In member function `unsigned int CryptoPP::Multichannel::Put2(const unsigned char*, unsigned int, int, bool)':
/usr/include/cryptopp/simple.h:142: error: `NULL_CHANNEL' undeclared (first use this function)
/usr/include/cryptopp/simple.h: In member function `unsigned int CryptoPP::Multichannel::PutModifiable2(unsigned char*, unsigned int, int, bool)':
/usr/include/cryptopp/simple.h:144: error: `NULL_CHANNEL' undeclared (first use this function)
/usr/include/cryptopp/simple.h: In member function `bool CryptoPP::Multichannel::ChannelPutModifiable(const std::string&, unsigned char*, unsigned int)':
/usr/include/cryptopp/simple.h:151: error: there are no arguments to `ChannelPut' that depend on a template parameter, so a declaration of `ChannelPut' must be available
In file included from /usr/include/cryptopp/filters.h:7,
                 from /usr/include/cryptopp/pubkey.h:36,
                 from /usr/include/cryptopp/pkcspad.h:5,
                 from /usr/include/cryptopp/rsa.h:9,
                 from ClientCredits.h:32,
                 from BaseClient.cpp:47:
/usr/include/cryptopp/smartptr.h: In member function `bool CryptoPP::value_ptr::operator==(const CryptoPP::value_ptr&)':
/usr/include/cryptopp/smartptr.h:57: error: `m_p' undeclared (first use this function)
/usr/include/cryptopp/smartptr.h: In member function `CryptoPP::value_ptr& CryptoPP::value_ptr::operator=(const CryptoPP::value_ptr&)':
/usr/include/cryptopp/smartptr.h:63: error: `m_p' undeclared (first use this function)
/usr/include/cryptopp/smartptr.h: In member function `CryptoPP::clonable_ptr& CryptoPP::clonable_ptr::operator=(const CryptoPP::clonable_ptr&)':
/usr/include/cryptopp/smartptr.h:84: error: `m_p' undeclared (first use this function)
In file included from /usr/include/cryptopp/pkcspad.h:5,
                 from /usr/include/cryptopp/rsa.h:9,
                 from ClientCredits.h:32,
                 from BaseClient.cpp:47:
/usr/include/cryptopp/pubkey.h: In member function `unsigned int CryptoPP::TF_CryptoSystemBase::FixedMaxPlaintextLength() const':
/usr/include/cryptopp/pubkey.h:145: error: there are no arguments to `GetMessageEncodingInterface' that depend on a template parameter, so a declaration of `GetMessageEncodingInterface' must be available
/usr/include/cryptopp/pubkey.h: In member function `unsigned int CryptoPP::TF_CryptoSystemBase::FixedCiphertextLength() const':
/usr/include/cryptopp/pubkey.h:146: error: there are no arguments to `GetTrapdoorFunctionBounds' that depend on a template parameter, so a declaration of `GetTrapdoorFunctionBounds' must be available
/usr/include/cryptopp/pubkey.h: In member function `unsigned int CryptoPP::TF_CryptoSystemBase::PaddedBlockBitLength() const':
/usr/include/cryptopp/pubkey.h:150: error: there are no arguments to `GetTrapdoorFunctionBounds' that depend on a template parameter, so a declaration of `GetTrapdoorFunctionBounds' must be available
/usr/include/cryptopp/pubkey.h: In member function `CryptoPP::HashTransformation& CryptoPP::PK_MessageAccumulatorImpl::AccessHash()':
/usr/include/cryptopp/pubkey.h:291: error: `m_object' undeclared (first use this function)
/usr/include/cryptopp/pubkey.h: In member function `unsigned int CryptoPP::TF_SignatureSchemeBase::SignatureLength() const':
/usr/include/cryptopp/pubkey.h:300: error: there are no arguments to `GetTrapdoorFunctionBounds' that depend on a template parameter, so a declaration of `GetTrapdoorFunctionBounds' must be available
/usr/include/cryptopp/pubkey.h: In member function `unsigned int CryptoPP::TF_SignatureSchemeBase::MaxRecoverableLength() const':
/usr/include/cryptopp/pubkey.h:302: error: there are no arguments to `GetMessageEncodingInterface' that depend on a template parameter, so a declaration of `GetMessageEncodingInterface' must be available
/usr/include/cryptopp/pubkey.h: In member function `bool CryptoPP::TF_SignatureSchemeBase::IsProbabilistic() const':
/usr/include/cryptopp/pubkey.h:307: error: there are no arguments to `GetTrapdoorFunctionInterface' that depend on a template parameter, so a declaration of `GetTrapdoorFunctionInterface' must be available
/usr/include/cryptopp/pubkey.h:307: error: there are no arguments to `GetMessageEncodingInterface' that depend on a template parameter, so a declaration of `GetMessageEncodingInterface' must be available
/usr/include/cryptopp/pubkey.h: In member function `bool CryptoPP::TF_SignatureSchemeBase::AllowNonrecoverablePart() const':
/usr/include/cryptopp/pubkey.h:309: error: there are no arguments to `GetMessageEncodingInterface' that depend on a template parameter, so a declaration of `GetMessageEncodingInterface' must be available
/usr/include/cryptopp/pubkey.h: In member function `bool CryptoPP::TF_SignatureSchemeBase::RecoverablePartFirst() const':
/usr/include/cryptopp/pubkey.h:311: error: there are no arguments to `GetMessageEncodingInterface' that depend on a template parameter, so a declaration of `GetMessageEncodingInterface' must be available
/usr/include/cryptopp/pubkey.h: In member function `unsigned int CryptoPP::TF_SignatureSchemeBase::MessageRepresentativeBitLength() const':
/usr/include/cryptopp/pubkey.h:315: error: there are no arguments to `GetTrapdoorFunctionBounds' that depend on a template parameter, so a declaration of `GetTrapdoorFunctionBounds' must be available
/usr/include/cryptopp/pubkey.h: In member function `CryptoPP::HashIdentifier CryptoPP::TF_ObjectImplBase::GetHashIdentifier() const':
/usr/include/cryptopp/pubkey.h:404: error: non-template `HashIdentifierLookup2' used as template
/usr/include/cryptopp/pubkey.h:404: error: (use `typename SCHEME_OPTIONS::MessageEncodingMethod::HashIdentifierLookup::template HashIdentifierLookup2' to indicate that it is a template)
/usr/include/cryptopp/pubkey.h:404: error: declaration does not declare anything
/usr/include/cryptopp/pubkey.h:405: error: `L' has not been declared
/usr/include/cryptopp/pubkey.h:405: error: there are no arguments to `Lookup' that depend on a template parameter, so a declaration of `Lookup' must be available
/usr/include/cryptopp/pubkey.h: In member function `void CryptoPP::TF_PublicObjectImpl::CopyKeyInto(typename SCHEME_OPTIONS::PublicKey&) const':
/usr/include/cryptopp/pubkey.h:449: error: there are no arguments to `GetKey' that depend on a template parameter, so a declaration of `GetKey' must be available
/usr/include/cryptopp/pubkey.h: In member function `void CryptoPP::TF_PrivateObjectImpl::CopyKeyInto(typename SCHEME_OPTIONS::PrivateKey&) const':
/usr/include/cryptopp/pubkey.h:457: error: there are no arguments to `GetKey' that depend on a template parameter, so a declaration of `GetKey' must be available
/usr/include/cryptopp/pubkey.h: In member function `void CryptoPP::TF_PrivateObjectImpl::CopyKeyInto(typename SCHEME_OPTIONS::PublicKey&) const':
/usr/include/cryptopp/pubkey.h:458: error: there are no arguments to `GetKey' that depend on a template parameter, so a declaration of `GetKey' must be available
/usr/include/cryptopp/pubkey.h: In member function `bool CryptoPP::DL_PublicKey::GetVoidValue(const char*, const std::type_info&, void*) const':
/usr/include/cryptopp/pubkey.h:677: error: there are no arguments to `GetAbstractGroupParameters' that depend on a template parameter, so a declaration of `GetAbstractGroupParameters' must be available
/usr/include/cryptopp/pubkey.h: In member function `virtual const T& CryptoPP::DL_PublicKey::GetPublicElement() const':
/usr/include/cryptopp/pubkey.h:684: error: there are no arguments to `GetAbstractGroupParameters' that depend on a template parameter, so a declaration of `GetAbstractGroupParameters' must be available
/usr/include/cryptopp/pubkey.h: In member function `virtual void CryptoPP::DL_PublicKey::SetPublicElement(const T&)':
/usr/include/cryptopp/pubkey.h:685: error: there are no arguments to `GetAbstractGroupParameters' that depend on a template parameter, so a declaration of `GetAbstractGroupParameters' must be available
/usr/include/cryptopp/pubkey.h: In member function `virtual T CryptoPP::DL_PublicKey::ExponentiatePublicElement(const CryptoPP::Integer&) const':
/usr/include/cryptopp/pubkey.h:688: error: there are no arguments to `GetAbstractGroupParameters' that depend on a template parameter, so a declaration of `GetAbstractGroupParameters' must be available
/usr/include/cryptopp/pubkey.h: In member function `virtual T CryptoPP::DL_PublicKey::CascadeExponentiateBaseAndPublicElement(const CryptoPP::Integer&, const CryptoPP::Integer&) const':
/usr/include/cryptopp/pubkey.h:693: error: there are no arguments to `GetAbstractGroupParameters' that depend on a template parameter, so a declaration of `GetAbstractGroupParameters' must be available
/usr/include/cryptopp/pubkey.h: In member function `void CryptoPP::DL_PrivateKey::MakePublicKey(CryptoPP::DL_PublicKey&) const':
/usr/include/cryptopp/pubkey.h:712: error: there are no arguments to `GetAbstractGroupParameters' that depend on a template parameter, so a declaration of `GetAbstractGroupParameters' must be available
/usr/include/cryptopp/pubkey.h:713: error: there are no arguments to `GetAbstractGroupParameters' that depend on a template parameter, so a declaration of `GetAbstractGroupParameters' must be available
(...)
/usr/include/cryptopp/pubkey.h:1117: error: there are no arguments to `GetKeyInterface' that depend on a template parameter, so a declaration of `GetKeyInterface' must be available
/usr/include/cryptopp/pubkey.h:1119: error: there are no arguments to `MessageRepresentativeLength' that depend on a template parameter, so a declaration of `MessageRepresentativeLength' must be available
/usr/include/cryptopp/pubkey.h:1120: error: there are no arguments to `GetMessageEncodingInterface' that depend on a template parameter, so a declaration of `GetMessageEncodingInterface' must be available
/usr/include/cryptopp/pubkey.h:1121: error: there are no arguments to `GetHashIdentifier' that depend on a template parameter, so a declaration of `GetHashIdentifier' must be available
/usr/include/cryptopp/pubkey.h:1122: error: there are no arguments to `MessageRepresentativeBitLength' that depend on a template parameter, so a declaration of `MessageRepresentativeBitLength' must be available
/usr/include/cryptopp/pubkey.h: In member function `CryptoPP::DecodingResult CryptoPP::DL_VerifierBase::RecoverAndRestart(unsigned char*, CryptoPP::PK_MessageAccumulator&) const':
/usr/include/cryptopp/pubkey.h:1132: error: there are no arguments to `GetMaterial' that depend on a template parameter, so a declaration of `GetMaterial' must be available
/usr/include/cryptopp/pubkey.h:1135: error: there are no arguments to `GetSignatureAlgorithm' that depend on a template parameter, so a declaration of `GetSignatureAlgorithm' must be available
/usr/include/cryptopp/pubkey.h:1136: error: there are no arguments to `GetAbstractGroupParameters' that depend on a template parameter, so a declaration of `GetAbstractGroupParameters' must be available
/usr/include/cryptopp/pubkey.h:1137: error: there are no arguments to `GetKeyInterface' that depend on a template parameter, so a declaration of `GetKeyInterface' must be available
/usr/include/cryptopp/pubkey.h:1139: error: there are no arguments to `MessageRepresentativeLength' that depend on a template parameter, so a declaration of `MessageRepresentativeLength' must be available
/usr/include/cryptopp/pubkey.h:1140: error: there are no arguments to `GetMessageEncodingInterface' that depend on a template parameter, so a declaration of `GetMessageEncodingInterface' must be available
/usr/include/cryptopp/pubkey.h:1143: error: there are no arguments to `GetHashIdentifier' that depend on a template parameter, so a declaration of `GetHashIdentifier' must be available
/usr/include/cryptopp/pubkey.h:1144: error: there are no arguments to `MessageRepresentativeBitLength' that depend on a template parameter, so a declaration of `MessageRepresentativeBitLength' must be available
/usr/include/cryptopp/pubkey.h:1152: error: there are no arguments to `GetMessageEncodingInterface' that depend on a template parameter, so a declaration of `GetMessageEncodingInterface' must be available
/usr/include/cryptopp/pubkey.h:1153: error: there are no arguments to `GetHashIdentifier' that depend on a template parameter, so a declaration of `GetHashIdentifier' must be available
/usr/include/cryptopp/pubkey.h: In member function `unsigned int CryptoPP::DL_CryptoSystemBase::MaxPlaintextLength(unsigned int) const':
/usr/include/cryptopp/pubkey.h:1169: error: there are no arguments to `GetAbstractGroupParameters' that depend on a template parameter, so a declaration of `GetAbstractGroupParameters' must be available
/usr/include/cryptopp/pubkey.h: In member function `unsigned int CryptoPP::DL_CryptoSystemBase::CiphertextLength(unsigned int) const':
/usr/include/cryptopp/pubkey.h:1176: error: there are no arguments to `GetAbstractGroupParameters' that depend on a template parameter, so a declaration of `GetAbstractGroupParameters' must be available
/usr/include/cryptopp/pubkey.h: In member function `CryptoPP::DecodingResult CryptoPP::DL_DecryptorBase::Decrypt(CryptoPP::RandomNumberGenerator&, const unsigned char*, unsigned int, unsigned char*) const':
/usr/include/cryptopp/pubkey.h:1196: error: there are no arguments to `GetKeyAgreementAlgorithm' that depend on a template parameter, so a declaration of `GetKeyAgreementAlgorithm' must be available
/usr/include/cryptopp/pubkey.h:1197: error: there are no arguments to `GetKeyDerivationAlgorithm' that depend on a template parameter, so a declaration of `GetKeyDerivationAlgorithm' must be available
/usr/include/cryptopp/pubkey.h:1198: error: there are no arguments to `GetSymmetricEncryptionAlgorithm' that depend on a template parameter, so a declaration of `GetSymmetricEncryptionAlgorithm' must be available
/usr/include/cryptopp/pubkey.h:1199: error: there are no arguments to `GetAbstractGroupParameters' that depend on a template parameter, so a declaration of `GetAbstractGroupParameters' must be available
/usr/include/cryptopp/pubkey.h:1200: error: there are no arguments to `GetKeyInterface' that depend on a template parameter, so a declaration of `GetKeyInterface' must be available
/usr/include/cryptopp/pubkey.h: In member function `void CryptoPP::DL_EncryptorBase::Encrypt(CryptoPP::RandomNumberGenerator&, const unsigned char*, unsigned int, unsigned char*) const':
/usr/include/cryptopp/pubkey.h:1230: error: there are no arguments to `GetKeyAgreementAlgorithm' that depend on a template parameter, so a declaration of `GetKeyAgreementAlgorithm' must be available
/usr/include/cryptopp/pubkey.h:1231: error: there are no arguments to `GetKeyDerivationAlgorithm' that depend on a template parameter, so a declaration of `GetKeyDerivationAlgorithm' must be available
/usr/include/cryptopp/pubkey.h:1232: error: there are no arguments to `GetSymmetricEncryptionAlgorithm' that depend on a template parameter, so a declaration of `GetSymmetricEncryptionAlgorithm' must be available
/usr/include/cryptopp/pubkey.h:1233: error: there are no arguments to `GetAbstractGroupParameters' that depend on a template parameter, so a declaration of `GetAbstractGroupParameters' must be available
/usr/include/cryptopp/pubkey.h:1234: error: there are no arguments to `GetKeyInterface' that depend on a template parameter, so a declaration of `GetKeyInterface' must be available
/usr/include/cryptopp/pubkey.h: In member function `CryptoPP::HashIdentifier CryptoPP::DL_ObjectImplBase::GetHashIdentifier() const':
/usr/include/cryptopp/pubkey.h:1310: error: non-template `HashIdentifierLookup2' used as template
/usr/include/cryptopp/pubkey.h:1310: error: (use `typename SCHEME_OPTIONS::MessageEncodingMethod::HashIdentifierLookup::template HashIdentifierLookup2' to indicate that it is a template)
/usr/include/cryptopp/pubkey.h:1310: error: declaration does not declare anything
/usr/include/cryptopp/pubkey.h:1311: error: `L' has not been declared
/usr/include/cryptopp/pubkey.h:1311: error: there are no arguments to `Lookup' that depend on a template parameter, so a declaration of `Lookup' must be available
/usr/include/cryptopp/pubkey.h: In member function `void CryptoPP::DL_PublicObjectImpl::CopyKeyInto(typename SCHEME_OPTIONS::PublicKey&) const':
/usr/include/cryptopp/pubkey.h:1351: error: there are no arguments to `GetKey' that depend on a template parameter, so a declaration of `GetKey' must be available
/usr/include/cryptopp/pubkey.h: In member function `void CryptoPP::DL_PrivateObjectImpl::CopyKeyInto(typename SCHEME_OPTIONS::PublicKey&) const':
/usr/include/cryptopp/pubkey.h:1360: error: there are no arguments to `GetKey' that depend on a template parameter, so a declaration of `GetKey' must be available
/usr/include/cryptopp/pubkey.h: In member function `void CryptoPP::DL_PrivateObjectImpl::CopyKeyInto(typename SCHEME_OPTIONS::PrivateKey&) const':
/usr/include/cryptopp/pubkey.h:1362: error: there are no arguments to `GetKey' that depend on a template parameter, so a declaration of `GetKey' must be available
/usr/include/cryptopp/pubkey.h: In member function `CryptoPP::PK_MessageAccumulator* CryptoPP::DL_SignerImpl::NewSignatureAccumulator(CryptoPP::RandomNumberGenerator&) const':
/usr/include/cryptopp/pubkey.h:1372: error: there are no arguments to `RestartMessageAccumulator' that depend on a template parameter, so a declaration of `RestartMessageAccumulator' must be available
/usr/include/cryptopp/pubkey.h: In member function `ELEMENT CryptoPP::DL_KeyAgreementAlgorithm_DH::AgreeWithStaticPrivateKey(const CryptoPP::DL_GroupParameters&, const ELEMENT&, bool, const CryptoPP::Integer&) const':
/usr/include/cryptopp/pubkey.h:1481: error: invalid use of undefined type `struct CryptoPP::ModularArithmetic'
/usr/include/cryptopp/integer.h:387: error: forward declaration of `struct CryptoPP::ModularArithmetic'
/usr/include/cryptopp/pubkey.h: In constructor `CryptoPP::PK_FinalTemplate::PK_FinalTemplate(const CryptoPP::Integer&)':
/usr/include/cryptopp/pubkey.h:1521: error: there are no arguments to `AccessKey' that depend on a template parameter, so a declaration of `AccessKey' must be available
/usr/include/cryptopp/pubkey.h: In constructor `CryptoPP::PK_FinalTemplate::PK_FinalTemplate(const typename BASE::KeyClass&)':
/usr/include/cryptopp/pubkey.h:1523: error: there are no arguments to `AccessKey' that depend on a template parameter, so a declaration of `AccessKey' must be available
/usr/include/cryptopp/pubkey.h: In constructor `CryptoPP::PK_FinalTemplate::PK_FinalTemplate(const CryptoPP::PublicKeyCopier&)':
/usr/include/cryptopp/pubkey.h:1527: error: there are no arguments to `AccessKey' that depend on a template parameter, so a declaration of `AccessKey' must be available
/usr/include/cryptopp/pubkey.h: In constructor `CryptoPP::PK_FinalTemplate::PK_FinalTemplate(const CryptoPP::PrivateKeyCopier&)':
/usr/include/cryptopp/pubkey.h:1531: error: there are no arguments to `AccessKey' that depend on a template parameter, so a declaration of `AccessKey' must be available
/usr/include/cryptopp/pubkey.h: In constructor `CryptoPP::PK_FinalTemplate::PK_FinalTemplate(CryptoPP::BufferedTransformation&)':
/usr/include/cryptopp/pubkey.h:1533: error: there are no arguments to `AccessKey' that depend on a template parameter, so a declaration of `AccessKey' must be available
/usr/include/cryptopp/pubkey.h: In constructor `CryptoPP::PK_FinalTemplate::PK_FinalTemplate(const T1&, const T2&)':
/usr/include/cryptopp/pubkey.h:1569: error: there are no arguments to `AccessKey' that depend on a template parameter, so a declaration of `AccessKey' must be available
/usr/include/cryptopp/pubkey.h: In constructor `CryptoPP::PK_FinalTemplate::PK_FinalTemplate(const T1&, const T2&, const T3&)':
/usr/include/cryptopp/pubkey.h:1573: error: there are no arguments to `AccessKey' that depend on a template parameter, so a declaration of `AccessKey' must be available
/usr/include/cryptopp/pubkey.h: In constructor `CryptoPP::PK_FinalTemplate::PK_FinalTemplate(const T1&, const T2&, const T3&, const T4&)':
/usr/include/cryptopp/pubkey.h:1577: error: there are no arguments to `AccessKey' that depend on a template parameter, so a declaration of `AccessKey' must be available
/usr/include/cryptopp/pubkey.h: In constructor `CryptoPP::PK_FinalTemplate::PK_FinalTemplate(const T1&, const T2&, const T3&, const T4&, const T5&)':
/usr/include/cryptopp/pubkey.h:1581: error: there are no arguments to `AccessKey' that depend on a template parameter, so a declaration of `AccessKey' must be available
/usr/include/cryptopp/pubkey.h: In constructor `CryptoPP::PK_FinalTemplate::PK_FinalTemplate(const T1&, const T2&, const T3&, const T4&, const T5&, const T6&)':
/usr/include/cryptopp/pubkey.h:1585: error: there are no arguments to `AccessKey' that depend on a template parameter, so a declaration of `AccessKey' must be available
/usr/include/cryptopp/pubkey.h: In constructor `CryptoPP::PK_FinalTemplate::PK_FinalTemplate(const T1&, const T2&, const T3&, const T4&, const T5&, const T6&, const T7&)':
/usr/include/cryptopp/pubkey.h:1589: error: there are no arguments to `AccessKey' that depend on a template parameter, so a declaration of `AccessKey' must be available
/usr/include/cryptopp/pubkey.h: In constructor `CryptoPP::PK_FinalTemplate::PK_FinalTemplate(const T1&, const T2&, const T3&, const T4&, const T5&, const T6&, const T7&, const T8&)':
/usr/include/cryptopp/pubkey.h:1593: error: there are no arguments to `AccessKey' that depend on a template parameter, so a declaration of `AccessKey' must be available
/usr/include/cryptopp/pubkey.h: In constructor `CryptoPP::PK_FinalTemplate::PK_FinalTemplate(T1&, const T2&)':
/usr/include/cryptopp/pubkey.h:1597: error: there are no arguments to `AccessKey' that depend on a template parameter, so a declaration of `AccessKey' must be available
/usr/include/cryptopp/pubkey.h: In constructor `CryptoPP::PK_FinalTemplate::PK_FinalTemplate(T1&, const T2&, const T3&)':
/usr/include/cryptopp/pubkey.h:1601: error: there are no arguments to `AccessKey' that depend on a template parameter, so a declaration of `AccessKey' must be available
/usr/include/cryptopp/pubkey.h: In constructor `CryptoPP::PK_FinalTemplate::PK_FinalTemplate(T1&, const T2&, const T3&, const T4&)':
/usr/include/cryptopp/pubkey.h:1605: error: there are no arguments to `AccessKey' that depend on a template parameter, so a declaration of `AccessKey' must be available
/usr/include/cryptopp/pubkey.h: In constructor `CryptoPP::PK_FinalTemplate::PK_FinalTemplate(T1&, const T2&, const T3&, const T4&, const T5&)':
/usr/include/cryptopp/pubkey.h:1609: error: there are no arguments to `AccessKey' that depend on a template parameter, so a declaration of `AccessKey' must be available
/usr/include/cryptopp/pubkey.h: In constructor `CryptoPP::PK_FinalTemplate::PK_FinalTemplate(T1&, const T2&, const T3&, const T4&, const T5&, const T6&)':
/usr/include/cryptopp/pubkey.h:1613: error: there are no arguments to `AccessKey' that depend on a template parameter, so a declaration of `AccessKey' must be available
/usr/include/cryptopp/pubkey.h: In constructor `CryptoPP::PK_FinalTemplate::PK_FinalTemplate(T1&, const T2&, const T3&, const T4&, const T5&, const T6&, const T7&)':
/usr/include/cryptopp/pubkey.h:1617: error: there are no arguments to `AccessKey' that depend on a template parameter, so a declaration of `AccessKey' must be available
/usr/include/cryptopp/pubkey.h: In constructor `CryptoPP::PK_FinalTemplate::PK_FinalTemplate(T1&, const T2&, const T3&, const T4&, const T5&, const T6&, const T7&, const T8&)':
/usr/include/cryptopp/pubkey.h:1621: error: there are no arguments to `AccessKey' that depend on a template parameter, so a declaration of `AccessKey' must be available
In file included from /usr/include/cryptopp/rsa.h:12,
                 from ClientCredits.h:32,
                 from BaseClient.cpp:47:
/usr/include/cryptopp/asn.h: In member function `void CryptoPP::ASNOptional::DEREncode(CryptoPP::BufferedTransformation&)':
/usr/include/cryptopp/asn.h:224: error: there are no arguments to `get' that depend on a template parameter, so a declaration of `get' must be available
/usr/include/cryptopp/asn.h:225: error: there are no arguments to `get' that depend on a template parameter, so a declaration of `get' must be available
BaseClient.cpp:976:5: warning: #warning Lacks Comment Filtering
BaseClient.cpp:1564:3: warning: #warning ADDME - Import needed
make[2]: *** [amule-BaseClient.o] Error 1
make[2]: Leaving directory `/usr/local/home/kriztofo/src/aMule-2.0.0rc3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/home/kriztofo/src/aMule-2.0.0rc3'
make: *** [all] Error 2
------------------------------------------------------------------------------
end dump
« Last Edit: May 13, 2004, 06:55:57 AM by kriztofo »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: aMule-2.0.0 RC3 compilation problems with GCC 3.4
« Reply #1 on: May 13, 2004, 10:12:49 AM »

hey

hmmm just a thought, and not really related
have you tryed to compile a kernel with gcc3.4...?
at the place where I worked last they could not manage to compile a kernel under 3.4 without setting heavy flags...
gcc 3.4 is imo not very compatible to a lot of C code at the moment, or you have to use a lot of C-Flags to get rid of all the new optimisation in hte compiler..
so stick to your well running 3.3.... gcc compiler  ;)

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: aMule-2.0.0 RC3 compilation problems with GCC 3.4
« Reply #2 on: May 13, 2004, 08:48:58 PM »

The problem is that Crypto++ isn't compiling on GCC3.4 (known Crypto++ bug). AFAIK it's a Crypto++ problem and it's been fixed by someone somewhere, I'll check the url where the fix is and post here.
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: aMule-2.0.0 RC3 compilation problems with GCC 3.4
« Reply #3 on: May 13, 2004, 08:50:54 PM »

wow, I found it faster than I thought :-D
Here it is: http://sourceforge.net/tracker/index.php?func=detail&aid=862296&group_id=6152&atid=356152

Greetings!
Logged

kriztofo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: aMule-2.0.0 RC3 compilation problems with GCC 3.4
« Reply #4 on: May 14, 2004, 08:33:08 AM »

Thanks a lot!

I sort of figured it was a problem with Crypto and not aMule, but initial searches (i.e. lazy) for Crypto++ on FM returned a really old release. I am guilty of being a noob and not searching more thoroughly.
Logged

eric666

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: aMule-2.0.0 RC3 compilation problems with GCC 3.4
« Reply #5 on: May 18, 2004, 02:39:43 PM »

Quote
Originally posted by Jacobo221
wow, I found it faster than I thought :-D
Here it is: http://sourceforge.net/tracker/index.php?func=detail&aid=862296&group_id=6152&atid=356152

I've tried this patch before with gcc-3.4 without succes :-(. 1 file doesn't compile (panama.cpp). Is there a patch for this?
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: aMule-2.0.0 RC3 compilation problems with GCC 3.4
« Reply #6 on: May 18, 2004, 08:59:25 PM »

No idea, sorry, I'm on GCC 3.3 still so I only know that patch should work (and seem sto work from what I've read on this forums answers after giving the url).
Maybe you are using CVS crypto sources? Just a guess. Sorry, can't help you more. Try downloading Crypto's sources from aMule's download page again and re-apply the patch.
Greetings.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: aMule-2.0.0 RC3 compilation problems with GCC 3.4
« Reply #7 on: May 18, 2004, 09:36:00 PM »

just a shout question,

what does it help if crypto compiles when amule still does not? has anyone tryed to compile amule 1.2.6 under gcc 3.4? I bet this would not even work...

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

eric666

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: aMule-2.0.0 RC3 compilation problems with GCC 3.4
« Reply #8 on: May 19, 2004, 01:07:56 AM »

Quote
Originally posted by Jacobo221
No idea, sorry, I'm on GCC 3.3 still so I only know that patch should work (and seem sto work from what I've read on this forums answers after giving the url).
Maybe you are using CVS crypto sources? Just a guess. Sorry, can't help you more. Try downloading Crypto's sources from aMule's download page again and re-apply the patch.
Greetings.

According to the maker of the patch it should work for all source files except panama.cpp.

Quote from http://sourceforge.net/tracker/index.php?func=detail&aid=862296&group_id=6152&atid=356152
This patch causes g++ 3.4 (mainline CVS) to compile
 Crypto++. It also compiles with g++ 3.3, g++ 3.2, and
 g++ 2.95.4. The exception is the file panama.cpp with
 g++ 3.4, which causes an Internal Compiler Error.
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: aMule-2.0.0 RC3 compilation problems with GCC 3.4
« Reply #9 on: May 19, 2004, 08:04:39 PM »

heh, nice to know I should read to the end ;-P
Search this forums to find some thread on this, though. As I said before, people have made it compile on GCC 3.4 (or at least that's what seems to me from what they answered ;-)). Just post on those threads to them or send them PM to ask them how they did it.
Greetings.
Logged

Avi

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 35
Re: aMule-2.0.0 RC3 compilation problems with GCC 3.4
« Reply #10 on: May 20, 2004, 08:47:42 AM »

I'm not sure if this will help ya, but it is worth trying anyway ;)
http://ftp.iasi.roedu.net/mirrors/gentoo.org/distfiles/crypto++-gcc-3.4.diff.bz2
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: aMule-2.0.0 RC3 compilation problems with GCC 3.4
« Reply #11 on: May 20, 2004, 10:31:21 PM »

It'd be nice if someone using GCC 3.4 reported if that works.
Logged

linuxuser

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 37
Re: aMule-2.0.0 RC3 compilation problems with GCC 3.4
« Reply #12 on: May 20, 2004, 11:24:31 PM »

:P i´ve compiled amule 1.2.6 with gcc 3.4 on mandrake 10 rc2 amd 64
but cant compile the libcrypto !
Logged

Avi

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 35
Re: aMule-2.0.0 RC3 compilation problems with GCC 3.4
« Reply #13 on: May 20, 2004, 11:28:19 PM »

Quote
Originally posted by linuxuser
:P i´ve compiled amule 1.2.6 with gcc 3.4 on mandrake 10 rc2 amd 64
but cant compile the libcrypto !
Did you try patching crypto with the patch i posted in the link above?  ?(
Logged

linuxuser

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 37
Re: aMule-2.0.0 RC3 compilation problems with GCC 3.4
« Reply #14 on: May 20, 2004, 11:32:55 PM »

Not yet will try tonight wen i get home !
Avi sorry for asking this but ! how do i aply the patch ? "name of te patch"  patch -pl "file to wich the patch should be aplyed  ?
thanks for the help  :baby:
« Last Edit: May 20, 2004, 11:33:25 PM by linuxuser »
Logged
Pages: [1] 2 3