Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53638 - xMule 1.8.2-r2 fails to compile with gcc3.4 on amd64
Summary: xMule 1.8.2-r2 fails to compile with gcc3.4 on amd64
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
: 54568 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-11 07:07 UTC by Jon Marston
Modified: 2004-07-10 14:45 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xmule-1.8.2-r2-gcc-3.4.patch (xmule-1.8.2-r2-gcc-3.4.patch,252.36 KB, patch)
2004-06-16 19:39 UTC, Tuan Van (RETIRED)
Details | Diff
xmule-1.8.2-r2.diff (xmule-1.8.2-r2.diff,1.52 KB, patch)
2004-06-16 19:40 UTC, Tuan Van (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Marston 2004-06-11 07:07:13 UTC
Compile fails with xMule and gcc3.4.
xMule emerges with no problems using gcc3.3.3


Reproducible: Always
Steps to Reproduce:
1.emerge xmule
2.
3.

Actual Results:  
Error section:
Compiling AddFriend.cpp...
In file included from ClientCredits.h:30,
                 from updownclient.h:29,
                 from Friend.h:25,
                 from AddFriend.h:25,
                 from AddFriend.cpp:31:
CryptoXMpp.h: In member function `bool CryptoXMpp::Unflushable<T>::Flush(bool,
int, bool)':
CryptoXMpp.h:2704: error: `NULL_CHANNEL' undeclared (first use this function)
CryptoXMpp.h:2704: error: (Each undeclared identifier is reported only once for
each function it appears in.)
CryptoXMpp.h: In member function `bool
CryptoXMpp::Unflushable<T>::ChannelFlush(const std::string&, bool, int, bool)':
CryptoXMpp.h:2713: error: there are no arguments to `AttachedTransformation'
that depend on a template parameter, so a declaration of
`AttachedTransformation' must be available
CryptoXMpp.h:2713: error: (if you use `-fpermissive', G++ will accept your code,
but allowing the use of an undeclared name is deprecated)
CryptoXMpp.h: In member function `void
CryptoXMpp::Multichannel<T>::Initialize(const CryptoXMpp::NameValuePairs&, int)':
CryptoXMpp.h:2767: error: `NULL_CHANNEL' undeclared (first use this function)
CryptoXMpp.h: In member function `bool CryptoXMpp::Multichannel<T>::Flush(bool,
int, bool)':
CryptoXMpp.h:2769: error: `NULL_CHANNEL' undeclared (first use this function)
CryptoXMpp.h: In member function `bool
CryptoXMpp::Multichannel<T>::MessageSeriesEnd(int, bool)':
CryptoXMpp.h:2771: error: `NULL_CHANNEL' undeclared (first use this function)
CryptoXMpp.h:2771: error: there are no arguments to `ChannelMessageSeriesEnd'
that depend on a template parameter, so a declaration of
`ChannelMessageSeriesEnd' must be available
CryptoXMpp.h: In member function `byte*
CryptoXMpp::Multichannel<T>::CreatePutSpace(unsigned int&)':
CryptoXMpp.h:2773: error: `NULL_CHANNEL' undeclared (first use this function)
CryptoXMpp.h: In member function `unsigned int
CryptoXMpp::Multichannel<T>::Put2(const byte*, unsigned int, int, bool)':
CryptoXMpp.h:2775: error: `NULL_CHANNEL' undeclared (first use this function)
CryptoXMpp.h: In member function `unsigned int
CryptoXMpp::Multichannel<T>::PutModifiable2(byte*, unsigned int, int, bool)':
CryptoXMpp.h:2777: error: `NULL_CHANNEL' undeclared (first use this function)
CryptoXMpp.h: In member function `bool
CryptoXMpp::Multichannel<T>::ChannelPutModifiable(const std::string&, byte*,
unsigned int)':
CryptoXMpp.h:2784: error: there are no arguments to `ChannelPut' that depend on
a template parameter, so a declaration of `ChannelPut' must be available
CryptoXMpp.h: In member function `void
CryptoXMpp::IteratedHashWithStaticTransform<T, B, S, M>::vTransform(const T*)':
CryptoXMpp.h:3615: error: `m_digest' undeclared (first use this function)
CryptoXMpp.h: In member function `void CryptoXMpp::IteratedHashBase2<T, B,
BASE>::xmTF(byte*, unsigned int)':
CryptoXMpp.h:3623: error: there are no arguments to
`ThrowIfInvalidTruncatedSize' that depend on a template parameter, so a
declaration of `ThrowIfInvalidTruncatedSize' must be available
CryptoXMpp.h:3625: error: there are no arguments to `BlockSize' that depend on a
template parameter, so a declaration of `BlockSize' must be available
CryptoXMpp.h:3626: error: `m_data' undeclared (first use this function)
CryptoXMpp.h:3626: error: there are no arguments to `BlockSize' that depend on a
template parameter, so a declaration of `BlockSize' must be available
CryptoXMpp.h:3627: error: there are no arguments to `GetBitCountHi' that depend
on a template parameter, so a declaration of `GetBitCountHi' must be available
CryptoXMpp.h:3627: error: there are no arguments to `GetBitCountLo' that depend
on a template parameter, so a declaration of `GetBitCountLo' must be available
CryptoXMpp.h:3628: error: there are no arguments to `GetBitCountLo' that depend
on a template parameter, so a declaration of `GetBitCountLo' must be available
CryptoXMpp.h:3628: error: there are no arguments to `GetBitCountHi' that depend
on a template parameter, so a declaration of `GetBitCountHi' must be available
CryptoXMpp.h:3631: error: `m_digest' undeclared (first use this function)
CryptoXMpp.h:3631: error: there are no arguments to `DigestSize' that depend on
a template parameter, so a declaration of `DigestSize' must be available
CryptoXMpp.h:3633: error: there are no arguments to `Restart' that depend on a
template parameter, so a declaration of `Restart' must be available
CryptoXMpp.h: In member function `void CryptoXMpp::IteratedHashBase2<T, B,
BASE>::HashBlock(const typename CryptoXMpp::IteratedHashBase<T,
BASE>::HashWordType*)':
CryptoXMpp.h:3645: error: there are no arguments to `BlockSize' that depend on a
template parameter, so a declaration of `BlockSize' must be available
CryptoXMpp.h:3647: error: `m_data' undeclared (first use this function)
CryptoXMpp.h: In member function `bool
CryptoXMpp::value_ptr<T>::operator==(const CryptoXMpp::value_ptr<T>&)':
CryptoXMpp.h:3728: error: `m_p' undeclared (first use this function)
CryptoXMpp.h: In member function `CryptoXMpp::value_ptr<T>&
CryptoXMpp::value_ptr<T>::operator=(const CryptoXMpp::value_ptr<T>&)':
CryptoXMpp.h:3734: error: `m_p' undeclared (first use this function)
CryptoXMpp.h: In member function `CryptoXMpp::clonable_ptr<T>&
CryptoXMpp::clonable_ptr<T>::operator=(const CryptoXMpp::clonable_ptr<T>&)':
CryptoXMpp.h:3755: error: `m_p' undeclared (first use this function)
CryptoXMpp.h: In member function `void
CryptoXMpp::ASNOptional<T>::DEREncode(CryptoXMpp::BufferedTransformation&)':
CryptoXMpp.h:5151: error: there are no arguments to `get' that depend on a
template parameter, so a declaration of `get' must be available
CryptoXMpp.h:5152: error: there are no arguments to `get' that depend on a
template parameter, so a declaration of `get' must be available
CryptoXMpp.h: In member function `unsigned int
CryptoXMpp::TF_CryptoSystemBase<INTERFACE, BASE>::FixedMaxPlaintextLength() const':
CryptoXMpp.h:6282: error: there are no arguments to
`GetMessageEncodingInterface' that depend on a template parameter, so a
declaration of `GetMessageEncodingInterface' must be available
CryptoXMpp.h: In member function `unsigned int
CryptoXMpp::TF_CryptoSystemBase<INTERFACE, BASE>::FixedCiphertextLength() const':
CryptoXMpp.h:6283: error: there are no arguments to `GetTrapdoorFunctionBounds'
that depend on a template parameter, so a declaration of
`GetTrapdoorFunctionBounds' must be available
CryptoXMpp.h: In member function `unsigned int
CryptoXMpp::TF_CryptoSystemBase<INTERFACE, BASE>::PaddedBlockBitLength() const':
CryptoXMpp.h:6287: error: there are no arguments to `GetTrapdoorFunctionBounds'
that depend on a template parameter, so a declaration of
`GetTrapdoorFunctionBounds' must be available
CryptoXMpp.h: In member function `CryptoXMpp::HashTransformation&
CryptoXMpp::PK_MessageAccumulatorImpl<HASH_ALGORITHM>::AccessHash()':
CryptoXMpp.h:6402: error: `m_object' undeclared (first use this function)
CryptoXMpp.h: In member function `unsigned int
CryptoXMpp::TF_SignatureSchemeBase<INTERFACE, BASE>::SignatureLength() const':
CryptoXMpp.h:6411: error: there are no arguments to `GetTrapdoorFunctionBounds'
that depend on a template parameter, so a declaration of
`GetTrapdoorFunctionBounds' must be available
CryptoXMpp.h: In member function `unsigned int
CryptoXMpp::TF_SignatureSchemeBase<INTERFACE, BASE>::MaxRecoverableLength() const':
CryptoXMpp.h:6413: error: there are no arguments to
`GetMessageEncodingInterface' that depend on a template parameter, so a
declaration of `GetMessageEncodingInterface' must be available
CryptoXMpp.h: In member function `bool
CryptoXMpp::TF_SignatureSchemeBase<INTERFACE, BASE>::IsProbabilistic() const':
CryptoXMpp.h:6418: error: there are no arguments to
`GetTrapdoorFunctionInterface' that depend on a template parameter, so a
declaration of `GetTrapdoorFunctionInterface' must be available
CryptoXMpp.h:6418: error: there are no arguments to
`GetMessageEncodingInterface' that depend on a template parameter, so a
declaration of `GetMessageEncodingInterface' must be available
CryptoXMpp.h: In member function `bool
CryptoXMpp::TF_SignatureSchemeBase<INTERFACE, BASE>::AllowNonrecoverablePart()
const':
CryptoXMpp.h:6420: error: there are no arguments to
`GetMessageEncodingInterface' that depend on a template parameter, so a
declaration of `GetMessageEncodingInterface' must be available
CryptoXMpp.h: In member function `bool
CryptoXMpp::TF_SignatureSchemeBase<INTERFACE, BASE>::RecoverablePartFirst() const':
CryptoXMpp.h:6422: error: there are no arguments to
`GetMessageEncodingInterface' that depend on a template parameter, so a
declaration of `GetMessageEncodingInterface' must be available
CryptoXMpp.h: In member function `unsigned int
CryptoXMpp::TF_SignatureSchemeBase<INTERFACE,
BASE>::MessageRepresentativeBitLength() const':
CryptoXMpp.h:6426: error: there are no arguments to `GetTrapdoorFunctionBounds'
that depend on a template parameter, so a declaration of
`GetTrapdoorFunctionBounds' must be available
CryptoXMpp.h: In member function `CryptoXMpp::HashIdentifier
CryptoXMpp::TF_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY>::GetHashIdentifier()
const':
CryptoXMpp.h:6514: error: non-template `HashIdentifierLookup2' used as template
CryptoXMpp.h:6514: error: (use `typename
SCHEME_OPTIONS::MessageEncodingMethod::HashIdentifierLookup::template
HashIdentifierLookup2' to indicate that it is a template)
CryptoXMpp.h:6514: error: declaration does not declare anything
CryptoXMpp.h:6515: error: `L' has not been declared
CryptoXMpp.h:6515: error: there are no arguments to `Lookup' that depend on a
template parameter, so a declaration of `Lookup' must be available
CryptoXMpp.h: In member function `void CryptoXMpp::TF_PublicObjectImpl<BASE,
SCHEME_OPTIONS>::CopyKeyInto(typename SCHEME_OPTIONS::PublicKey&) const':
CryptoXMpp.h:6559: error: there are no arguments to `GetKey' that depend on a
template parameter, so a declaration of `GetKey' must be available
CryptoXMpp.h: In member function `void CryptoXMpp::TF_PrivateObjectImpl<BASE,
SCHEME_OPTIONS>::CopyKeyInto(typename SCHEME_OPTIONS::PrivateKey&) const':
CryptoXMpp.h:6567: error: there are no arguments to `GetKey' that depend on a
template parameter, so a declaration of `GetKey' must be available
CryptoXMpp.h: In member function `void CryptoXMpp::TF_PrivateObjectImpl<BASE,
SCHEME_OPTIONS>::CopyKeyInto(typename SCHEME_OPTIONS::PublicKey&) const':
CryptoXMpp.h:6568: error: there are no arguments to `GetKey' that depend on a
template parameter, so a declaration of `GetKey' must be available
CryptoXMpp.h: In member function `bool
CryptoXMpp::DL_PublicKey<T>::GetVoidValue(const char*, const std::type_info&,
void*) const':
CryptoXMpp.h:6787: error: there are no arguments to `GetAbstractGroupParameters'
that depend on a template parameter, so a declaration of
`GetAbstractGroupParameters' must be available
CryptoXMpp.h: In member function `virtual const T&
CryptoXMpp::DL_PublicKey<T>::GetPublicElement() const':
CryptoXMpp.h:6794: error: there are no arguments to `GetAbstractGroupParameters'
that depend on a template parameter, so a declaration of
`GetAbstractGroupParameters' must be available
CryptoXMpp.h: In member function `virtual void
CryptoXMpp::DL_PublicKey<T>::SetPublicElement(const T&)':
CryptoXMpp.h:6795: error: there are no arguments to `GetAbstractGroupParameters'
that depend on a template parameter, so a declaration of
`GetAbstractGroupParameters' must be available
CryptoXMpp.h: In member function `virtual T
CryptoXMpp::DL_PublicKey<T>::ExponentiatePublicElement(const
CryptoXMpp::Integer&) const':
CryptoXMpp.h:6798: error: there are no arguments to `GetAbstractGroupParameters'
that depend on a template parameter, so a declaration of
`GetAbstractGroupParameters' must be available
CryptoXMpp.h: In member function `virtual T
CryptoXMpp::DL_PublicKey<T>::CascadeExponentiateBaseAndPublicElement(const
CryptoXMpp::Integer&, const CryptoXMpp::Integer&) const':
CryptoXMpp.h:6803: error: there are no arguments to `GetAbstractGroupParameters'
that depend on a template parameter, so a declaration of
`GetAbstractGroupParameters' must be available
CryptoXMpp.h: In member function `void
CryptoXMpp::DL_PrivateKey<T>::MakePublicKey(CryptoXMpp::DL_PublicKey<T>&) const':
CryptoXMpp.h:6822: error: there are no arguments to `GetAbstractGroupParameters'
that depend on a template parameter, so a declaration of
`GetAbstractGroupParameters' must be available
CryptoXMpp.h:6823: error: there are no arguments to `GetAbstractGroupParameters'
that depend on a template parameter, so a declaration of
`GetAbstractGroupParameters' must be available
CryptoXMpp.h: In member function `bool
CryptoXMpp::DL_PrivateKey<T>::GetVoidValue(const char*, const std::type_info&,
void*) const':
CryptoXMpp.h:6828: error: there are no arguments to `GetAbstractGroupParameters'
that depend on a template parameter, so a declaration of
`GetAbstractGroupParameters' must be available
CryptoXMpp.h: In member function `void
CryptoXMpp::DL_PrivateKey<T>::AssignFrom(const CryptoXMpp::NameValuePairs&)':
CryptoXMpp.h:6834: error: there are no arguments to
`AccessAbstractGroupParameters' that depend on a template parameter, so a
declaration of `AccessAbstractGroupParameters' must be available
CryptoXMpp.h: In member function `void
CryptoXMpp::DL_PublicKey<T>::AssignFrom(const CryptoXMpp::NameValuePairs&)':
CryptoXMpp.h:6851: error: there are no arguments to
`AccessAbstractGroupParameters' that depend on a template parameter, so a
declaration of `AccessAbstractGroupParameters' must be available
CryptoXMpp.h: In member function `void
CryptoXMpp::DL_PrivateKeyImpl<GP>::GenerateRandom(CryptoXMpp::RandomNumberGenerator&,
const CryptoXMpp::NameValuePairs&)':
CryptoXMpp.h:6919: error: there are no arguments to `AccessGroupParameters' that
depend on a template parameter, so a declaration of `AccessGroupParameters' must
be available
CryptoXMpp.h:6920: error: there are no arguments to `AccessGroupParameters' that
depend on a template parameter, so a declaration of `AccessGroupParameters' must
be available
CryptoXMpp.h: In member function `const CryptoXMpp::DL_GroupParameters<typename
GROUP_PRECOMP::Element>&
CryptoXMpp::DL_PrivateKeyImpl<GP>::GetAbstractGroupParameters() const':
CryptoXMpp.h:6940: error: there are no arguments to `GetGroupParameters' that
depend on a template parameter, so a declaration of `GetGroupParameters' must be
available
CryptoXMpp.h: In member function `CryptoXMpp::DL_GroupParameters<typename
GROUP_PRECOMP::Element>&
CryptoXMpp::DL_PrivateKeyImpl<GP>::AccessAbstractGroupParameters()':
CryptoXMpp.h:6941: error: there are no arguments to `AccessGroupParameters' that
depend on a template parameter, so a declaration of `AccessGroupParameters' must
be available
CryptoXMpp.h: In member function `bool
CryptoXMpp::DL_PublicKeyImpl<GP>::Validate(CryptoXMpp::RandomNumberGenerator&,
unsigned int) const':
CryptoXMpp.h:6986: error: there are no arguments to `GetPublicElement' that
depend on a template parameter, so a declaration of `GetPublicElement' must be
available
CryptoXMpp.h: In member function `const CryptoXMpp::DL_GroupParameters<typename
GROUP_PRECOMP::Element>&
CryptoXMpp::DL_PublicKeyImpl<GP>::GetAbstractGroupParameters() const':
CryptoXMpp.h:7021: error: there are no arguments to `GetGroupParameters' that
depend on a template parameter, so a declaration of `GetGroupParameters' must be
available
CryptoXMpp.h: In member function `CryptoXMpp::DL_GroupParameters<typename
GROUP_PRECOMP::Element>&
CryptoXMpp::DL_PublicKeyImpl<GP>::AccessAbstractGroupParameters()':
CryptoXMpp.h:7022: error: there are no arguments to `AccessGroupParameters' that
depend on a template parameter, so a declaration of `AccessGroupParameters' must
be available
CryptoXMpp.h: In member function `bool
CryptoXMpp::DL_PublicKeyImpl<GP>::operator==(const
CryptoXMpp::DL_PublicKeyImpl<GP>&) const':
CryptoXMpp.h:7030: error: there are no arguments to `GetGroupParameters' that
depend on a template parameter, so a declaration of `GetGroupParameters' must be
available
CryptoXMpp.h:7030: error: there are no arguments to `GetPublicElement' that
depend on a template parameter, so a declaration of `GetPublicElement' must be
available
CryptoXMpp.h: In member function `unsigned int
CryptoXMpp::DL_SignatureSchemeBase<INTERFACE, KEY_INTERFACE>::SignatureLength()
const':
CryptoXMpp.h:7104: error: there are no arguments to `GetAbstractGroupParameters'
that depend on a template parameter, so a declaration of
`GetAbstractGroupParameters' must be available
CryptoXMpp.h:7105: error: there are no arguments to `GetAbstractGroupParameters'
that depend on a template parameter, so a declaration of
`GetAbstractGroupParameters' must be available
CryptoXMpp.h: In member function `unsigned int
CryptoXMpp::DL_SignatureSchemeBase<INTERFACE,
KEY_INTERFACE>::MessageRepresentativeBitLength() const':
CryptoXMpp.h:7121: error: there are no arguments to `GetAbstractGroupParameters'
that depend on a template parameter, so a declaration of
`GetAbstractGroupParameters' must be available
CryptoXMpp.h: In member function `void
CryptoXMpp::DL_SignerBase<T>::RawSign(const CryptoXMpp::Integer&, const
CryptoXMpp::Integer&, CryptoXMpp::Integer&, CryptoXMpp::Integer&) const':
CryptoXMpp.h:7137: error: there are no arguments to `GetSignatureAlgorithm' that
depend on a template parameter, so a declaration of `GetSignatureAlgorithm' must
be available
CryptoXMpp.h:7138: error: there are no arguments to `GetAbstractGroupParameters'
that depend on a template parameter, so a declaration of
`GetAbstractGroupParameters' must be available
CryptoXMpp.h:7139: error: there are no arguments to `GetKeyInterface' that
depend on a template parameter, so a declaration of `GetKeyInterface' must be
available
CryptoXMpp.h: In member function `unsigned int
CryptoXMpp::DL_SignerBase<T>::SignAndRestart(CryptoXMpp::RandomNumberGenerator&,
CryptoXMpp::PK_MessageAccumulator&, byte*, bool) const':
CryptoXMpp.h:7147: error: there are no arguments to `GetMaterial' that depend on
a template parameter, so a declaration of `GetMaterial' must be available
CryptoXMpp.h:7150: error: there are no arguments to `GetSignatureAlgorithm' that
depend on a template parameter, so a declaration of `GetSignatureAlgorithm' must
be available
CryptoXMpp.h:7151: error: there are no arguments to `GetAbstractGroupParameters'
that depend on a template parameter, so a declaration of
`GetAbstractGroupParameters' must be available
CryptoXMpp.h:7152: error: there are no arguments to `GetKeyInterface' that
depend on a template parameter, so a declaration of `GetKeyInterface' must be
available
CryptoXMpp.h:7154: error: there are no arguments to
`MessageRepresentativeLength' that depend on a template parameter, so a
declaration of `MessageRepresentativeLength' must be available
CryptoXMpp.h:7155: error: there are no arguments to
`GetMessageEncodingInterface' that depend on a template parameter, so a
declaration of `GetMessageEncodingInterface' must be available
CryptoXMpp.h:7158: error: there are no arguments to `GetHashIdentifier' that
depend on a template parameter, so a declaration of `GetHashIdentifier' must be
available
CryptoXMpp.h:7159: error: there are no arguments to
`MessageRepresentativeBitLength' that depend on a template parameter, so a
declaration of `MessageRepresentativeBitLength' must be available
CryptoXMpp.h:7164: error: there are no arguments to `MaxRecoverableLength' that
depend on a template parameter, so a declaration of `MaxRecoverableLength' must
be available
CryptoXMpp.h:7178: error: there are no arguments to `SignatureLength' that
depend on a template parameter, so a declaration of `SignatureLength' must be
available
CryptoXMpp.h: In member function `void
CryptoXMpp::DL_SignerBase<T>::RestartMessageAccumulator(CryptoXMpp::RandomNumberGenerator&,
CryptoXMpp::PK_MessageAccumulatorBase&) const':
CryptoXMpp.h:7184: error: there are no arguments to `GetSignatureAlgorithm' that
depend on a template parameter, so a declaration of `GetSignatureAlgorithm' must
be available
CryptoXMpp.h:7185: error: there are no arguments to `GetAbstractGroupParameters'
that depend on a template parameter, so a declaration of
`GetAbstractGroupParameters' must be available
CryptoXMpp.h: In member function `void
CryptoXMpp::DL_VerifierBase<T>::InputSignature(CryptoXMpp::PK_MessageAccumulator&,
const byte*, unsigned int) const':
CryptoXMpp.h:7200: error: there are no arguments to `GetSignatureAlgorithm' that
depend on a template parameter, so a declaration of `GetSignatureAlgorithm' must
be available
CryptoXMpp.h:7201: error: there are no arguments to `GetAbstractGroupParameters'
that depend on a template parameter, so a declaration of
`GetAbstractGroupParameters' must be available
CryptoXMpp.h:7207: error: there are no arguments to
`GetMessageEncodingInterface' that depend on a template parameter, so a
declaration of `GetMessageEncodingInterface' must be available
CryptoXMpp.h: In member function `bool
CryptoXMpp::DL_VerifierBase<T>::VerifyAndRestart(CryptoXMpp::PK_MessageAccumulator&)
const':
CryptoXMpp.h:7212: error: there are no arguments to `GetMaterial' that depend on
a template parameter, so a declaration of `GetMaterial' must be available
CryptoXMpp.h:7215: error: there are no arguments to `GetSignatureAlgorithm' that
depend on a template parameter, so a declaration of `GetSignatureAlgorithm' must
be available
CryptoXMpp.h:7216: error: there are no arguments to `GetAbstractGroupParameters'
that depend on a template parameter, so a declaration of
`GetAbstractGroupParameters' must be available
CryptoXMpp.h:7217: error: there are no arguments to `GetKeyInterface' that
depend on a template parameter, so a declaration of `GetKeyInterface' must be
available
CryptoXMpp.h:7219: error: there are no arguments to
`MessageRepresentativeLength' that depend on a template parameter, so a
declaration of `MessageRepresentativeLength' must be available
CryptoXMpp.h:7220: error: there are no arguments to
`GetMessageEncodingInterface' that depend on a template parameter, so a
declaration of `GetMessageEncodingInterface' must be available
CryptoXMpp.h:7221: error: there are no arguments to `GetHashIdentifier' that
depend on a template parameter, so a declaration of `GetHashIdentifier' must be
available
CryptoXMpp.h:7222: error: there are no arguments to
`MessageRepresentativeBitLength' that depend on a template parameter, so a
declaration of `MessageRepresentativeBitLength' must be available
CryptoXMpp.h: In member function `CryptoXMpp::DecodingResult
CryptoXMpp::DL_VerifierBase<T>::RecoverAndRestart(byte*,
CryptoXMpp::PK_MessageAccumulator&) const':
CryptoXMpp.h:7232: error: there are no arguments to `GetMaterial' that depend on
a template parameter, so a declaration of `GetMaterial' must be available
CryptoXMpp.h:7235: error: there are no arguments to `GetSignatureAlgorithm' that
depend on a template parameter, so a declaration of `GetSignatureAlgorithm' must
be available
CryptoXMpp.h:7236: error: there are no arguments to `GetAbstractGroupParameters'
that depend on a template parameter, so a declaration of
`GetAbstractGroupParameters' must be available
CryptoXMpp.h:7237: error: there are no arguments to `GetKeyInterface' that
depend on a template parameter, so a declaration of `GetKeyInterface' must be
available
CryptoXMpp.h:7239: error: there are no arguments to
`MessageRepresentativeLength' that depend on a template parameter, so a
declaration of `MessageRepresentativeLength' must be available
CryptoXMpp.h:7240: error: there are no arguments to
`GetMessageEncodingInterface' that depend on a template parameter, so a
declaration of `GetMessageEncodingInterface' must be available
CryptoXMpp.h:7243: error: there are no arguments to `GetHashIdentifier' that
depend on a template parameter, so a declaration of `GetHashIdentifier' must be
available
CryptoXMpp.h:7244: error: there are no arguments to
`MessageRepresentativeBitLength' that depend on a template parameter, so a
declaration of `MessageRepresentativeBitLength' must be available
CryptoXMpp.h:7252: error: there are no arguments to
`GetMessageEncodingInterface' that depend on a template parameter, so a
declaration of `GetMessageEncodingInterface' must be available
CryptoXMpp.h:7253: error: there are no arguments to `GetHashIdentifier' that
depend on a template parameter, so a declaration of `GetHashIdentifier' must be
available
CryptoXMpp.h: In member function `unsigned int
CryptoXMpp::DL_CryptoSystemBase<PK, KI>::MaxPlaintextLength(unsigned int) const':
CryptoXMpp.h:7269: error: there are no arguments to `GetAbstractGroupParameters'
that depend on a template parameter, so a declaration of
`GetAbstractGroupParameters' must be available
CryptoXMpp.h: In member function `unsigned int
CryptoXMpp::DL_CryptoSystemBase<PK, KI>::CiphertextLength(unsigned int) const':
CryptoXMpp.h:7276: error: there are no arguments to `GetAbstractGroupParameters'
that depend on a template parameter, so a declaration of
`GetAbstractGroupParameters' must be available
CryptoXMpp.h: In member function `CryptoXMpp::DecodingResult
CryptoXMpp::DL_DecryptorBase<T, PK>::Decrypt(CryptoXMpp::RandomNumberGenerator&,
const byte*, unsigned int, byte*) const':
CryptoXMpp.h:7296: error: there are no arguments to `GetKeyAgreementAlgorithm'
that depend on a template parameter, so a declaration of
`GetKeyAgreementAlgorithm' must be available
CryptoXMpp.h:7297: error: there are no arguments to `GetKeyDerivationAlgorithm'
that depend on a template parameter, so a declaration of
`GetKeyDerivationAlgorithm' must be available
CryptoXMpp.h:7298: error: there are no arguments to
`GetSymmetricEncryptionAlgorithm' that depend on a template parameter, so a
declaration of `GetSymmetricEncryptionAlgorithm' must be available
CryptoXMpp.h:7299: error: there are no arguments to `GetAbstractGroupParameters'
that depend on a template parameter, so a declaration of
`GetAbstractGroupParameters' must be available
CryptoXMpp.h:7300: error: there are no arguments to `GetKeyInterface' that
depend on a template parameter, so a declaration of `GetKeyInterface' must be
available
CryptoXMpp.h: In member function `void CryptoXMpp::DL_EncryptorBase<T,
PK>::Encrypt(CryptoXMpp::RandomNumberGenerator&, const byte*, unsigned int,
byte*) const':
CryptoXMpp.h:7330: error: there are no arguments to `GetKeyAgreementAlgorithm'
that depend on a template parameter, so a declaration of
`GetKeyAgreementAlgorithm' must be available
CryptoXMpp.h:7331: error: there are no arguments to `GetKeyDerivationAlgorithm'
that depend on a template parameter, so a declaration of
`GetKeyDerivationAlgorithm' must be available
CryptoXMpp.h:7332: error: there are no arguments to
`GetSymmetricEncryptionAlgorithm' that depend on a template parameter, so a
declaration of `GetSymmetricEncryptionAlgorithm' must be available
CryptoXMpp.h:7333: error: there are no arguments to `GetAbstractGroupParameters'
that depend on a template parameter, so a declaration of
`GetAbstractGroupParameters' must be available
CryptoXMpp.h:7334: error: there are no arguments to `GetKeyInterface' that
depend on a template parameter, so a declaration of `GetKeyInterface' must be
available
CryptoXMpp.h: In member function `CryptoXMpp::HashIdentifier
CryptoXMpp::DL_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY>::GetHashIdentifier()
const':
CryptoXMpp.h:7410: error: non-template `HashIdentifierLookup2' used as template
CryptoXMpp.h:7410: error: (use `typename
SCHEME_OPTIONS::MessageEncodingMethod::HashIdentifierLookup::template
HashIdentifierLookup2' to indicate that it is a template)
CryptoXMpp.h:7410: error: declaration does not declare anything
CryptoXMpp.h:7411: error: `L' has not been declared
CryptoXMpp.h:7411: error: there are no arguments to `Lookup' that depend on a
template parameter, so a declaration of `Lookup' must be available
CryptoXMpp.h: In member function `void CryptoXMpp::DL_PublicObjectImpl<BASE,
SCHEME_OPTIONS>::CopyKeyInto(typename SCHEME_OPTIONS::PublicKey&) const':
CryptoXMpp.h:7451: error: there are no arguments to `GetKey' that depend on a
template parameter, so a declaration of `GetKey' must be available
CryptoXMpp.h: In member function `void CryptoXMpp::DL_PrivateObjectImpl<BASE,
SCHEME_OPTIONS>::CopyKeyInto(typename SCHEME_OPTIONS::PublicKey&) const':
CryptoXMpp.h:7460: error: there are no arguments to `GetKey' that depend on a
template parameter, so a declaration of `GetKey' must be available
CryptoXMpp.h: In member function `void CryptoXMpp::DL_PrivateObjectImpl<BASE,
SCHEME_OPTIONS>::CopyKeyInto(typename SCHEME_OPTIONS::PrivateKey&) const':
CryptoXMpp.h:7462: error: there are no arguments to `GetKey' that depend on a
template parameter, so a declaration of `GetKey' must be available
CryptoXMpp.h: In member function `CryptoXMpp::PK_MessageAccumulator*
CryptoXMpp::DL_SignerImpl<SCHEME_OPTIONS>::NewSignatureAccumulator(CryptoXMpp::RandomNumberGenerator&)
const':
CryptoXMpp.h:7472: error: there are no arguments to `RestartMessageAccumulator'
that depend on a template parameter, so a declaration of
`RestartMessageAccumulator' must be available
CryptoXMpp.h: In constructor
`CryptoXMpp::PK_FinalTemplate<BASE>::PK_FinalTemplate(const CryptoXMpp::Integer&)':
CryptoXMpp.h:7621: error: there are no arguments to `AccessKey' that depend on a
template parameter, so a declaration of `AccessKey' must be available
CryptoXMpp.h: In constructor
`CryptoXMpp::PK_FinalTemplate<BASE>::PK_FinalTemplate(const typename
BASE::KeyClass&)':
CryptoXMpp.h:7623: error: there are no arguments to `AccessKey' that depend on a
template parameter, so a declaration of `AccessKey' must be available
CryptoXMpp.h: In constructor
`CryptoXMpp::PK_FinalTemplate<BASE>::PK_FinalTemplate(const
CryptoXMpp::PublicKeyCopier<T>&)':
CryptoXMpp.h:7627: error: there are no arguments to `AccessKey' that depend on a
template parameter, so a declaration of `AccessKey' must be available
CryptoXMpp.h: In constructor
`CryptoXMpp::PK_FinalTemplate<BASE>::PK_FinalTemplate(const
CryptoXMpp::PrivateKeyCopier<T>&)':
CryptoXMpp.h:7631: error: there are no arguments to `AccessKey' that depend on a
template parameter, so a declaration of `AccessKey' must be available
CryptoXMpp.h: In constructor
`CryptoXMpp::PK_FinalTemplate<BASE>::PK_FinalTemplate(CryptoXMpp::BufferedTransformation&)':
CryptoXMpp.h:7633: error: there are no arguments to `AccessKey' that depend on a
template parameter, so a declaration of `AccessKey' must be available
CryptoXMpp.h: In constructor
`CryptoXMpp::PK_FinalTemplate<BASE>::PK_FinalTemplate(const T1&, const T2&)':
CryptoXMpp.h:7637: error: there are no arguments to `AccessKey' that depend on a
template parameter, so a declaration of `AccessKey' must be available
CryptoXMpp.h: In constructor
`CryptoXMpp::PK_FinalTemplate<BASE>::PK_FinalTemplate(const T1&, const T2&,
const T3&)':
CryptoXMpp.h:7641: error: there are no arguments to `AccessKey' that depend on a
template parameter, so a declaration of `AccessKey' must be available
CryptoXMpp.h: In constructor
`CryptoXMpp::PK_FinalTemplate<BASE>::PK_FinalTemplate(const T1&, const T2&,
const T3&, const T4&)':
CryptoXMpp.h:7645: error: there are no arguments to `AccessKey' that depend on a
template parameter, so a declaration of `AccessKey' must be available
CryptoXMpp.h: In constructor
`CryptoXMpp::PK_FinalTemplate<BASE>::PK_FinalTemplate(const T1&, const T2&,
const T3&, const T4&, const T5&)':
CryptoXMpp.h:7649: error: there are no arguments to `AccessKey' that depend on a
template parameter, so a declaration of `AccessKey' must be available
CryptoXMpp.h: In constructor
`CryptoXMpp::PK_FinalTemplate<BASE>::PK_FinalTemplate(const T1&, const T2&,
const T3&, const T4&, const T5&, const T6&)':
CryptoXMpp.h:7653: error: there are no arguments to `AccessKey' that depend on a
template parameter, so a declaration of `AccessKey' must be available
CryptoXMpp.h: In constructor
`CryptoXMpp::PK_FinalTemplate<BASE>::PK_FinalTemplate(const T1&, const T2&,
const T3&, const T4&, const T5&, const T6&, const T7&)':
CryptoXMpp.h:7657: error: there are no arguments to `AccessKey' that depend on a
template parameter, so a declaration of `AccessKey' must be available
CryptoXMpp.h: In constructor
`CryptoXMpp::PK_FinalTemplate<BASE>::PK_FinalTemplate(const T1&, const T2&,
const T3&, const T4&, const T5&, const T6&, const T7&, const T8&)':
CryptoXMpp.h:7661: error: there are no arguments to `AccessKey' that depend on a
template parameter, so a declaration of `AccessKey' must be available
CryptoXMpp.h: In constructor
`CryptoXMpp::PK_FinalTemplate<BASE>::PK_FinalTemplate(T1&, const T2&)':
CryptoXMpp.h:7665: error: there are no arguments to `AccessKey' that depend on a
template parameter, so a declaration of `AccessKey' must be available
CryptoXMpp.h: In constructor
`CryptoXMpp::PK_FinalTemplate<BASE>::PK_FinalTemplate(T1&, const T2&, const T3&)':
CryptoXMpp.h:7669: error: there are no arguments to `AccessKey' that depend on a
template parameter, so a declaration of `AccessKey' must be available
CryptoXMpp.h: In constructor
`CryptoXMpp::PK_FinalTemplate<BASE>::PK_FinalTemplate(T1&, const T2&, const T3&,
const T4&)':
CryptoXMpp.h:7673: error: there are no arguments to `AccessKey' that depend on a
template parameter, so a declaration of `AccessKey' must be available
CryptoXMpp.h: In constructor
`CryptoXMpp::PK_FinalTemplate<BASE>::PK_FinalTemplate(T1&, const T2&, const T3&,
const T4&, const T5&)':
CryptoXMpp.h:7677: error: there are no arguments to `AccessKey' that depend on a
template parameter, so a declaration of `AccessKey' must be available
CryptoXMpp.h: In constructor
`CryptoXMpp::PK_FinalTemplate<BASE>::PK_FinalTemplate(T1&, const T2&, const T3&,
const T4&, const T5&, const T6&)':
CryptoXMpp.h:7681: error: there are no arguments to `AccessKey' that depend on a
template parameter, so a declaration of `AccessKey' must be available
CryptoXMpp.h: In constructor
`CryptoXMpp::PK_FinalTemplate<BASE>::PK_FinalTemplate(T1&, const T2&, const T3&,
const T4&, const T5&, const T6&, const T7&)':
CryptoXMpp.h:7685: error: there are no arguments to `AccessKey' that depend on a
template parameter, so a declaration of `AccessKey' must be available
CryptoXMpp.h: In constructor
`CryptoXMpp::PK_FinalTemplate<BASE>::PK_FinalTemplate(T1&, const T2&, const T3&,
const T4&, const T5&, const T6&, const T7&, const T8&)':
CryptoXMpp.h:7689: error: there are no arguments to `AccessKey' that depend on a
template parameter, so a declaration of `AccessKey' must be available
CryptoXMpp.h: In member function `unsigned int
CryptoXMpp::BlockCipherBaseTemplate<INFO, INTERFACE>::BlockSize() const':
CryptoXMpp.h:8380: error: `BLOCKSIZE' undeclared (first use this function)
CryptoXMpp.h: In constructor `CryptoXMpp::BlockCipherTemplate<DIR,
BASE>::BlockCipherTemplate(const byte*)':
CryptoXMpp.h:8390: error: `DEFAULT_KEYLENGTH' undeclared (first use this function)
CryptoXMpp.h: In constructor `CryptoXMpp::BlockCipherTemplate<DIR,
BASE>::BlockCipherTemplate(const byte*, unsigned int, unsigned int)':
CryptoXMpp.h:8394: error: there are no arguments to `SetKeyWithRounds' that
depend on a template parameter, so a declaration of `SetKeyWithRounds' must be
available
CryptoXMpp.h: In constructor
`CryptoXMpp::MessageAuthenticationCodeTemplate<BASE>::MessageAuthenticationCodeTemplate(const
byte*)':
CryptoXMpp.h:8414: error: `DEFAULT_KEYLENGTH' undeclared (first use this function)
CryptoXMpp.h: In member function `std::string
CryptoXMpp::MessageAuthenticationCodeTemplate<BASE>::AlgorithmName() const':
CryptoXMpp.h:8418: error: there are no arguments to `StaticAlgorithmName' that
depend on a template parameter, so a declaration of `StaticAlgorithmName' must
be available
CryptoXMpp.h: In member function `void
CryptoXMpp::MDC<T>::Enc::UncheckedSetKey(CryptoXMpp::CipherDir, const byte*,
unsigned int)':
CryptoXMpp.h:8481: error: there are no arguments to `AssertValidKeyLength' that
depend on a template parameter, so a declaration of `AssertValidKeyLength' must
be available
CryptoXMpp.h:8482: error: `KEYLENGTH' undeclared (first use this function)
CryptoXMpp.h: In member function `void
CryptoXMpp::MDC<T>::Enc::ProcessAndXorBlock(const byte*, const byte*, byte*) const':
CryptoXMpp.h:8488: error: `BLOCKSIZE' undeclared (first use this function)
CryptoXMpp.h: In member function `unsigned int
CryptoXMpp::AdditiveCipherTemplate<BASE>::OptimalBlockSize() const':
CryptoXMpp.h:8767: error: there are no arguments to `GetPolicy' that depend on a
template parameter, so a declaration of `GetPolicy' must be available
CryptoXMpp.h: In member function `unsigned int
CryptoXMpp::AdditiveCipherTemplate<BASE>::OptimalDataAlignment() const':
CryptoXMpp.h:8769: error: there are no arguments to `GetPolicy' that depend on a
template parameter, so a declaration of `GetPolicy' must be available
CryptoXMpp.h: In member function `bool
CryptoXMpp::AdditiveCipherTemplate<BASE>::IsRandomAccess() const':
CryptoXMpp.h:8772: error: there are no arguments to `GetPolicy' that depend on a
template parameter, so a declaration of `GetPolicy' must be available
CryptoXMpp.h: In member function `void CryptoXMpp::CFB_CipherConcretePolicy<WT,
W, BASE>::TransformRegister()':
CryptoXMpp.h:8809: error: there are no arguments to `Iterate' that depend on a
template parameter, so a declaration of `Iterate' must be available
CryptoXMpp.h: In member function `unsigned int
CryptoXMpp::CFB_CipherTemplate<BASE>::OptimalBlockSize() const':
CryptoXMpp.h:8859: error: there are no arguments to `GetPolicy' that depend on a
template parameter, so a declaration of `GetPolicy' must be available
CryptoXMpp.h: In member function `unsigned int
CryptoXMpp::CFB_CipherTemplate<BASE>::OptimalDataAlignment() const':
CryptoXMpp.h:8861: error: there are no arguments to `GetPolicy' that depend on a
template parameter, so a declaration of `GetPolicy' must be available
CryptoXMpp.h: In constructor `CryptoXMpp::SymmetricCipherFinalTemplate<BASE,
INFO>::SymmetricCipherFinalTemplate(const byte*)':
CryptoXMpp.h:8895: error: `DEFAULT_KEYLENGTH' undeclared (first use this function)
CryptoXMpp.h: In constructor `CryptoXMpp::SymmetricCipherFinalTemplate<BASE,
INFO>::SymmetricCipherFinalTemplate(const byte*, unsigned int, const byte*)':
CryptoXMpp.h:8899: error: there are no arguments to `Resynchronize' that depend
on a template parameter, so a declaration of `Resynchronize' must be available
CryptoXMpp.h: In member function `void
CryptoXMpp::SymmetricCipherFinalTemplate<BASE, INFO>::SetKey(const byte*,
unsigned int, const CryptoXMpp::NameValuePairs&)':
CryptoXMpp.h:8903: error: there are no arguments to `ThrowIfInvalidKeyLength'
that depend on a template parameter, so a declaration of
`ThrowIfInvalidKeyLength' must be available
CryptoXMpp.h:8904: error: there are no arguments to `UncheckedSetKey' that
depend on a template parameter, so a declaration of `UncheckedSetKey' must be
available
CryptoXMpp.h: In member function `void
CryptoXMpp::AdditiveCipherTemplate<BASE>::UncheckedSetKey(const
CryptoXMpp::NameValuePairs&, const byte*, unsigned int)':
CryptoXMpp.h:8913: error: there are no arguments to `AccessPolicy' that depend
on a template parameter, so a declaration of `AccessPolicy' must be available
CryptoXMpp.h: In member function `void
CryptoXMpp::CFB_CipherTemplate<BASE>::UncheckedSetKey(const
CryptoXMpp::NameValuePairs&, const byte*, unsigned int)':
CryptoXMpp.h:8922: error: there are no arguments to `AccessPolicy' that depend
on a template parameter, so a declaration of `AccessPolicy' must be available
CryptoXMpp.h: In constructor
`CryptoXMpp::CipherModeFinalTemplate_CipherHolder<CIPHER,
BASE>::CipherModeFinalTemplate_CipherHolder()':
CryptoXMpp.h:9160: error: `m_cipher' undeclared (first use this function)
CryptoXMpp.h:9160: error: `m_object' undeclared (first use this function)
CryptoXMpp.h:9161: error: there are no arguments to `ResizeBuffers' that depend
on a template parameter, so a declaration of `ResizeBuffers' must be available
CryptoXMpp.h: In constructor
`CryptoXMpp::CipherModeFinalTemplate_CipherHolder<CIPHER,
BASE>::CipherModeFinalTemplate_CipherHolder(const byte*, unsigned int)':
CryptoXMpp.h:9165: error: `m_cipher' undeclared (first use this function)
CryptoXMpp.h:9165: error: `m_object' undeclared (first use this function)
CryptoXMpp.h:9166: error: there are no arguments to `SetKey' that depend on a
template parameter, so a declaration of `SetKey' must be available
CryptoXMpp.h: In constructor
`CryptoXMpp::CipherModeFinalTemplate_CipherHolder<CIPHER,
BASE>::CipherModeFinalTemplate_CipherHolder(const byte*, unsigned int, const
byte*, int)':
CryptoXMpp.h:9170: error: `m_cipher' undeclared (first use this function)
CryptoXMpp.h:9170: error: `m_object' undeclared (first use this function)
CryptoXMpp.h:9171: error: there are no arguments to `SetKey' that depend on a
template parameter, so a declaration of `SetKey' must be available
CryptoXMpp.h: In constructor
`CryptoXMpp::CipherModeFinalTemplate_ExternalCipher<BASE>::CipherModeFinalTemplate_ExternalCipher(CryptoXMpp::BlockCipher&,
const byte*, int)':
CryptoXMpp.h:9182: error: `m_cipher' undeclared (first use this function)
CryptoXMpp.h:9183: error: there are no arguments to `ResizeBuffers' that depend
on a template parameter, so a declaration of `ResizeBuffers' must be available
CryptoXMpp.h:9184: error: there are no arguments to `SetFeedbackSize' that
depend on a template parameter, so a declaration of `SetFeedbackSize' must be
available
CryptoXMpp.h:9185: error: there are no arguments to `SetIV' that depend on a
template parameter, so a declaration of `SetIV' must be available
make[1]: *** [AddFriend.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/xmule-1.8.2-r2/work/xmule/src'
make: *** [all] Error 2


Expected Results:  
Successful emerge

emerge info:
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.3.20040420-r0,
2.6.7-rc3-love1)
=================================================================
System uname: 2.6.7-rc3-love1 i686 AMD Athlon(tm) XP 2700+
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe -ffast-math"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://lug.mtu.edu/gentoo/
ftp://ftp.ussg.iu.edu/pub/linux/gentoo
ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
ftp://ftp.rnl.ist.utl.pt/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm arts avi berkdb bonobo cdr crypt cups dga dvd dvdr encode
esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib ipv6 java jpeg krb4 libg++
libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd
truetype usb x86 xml2 xmms xv xvid zlib"
Comment 1 Tuan Van (RETIRED) gentoo-dev 2004-06-16 19:39:49 UTC
Created attachment 33406 [details, diff]
xmule-1.8.2-r2-gcc-3.4.patch

This patch is take from xMule CVS; applied to --enable-cryptopp which use
libcryptopp (dev-libs/crypto++) instead of the one came with xMule that will
fails when compiles using gcc-3.4. The ebuild diff will follow.
Comment 2 Tuan Van (RETIRED) gentoo-dev 2004-06-16 19:40:33 UTC
Created attachment 33407 [details, diff]
xmule-1.8.2-r2.diff
Comment 3 Tuan Van (RETIRED) gentoo-dev 2004-06-16 19:41:13 UTC
CC: net-p2p@gentoo.org for testing
Comment 4 Tuan Van (RETIRED) gentoo-dev 2004-06-16 19:49:56 UTC
err, xmule-1.8.2-r2.diff should be:
-	einfo "please do: cp -a $RSCDIR/*.pm ~/.xMule"
+	einfo "please do: cp -a $RSCDIR ~/.xMule"

sorry.
Comment 5 HopeSeekr 2004-06-28 03:41:21 UTC
I have fixed this in CVS.
You may use the diff at your prerogative.
Please note:
THIS TOOK ME A *LONG* TIME...and it is due to Crypto++ issues.
You have no idea how much i struggled on whether or not to totally do away w/ crypto++ w/ some other interface (!).

http://cvs.gna.org/viewcvs/xmule/xmule/src/CryptoXMpp.h.diff?r1=1.4&r2=1.5&diff_format=u
and
http://cvs.gna.org/viewcvs/xmule/xmule/src/CryptoXMpp.cpp.diff?r1=1.2&r2=1.3&diff_format=u

Cheers,
-hope
Comment 6 Tuan Van (RETIRED) gentoo-dev 2004-06-28 07:40:02 UTC
Hope, I saw the new xMule released and thought I could bump it but it fails. Then I tried the --enable-cryptopp, but it looks like that that option have not make it in the 1.8.2d release yet. Guess we (gcc-3.4) have to wait a little longer.
Comment 7 Jon Hood (RETIRED) gentoo-dev 2004-06-28 09:23:02 UTC
thanks for the patches- please try xmule-1.8.2-r3 in portage now
Comment 8 Travis Tilley (RETIRED) gentoo-dev 2004-06-30 07:12:51 UTC
still broke on amd64:

Compiling CommentDialogLst.cpp...
In file included from ClientCredits.h:30,
                 from updownclient.h:29,
                 from CommentDialogLst.cpp:26:
CryptoXMpp.h: In function `bool CryptoXMpp::IsAlignedOn(const void*, unsigned int)':
CryptoXMpp.h:430: warning: cast from pointer to integer of different size
CryptoXMpp.h:430: warning: cast from pointer to integer of different size
Compiling CryptoXMpp.cpp...
In file included from CryptoXMpp.cpp:71:
CryptoXMpp.h: In function `bool CryptoXMpp::IsAlignedOn(const void*, unsigned int)':
CryptoXMpp.h:430: warning: cast from pointer to integer of different size
CryptoXMpp.h:430: warning: cast from pointer to integer of different size
CryptoXMpp.h: At global scope:
CryptoXMpp.h: In instantiation of `CryptoXMpp::CompileAssert< false>':
CryptoXMpp.cpp:1006:   instantiated from here
CryptoXMpp.h:309: error: creating array with size zero (`-0x00000000000000001')
CryptoXMpp.cpp: In function `void CryptoXMpp::AtomicInverseModPower2(CryptoXMpp::word*, CryptoXMpp::word, CryptoXMpp::word)':
CryptoXMpp.cpp:2571: warning: left shift count >= width of type
CryptoXMpp.cpp: In function `CryptoXMpp::word CryptoXMpp::SubatomicDivide(CryptoXMpp::word*, CryptoXMpp::word, CryptoXMpp::word)':
CryptoXMpp.cpp:3845: warning: left shift count >= width of type
CryptoXMpp.cpp: In static member function `static void CryptoXMpp::Integer::Divide(CryptoXMpp::word&, CryptoXMpp::Integer&, const CryptoXMpp::Integer&, CryptoXMpp::word)':
CryptoXMpp.cpp:5097: warning: left shift count >= width of type
CryptoXMpp.cpp:5098: warning: left shift count >= width of type
CryptoXMpp.cpp: In member function `CryptoXMpp::word CryptoXMpp::Integer::Modulo(CryptoXMpp::word) const':
CryptoXMpp.cpp:5144: warning: left shift count >= width of type
CryptoXMpp.cpp: In function `void CryptoXMpp::xorbuf(byte*, const byte*, unsigned int)':
CryptoXMpp.cpp:5626: warning: cast from pointer to integer of different size
CryptoXMpp.cpp:5626: warning: cast from pointer to integer of different size
CryptoXMpp.cpp: In function `void CryptoXMpp::xorbuf(byte*, const byte*, const byte*, unsigned int)':
CryptoXMpp.cpp:5637: warning: cast from pointer to integer of different size
CryptoXMpp.cpp:5637: warning: cast from pointer to integer of different size
CryptoXMpp.cpp:5637: warning: cast from pointer to integer of different size
make[1]: *** [CryptoXMpp.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/xmule-1.8.2-r3/work/xmule/src'
make: *** [all] Error 2

pointers dont fit inside ints damnit :'(
Comment 9 Blu3 2004-07-04 11:50:11 UTC
*cough* aesthetics.  The patch does get applied.

>>> Unpacking source...
>>> Unpacking xmule-1.8.2c.tar.gz to /var/tmp/portage/xmule-1.8.2-r3/work
>>> Unpacking xmule-1.8.2-gcc34.patch to /var/tmp/portage/xmule-1.8.2-r3/work
unpack xmule-1.8.2-gcc34.patch: file format not recognized. Ignoring.
 * Applying xmule-1.8.2-gcc34.patch...                                                 [ ok ]
>>> Source unpacked.

However, xmule still doesn't compile - same errors w/ CryptoXMpp, line 309.  If I had half a clue about pee plus plus..err, cee plus plus, I'd fix the bustage.
Comment 10 Danny van Dyk (RETIRED) gentoo-dev 2004-07-04 12:00:53 UTC
*** Bug 54568 has been marked as a duplicate of this bug. ***
Comment 11 Danny van Dyk (RETIRED) gentoo-dev 2004-07-04 12:01:54 UTC
Well, see above duplicate bug. It doesn't compile with gcc-3.3* either. It's just not 64bit clean.
Comment 12 Danny van Dyk (RETIRED) gentoo-dev 2004-07-06 14:52:48 UTC
Well, let's either wait for the xMule developers to clean their code of 64bit bugs
or for someone with _much_ time. I spent 2 hours on 1 header file and it didn't
work after that.

@Anyone: If you found patches or created one yourself, please test and the just reopen this bug or file a new one.
Comment 13 HopeSeekr 2004-07-10 14:45:56 UTC
Work around:
$ emerge crypto++
$ CXXFLAGS="-DUSE_CRYPTO" emerge xmule
you might have to add #ifdef USE_CRYPTO at the top and bottom of CryptoXMpp.cpp as well.