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 Arundhati Bhowmick <ar...@hyperreal.org> on 2000/05/04 04:43:54 UTC

Re: -instances=static on Solaris

Tom,
I've checked in the changes in cvs for -instance=static . Thanks a lot for your
patches. Sean was right too about the link exceptions. I too was getting them  for
even CC 4.2. Now I've made all those global static declarations local to  XMLUni
class and that problem won't be there.
Thanks,
Arundhati
Tom Jordahl wrote:

> Ooops - I verified the patch on my Linux machine, which doesn't
> care about the blank lines.  Sorry.  The diff should still work.
>
> What version of the C++ compiler are you using (the version of
> Solaris shouldn't make a difference really)?  4.2 or 5.0?
>
> My suggestion is to make sure your template repository directory
> is cleaned.  This does not happen if you do a make clean.  I
> would remove the obj/SOLARIS/SunWS_cache directory by hand.
> Then do a clean build of the library and samples.
>
> Also, make sure you are up to the latest compiler patch level: 107311-09
>
> If all that fails, let me know.
>
> --
> Tom Jordahl                     tomj@allaire.com
> Allaire Corp.                   http://www.allaire.com
>
> Sean MacRoibeaird - Sun ireland - Solaris Software - Staff Engineer wrote:
> >
> > Hi,
> >
> > I had just run into this very problem when trying to link the testXSLT in
> > Xalan-C.
> >
> > I tried to apply your patch and Solaris 8 complains about syntax error (on the
> > empty linnes separating the diffs).
> >
> > I applied the changes by hand and when I try to build the samples I get
> > unresolved problems on the exception strings.
> >
> > I've checked the compilation and link lines and they match your patch exactly:
> >
> > gNoSuchElementException_Name
> > /export/home/XML/xml-xerces/c/lib/libxerces-c1_1.so
> > gEmptyStackException_Name
> > /export/home/XML/xml-xerces/c/lib/libxerces-c1_1.so
> > gIOException_Name
> > /export/home/XML/xml-xerces/c/lib/libxerces-c1_1.so
> > gIllegalArgumentException_Name
> > /export/home/XML/xml-xerces/c/lib/libxerces-c1_1.so
> > gUnexpectedEOFException_Name
> > /export/home/XML/xml-xerces/c/lib/libxerces-c1_1.so
> > gArrayIndexOutOfBoundsException_Name
> > /export/home/XML/xml-xerces/c/lib/libxerces-c1_1.so
> > gRuntimeException_Name
> > /export/home/XML/xml-xerces/c/lib/libxerces-c1_1.so
> > gMalformedURLException_Name
> > /export/home/XML/xml-xerces/c/lib/libxerces-c1_1.so
> >
> > Any ideas what might be wrong?
> >
> > Sean
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> > For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org