Uploaded image for project: 'ActiveMQ C++ Client'
  1. ActiveMQ C++ Client
  2. AMQCPP-381

Cannot build activemq-cpp 3.2.4 library on RH AS 3.0 with gcc 3.2.3.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 3.2.4
    • None
    • Other C++ Clients
    • None

    Description

      Downloaded source from: http://archive.apache.org/dist/activemq/activemq-cpp/source/activemq-cpp-library-3.2.4-src.tar.gz

      Cannot build activemq-cpp 3.2.4 library on RH AS 3.0 with gcc 3.2.3. Need clear documentation on what compilers and platforms it can be compiled and installed on. If these are already already documented can you please provide it.

      Errors:

      make all-recursive
      make[1]: Entering directory `/suresh/build/activemq-cpp'
      Making all in src/main
      make[2]: Entering directory `/suresh/build/activemq-cpp/src/main'
      /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -ansi -pedantic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/suresh/build/apr/include -I/suresh/build/apr-util/include -I/usr/kerberos/include -W -Wall -Wconversion -fPIC -fstrict-aliasing -Wno-long-long -g -O2 -pthread -MT activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo -MD -MP -MF activemq/cmsutil/.deps/libactivemq_cpp_la-CmsAccessor.Tpo -c -o activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo `test -f 'activemq/cmsutil/CmsAccessor.cpp' || echo './'`activemq/cmsutil/CmsAccessor.cpp
      libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -ansi -pedantic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/suresh/build/apr/include -I/suresh/build/apr-util/include -I/usr/kerberos/include -W -Wall -Wconversion -fPIC -fstrict-aliasing -Wno-long-long -g -O2 -pthread -MT activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo -MD -MP -MF activemq/cmsutil/.deps/libactivemq_cpp_la-CmsAccessor.Tpo -c activemq/cmsutil/CmsAccessor.cpp -fPIC -DPIC -o activemq/cmsutil/.libs/libactivemq_cpp_la-CmsAccessor.o
      In file included from decaf/util/List.h:26,
      from decaf/util/StlList.h:32,
      from activemq/cmsutil/ResourceLifecycleManager.h:27,
      from activemq/cmsutil/CmsAccessor.h:21,
      from activemq/cmsutil/CmsAccessor.cpp:18:
      decaf/util/AbstractCollection.h:114: syntax error before `_attribute_'
      decaf/util/AbstractCollection.h:147: warning: `virtual' is not at beginning of
      declaration
      decaf/util/AbstractCollection.h:150: warning: ISO C++ forbids defining types
      within return type
      decaf/util/AbstractCollection.h:150: `bool' is now a keyword
      decaf/util/AbstractCollection.h:150: virtual outside class declaration
      decaf/util/AbstractCollection.h:150: semicolon missing after declaration of `
      class decaf::util::AbstractCollection<E>'
      decaf/util/AbstractCollection.h: In function `int decaf::util::addAll(const
      decaf::util::Collection<E>&)':
      decaf/util/AbstractCollection.h:155: invalid use of `this' in non-member
      function
      decaf/util/AbstractCollection.h: At global scope:
      decaf/util/AbstractCollection.h:177: virtual outside class declaration
      decaf/util/AbstractCollection.h: In function `void decaf::util::clear()':
      decaf/util/AbstractCollection.h:179: `E' undeclared (first use this function)
      decaf/util/AbstractCollection.h:179: (Each undeclared identifier is reported
      only once for each function it appears in.)
      decaf/util/AbstractCollection.h:179: template argument 1 is invalid
      decaf/util/AbstractCollection.h:179: warning: ISO C++ forbids declaration of `
      type name' with no type
      decaf/util/AbstractCollection.h:179: invalid use of `this' in non-member
      function
      decaf/util/AbstractCollection.h:180: request for member `hasNext' in `
      *(&iter)>std::auto_ptr<_Tp>::operator>() const [with _Tp = int]()', which
      is of non-aggregate type `int'
      decaf/util/AbstractCollection.h:181: request for member `next' in `
      *(&iter)>std::auto_ptr<_Tp>::operator>() const [with _Tp = int]()', which
      is of non-aggregate type `int'
      decaf/util/AbstractCollection.h:182: request for member `remove' in `
      *(&iter)>std::auto_ptr<_Tp>::operator>() const [with _Tp = int]()', which
      is of non-aggregate type `int'
      In file included from decaf/util/List.h:26,
      from decaf/util/StlList.h:32,
      from activemq/cmsutil/ResourceLifecycleManager.h:27,
      from activemq/cmsutil/CmsAccessor.h:21,
      from activemq/cmsutil/CmsAccessor.cpp:18:
      decaf/util/AbstractCollection.h: At global scope:
      decaf/util/AbstractCollection.h:194: template argument 1 is invalid
      decaf/util/AbstractCollection.h:194: virtual outside class declaration
      decaf/util/AbstractCollection.h:194: warning: ISO C++ forbids declaration of `
      collection' with no type
      decaf/util/AbstractCollection.h: In function `void decaf::util::copy(const
      int&)':
      decaf/util/AbstractCollection.h:195: invalid use of `this' in non-member
      function
      decaf/util/AbstractCollection.h:197: template argument 1 is invalid
      decaf/util/AbstractCollection.h:197: warning: ISO C++ forbids declaration of `
      type name' with no type
      decaf/util/AbstractCollection.h:197: request for member `iterator' in `
      collection', which is of non-aggregate type `int'
      decaf/util/AbstractCollection.h:198: request for member `hasNext' in `
      *(&iter)>std::auto_ptr<_Tp>::operator>() const [with _Tp = int]()', which
      is of non-aggregate type `int'

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            svelupula Suresh Velupula
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: