Hi,
I need some help, as
I'm not familar with UNIX c++ build.
I downloaded the
binary xerces-c1_6_0-AIX43_5.02 from Apache download site. On AIX5, I try to
build a sample with the library in this package. But I get following
error:
ld: 0711-317 ERROR:
Undefined symbol: typeinfo for XMLException
ld: 0711-317 ERROR: Undefined symbol: StdInInputSource::makeStream() const
ld: 0711-317 ERROR: Undefined symbol: typeinfo for XMLEntityDecl
ld: 0711-317 ERROR: Undefined symbol: typeinfo for InputSource
ld: 0711-317 ERROR: Undefined symbol: .XMLString::transcode(unsigned short const
*)
ld: 0711-317 ERROR: Undefined symbol: .SAXParseException::getColumnNumber() cons
t
ld: 0711-317 ERROR: Undefined symbol: .SAXParseException::getLineNumber() const
ld: 0711-317 ERROR: Undefined symbol: .XMLString::transcode(char const*)
ld: 0711-317 ERROR: Undefined symbol: .XMLString::compareString(unsigned short c
onst*, unsigned short const*)
ld: 0711-317 ERROR: Undefined symbol: .LocalFileInputSource::LocalFileInputSourc
e[in-charge](unsigned short const*)
ld: 0711-317 ERROR: Undefined symbol: .SAXParseException::SAXParseException[in-c
harge](SAXParseException const&)
ld: 0711-317 ERROR: Undefined symbol: typeinfo for SAXParseException
ld: 0711-317 ERROR: Undefined symbol: SAXParseException::~SAXParseException [in-
charge]()
ld: 0711-317 ERROR: Undefined symbol: .XMLPlatformUtils::Initialize()
ld: 0711-317 ERROR: Undefined symbol: .MemBufInputSource::MemBufInputSource[in-c
harge](unsigned char const*, unsigned, char const*, bool)
ld: 0711-317 ERROR: Undefined symbol: .XMLPlatformUtils::Terminate()
ld: 0711-317 ERROR: Undefined symbol: .MemBufInputSource::~MemBufInputSource [in
-charge]()
ld: 0711-317 ERROR: Undefined symbol: .XMLEntityDecl::~XMLEntityDecl [not-in-cha
rge]()
ld: 0711-317 ERROR: Undefined symbol: .SAX2XMLReaderImpl::SAX2XMLReaderImpl[in-c
harge]()
ld: 0711-317 ERROR: Undefined symbol: .InputSource::~InputSource [not-in-charge]
()
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
ld: 0711-317 ERROR: Undefined symbol: StdInInputSource::makeStream() const
ld: 0711-317 ERROR: Undefined symbol: typeinfo for XMLEntityDecl
ld: 0711-317 ERROR: Undefined symbol: typeinfo for InputSource
ld: 0711-317 ERROR: Undefined symbol: .XMLString::transcode(unsigned short const
*)
ld: 0711-317 ERROR: Undefined symbol: .SAXParseException::getColumnNumber() cons
t
ld: 0711-317 ERROR: Undefined symbol: .SAXParseException::getLineNumber() const
ld: 0711-317 ERROR: Undefined symbol: .XMLString::transcode(char const*)
ld: 0711-317 ERROR: Undefined symbol: .XMLString::compareString(unsigned short c
onst*, unsigned short const*)
ld: 0711-317 ERROR: Undefined symbol: .LocalFileInputSource::LocalFileInputSourc
e[in-charge](unsigned short const*)
ld: 0711-317 ERROR: Undefined symbol: .SAXParseException::SAXParseException[in-c
harge](SAXParseException const&)
ld: 0711-317 ERROR: Undefined symbol: typeinfo for SAXParseException
ld: 0711-317 ERROR: Undefined symbol: SAXParseException::~SAXParseException [in-
charge]()
ld: 0711-317 ERROR: Undefined symbol: .XMLPlatformUtils::Initialize()
ld: 0711-317 ERROR: Undefined symbol: .MemBufInputSource::MemBufInputSource[in-c
harge](unsigned char const*, unsigned, char const*, bool)
ld: 0711-317 ERROR: Undefined symbol: .XMLPlatformUtils::Terminate()
ld: 0711-317 ERROR: Undefined symbol: .MemBufInputSource::~MemBufInputSource [in
-charge]()
ld: 0711-317 ERROR: Undefined symbol: .XMLEntityDecl::~XMLEntityDecl [not-in-cha
rge]()
ld: 0711-317 ERROR: Undefined symbol: .SAX2XMLReaderImpl::SAX2XMLReaderImpl[in-c
harge]()
ld: 0711-317 ERROR: Undefined symbol: .InputSource::~InputSource [not-in-charge]
()
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
On AIX5, can I use
the library built on AIX43? Is that the reason of these
errors?
I also try to build
Xerces from source code. But I find I don't have the utility
makeC++sharedlibrary on my system. So I need to change the makefile to use g++
to create the shared library. I would like to get some instruction about that.
Is there anyone have
the same experience? I will appreciate your help very much!
Liping