On 4/26/2010 8:36 AM, Charles Brown wrote:
Trying to use XPath code, as seen in the SimpleXPathAPI sample
application. All compiles and runs fine under linux. Under Solaris, I
get undefined references to;
xalanc_1_10::XalanDocumentPrefixResolver::~XalanDocumentPrefixResolver()
xercesc_2_7::XMLPlatformUtils::Initialize(char const*, char const*,
xercesc_2_7::PanicHandler*, xercesc_2_7::MemoryManager*, bool)
xalanc_1_10::XalanDOMString::XalanDOMString(xercesc_2_7::MemoryManager&)
xalanc_1_10::XPathEvaluator::initialize(xercesc_2_7::MemoryManager&)
xalanc_1_10::XPathEvaluator::evaluate(xalanc_1_10::DOMSupport&,
xalanc_1_10::XalanNode*, unsigned short const*,
xalanc_1_10::PrefixResolver const&)
xalanc_1_10::XalanSourceTreeParserLiaison::XalanSourceTreeParserLiaison(xalanc_1_10::XalanSourceTreeDOMSupport&,
xercesc_2_7::MemoryManager&)
xalanc_1_10::XPathEvaluator::XPathEvaluator(xercesc_2_7::MemoryMana
I've used ldd on SimpleXPathAPI, and linked all the libraries I see
there; -lxalan-c -lm -lpthread -lc -lgen -lxerces-c -lxalanMsg -lCrun
-lw -lthread -lnsl -lsocket -lmp -lmd -scf -ldoor -luutil -lCstd
what am i missing?
This is usually a problem when you use a different compiler to build
your binaries than the one that was used to build the distribution. Did
you download a source distribution or a binary one?
The binary distributions are built with Sun's C++ compiler. If you're
using GCC or a different version of Sun's compiler than we used, you may
need to build your own binaries.
Dave