Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

ActiveMQ-cpp causes segmentation faults on GCC 4.5.2

$
0
0
Hey there. I have been starting to work with ActiveMQ-cpp. Originally it
worked perfectly for me in my tests. However, I recently had to change my
environment and compiler from Solaris 10 w/ gcc-4.3.2 to Solaris 11 w/
gcc-4.5.2. I was able to get the ActiveMQ-cpp libraries to compile just
fine, but as soon as I run the example code from the ActiveMQ-cpp website it
generates a segmentation fault as soon as the threads try to join.

The code that I am trying to run is located here:
http://activemq.apache.org/cms/example.html. It ran just fine when I was
using an older version of GCC.

I get the following output from my code:
=======================================
Starting the example:

Viewing all articles
Browse latest Browse all 5648

Trending Articles