Hello All,

         I am trying to compile Xerces-C on HPUX 11.22
with the following options.

./runConfigure -p hp-11 -c cc -x aCC -r pthread -b 64
-d -z -AA

I have created libxerces without any errors also the
samples that comes with the product.But When i try to
run the DOMCount example, i get core dump.
Here are the complete GDB ouptput.

=================
# gdb DOMCount
HP gdb 4.0 for HP Itanium (32 or 64 bit) and target
HP-UX 11.2x.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 4.0 (based on GDB) is
covered by the
GNU General Public License. Type "show copying" to see
the conditions to
change it and/or distribute copies. Type "show
warranty" for warranty/support.
..
(gdb) r
Starting program:
/home/arun/xercesc/2.3.0/Source/xerces-c-src_2_3_0/bin/DOMCount

Program received signal SIGABRT, Aborted (si_code: 0).
0x8fffffffee957d10:0 in kill+0x30 () from
/usr/lib/hpux64/libc.so.1
(gdb) bt
#0  0x8fffffffee957d10:0 in kill+0x30 () from
/usr/lib/hpux64/libc.so.1
#1  0x8fffffffee885260:0 in raise+0x40 () from
/usr/lib/hpux64/libc.so.1
#2  0x8fffffffee91f590:0 in abort+0x210 () from
/usr/lib/hpux64/libc.so.1
#3  0x8fffffffeeb203a0:0 in std::terminate+0x60 ()
   from /usr/lib/hpux64/libCsup.so.1
#4  0x8fffffffeeb1c580:0 in
__cxa_personality_routine+0x850 ()
   from /usr/lib/hpux64/libCsup.so.1
#5  0x8fffffffee9cbf50:0 in
_Unwind_RaiseException+0x250 ()
   from /usr/lib/hpux64/libunwind.so.1
#6  0x8fffffffeeb19700:0 in __cxa_throw+0x100 ()
   from /usr/lib/hpux64/libCsup.so.1
#7  0x8fffffffeecdeb10:0 in
std::locale::_C_install_facet+0x290 ()
   from /usr/lib/hpux64/libstd_v2.so.1
#8  0x8fffffffeecddb40:0 in
std::locale::_C_make_facet+0x540 ()
   from /usr/lib/hpux64/libstd_v2.so.1
#9  0x400000000004a2d0:0 in
std::basic_filebuf<char,std::char_traits<char>
>::overflow (this=0x8fffffffeeb60c90, __c=-1) at
/opt/aCC/include_std/fstream.cc:339
#10 0x400000000004bda0:0 in
std::basic_filebuf<char,std::char_traits<char> >::sync
(this=0x8fffffffeeb60c90) at
/opt/aCC/include_std/fstream.cc:572
#11 0x40000000000256a0:0 in
std::ostream::sentry::~sentry (
    this=0x8fffffffffffdd80, #free=2) at
/opt/aCC/include_std/ostream:108
#12 0x4000000000024280:0 in
std::basic_ostream<char,std::char_traits<char> >&
__rw::__rw_insert<char,std::char_traits<char>,char
const> (
---Type <return> to continue, or q <return> to quit---
    [EMAIL PROTECTED],
    __s=0x400000000001fd40 "\nUsage:\n    DOMCount
[options] <XML file | List file>\n\nThis program
invokes the DOMBuilder, builds the DOM tree,\nand then
prints the number of elements found in each XML
file.\n\nOptions:\n    -l        "..., __len=786,
__width=0) at /opt/aCC/include_std/ostream.cc:200
#13 0x40000000000239a0:0 in usage ()
    at
/home/arun/xercesc/2.3.0/Source/xerces-c-src_2_3_0/samples/DOMCount/DOMCount.cpp:90
#14 0x40000000000290a0:0 in main (argC=1,
argV=0x8ffffffffffff6e8)
    at
/home/arun/xercesc/2.3.0/Source/xerces-c-src_2_3_0/samples/DOMCount/DOMCount.cpp:170

=====================
Other samples like SAXPrint are working well.Only
DOMCount, MemParse, SAXCount and SAX2Count are
failing.
Any help would be really appreciated.

Thanks in Advance,
Arun


________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to