You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Suresh Velupula (Created) (JIRA)" <ji...@apache.org> on 2011/10/15 00:26:11 UTC

[jira] [Created] (AMQCPP-381) Cannot build activemq-cpp 3.2.4 library on RH AS 3.0 with gcc 3.2.3.

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

                 Key: AMQCPP-381
                 URL: https://issues.apache.org/jira/browse/AMQCPP-381
             Project: ActiveMQ C++ Client
          Issue Type: Bug
          Components: Other C++ Clients
    Affects Versions: 3.2.4
         Environment: Red Hat Enterprise Linux AS release 3 (Taroon Update 8)
# rpm -qa |grep gcc
compat-gcc-7.3-2.96.128
gcc-c++-3.2.3-56
gcc-java-ssa-3.5ssa-0.20030801.48
gcc-java-3.2.3-56
libgcc-3.2.3-56
gcc-gnat-3.2.3-56
gcc-c++-ssa-3.5ssa-0.20030801.48
gcc-g77-3.2.3-56
gcc-ssa-3.5ssa-0.20030801.48
gcc-objc-ssa-3.5ssa-0.20030801.48
libgcc-ssa-3.5ssa-0.20030801.48
gcc-objc-3.2.3-56
compat-gcc-c++-7.3-2.96.128
gcc-3.2.3-56
gcc-g77-ssa-3.5ssa-0.20030801.48


            Reporter: Suresh Velupula
            Assignee: Timothy Bish


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.

--
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

        

[jira] [Closed] (AMQCPP-381) Cannot build activemq-cpp 3.2.4 library on RH AS 3.0 with gcc 3.2.3.

Posted by "Timothy Bish (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQCPP-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish closed AMQCPP-381.
-------------------------------

    Resolution: Not A Problem

The ActiveMQ-CPP project has been tested on GCC v4+ and MSVC 2008+ compilers.  There are some reports it will build on AIX and HPUX and older versions were tested on GCC v3.4+ compilers.  The GCC 3.2 series is not supported as it doesn't provide the language features needed to build this project.
                
> Cannot build activemq-cpp 3.2.4 library on RH AS 3.0 with gcc 3.2.3. 
> ---------------------------------------------------------------------
>
>                 Key: AMQCPP-381
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-381
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: Other C++ Clients
>    Affects Versions: 3.2.4
>         Environment: Red Hat Enterprise Linux AS release 3 (Taroon Update 8)
> autoconf 2.65
> automake  1.11
> libtool 1.5.24
> m4 1.4.11
> apr 1.4.5
> apr-util 1.3.12
> apr-iconv 1.2.1
> # rpm -qa |grep gcc
> compat-gcc-7.3-2.96.128
> gcc-c++-3.2.3-56
> gcc-java-ssa-3.5ssa-0.20030801.48
> gcc-java-3.2.3-56
> libgcc-3.2.3-56
> gcc-gnat-3.2.3-56
> gcc-c++-ssa-3.5ssa-0.20030801.48
> gcc-g77-3.2.3-56
> gcc-ssa-3.5ssa-0.20030801.48
> gcc-objc-ssa-3.5ssa-0.20030801.48
> libgcc-ssa-3.5ssa-0.20030801.48
> gcc-objc-3.2.3-56
> compat-gcc-c++-7.3-2.96.128
> gcc-3.2.3-56
> gcc-g77-ssa-3.5ssa-0.20030801.48
>            Reporter: Suresh Velupula
>            Assignee: Timothy Bish
>
> 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'
> ---

--
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

        

[jira] [Updated] (AMQCPP-381) Cannot build activemq-cpp 3.2.4 library on RH AS 3.0 with gcc 3.2.3.

Posted by "Suresh Velupula (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQCPP-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Velupula updated AMQCPP-381:
-----------------------------------

    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'

---


  was:
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.

    Environment: 
Red Hat Enterprise Linux AS release 3 (Taroon Update 8)

autoconf 2.65
automake  1.11
libtool 1.5.24
m4 1.4.11
apr 1.4.5
apr-util 1.3.12
apr-iconv 1.2.1


# rpm -qa |grep gcc
compat-gcc-7.3-2.96.128
gcc-c++-3.2.3-56
gcc-java-ssa-3.5ssa-0.20030801.48
gcc-java-3.2.3-56
libgcc-3.2.3-56
gcc-gnat-3.2.3-56
gcc-c++-ssa-3.5ssa-0.20030801.48
gcc-g77-3.2.3-56
gcc-ssa-3.5ssa-0.20030801.48
gcc-objc-ssa-3.5ssa-0.20030801.48
libgcc-ssa-3.5ssa-0.20030801.48
gcc-objc-3.2.3-56
compat-gcc-c++-7.3-2.96.128
gcc-3.2.3-56
gcc-g77-ssa-3.5ssa-0.20030801.48



  was:
