If you ldd & nm on your box, they are very useful tools for tracking down
library problems.
use ldd -v your-executable-name
Does the output indicate that ldd found the libxerces-c1_3.so? If so, where?
run nm -C on the file given in the ldd output. Grep it for
'XMLScanner::updateNSMap'. Is in defined or is it UNDEFed?
My copy of the libxerces-c1_3.so has it defined within.
I did notice that the signature has wchar_t* arguments - on my box using the
'default' build settings, the signature for the updateNSMap has (const
unsigned short* const, const unsigned short* const ) These args are
probably declared as XMLCh* args. XMLChar is typedef'd to be unsigned short
unless you changed the typedef found in the include/util/Compilers/*.hpp.
This could cause a signature mis-match if your sources are using a different
typedef than what was used to build the library.
> -----Original Message-----
> From: Co-op DI [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, June 18, 2001 8:52 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: doubt!!!
>
> I just follwed the instructions on the XERCES Website to build the
> instructions. And While doing that I did not get any errors.
> IS there any other way that I should build the libraries.Please let me
> know
> if there is a way!!
>
> Saurabh.
>
> -----Original Message-----
> From: Tinny Ng [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 15, 2001 4:49 PM
> To: [EMAIL PROTECTED]
> Subject: Re: doubt!!!
>
>
> But did the libxerces-c1_3 got build successfully? Any link error or
> compilation error while you built the Xerces library libxerces-c1_3?
>
> Tinny
>
> Co-op DI wrote:
>
> > Thanks a lot for the quick response......
> >
> > Yes I am using the src package....and I did set the library path....
> >
> > I am attaching the full output after i did the gmake....
> > IT IS:-
> >
> > sulaco% gmake
> > mkdir -p /tilde/lpcoop/xmlparser/xml4csrc3_3_1/bin/obj/SAXCount
> > CC -DSOLARIS -L/usr/lib
> > /tilde/lpcoop/xmlparser/xml4csrc3_3_1/bin/obj/SAXCount/SAXCount.o
> >
> /tilde/lpcoop/xmlparser/xml4csrc3_3_1/bin/obj/SAXCount/SAXCountHandlers.o
> -o
> >
> > /tilde/lpcoop/xmlparser/xml4csrc3_3_1/bin/SAXCount
> > -L/tilde/lpcoop/xmlparser/xml4csrc3_3_1/lib -lxerces-c1_3 -lc -lgen
> > Undefined first referenced
> > symbol in file
> > XMLScanner::updateNSMap(const wchar_t* const, const wchar_t* const)
> > /tilde/lpcoop/xmlparser/xml4csrc3_3_1/lib/libxerces-c1_3.so
> > XMLScanner::buildAttList(const RefVectorOf<KVStringPair>&, const
> unsigned
> > int,
> > XMLElementDecl&, RefVectorOf<XMLAttr>&)
> > /tilde/lpcoop/xmlparser/xml4csrc3_3_1/lib/libxerces-c1_3.so
> > XMLScanner::scanCDSection(void)
> > /tilde/lpcoop/xmlparser/xml4csrc3_3_1/lib/libxerces-c1_3.so
> > XMLScanner::checkIDRefs(void)
> > /tilde/lpcoop/xmlparser/xml4csrc3_3_1/lib/libxerces-c1_3.so
> > XMLScanner::scanComment(void)
> > /tilde/lpcoop/xmlparser/xml4csrc3_3_1/lib/libxerces-c1_3.so
> > XMLScanner::scanAttValue(const wchar_t* const, XMLBuffer&, const
> > XMLAttDef::AttTypes)
> > /tilde/lpcoop/xmlparser/xml4csrc3_3_1/lib/libxerces-c1_3.so
> > XMLScanner::isLegalToken(const XMLPScanToken&)
> > /tilde/lpcoop/xmlparser/xml4csrc3_3_1/lib/libxerces-c1_3.so
> > XMLScanner::getQuotedString(XMLBuffer&)
> > /tilde/lpcoop/xmlparser/xml4csrc3_3_1/lib/libxerces-c1_3.so
> > XMLScanner::scanUpToWSOr(XMLBuffer&, const wchar_t)
> > /tilde/lpcoop/xmlparser/xml4csrc3_3_1/lib/libxerces-c1_3.so
> > XMLScanner::scanCharData(XMLBuffer&)
> > /tilde/lpcoop/xmlparser/xml4csrc3_3_1/lib/libxerces-c1_3.so
> > XMLScanner::senseNextToken(unsigned int&)
> > /tilde/lpcoop/xmlparser/xml4csrc3_3_1/lib/libxerces-c1_3.so
> > XMLScanner::resolveQName(const wchar_t* const, XMLBuffer&, XMLBuffer&,
> const
> >
> > ElemStack::MapModes)
> > /tilde/lpcoop/xmlparser/xml4csrc3_3_1/lib/libxerces-c1_3.so
> > XMLScanner::scanEq(void)
> > /tilde/lpcoop/xmlparser/xml4csrc3_3_1/lib/libxerces-c1_3.so
> > XMLScanner::basicAttrValueScan(const wchar_t* const, XMLBuffer&)
> > /tilde/lpcoop/xmlparser/xml4csrc3_3_1/lib/libxerces-c1_3.so
> > XMLScanner::scanReset(const InputSource&)
> > /tilde/lpcoop/xmlparser/xml4csrc3_3_1/lib/libxerces-c1_3.so
> > ld: fatal: Symbol referencing errors. No output written to
> > /tilde/lpcoop/xmlparser/xml4csrc3_3_1/bin/SAXCount
> > gmake: *** [/tilde/lpcoop/xmlparser/xml4csrc3_3_1/bin/SAXCount] Error 1
> > sulaco%
> >
> > The library path has been set.....
> > In the above output I think it is trying to refer to XMLScanner and it
> is
> > looking for the library which is present.....
> > Please can u put some light on what the problem is....
> > Thanks !!
> >
> > Saurabh.
> >
> > -----Original Message-----
> > From: Tinny Ng [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, June 15, 2001 11:27 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: doubt!!!
> >
> > Are you using the source package? If so, did you build the Xerces
> Library
> > successfully? And did you export LIBPATH / SHLIB_PATH / LD_LIBRARY_PATH
> > (depends on which platform) for the samples to pick up the Xerces
> library
> ?
> >
> > See http://xml.apache.org/xerces-c/build.html and
> > http://xml.apache.org/xerces-c/samples.html for further build
> instruction
> > details.
> >
> > Tinny
> >
> > Co-op DI wrote:
> >
> > > I have just installed XERCES-C C++ XML Parser.
> > > I was trying to build the first example SAXCount but when I did a
> "gmake"
> > > .... it gave me an error. The last 2 lines of the gmake are:-
> > >
> > > ld: fatal: Symbol referencing errors. No output written to
> > > /tilde/lpcoop/xmlparser/xml4csrc3_3_1/bin/SAXCount
> > > gmake: *** [/tilde/lpcoop/xmlparser/xml4csrc3_3_1/bin/SAXCount] Error
> 1
> > >
> > > Can somebody please tell me what is the problem?
> > >
> > > Thanks!
> > >
> > > Saurabh.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
***********************************************************************
Bear Stearns is not responsible for any recommendation, solicitation,
offer or agreement or any information about any transaction, customer
account or account activity contained in this communication.
***********************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]