Link to home
Start Free TrialLog in
Avatar of arabolla
arabolla

asked on

Linking Error on Solaris

Hello

I am getting this error while proting code from windows to Solaris

Undefined                       first referenced
 symbol                             in file
xercesc_2_3::XMLUni::fgDOMNamespaces Doc.o
[Hint: static member xercesc_2_3::XMLUni::fgDOMNamespaces should be defined in the program ,see Annotated Reference Manual (ARM) Section 9.4]

The code causing the error:
xercesc::DOMBuilder* CDoc::GetBuilder()
{
      if (sm_Builder == NULL)
      {
            sm_Builder = GetImplementationLS()->createDOMBuilder(xercesc::DOMImplementationLS::MODE_SYNCHRONOUS,0);

            if (sm_Builder == NULL)
                  throw CXmlException(CXmlException::eError1,"Could not create xercesc::DOMBuilder");

*****            sm_Builder->setFeature(xercesc::XMLUni::fgDOMNamespaces, true);            ******
      }

      return sm_Builder;
}
ASKER CERTIFIED SOLUTION
Avatar of GaryFx
GaryFx

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial