You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Rao, Uma Maheswar (UmaMaheswar)" <vu...@lucent.com> on 2001/07/24 13:27:11 UTC

Compiling Problem on Solaris

> Hi,
> 
>   I have downloaded xerces-C++ 1.5.0 parser. I am using solaris 2.6 and
> forte CC 6.0 compiler.
>   While compiling the sample program SAXPrint I got linking error. Its
> saying that there are some
>   unresolved symbols in the library  libxerces-c1_5.so 
> 
>   I am attaching the error file too. If any one of you had faced the same
> problem and could come out it,
>   please help me.
> 
> regards,
> VUM Rao
> 
> 
> 
>  
>  <<err.txt>> 

Re: Compiling Problem on Solaris

Posted by Jack Marr <ma...@ugs.com>.
"Rao, Uma Maheswar (UmaMaheswar)" wrote:
> 
> > Hi,
> >
> >   I have downloaded xerces-C++ 1.5.0 parser. I am using solaris 2.6 and
> > forte CC 6.0 compiler.
> >   While compiling the sample program SAXPrint I got linking error. Its
> > saying that there are some
> >   unresolved symbols in the library  libxerces-c1_5.so

It looks like you are building the samples against the library provided in the
binary distribution.  That was built with a different version of the C++
compiler (4.2 I think), leading to your mismatch.  If you need to use the 6.0
compiler then you need to download the Xerces source.  Be sure to get the 1.5.1
version, which fixes a major memory leak in 1.5.0. 
http://xml.apache.org/dist/xerces-c/stable has the latest.

-- 
  Jack Marr (marr@ugsolutions.com) Cypress, CA
  Unigraphics Solutions - NYSE:UGS - http://www.ugsolutions.com

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org