Red Hat Enterprise Linux AS release 3 (Taroon Update 8)
# rpm -qa |grep gcc
compat-gcc-7.3-2.96.128
gcc-c++-3.2.3-56
gcc-java-ssa-3.5ssa-0.20030801.48
gcc-java-3.2.3-56
libgcc-3.2.3-56
gcc-gnat-3.2.3-56
gcc-c++-ssa-3.5ssa-0.20030801.48
gcc-g77-3.2.3-56
gcc-ssa-3.5ssa-0.20030801.48
gcc-objc-ssa-3.5ssa-0.20030801.48
libgcc-ssa-3.5ssa-0.20030801.48
gcc-objc-3.2.3-56
compat-gcc-c++-7.3-2.96.128
gcc-3.2.3-56
gcc-g77-ssa-3.5ssa-0.20030801.48



    
> Cannot build activemq-cpp 3.2.4 library on RH AS 3.0 with gcc 3.2.3. 
> ---------------------------------------------------------------------
>
>                 Key: AMQCPP-381
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-381
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: Other C++ Clients
>    Affects Versions: 3.2.4
>         Environment: Red Hat Enterprise Linux AS release 3 (Taroon Update 8)
> autoconf 2.65
> automake  1.11
> libtool 1.5.24
> m4 1.4.11
> apr 1.4.5
> apr-util 1.3.12
> apr-iconv 1.2.1
> # rpm -qa |grep gcc
> compat-gcc-7.3-2.96.128
> gcc-c++-3.2.3-56
> gcc-java-ssa-3.5ssa-0.20030801.48
> gcc-java-3.2.3-56
> libgcc-3.2.3-56
> gcc-gnat-3.2.3-56
> gcc-c++-ssa-3.5ssa-0.20030801.48
> gcc-g77-3.2.3-56
> gcc-ssa-3.5ssa-0.20030801.48
> gcc-objc-ssa-3.5ssa-0.20030801.48
> libgcc-ssa-3.5ssa-0.20030801.48
> gcc-objc-3.2.3-56
> compat-gcc-c++-7.3-2.96.128
> gcc-3.2.3-56
> gcc-g77-ssa-3.5ssa-0.20030801.48
>            Reporter: Suresh Velupula
>            Assignee: Timothy Bish
>
> 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'
> ---

--
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

        

[jira] [Commented] (AMQCPP-381) Cannot build activemq-cpp 3.2.4 library on RH AS 3.0 with gcc 3.2.3.

Posted by "Suresh Velupula (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQCPP-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13127972#comment-13127972 ] 

Suresh Velupula commented on AMQCPP-381:
----------------------------------------

Thanks. Where is it documented?
                
> Cannot build activemq-cpp 3.2.4 library on RH AS 3.0 with gcc 3.2.3. 
> ---------------------------------------------------------------------
>
>                 Key: AMQCPP-381
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-381
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: Other C++ Clients
>    Affects Versions: 3.2.4
>         Environment: Red Hat Enterprise Linux AS release 3 (Taroon Update 8)
> autoconf 2.65
> automake  1.11
> libtool 1.5.24
> m4 1.4.11
> apr 1.4.5
> apr-util 1.3.12
> apr-iconv 1.2.1
> # rpm -qa |grep gcc
> compat-gcc-7.3-2.96.128
> gcc-c++-3.2.3-56
> gcc-java-ssa-3.5ssa-0.20030801.48
> gcc-java-3.2.3-56
> libgcc-3.2.3-56
> gcc-gnat-3.2.3-56
> gcc-c++-ssa-3.5ssa-0.20030801.48
> gcc-g77-3.2.3-56
> gcc-ssa-3.5ssa-0.20030801.48
> gcc-objc-ssa-3.5ssa-0.20030801.48
> libgcc-ssa-3.5ssa-0.20030801.48
> gcc-objc-3.2.3-56
> compat-gcc-c++-7.3-2.96.128
> gcc-3.2.3-56
> gcc-g77-ssa-3.5ssa-0.20030801.48
>            Reporter: Suresh Velupula
>            Assignee: Timothy Bish
>
> 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'
> ---

--
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