Hi, Have you tried upgrading your gcc in the centos and debian machines? This would keep a consisting environment so that we can rule out that possible root of problems?
Regards On 16 July 2010 11:49, Romain CHANU <romainch...@gmail.com> 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 > -- Sebastien Rodriguez