>May be the compiler version can cause a difference in size, as the shipped >binary is >built with Forte C++ Version 6 Update 2.
That might be one of the reason. I am using Forte C++ Version 6 update 1. > >Please make sure both your samples and the Xerces are built using the same >compiler. Yes!. I have used the same compiler for both samples and the Xerces. >Also how did you build the samples? The flag we used are: > >CC -c -DSOLARIS -D_REENTRANT -pic -c -w -O -I. >-I./xerces-c-src1_6_0/include -o >./xerces-c-src1_6_0/bin/obj/SAXPrint/SAXPrint.o >./xerces-c-src1_6_0/samples/SAXPrint/SAXPrint.cpp > >If you use the samples/runConfigure (e.g. runConfigure -psolaris -ccc >-xCC), >appropriate Makefiles with right compiler flags will be generated >automatically. I have also used runConfigure. I didn't have problems while compiling. The problem comes only while linking. mkdir -p /common/build/rajesh/XML/Apache_XML_1.6.0/xerces-c-src1_6_0/bin/obj/CreateDOMDocument CC -c -DSOLARIS -D_REENTRANT -pic -c -w -O -I. -I/common/build/rajesh/XML/Apache_XML_1.6.0/xerces-c-src1_6_0/include -o /common/build/rajesh/XML/Apache_XML_1.6.0/xerces-c-src1_6_0/bin/obj/CreateDOMDocument/CreateDOMDocument.o /common/build/rajesh/XML/Apache_XML_1.6.0/xerces-c-src1_6_0/samples/CreateDOMDocument/CreateDOMDocument.cpp CC -DSOLARIS -L/usr/lib /common/build/rajesh/XML/Apache_XML_1.6.0/xerces-c-src1_6_0/bin/obj/CreateDOMDocument/CreateDOMDocument.o -o /common/build/rajesh/XML/Apache_XML_1.6.0/xerces-c-src1_6_0/bin/CreateDOMDocument -L/common/build/rajesh/XML/Apache_XML_1.6.0/xerces-c-src1_6_0/lib -lxerces-c1_6_0 -lc -lgen Undefined first referenced symbol in file unsigned IDDeepNodeListPool<IDDeepNodeListImpl>::put(void*,unsigned short*,unsigned short*,IDDeepNodeListImpl*const) /common/build/rajesh/XML/Apache_XML_1.6.0/xerces-c-src1_6_0/lib/libxerces-c1_6_0.so .... (and many symbol referencing errors related to template(s) methods.) The samples and my application work fine for the released_binaries(Xerces 1.6)This problem only comes when I build the XERCES (1.6). thanks rajesh _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
