Skip to Content.
Sympa Menu

mace-opensaml-users - 2 issues with opensaml compilation

Subject: OpenSAML user discussion

List archive

2 issues with opensaml compilation


Chronological Thread 
  • From: James Shvarts <>
  • To:
  • Subject: 2 issues with opensaml compilation
  • Date: Mon, 09 Sep 2002 13:19:27 -0700

Hello,

I checked out latest opensaml from main cvs branch (cvs -d:pserver::/home/cvs/shibboleth co opensaml)
at 11 am today on Monday, Sept 9th)

I got the following messages trying to compile it (note, the code that appeared before SAMLConfig.cpp compiled fine). My environment is Solaris 2.9 and the compiler is gcc-3.2 g++

There are basically two problems:
1) log4cpp is not present in this distrbution
2) saml/SAMLConfig.cpp:154: ISO C++ forbids declaration of `curl_global_cleanup' with no type

Any help will be greatly appreciated.
......
/opt/gcc-3.2/bin/g++ -D_DEBUG -fpic -g -Iinclude -I/nsdl/apache-common/include -c saml/SAMLConfig.cpp -o saml/SAMLConfig.o
In file included from saml/SAMLConfig.cpp:66:
saml/internal.h:62:31: log4cpp/Category.hh: No such file or directory
In file included from saml/SAMLConfig.cpp:66:
saml/internal.h:63: namespace `log4cpp' undeclared
saml/internal.h:92: syntax error before `::' token
saml/SAMLConfig.cpp:71:31: log4cpp/Category.hh: No such file or directory
saml/SAMLConfig.cpp:72:43: log4cpp/PropertyConfigurator.hh: No such file or directory
saml/SAMLConfig.cpp: In member function `virtual bool
saml::SAMLInternalConfig::init()':
saml/SAMLConfig.cpp:110: `log4cpp' undeclared (first use this function)
saml/SAMLConfig.cpp:110: (Each undeclared identifier is reported only once for
each function it appears in.)
saml/SAMLConfig.cpp:110: parse error before `::' token
saml/SAMLConfig.cpp:111: `m_log' undeclared (first use this function)
saml/SAMLConfig.cpp:111: parse error before `::' token
saml/SAMLConfig.cpp:127:58: warning: pasting "::" and "AttributeQueryType" does not give a valid preprocessing token
saml/SAMLConfig.cpp:128:54: warning: pasting "::" and "AttributeQuery" does not give a valid preprocessing token
saml/SAMLConfig.cpp:132:61: warning: pasting "::" and "AttributeStatementType" does not give a valid preprocessing token
saml/SAMLConfig.cpp:133:57: warning: pasting "::" and "AttributeStatement" does not give a valid preprocessing token
saml/SAMLConfig.cpp:134:66: warning: pasting "::" and "AuthenticationStatementType" does not give a valid preprocessing token
saml/SAMLConfig.cpp:135:62: warning: pasting "::" and "AuthenticationStatement" does not give a valid preprocessing token
saml/SAMLConfig.cpp:141:71: warning: pasting "::" and "AudienceRestrictionConditionType" does not give a valid preprocessing token
saml/SAMLConfig.cpp:142:67: warning: pasting "::" and "AudienceRestrictionCondition" does not give a valid preprocessing token
saml/SAMLConfig.cpp:146: parse error before `::' token
saml/SAMLConfig.cpp: At global scope:
saml/SAMLConfig.cpp:151: parse error before `catch'
saml/SAMLConfig.cpp:154: ISO C++ forbids declaration of `curl_global_cleanup'
with no type
saml/SAMLConfig.cpp:154: new declaration `int curl_global_cleanup()'
/nsdl/apache-common/include/curl/curl.h:747: ambiguates old declaration `void
curl_global_cleanup()'
saml/SAMLConfig.cpp:155: parse error before `return'
saml/SAMLConfig.cpp:158: syntax error before `->' token
make: *** [saml/SAMLConfig.o] Error 1



---------------------------------------------------mace-opensaml-users-+
For list utilities, archives, subscribe, unsubscribe, etc. please visit the
ListProc web interface at
http://archives.internet2.edu/

---------------------------------------------------mace-opensaml-users--




Archive powered by MHonArc 2.6.16.

Top of Page