Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8F01C103E1 for ; Fri, 28 Jun 2013 21:59:21 +0000 (UTC) Received: (qmail 41191 invoked by uid 500); 28 Jun 2013 21:59:21 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 41126 invoked by uid 500); 28 Jun 2013 21:59:21 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 41035 invoked by uid 99); 28 Jun 2013 21:59:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jun 2013 21:59:21 +0000 Date: Fri, 28 Jun 2013 21:59:21 +0000 (UTC) From: "John Rocha (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMQCPP-497) Compilation of 3.7.0 fails for Linux systems (Redhat 5.8 and SuSE SLES 10) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQCPP-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Rocha updated AMQCPP-497: ------------------------------ Summary: Compilation of 3.7.0 fails for Linux systems (Redhat 5.8 and SuSE SLES 10) (was: 3.7.0 fails for Linux systems (Redhat 5.8 and SuSE SLES 10)) > Compilation of 3.7.0 fails for Linux systems (Redhat 5.8 and SuSE SLES 10) > -------------------------------------------------------------------------- > > Key: AMQCPP-497 > URL: https://issues.apache.org/jira/browse/AMQCPP-497 > Project: ActiveMQ C++ Client > Issue Type: Bug > Components: Decaf > Affects Versions: 3.7.0 > Environment: Linux Red Hat 5.8 and Linux SuSE SLES10 > Reporter: John Rocha > Assignee: Timothy Bish > Labels: compile-error, linux > Attachments: patch003.TBD > > > Compilation of 3.7.0 fails for Linux systems (RedHat 5.8 and SuSE SLES 10) > I found that even after applying the patch for AMQCPP-483, compilation of the 3.7.0 source base on Linux systems would still fail. I reproduced this problem on two diffent flavors of Linux. RedHat 5.8 and SuSE SLES10. > The failures are as follows: > {panel} > libtool: compile: g\+\+ \-DHAVE\_CONFIG\_H \-I. \-I../.. \-ansi \-pedantic \-DLINUX=2 \-D\_REENTRANT \-D\_GNU\_SOURCE \-D\_LARGEFILE64\_SOURCE \-I/views/LU\-7.2\-AMQ\-3.7.1/server/gpl/apr\-1.4.2\-src/BUILD\_DIR\_RhatFive0206\-i686\-gnu0401/include/apr\-1 \-I/usr/kerberos/include \-W \-Wall \-Wextra \-Wconversion \-fPIC \-fstrict\-aliasing \-Wstrict\-aliasing=2 \-Wno\-long\-long \-g \-O2 \-pthread \-MT decaf/internal/util/libactivemq\_cpp\_la\-HexStringParser.lo \-MD \-MP \-MF decaf/internal/util/.deps/libactivemq\_cpp\_la\-HexStringParser.Tpo \-c decaf/internal/util/HexStringParser.cpp \-fPIC \-DPIC \-o decaf/internal/util/.libs/libactivemq\_cpp\_la\-HexStringParser.o > decaf/internal/util/HexStringParser.cpp:28:26: error: apr\_strmatch.h: No such file or directory > make\[3]: \*\*\* \[decaf/internal/util/libactivemq\_cpp\_la\-HexStringParser.lo] Error 1 > make\[2]: \*\*\* \[all\-recursive] Error 1 > make\[1]: \*\*\* \[all] Error 2 > make: \*\*\* \[os\_release] Error 2 > {panel} > and > {panel} > libtool: compile: g\+\+ \-DHAVE\_CONFIG\_H \-I. \-I../.. \-ansi \-pedantic \-DLINUX=2 \-D\_REENTRANT \-D\_GNU\_SOURCE \-D\_LARGEFILE64\_SOURCE \-I/views/LU\-7.2\-AMQ\-3.7.1/server/gpl/apr\-1.4.2\-src/BUILD\_DIR\_RhatFive0206\-i686\-gnu0401/include/apr\-1 \-I/usr/kerberos/include \-W \-Wall \-Wextra \-Wconversion \-fPIC \-fstrict\-aliasing \-Wstrict\-aliasing=2 \-Wno\-long\-long \-g \-O2 \-pthread \-MT decaf/util/libactivemq\_cpp\_la\-UUID.lo \-MD \-MP \-MF decaf/util/.deps/libactivemq\_cpp\_la\-UUID.Tpo \-c decaf/util/UUID.cpp \-fPIC \-DPIC \-o decaf/util/.libs/libactivemq\_cpp\_la\-UUID.o > decaf/util/UUID.cpp:112: error: integer constant is too large for 'long' type > decaf/util/UUID.cpp: In copy constructor 'decaf::util::UUID::UUID(const decaf::util::UUID&)': > decaf/util/UUID.cpp:151: warning: base class 'class decaf::lang::Comparable' should be explicitly initialized in the copy constructor > make\[3]: \*\*\* \[decaf/util/libactivemq\_cpp\_la\-UUID.lo] Error 1 > make\[2]: \*\*\* \[all\-recursive] Error 1 > make\[1]: \*\*\* \[all] Error 2 > make: \*\*\* \[os\_release] Error 2 > {panel} > I've attached a patch file for what I think might be the fixes. > For the first I removed the inclusion of the file {{apr_strmatch.h}} as it comes from apr\-util which according to [AMQCPP\-469|https://issues.apache.org/jira/browse/AMQCPP\-469] is no longer needed. Moreover, compilation works even with it's removal. > For the second I changed the casting from L to LL. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira