Hi,

We did the same thing and got installed the activemq-cpp. 
But when tried to compile the example program(main.cpp) that is given in the
activemq-cpp/examples, we got the error as follows:

# ./main
Memory fault(coredump)

This is the trace that i got for the core created.

# gdb ./main core
HP gdb 5.0 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00
and target hppa1.1-hp-hpux11.00.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.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.
..(no debugging symbols found)...
Core was generated by `main'.
Program terminated with signal 11, Segmentation fault.
(no debugging symbols found)...
warning: Load module /usr/local/lib/libstdc++.sl has been stripped

#0  0xc056e888 in cma__val_defattr_stat+0x98 () from /usr/lib/libcma.2
(gdb) trace
trace command requires an argument
(gdb) info threads
*   1 user thread (6009337, 0)   0xc056e888 in cma__val_defattr_stat+0x98 ()
from /usr/lib/libcma.2
(gdb) thread apply all bt full

Thread 1 (user thread (6009337, 0)):
#0  0xc056e888 in cma__val_defattr_stat+0x98 () from /usr/lib/libcma.2
No symbol table info available.
#1  0xc0579fb4 in pthread_mutex_init+0x104 () from /usr/lib/libcma.2
No symbol table info available.
#2  0xc021d3ec in libc_init+0x6c () from /usr/lib/libc.2
No symbol table info available.
#3  0xc021cb78 in __libc_init+0xf0 () from /usr/lib/libc.2
No symbol table info available.
#4  0xc0047b30 in __hp__init_libc+0x28 () from /usr/lib/libpthread.1
No symbol table info available.
#5  0xc0049b44 in __pthread_startup+0x228 () from /usr/lib/libpthread.1
No symbol table info available.
#6  0xc0019260 in stat64+0xbffece30 () from /usr/lib/dld.sl
No symbol table info available.
#7  0xc0579fb4 in pthread_mutex_init+0x104 () from /usr/lib/libcma.2
No symbol table info available.
Cannot access memory at address 0xc0017d64


We need a help on this issue.

Radha.
-- 
View this message in context: 
http://old.nabble.com/Installing-Activemq-cpp-in-HP-UX-tp26007199p26125741.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to