On Fri, 2010-07-16 at 11:48 +0800, Romain CHANU wrote:
> Hi,
> 
> I am currently upgrading my client from 3.1.0 to 3.2.1.
> 
> The environment used is very broad:
> 
> - Centos 5.3 (gcc 4.1.2, APR 1.3.9, APR-util 1.3.9)
> - Debian 5.0 (gcc 4.3.2, APR 1.3.5, APR-util 1.3.7)
> - Fedora 11 (gcc 4.4.0, APR 1.3.5, APR-util 1.3.9)
> - Ubuntu 10.04 (gcc 4.4.3, APR 1.3.8, APR-util 1.3.9)
> 
> The compilation works whatever the environment used :-)
> 
> However, I am facing major issues:
> 
> 1) On Centos 5.3 and Debian 5.0, "make check" fails:
> 
> (error reported from Centos 5.3)
> 
> g++ -DHAVE_CONFIG_H -I. -I../..    -ansi -pedantic   -DLINUX=2 -D_REENTRANT
> -D_GNU_SOURCE -D_LARGEFILE64_SOURCE  -I/usr/local/apr/include/apr-1
> -I/usr/local/apr/include/apr-1   -W -Wall -Wextra -Wconversion -fPIC
> -fstrict-aliasing -Wstrict-aliasing=2 -Wno-long-long   -DLINUX=2
> -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
> -I/usr/local/apr/include/apr-1   -I/usr/local/apr/include/apr-1
> -Wno-non-virtual-dtor -Wno-unused-parameter -Wno-uninitialized -I./../main
> -I/usr/local/include -g -O2 -pthread -MT
> activemq/test/activemq_test_integration-MessageCompressionTest.o -MD -MP -MF
> activemq/test/.deps/activemq_test_integration-MessageCompressionTest.Tpo -c
> -o activemq/test/activemq_test_integration-MessageCompressionTest.o `test -f
> 'activemq/test/MessageCompressionTest.cpp' || echo
> './'`activemq/test/MessageCompressionTest.cpp
> activemq/test/MessageCompressionTest.cpp:63: error: integer constant is too
> large for ‘long’ type
> activemq/test/MessageCompressionTest.cpp:69: error: integer constant is too
> large for ‘long’ type
> 
> 
> 2) I tried to run the examples provided in the package:
> 
> - On Centos 5.3 and Debian 5.0, none of the examples worked... I got a
> "segmentation fault"
> 
> - On Fedora 11 and Ubuntu 10.04, all the examples worked.
> 
> 
> Do you have any idea on what's going on?
> 
> 
> Thank you.
> 
> Regards,
> 
> Romain

Can you try with the latest code in the ActiveMQ-CPP 3.2.x fixes branch
and let me know if its still segfaulting?

The SVN location is here:
https://svn.apache.org/repos/asf/activemq/activemq-cpp/branches/activemq-cpp-3.2.x


Regards


-- 
Tim Bish

Open Source Integration: http://fusesource.com
ActiveMQ in Action: http://www.manning.com/snyder/

Follow me on Twitter: http://twitter.com/tabish121
My Blog: http://timbish.blogspot.com/

Reply via email to