Details
Description
I built xerces-c on Mac OS X using the compilers gcc and g++. I could build the libraries successfully.
But when I tried to build the tests I got the following error:
test -d /Users/tsbld/TechStackBuild/Components/xerces-c-2.6.0-WithoutICU/temp/xerces-c-src_2_6_0/bin || mkdir /Users/tsbld/TechStackBuild/Components/xerces-c-2.6.0-WithoutICU/temp/xerces-c-src_2_6_0/bin
Building DOMMemTest
make -C DOM/DOMMemTest
mkdir -p /Users/tsbld/TechStackBuild/Components/xerces-c-2.6.0-WithoutICU/temp/xerces-c-src_2_6_0/tests/DOM/DOMMemTest
c++ -DMACOSX -L/usr/lib -L/usr/local/lib /Users/tsbld/TechStackBuild/Components/xerces-c-2.6.0-WithoutICU/temp/xerces-c-src_2_6_0/tests/DOM/DOMMemTest/DOMMemTest.o -o /Users/tsbld/TechStackBuild/Components/xerces-c-2.6.0-WithoutICU/temp/xerces-c-src_2_6_0/bin/DOMMemTest -L/Users/tsbld/TechStackBuild/Components/xerces-c-2.6.0-WithoutICU/temp/xerces-c-src_2_6_0/lib -lxerces-c
/usr/bin/ld: warning -L: directory name (/usr/local/lib) does not exist
/usr/bin/ld: Undefined symbols:
typeinfo for xercesc_2_6::DOMException
typeinfo for xercesc_2_6::XMLException
collect2: ld returned 1 exit status
make[1]: *** [/Users/tsbld/TechStackBuild/Components/xerces-c-2.6.0-WithoutICU/temp/xerces-c-src_2_6_0/bin/DOMMemTest] Error 1
make: *** [dommemtest] Error 2
Unless I build the tests and samples, I cannot be sure that I have built xerces-c successfully. Has anyone built xerces-c libraries as well as tests and samples successfully on Mac OS X
Thanks
Ganesh