Simon,
I just did this as well. You will have to rebuild the Xerces library as
well for Solaris. Some incompatibility between the Xerces prebuilt library
and your locally built Xalan library.
Paul Ackley
Qwest Communications, Inc
-----Original Message-----
From: Simon Stevenson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 16, 2001 4:59 AM
To: '[EMAIL PROTECTED]'
Subject: xalan11 solaris7 build
I am trying to rebuild xalan_1_1 for solaris (7).
I have successfully done a reconfigure and the make seems to successfully
compile all the cpp programs. But it fails at the linking stage.
The following env. vars. are set:
XALANCROOT=/home/simons/sw/xml-xalan/c
XERCESCROOT=/home/simons/sw/xml-xerces/c
STLPORTROOT=/home/simons/sw/STLport-4.0
LD_LIBRARY_PATH=/usr/local/lib:/usr/lib
I have included a few of the symbol errors that occur:
(thanks for any help)
g++ -O -fPIC -instances=static -DSOLARIS -D_REENTRANT -c -I.
-I/home/simons/sw/xml-xerces/c/src/ -I/home/simons/sw/xml-xerces/c/include/
-o /home/simons/sw/xml-xalan/c/obj/process.o TestXSLT/process.cpp
g++ -DSOLARIS -fPIC \
-lc -L/home/simons/sw/xml-xalan/c/lib -lxalan-c1_1 -L/usr/lib
-L/usr/local/lib -lc -L/home/simons/sw/xml-xerces/c/lib -lxerces-c1_4
/home/simons/sw/xml-xalan/c/obj/process.o -o
/home/simons/sw/xml-xalan/c/bin/testXSLT
Undefined first referenced
symbol in file
_ex_rethrow
/home/simons/sw/xml-xalan/c/lib/libxerces-c1_4.so
__0oJ__RT_USERctPcPv
/home/simons/sw/xml-xalan/c/lib/libxerces-c1_4.so
DOM_Element::setAttribute(DOMString const &, DOMString const
&)/home/simons/sw/xml-xalan/c/lib/libxalan-c1_1.so
__0OnwUi
/home/simons/sw/xml-xalan/c/lib/libxerces-c1_4.so
DOM_Node::isNull(void) const
/home/simons/sw/xml-xalan/c/lib/libxalan-c1_1.so
stuff deleted
DOM_Element::removeAttributeNode(DOM_Attr)
/home/simons/sw/xml-xalan/c/lib/libxalan-c1_1.so
DOM_Node::getNamespaceURI(void)
const/home/simons/sw/xml-xalan/c/lib/libxalan-c1_1.so
InputSource::InputSource(unsigned short const
*)/home/simons/sw/xml-xalan/c/lib/libxalan-c1_1.so
DOM_Node::getPreviousSibling(void)
const/home/simons/sw/xml-xalan/c/lib/libxalan-c1_1.so
InputSource::InputSource(char const
*)/home/simons/sw/xml-xalan/c/lib/libxalan-c1_1.so
DOM_Node::getLocalName(void) const
/home/simons/sw/xml-xalan/c/lib/libxalan-c1_1.so
SAXParser::setExitOnFirstFatalError(bool)/home/simons/sw/xml-xalan/c/lib/lib
xalan-c1_1.so
XMLException::XMLException(char const *, unsigned
int)/home/simons/sw/xml-xalan/c/lib/libxalan-c1_1.so
DOMParser::setErrorHandler(ErrorHandler *)
/home/simons/sw/xml-xalan/c/lib/libxalan-c1_1.so
DOM_Node::getParentNode(void) const
/home/simons/sw/xml-xalan/c/lib/libxalan-c1_1.so
SAX2XMLReaderImpl::SAX2XMLReaderImpl(void)/home/simons/sw/xml-xalan/c/lib/li
bxalan-c1_1.so
XMLException::~XMLException(void)
/home/simons/sw/xml-xalan/c/lib/libxalan-c1_1.so
DOM_Entity::getPublicId(void) const
/home/simons/sw/xml-xalan/c/lib/libxalan-c1_1.so
DOM_Comment::~DOM_Comment(void)
/home/simons/sw/xml-xalan/c/lib/libxalan-c1_1.so
BinInputStream::BinInputStream(void)/home/simons/sw/xml-xalan/c/lib/libxalan
-c1_1.so
DOMString::rawBuffer(void) const
/home/simons/sw/xml-xalan/c/lib/libxalan-c1_1.so
DOM_Node::~DOM_Node(void)
/home/simons/sw/xml-xalan/c/lib/libxalan-c1_1.so
ld: fatal: Symbol referencing errors. No output written to
/home/simons/sw/xml-xalan/c/bin/testXSLT
collect2: ld returned 1 exit status
make: *** [/home/simons/sw/xml-xalan/c/bin/testXSLT] Error 1
Simon Stevenson
Interactive Software Engineer
Interactive F&L
Room 2422
This e-mail, and any attachment, is confidential. If you have received
it in error, please delete it from your system, do not use or disclose
the information in any way, and notify me immediately. The contents of
this message may contain personal views which are not the views of the
BBC, unless specifically stated.