You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Liping Dai <ld...@iplocks.com> on 2005/03/25 01:54:08 UTC

Build xerces-c 1.6.0 on AIX 5.1 with G++

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
 
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
 

Re: Build xerces-c 1.6.0 on AIX 5.1 with G++

Posted by da...@us.ibm.com.
> 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:

That version of Xerces-C was built with xlC, so you cannot use g++ with 
it.  You will need to download the source distribution and build the 
library using g++.

Also, if you really downloaded Xerces-C 1.6, I would suggest downloading 
the latest, which is version 2.6.  1.6 is very old, and it's unlikely 
anyone will be able to help you if you have problems with it.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org