You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Kevin Douglas (Created) (JIRA)" <ji...@apache.org> on 2011/10/06 18:09:29 UTC
[jira] [Created] (QPID-3529) Errors During Compilation on SLES 11.1
Errors During Compilation on SLES 11.1
--------------------------------------
Key: QPID-3529
URL: https://issues.apache.org/jira/browse/QPID-3529
Project: Qpid
Issue Type: Bug
Components: C++ Broker, C++ Client
Affects Versions: 0.12
Environment: SUSE Linux Enterprise Server 11 SP1 (x86_64)
gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux)
boost version 1.36.0-11.17
Reporter: Kevin Douglas
Priority: Minor
I'm creating this ticket at the request of Steve on behalf of Greg based on the mailing list discussion that started with this thread:
http://mail-archives.apache.org/mod_mbox/qpid-users/201108.mbox/%3C662FFEFC60E8D040B9B1B4AC67C186CE0BBD0BBF@ALPMLVEM11.e2k.ad.ge.com%3E
-----
I downloaded the latest release 0.12. During compilation on SLES11.1 (boost 1.36) the following error occurs:
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I. -I=. -Werror -pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers -Woverloaded-virtual -DQPID_LIBEXEC_DIR=\"/usr/lib64/qpid\" -DBOOST_FILESYSTEM_VERSION=2 -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -MT qpid/management/Mutex.lo -MD -MP -MF qpid/management/.deps/Mutex.Tpo -c qpid/management/Mutex.cpp -fPIC -DPIC -o qpid/management/.libs/Mutex.o
./qpid/RefCounted.h: In function 'void
boost::intrusive_ptr_release(const T*) [with T =
boost::exception_detail::error_info_container]':
/usr/include/boost/intrusive_ptr.hpp:101: instantiated from
'boost::intrusive_ptr<T>::~intrusive_ptr() [with T = boost::exception_detail::error_info_container]'
/usr/include/boost/exception/exception.hpp:60: instantiated from here
./qpid/RefCounted.h:59: error: 'qpid::RefCounted' is not a base of 'const boost::exception_detail::error_info_container'
./qpid/RefCounted.h: In function 'void
boost::intrusive_ptr_add_ref(const T*) [with T =
boost::exception_detail::error_info_container]':
/usr/include/boost/intrusive_ptr.hpp:96: instantiated from
'boost::intrusive_ptr<T>::intrusive_ptr(const boost::intrusive_ptr<T>&) [with T = boost::exception_detail::error_info_container]'
/usr/include/boost/exception/exception.hpp:64: instantiated from here
./qpid/RefCounted.h:57: error: 'qpid::RefCounted' is not a base of 'const boost::exception_detail::error_info_container'
-----
The problem seems related to this change:
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/RefCounted.h?r1=1101181&r2=1101180&pathrev=1101181
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org