You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by "Dantzler, DeWayne C" <de...@boeing.com> on 2010/04/01 01:56:40 UTC

Getting Xerces-C 3.0.1 to run on an HP-UX Itanium 64-bit machine

Hello, Xerces-User's

I'm trying to get Xerces-c 3.0.1 to run on an HP-UX Itanium box. I was able to install it, but it crashes when I run it. I've included the stack trace( given below) and noticed a reference to a 32-bit version of HP-UX library(libCsup.so.1). There is a 64-bit version, so does Xerces need to run on an Itanium with the 64-bit version? If so, how do I re-configure xerces to use the 64-bit version?

0000074fda1d0:0 in free+0xb0 () from /usr/lib/hpux32/libc.so.1
#1  0x2000000073f703d0:0 in operator delete(void*)+0x50 () from /usr/lib/hpux32/libCsup.so.1
#2  0x20000000748c1050:0 in xercesc_3_0::MemoryManagerImpl::deallocate () at /net/sinai/home/d/dcd9420/labs/xercesLab/xerces-c-3.0.1/src/xercesc/internal/MemoryManagerImpl.cpp:53
#3  0x2000000074875eb0:0 in xercesc_3_0::IGXMLScanner::cleanUp () at /net/sinai/home/d/dcd9420/labs/xercesLab/xerces-c-3.0.1/src/xercesc/util/RefHashTableOf.c:229
#4  0x2000000074873480:0 in xercesc_3_0::IGXMLScanner::~IGXMLScanner () at /net/sinai/home/d/dcd9420/labs/xercesLab/xerces-c-3.0.1/src/xercesc/internal/IGXMLScanner.cpp:161
#5  0x2000000074a33270:0 in xercesc_3_0::AbstractDOMParser::~AbstractDOMParser () at /net/sinai/home/d/dcd9420/labs/xercesLab/xerces-c-3.0.1/src/xercesc/parsers/AbstractDOMParser.cpp:162
#6  0x2000000074a52950:0 in xercesc_3_0::AbstractDOMParser::~AbstractDOMParser () at /net/sinai/home/d/dcd9420/labs/xercesLab/xerces-c-3.0.1/src/xercesc/parsers/AbstractDOMParser.cpp:130
#7  0x2000000074a8b060:0 in xercesc_3_0::XercesDOMParser::~XercesDOMParser () at /net/sinai/home/d/dcd9420/labs/xercesLab/xerces-c-3.0.1/src/xercesc/parsers/XercesDOMParser.cpp:66
#8  0x415d580:0 in csCtkXmlDOMParser::~csCtkXmlDOMParse


Thanks 




RE: Getting Xerces-C 3.0.1 to run on an HP-UX Itanium 64-bitmachine

Posted by "Dantzler, DeWayne C" <de...@boeing.com>.
Boris Kolpackov, wrote

>If you are using the pre-compiled binary from the Xerces-C++ website then you need to make sure you download the >64-bit version. If you built it yourself, see the build instructions on how to configure a 64-bit build on HP-UX/ia64:

>http://xerces.apache.org/xerces-c/build-3.html


Dantzler, DeWayne C <de...@boeing.com> writes:

>> I'm trying to get Xerces-c 3.0.1 to run on an HP-UX Itanium box. 
>> I was able to install it, but it crashes when I run it. I've included 
>> the stack trace( given below) and noticed a reference to a 32-bit 
>> version of HP-UX library(libCsup.so.1). There is a 64-bit version, so 
>> does Xerces need to run on an Itanium with the 64-bit version? If so, 
>> how do I re-configure xerces to use the 64-bit version?


Thanks Boris, this should help!!

Re: Getting Xerces-C 3.0.1 to run on an HP-UX Itanium 64-bit machine

Posted by Boris Kolpackov <bo...@codesynthesis.com>.
DeWayne,

Dantzler, DeWayne C <de...@boeing.com> writes:

> I'm trying to get Xerces-c 3.0.1 to run on an HP-UX Itanium box. 
> I was able to install it, but it crashes when I run it. I've 
> included the stack trace( given below) and noticed a reference 
> to a 32-bit version of HP-UX library(libCsup.so.1). There is 
> a 64-bit version, so does Xerces need to run on an Itanium with 
> the 64-bit version? If so, how do I re-configure xerces to use 
> the 64-bit version?

If you are using the pre-compiled binary from the Xerces-C++ website
then you need to make sure you download the 64-bit version. If you
built it yourself, see the build instructions on how to configure
a 64-bit build on HP-UX/ia64:

http://xerces.apache.org/xerces-c/build-3.html

Boris

-- 
Boris Kolpackov, Code Synthesis        http://codesynthesis.com/~boris/blog
Open-source XML data binding for C++   http://codesynthesis.com/products/xsd
XML data binding for embedded systems  http://codesynthesis.com/products/xsde
Command line interface to C++ compiler http://codesynthesis.com/projects/cli