santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Helio Cola Rodrigues <>
Subject Re: Issue building for Solaris
Date Fri, 09 Sep 2011 20:02:58 GMT
Thanks for the quick response Scott.

I'm using Sun cc & CC now:

> CC -V
CC: Sun C++ 5.9 SunOS_sparc Patch 124863-08 2008/10/16
> cc -V
cc: Sun C 5.9 SunOS_sparc Patch 124867-09 2008/11/25
usage: cc [ options] files.  Use 'cc -flags' for details

The versions I'm using are:

Is this set compatible?

I'm right now trying to troubleshoot another issue...

--> ./configure

   CC=/usr/bin/cc CXX=/usr/bin/CC --without-xalan --without-nss

checking xercesc/dom/DOM.hpp usability... yes
checking xercesc/dom/DOM.hpp presence... yes
checking for xercesc/dom/DOM.hpp... yes
checking Xerces version... OK
configure: error: unable to link with Xerces

--> config.log
configure:16213: checking for xercesc/dom/DOM.hpp
configure:16213: result: yes
configure:16221: checking Xerces version
configure:16238: /usr/bin/CC -E
1/include  conftest.cpp
configure:16238: $? = 0
configure:16239: result: OK
configure:16259: /usr/bin/CC -o conftest -g -mt -D_REENTRANT
es-c-3.1.1/lib  conftest.cpp -lxerces-c -lsocket -lm  -lpthread >&5
Undefined                       first referenced
 symbol                             in file
void xercesc_3_1::XMLPlatformUtils::Initialize(const char*const,const
xercesc_3_1::XMLUni::fgXercescDefaultLocale conftest.o
[Hint: static member xercesc_3_1::XMLUni::fgXercescDefaultLocale must be
 in the program]

ld: fatal: Symbol referencing errors. No output written to conftest

On Fri, Sep 9, 2011 at 3:28 PM, Cantor, Scott <> wrote:

> On 9/9/11 2:12 PM, "Helio Cola Rodrigues" <> wrote:
> >Hi,
> >I'm having some issues building Santuario for Solaris.
> >I'm following the instructions on santuario page for Unix and I'm having
> >error while running configure.
> >
> >My configure command is:
> I would note that gcc isn't supported officially, only Sun CC. Your
> command also doesn't really make sense, since this isn't C, it's C++.
> You'd need to set CXX to g++.
> >nss I have found the distribution only in
> > and I
> >believe the issue may be here...
> Do you need NSS? Using both it and OpenSSL isn't typical.
> >In file included from
> >/export/home/hrodrigu/dev/nss/nss-3.9/include/nss3/nss.h:41,
> >                 from conftest.cpp:46:
> >/export/home/hrodrigu/dev/nss/nss-3.9/include/nss3/seccomon.h:47:21:
> >prtypes.h: No such file or directory
> That would suggest NSS itself doesn't support Solaris perhaps, or at least
> isn't fully portable there. Or there's a bug in the Santuario autoconf
> script. NSS is essentially untested, so if you need to make it work,
> you'll have to debug it and supply any patches.
> -- Scott

View raw message