Skip to Content.
Sympa Menu

mace-opensaml-users - opensaml 1.1a and gcc4

Subject: OpenSAML user discussion

List archive

opensaml 1.1a and gcc4


Chronological Thread 
  • From: Manuel Sánchez Cuenca <>
  • To:
  • Subject: opensaml 1.1a and gcc4
  • Date: Fri, 30 Jun 2006 13:35:13 +0200

Hello all, I'm compiling opensaml 1.1a with gcc/g++ 4.1.0 in a SUSE Linux, and I get this error:

=====================================================
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/root/instalaciones/opendiameter/xerces-c-src_2_6_1/include -I/opt/shibboleth/include -pthread -O2 -DNDEBUG -I/opt/shibboleth/include -pthread -O2 -DNDEBUG -MT Iterator.lo -MD -MP -MF .deps/Iterator.Tpo -c Iterator.cpp -fPIC -DPIC -o .libs/Iterator.o
Iterator.cpp:49: error: specialization of 'std::vector<T, std::allocator<_CharT> > saml::Iterator<T>::clone() const [with T = std::basic_string<short unsigned int, std::char_traits<short unsigned int>, std::allocator<short unsigned int> >]' in different namespace
Iterator.cpp:49: error: from definition of 'std::vector<T, std::allocator<_CharT> > saml::Iterator<T>::clone() const [with T = std::basic_string<short unsigned int, std::char_traits<short unsigned int>, std::allocator<short unsigned int> >]'
Iterator.cpp:51: error: specialization of 'std::vector<T, std::allocator<_CharT> > saml::Iterator<T>::clone() const [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]' in different namespace
Iterator.cpp:51: error: from definition of 'std::vector<T, std::allocator<_CharT> > saml::Iterator<T>::clone() const [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]'
Iterator.cpp:52: error: specialization of 'std::vector<T, std::allocator<_CharT> > saml::Iterator<T>::clone() const [with T = saml::QName]' in different namespace
Iterator.cpp:52: error: from definition of 'std::vector<T, std::allocator<_CharT> > saml::Iterator<T>::clone() const [with T = saml::QName]'
Iterator.cpp:53: error: specialization of 'std::vector<T, std::allocator<_CharT> > saml::Iterator<T>::clone() const [with T = const XMLCh*]' in different namespace
Iterator.cpp:53: error: from definition of 'std::vector<T, std::allocator<_CharT> > saml::Iterator<T>::clone() const [with T = const XMLCh*]'
Iterator.cpp:54: error: specialization of 'std::vector<T, std::allocator<_CharT> > saml::Iterator<T>::clone() const [with T = saml::SAMLArtifact*]' in different namespace
Iterator.cpp:54: error: from definition of 'std::vector<T, std::allocator<_CharT> > saml::Iterator<T>::clone() const [with T = saml::SAMLArtifact*]'
Iterator.cpp:55: error: specialization of 'std::vector<T, std::allocator<_CharT> > saml::Iterator<T>::clone() const [with T = saml::SAMLAttribute*]' in different namespace
Iterator.cpp:55: error: from definition of 'std::vector<T, std::allocator<_CharT> > saml::Iterator<T>::clone() const [with T = saml::SAMLAttribute*]'
Iterator.cpp:56: error: specialization of 'std::vector<T, std::allocator<_CharT> > saml::Iterator<T>::clone() const [with T = saml::SAMLAttributeDesignator*]' in different namespace
Iterator.cpp:56: error: from definition of 'std::vector<T, std::allocator<_CharT> > saml::Iterator<T>::clone() const [with T = saml::SAMLAttributeDesignator*]'
Iterator.cpp:57: error: specialization of 'std::vector<T, std::allocator<_CharT> > saml::Iterator<T>::clone() const [with T = saml::SAMLStatement*]' in different namespace
Iterator.cpp:57: error: from definition of 'std::vector<T, std::allocator<_CharT> > saml::Iterator<T>::clone() const [with T = saml::SAMLStatement*]'
Iterator.cpp:58: error: specialization of 'std::vector<T, std::allocator<_CharT> > saml::Iterator<T>::clone() const [with T = saml::SAMLAssertion*]' in different namespace
Iterator.cpp:58: error: from definition of 'std::vector<T, std::allocator<_CharT> > saml::Iterator<T>::clone() const [with T = saml::SAMLAssertion*]'
Iterator.cpp:59: error: specialization of 'std::vector<T, std::allocator<_CharT> > saml::Iterator<T>::clone() const [with T = saml::SAMLCondition*]' in different namespace
Iterator.cpp:59: error: from definition of 'std::vector<T, std::allocator<_CharT> > saml::Iterator<T>::clone() const [with T = saml::SAMLCondition*]'
Iterator.cpp:60: error: specialization of 'std::vector<T, std::allocator<_CharT> > saml::Iterator<T>::clone() const [with T = saml::SAMLAuthorityBinding*]' in different namespace
Iterator.cpp:60: error: from definition of 'std::vector<T, std::allocator<_CharT> > saml::Iterator<T>::clone() const [with T = saml::SAMLAuthorityBinding*]'
Iterator.cpp:61: error: specialization of 'std::vector<T, std::allocator<_CharT> > saml::Iterator<T>::clone() const [with T = saml::SAMLAction*]' in different namespace
Iterator.cpp:61: error: from definition of 'std::vector<T, std::allocator<_CharT> > saml::Iterator<T>::clone() const [with T = saml::SAMLAction*]'
make[3]: *** [Iterator.lo] Error 1
make[3]: Leaving directory `/root/instalaciones/saml/opensaml-c-1.1/saml'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/instalaciones/saml/opensaml-c-1.1/saml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/instalaciones/saml/opensaml-c-1.1'
make: *** [all] Error 2
=====================================================

Can anybody help me?

Thanks in advance.

--
-----------------------------
Manuel Sanchez Cuenca
Departamento de Ingenieria de la Informacion y las Comunicaciones
Facultad de Informatica. Universidad de Murcia
Campus de Espinardo - 30080 Murcia (SPAIN)
Tel.: +34-968-364644 Fax: +34-968-364151
email:

|

url: http://libra.inf.um.es/~lolo




Archive powered by MHonArc 2.6.16.

Top of Page