Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3529

Errors During Compilation on SLES 11.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 0.12
    • JIRA Cleanup
    • C++ Broker, C++ Client
    • 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

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            kdouglas Kevin Douglas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: