You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "S R (JIRA)" <ji...@apache.org> on 2012/10/10 22:21:02 UTC

[jira] [Created] (AMQ-4101) Compilation error on Solaris with gcc compiler

S R created AMQ-4101:
------------------------

             Summary: Compilation error on Solaris with gcc compiler
                 Key: AMQ-4101
                 URL: https://issues.apache.org/jira/browse/AMQ-4101
             Project: ActiveMQ
          Issue Type: Bug
          Components: CMS (C++ client)
            Reporter: S R
            Priority: Minor



decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp: In member function `void decaf::internal::net::ssl::openssl::OpenSSLSocket::verifyServerCert(const std::string&)':
decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:679: error: invalid conversion from `const unsigned char**' to `unsigned char**'
decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:680: error: invalid conversion from `const unsigned char**' to `unsigned char**'


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

[jira] [Commented] (AMQCPP-434) Compilation error on Solaris with gcc compiler

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

S R commented on AMQCPP-434:
----------------------------

>openssl version
OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)

Quick question : Does CMS compile with aCC also and are AIX, HP-UX and TRU64 supported ?
                
> Compilation error on Solaris with gcc compiler
> ----------------------------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>            Reporter: S R
>            Priority: Minor
>
> SUN Solaris 10
> CMS Version : activemq-cpp-library-3.4.3
> gcc version 3.4.3 
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp: In member function `void decaf::internal::net::ssl::openssl::OpenSSLSocket::verifyServerCert(const std::string&)':
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:679: error: invalid conversion from `const unsigned char**' to `unsigned char**'
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:680: error: invalid conversion from `const unsigned char**' to `unsigned char**'

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

[jira] [Updated] (AMQCPP-434) Compilation error on Solaris

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

S R updated AMQCPP-434:
-----------------------

    Description: 
SUN Solaris 10

CMS Version : activemq-cpp-library-3.4.3

cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15

OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)

>make
make  all-recursive
Making all in src/main
source='activemq/cmsutil/CmsAccessor.cpp' object='activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/bash ../../config/depcomp \
/bin/bash ../../libtool  --tag=CXX   --mode=compile CC -DHAVE_CONFIG_H -I. -I../..    -mt -w -O5 -library=stlport4   -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE  -I/irb/dev2/srathee/apr-1.4.5/solaris/include/apr-1   -I/irb/dev2/srathee/apr-util-1.3.12/solaris/include/apr-1  -I/usr/sfw/include   -PIC -g -c -o activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo `test -f 'activemq/cmsutil/CmsAccessor.cpp' || echo './'`activemq/cmsutil/CmsAccessor.cpp
libtool: compile:  CC -DHAVE_CONFIG_H -I. -I../.. -mt -w -O5 -library=stlport4 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/irb/dev2/srathee/apr-1.4.5/solaris/include/apr-1 -I/irb/dev2/srathee/apr-util-1.3.12/solaris/include/apr-1 -I/usr/sfw/include -PIC -g -c activemq/cmsutil/CmsAccessor.cpp  -KPIC -DPIC -o activemq/cmsutil/.libs/libactivemq_cpp_la-CmsAccessor.o
CC: Warning: illegal option stlport4 ignored
"./decaf/util/LinkedList.h", line 63: Error: decaf::util::LinkedList<cms::Connection*> is not a direct base class of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.
"./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
"./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
"./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
"./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> to public.
"./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
"./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
"./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
"./decaf/util/LinkedList.h", line 63: Error: Use ";" to terminate declarations.
"./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
"./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
"./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
"./decaf/util/LinkedList.h", line 63: Error: "}" expected instead of "<".
"./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
"./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
"./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
"./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> because of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.


  was:
SUN Solaris 10

CMS Version : activemq-cpp-library-3.4.3

cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15

OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)

CC: Warning: illegal option stlport4 ignored
"./decaf/util/LinkedList.h", line 63: Error: decaf::util::LinkedList<cms::Connection*> is not a direct base class of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.
"./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
"./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
"./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.



    
> Compilation error on Solaris
> ----------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>            Reporter: S R
>            Priority: Minor
>
> SUN Solaris 10
> CMS Version : activemq-cpp-library-3.4.3
> cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
> OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)
> >make
> make  all-recursive
> Making all in src/main
> source='activemq/cmsutil/CmsAccessor.cpp' object='activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo' libtool=yes \
> DEPDIR=.deps depmode=none /bin/bash ../../config/depcomp \
> /bin/bash ../../libtool  --tag=CXX   --mode=compile CC -DHAVE_CONFIG_H -I. -I../..    -mt -w -O5 -library=stlport4   -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE  -I/irb/dev2/srathee/apr-1.4.5/solaris/include/apr-1   -I/irb/dev2/srathee/apr-util-1.3.12/solaris/include/apr-1  -I/usr/sfw/include   -PIC -g -c -o activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo `test -f 'activemq/cmsutil/CmsAccessor.cpp' || echo './'`activemq/cmsutil/CmsAccessor.cpp
> libtool: compile:  CC -DHAVE_CONFIG_H -I. -I../.. -mt -w -O5 -library=stlport4 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/irb/dev2/srathee/apr-1.4.5/solaris/include/apr-1 -I/irb/dev2/srathee/apr-util-1.3.12/solaris/include/apr-1 -I/usr/sfw/include -PIC -g -c activemq/cmsutil/CmsAccessor.cpp  -KPIC -DPIC -o activemq/cmsutil/.libs/libactivemq_cpp_la-CmsAccessor.o
> CC: Warning: illegal option stlport4 ignored
> "./decaf/util/LinkedList.h", line 63: Error: decaf::util::LinkedList<cms::Connection*> is not a direct base class of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> to public.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Use ";" to terminate declarations.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: "}" expected instead of "<".
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> because of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.

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

[jira] [Comment Edited] (AMQCPP-434) Compilation error on Solaris

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

S R edited comment on AMQCPP-434 at 10/19/12 4:03 PM:
------------------------------------------------------

============
Details now:
============
>/usr/ccs/bin/ld -V
ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.493

>cc -V
cc: Sun C 5.9 SunOS_sparc Patch 124867-01 2007/07/12

>which cc
/tools/SunStudio12/SUNWspro/bin/cc

==============================
But I see following problem :
==============================
ld: fatal: file decaf/internal/util/zip/.libs/libactivemq_cpp_la-adler32.o: unknown file type
ld: fatal: File processing errors. No output written to .libs/libactivemq-cpp.so.14.0.3
*** Error code 1
make: Fatal error: Command failed for target `libactivemq-cpp.la'


                
      was (Author: zackhasit):
    Details now:
===========
>/usr/ccs/bin/ld -V
ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.493

>cc -V
cc: Sun C 5.9 SunOS_sparc Patch 124867-01 2007/07/12

>which cc
/tools/SunStudio12/SUNWspro/bin/cc

==============================
But I see following problem :
==============================
ld: fatal: file decaf/internal/util/zip/.libs/libactivemq_cpp_la-adler32.o: unknown file type
ld: fatal: File processing errors. No output written to .libs/libactivemq-cpp.so.14.0.3
*** Error code 1
make: Fatal error: Command failed for target `libactivemq-cpp.la'


                  
> Compilation error on Solaris
> ----------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 3.4.3
>            Reporter: S R
>            Priority: Minor
>
> SUN Solaris 10
> CMS Version : activemq-cpp-library-3.4.3
> cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
> OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)
> >make
> make  all-recursive
> Making all in src/main
> source='activemq/cmsutil/CmsAccessor.cpp' object='activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo' libtool=yes \
> DEPDIR=.deps depmode=none /bin/bash ../../config/depcomp \
> /bin/bash ../../libtool  --tag=CXX   --mode=compile CC -DHAVE_CONFIG_H -I. -I../..    -mt -w -O5 -library=stlport4   -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE  -I/dev/apr-1.4.5/solaris/include/apr-1   -I/dev/apr-util-1.3.12/solaris/include/apr-1  -I/usr/sfw/include   -PIC -g -c -o activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo `test -f 'activemq/cmsutil/CmsAccessor.cpp' || echo './'`activemq/cmsutil/CmsAccessor.cpp
> libtool: compile:  CC -DHAVE_CONFIG_H -I. -I../.. -mt -w -O5 -library=stlport4 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/dev/apr-1.4.5/solaris/include/apr-1 -I/dev/apr-util-1.3.12/solaris/include/apr-1 -I/usr/sfw/include -PIC -g -c activemq/cmsutil/CmsAccessor.cpp  -KPIC -DPIC -o activemq/cmsutil/.libs/libactivemq_cpp_la-CmsAccessor.o
> CC: Warning: illegal option stlport4 ignored
> "./decaf/util/LinkedList.h", line 63: Error: decaf::util::LinkedList<cms::Connection*> is not a direct base class of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> to public.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Use ";" to terminate declarations.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: "}" expected instead of "<".
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> because of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.

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

[jira] [Updated] (AMQCPP-434) Compilation error on Solaris

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

S R updated AMQCPP-434:
-----------------------

    Description: 
SUN Solaris 10

CMS Version : activemq-cpp-library-3.4.3

cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15

OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)

CC: Warning: illegal option stlport4 ignored
"./decaf/util/LinkedList.h", line 63: Error: decaf::util::LinkedList<cms::Connection*> is not a direct base class of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.
"./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
"./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
"./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.



  was:
SUN Solaris 10

CMS Version : activemq-cpp-library-3.4.3

cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15

OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)

decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp: In member function `void decaf::internal::net::ssl::openssl::OpenSSLSocket::verifyServerCert(const std::string&)':
decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:679: error: invalid conversion from `const unsigned char**' to `unsigned char**'
decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:680: error: invalid conversion from `const unsigned char**' to `unsigned char**'


    
> Compilation error on Solaris
> ----------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>            Reporter: S R
>            Priority: Minor
>
> SUN Solaris 10
> CMS Version : activemq-cpp-library-3.4.3
> cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
> OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)
> CC: Warning: illegal option stlport4 ignored
> "./decaf/util/LinkedList.h", line 63: Error: decaf::util::LinkedList<cms::Connection*> is not a direct base class of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.

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

[jira] [Updated] (AMQCPP-434) Compilation error on Solaris

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

S R updated AMQCPP-434:
-----------------------

    Comment: was deleted

(was: I can try to get to latest compiler and try. That should not be a problem.)
    
> Compilation error on Solaris
> ----------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 3.4.3
>            Reporter: S R
>            Priority: Minor
>
> SUN Solaris 10
> CMS Version : activemq-cpp-library-3.4.3
> cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
> OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)
> >make
> make  all-recursive
> Making all in src/main
> source='activemq/cmsutil/CmsAccessor.cpp' object='activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo' libtool=yes \
> DEPDIR=.deps depmode=none /bin/bash ../../config/depcomp \
> /bin/bash ../../libtool  --tag=CXX   --mode=compile CC -DHAVE_CONFIG_H -I. -I../..    -mt -w -O5 -library=stlport4   -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE  -I/dev/apr-1.4.5/solaris/include/apr-1   -I/dev/apr-util-1.3.12/solaris/include/apr-1  -I/usr/sfw/include   -PIC -g -c -o activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo `test -f 'activemq/cmsutil/CmsAccessor.cpp' || echo './'`activemq/cmsutil/CmsAccessor.cpp
> libtool: compile:  CC -DHAVE_CONFIG_H -I. -I../.. -mt -w -O5 -library=stlport4 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/dev/apr-1.4.5/solaris/include/apr-1 -I/dev/apr-util-1.3.12/solaris/include/apr-1 -I/usr/sfw/include -PIC -g -c activemq/cmsutil/CmsAccessor.cpp  -KPIC -DPIC -o activemq/cmsutil/.libs/libactivemq_cpp_la-CmsAccessor.o
> CC: Warning: illegal option stlport4 ignored
> "./decaf/util/LinkedList.h", line 63: Error: decaf::util::LinkedList<cms::Connection*> is not a direct base class of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> to public.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Use ";" to terminate declarations.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: "}" expected instead of "<".
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> because of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.

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

[jira] [Commented] (AMQCPP-434) Compilation error on Solaris with gcc compiler

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

S R commented on AMQCPP-434:
----------------------------

SUN Solaris 10

CMS Version : activemq-cpp-library-3.4.3

gcc version 3.4.3 



                
> Compilation error on Solaris with gcc compiler
> ----------------------------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>            Reporter: S R
>            Priority: Minor
>
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp: In member function `void decaf::internal::net::ssl::openssl::OpenSSLSocket::verifyServerCert(const std::string&)':
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:679: error: invalid conversion from `const unsigned char**' to `unsigned char**'
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:680: error: invalid conversion from `const unsigned char**' to `unsigned char**'

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

[jira] [Moved] (AMQCPP-434) Compilation error on Solaris with gcc compiler

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

Timothy Bish moved AMQ-4101 to AMQCPP-434:
------------------------------------------

    Component/s:     (was: CMS (C++ client))
                 CMS Impl
            Key: AMQCPP-434  (was: AMQ-4101)
        Project: ActiveMQ C++ Client  (was: ActiveMQ)
    
> Compilation error on Solaris with gcc compiler
> ----------------------------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>            Reporter: S R
>            Priority: Minor
>
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp: In member function `void decaf::internal::net::ssl::openssl::OpenSSLSocket::verifyServerCert(const std::string&)':
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:679: error: invalid conversion from `const unsigned char**' to `unsigned char**'
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:680: error: invalid conversion from `const unsigned char**' to `unsigned char**'

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

[jira] [Updated] (AMQCPP-434) Compilation error on Solaris

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

S R updated AMQCPP-434:
-----------------------

    Description: 
SUN Solaris 10

CMS Version : activemq-cpp-library-3.4.3

cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15

OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)

decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp: In member function `void decaf::internal::net::ssl::openssl::OpenSSLSocket::verifyServerCert(const std::string&)':
decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:679: error: invalid conversion from `const unsigned char**' to `unsigned char**'
decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:680: error: invalid conversion from `const unsigned char**' to `unsigned char**'


  was:
SUN Solaris 10

CMS Version : activemq-cpp-library-3.4.3

gcc version 3.4.3 

OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)

decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp: In member function `void decaf::internal::net::ssl::openssl::OpenSSLSocket::verifyServerCert(const std::string&)':
decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:679: error: invalid conversion from `const unsigned char**' to `unsigned char**'
decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:680: error: invalid conversion from `const unsigned char**' to `unsigned char**'


        Summary: Compilation error on Solaris  (was: Compilation error on Solaris with gcc compiler)
    
> Compilation error on Solaris
> ----------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>            Reporter: S R
>            Priority: Minor
>
> SUN Solaris 10
> CMS Version : activemq-cpp-library-3.4.3
> cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
> OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp: In member function `void decaf::internal::net::ssl::openssl::OpenSSLSocket::verifyServerCert(const std::string&)':
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:679: error: invalid conversion from `const unsigned char**' to `unsigned char**'
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:680: error: invalid conversion from `const unsigned char**' to `unsigned char**'

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

[jira] [Comment Edited] (AMQCPP-434) Compilation error on Solaris

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

S R edited comment on AMQCPP-434 at 10/19/12 4:21 PM:
------------------------------------------------------

============
Details now:
============
>/usr/ccs/bin/ld -V
ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.493

>cc -V
cc: Sun C 5.9 SunOS_sparc Patch 124867-01 2007/07/12

>which cc
/tools/SunStudio12/SUNWspro/bin/cc

==============================
But I see following problem :
==============================
ld: fatal: file decaf/internal/util/zip/.libs/libactivemq_cpp_la-adler32.o: unknown file type
ld: fatal: File processing errors. No output written to .libs/libactivemq-cpp.so.14.0.3
*** Error code 1
make: Fatal error: Command failed for target `libactivemq-cpp.la'

=============================

Found this via Google : https://dev.icinga.org/issues/524



                
      was (Author: zackhasit):
    ============
Details now:
============
>/usr/ccs/bin/ld -V
ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.493

>cc -V
cc: Sun C 5.9 SunOS_sparc Patch 124867-01 2007/07/12

>which cc
/tools/SunStudio12/SUNWspro/bin/cc

==============================
But I see following problem :
==============================
ld: fatal: file decaf/internal/util/zip/.libs/libactivemq_cpp_la-adler32.o: unknown file type
ld: fatal: File processing errors. No output written to .libs/libactivemq-cpp.so.14.0.3
*** Error code 1
make: Fatal error: Command failed for target `libactivemq-cpp.la'


                  
> Compilation error on Solaris
> ----------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 3.4.3
>            Reporter: S R
>            Priority: Minor
>
> SUN Solaris 10
> CMS Version : activemq-cpp-library-3.4.3
> cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
> OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)
> >make
> make  all-recursive
> Making all in src/main
> source='activemq/cmsutil/CmsAccessor.cpp' object='activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo' libtool=yes \
> DEPDIR=.deps depmode=none /bin/bash ../../config/depcomp \
> /bin/bash ../../libtool  --tag=CXX   --mode=compile CC -DHAVE_CONFIG_H -I. -I../..    -mt -w -O5 -library=stlport4   -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE  -I/dev/apr-1.4.5/solaris/include/apr-1   -I/dev/apr-util-1.3.12/solaris/include/apr-1  -I/usr/sfw/include   -PIC -g -c -o activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo `test -f 'activemq/cmsutil/CmsAccessor.cpp' || echo './'`activemq/cmsutil/CmsAccessor.cpp
> libtool: compile:  CC -DHAVE_CONFIG_H -I. -I../.. -mt -w -O5 -library=stlport4 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/dev/apr-1.4.5/solaris/include/apr-1 -I/dev/apr-util-1.3.12/solaris/include/apr-1 -I/usr/sfw/include -PIC -g -c activemq/cmsutil/CmsAccessor.cpp  -KPIC -DPIC -o activemq/cmsutil/.libs/libactivemq_cpp_la-CmsAccessor.o
> CC: Warning: illegal option stlport4 ignored
> "./decaf/util/LinkedList.h", line 63: Error: decaf::util::LinkedList<cms::Connection*> is not a direct base class of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> to public.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Use ";" to terminate declarations.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: "}" expected instead of "<".
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> because of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.

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

[jira] [Closed] (AMQCPP-434) Compilation error on Solaris

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

Timothy Bish closed AMQCPP-434.
-------------------------------

    Resolution: Won't Fix

Not really worth trying to fix for such an old compiler, reopen if patches become available. 
                
> Compilation error on Solaris
> ----------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 3.4.3
>            Reporter: S R
>            Priority: Minor
>
> SUN Solaris 10
> CMS Version : activemq-cpp-library-3.4.3
> cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
> OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)
> >make
> make  all-recursive
> Making all in src/main
> source='activemq/cmsutil/CmsAccessor.cpp' object='activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo' libtool=yes \
> DEPDIR=.deps depmode=none /bin/bash ../../config/depcomp \
> /bin/bash ../../libtool  --tag=CXX   --mode=compile CC -DHAVE_CONFIG_H -I. -I../..    -mt -w -O5 -library=stlport4   -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE  -I/dev/apr-1.4.5/solaris/include/apr-1   -I/dev/apr-util-1.3.12/solaris/include/apr-1  -I/usr/sfw/include   -PIC -g -c -o activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo `test -f 'activemq/cmsutil/CmsAccessor.cpp' || echo './'`activemq/cmsutil/CmsAccessor.cpp
> libtool: compile:  CC -DHAVE_CONFIG_H -I. -I../.. -mt -w -O5 -library=stlport4 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/dev/apr-1.4.5/solaris/include/apr-1 -I/dev/apr-util-1.3.12/solaris/include/apr-1 -I/usr/sfw/include -PIC -g -c activemq/cmsutil/CmsAccessor.cpp  -KPIC -DPIC -o activemq/cmsutil/.libs/libactivemq_cpp_la-CmsAccessor.o
> CC: Warning: illegal option stlport4 ignored
> "./decaf/util/LinkedList.h", line 63: Error: decaf::util::LinkedList<cms::Connection*> is not a direct base class of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> to public.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Use ";" to terminate declarations.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: "}" expected instead of "<".
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> because of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.

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

[jira] [Commented] (AMQCPP-434) Compilation error on Solaris

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

S R commented on AMQCPP-434:
----------------------------

After moving onto studio 12 I get this error :

ld: fatal: file decaf/internal/util/zip/.libs/libactivemq_cpp_la-adler32.o: unknown file type
ld: fatal: File processing errors. No output written to .libs/libactivemq-cpp.so.14.0.3
*** Error code 1
make: Fatal error: Command failed for target `libactivemq-cpp.la'
Current working directory /home/activemq-cpp-library-3.4.3/src/main
*** Error code 1
The following command caused the error:
fail= failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='src/main src/examples '; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/activemq-cpp-library-3.4.3
*** Error code 1
make: Fatal error: Command failed for target `all'

                
> Compilation error on Solaris
> ----------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 3.4.3
>            Reporter: S R
>            Priority: Minor
>
> SUN Solaris 10
> CMS Version : activemq-cpp-library-3.4.3
> cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
> OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)
> >make
> make  all-recursive
> Making all in src/main
> source='activemq/cmsutil/CmsAccessor.cpp' object='activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo' libtool=yes \
> DEPDIR=.deps depmode=none /bin/bash ../../config/depcomp \
> /bin/bash ../../libtool  --tag=CXX   --mode=compile CC -DHAVE_CONFIG_H -I. -I../..    -mt -w -O5 -library=stlport4   -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE  -I/dev/apr-1.4.5/solaris/include/apr-1   -I/dev/apr-util-1.3.12/solaris/include/apr-1  -I/usr/sfw/include   -PIC -g -c -o activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo `test -f 'activemq/cmsutil/CmsAccessor.cpp' || echo './'`activemq/cmsutil/CmsAccessor.cpp
> libtool: compile:  CC -DHAVE_CONFIG_H -I. -I../.. -mt -w -O5 -library=stlport4 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/dev/apr-1.4.5/solaris/include/apr-1 -I/dev/apr-util-1.3.12/solaris/include/apr-1 -I/usr/sfw/include -PIC -g -c activemq/cmsutil/CmsAccessor.cpp  -KPIC -DPIC -o activemq/cmsutil/.libs/libactivemq_cpp_la-CmsAccessor.o
> CC: Warning: illegal option stlport4 ignored
> "./decaf/util/LinkedList.h", line 63: Error: decaf::util::LinkedList<cms::Connection*> is not a direct base class of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> to public.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Use ";" to terminate declarations.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: "}" expected instead of "<".
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> because of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.

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

[jira] [Comment Edited] (AMQCPP-434) Compilation error on Solaris

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

S R edited comment on AMQCPP-434 at 10/11/12 5:25 PM:
------------------------------------------------------

I realized that my compiler needed to be changed because rest of code needed native compiler. I see error I posted in description now. This is even before it reaches OpenSSL.

Using cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
                
      was (Author: zackhasit):
    OK I have done that but also realized that my compiler needed to be changed because rest of code needed native compiler. I see error I posted in description now. This is even before it reaches OpenSSL.

Using cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
                  
> Compilation error on Solaris
> ----------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>            Reporter: S R
>            Priority: Minor
>
> SUN Solaris 10
> CMS Version : activemq-cpp-library-3.4.3
> cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
> OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)
> >make
> make  all-recursive
> Making all in src/main
> source='activemq/cmsutil/CmsAccessor.cpp' object='activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo' libtool=yes \
> DEPDIR=.deps depmode=none /bin/bash ../../config/depcomp \
> /bin/bash ../../libtool  --tag=CXX   --mode=compile CC -DHAVE_CONFIG_H -I. -I../..    -mt -w -O5 -library=stlport4   -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE  -I/dev/apr-1.4.5/solaris/include/apr-1   -I/dev/apr-util-1.3.12/solaris/include/apr-1  -I/usr/sfw/include   -PIC -g -c -o activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo `test -f 'activemq/cmsutil/CmsAccessor.cpp' || echo './'`activemq/cmsutil/CmsAccessor.cpp
> libtool: compile:  CC -DHAVE_CONFIG_H -I. -I../.. -mt -w -O5 -library=stlport4 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/dev/apr-1.4.5/solaris/include/apr-1 -I/dev/apr-util-1.3.12/solaris/include/apr-1 -I/usr/sfw/include -PIC -g -c activemq/cmsutil/CmsAccessor.cpp  -KPIC -DPIC -o activemq/cmsutil/.libs/libactivemq_cpp_la-CmsAccessor.o
> CC: Warning: illegal option stlport4 ignored
> "./decaf/util/LinkedList.h", line 63: Error: decaf::util::LinkedList<cms::Connection*> is not a direct base class of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> to public.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Use ";" to terminate declarations.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: "}" expected instead of "<".
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> because of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.

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

[jira] [Commented] (AMQCPP-434) Compilation error on Solaris with gcc compiler

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

Timothy Bish commented on AMQCPP-434:
-------------------------------------

What version of OpenSSL is this using?
                
> Compilation error on Solaris with gcc compiler
> ----------------------------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>            Reporter: S R
>            Priority: Minor
>
> SUN Solaris 10
> CMS Version : activemq-cpp-library-3.4.3
> gcc version 3.4.3 
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp: In member function `void decaf::internal::net::ssl::openssl::OpenSSLSocket::verifyServerCert(const std::string&)':
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:679: error: invalid conversion from `const unsigned char**' to `unsigned char**'
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:680: error: invalid conversion from `const unsigned char**' to `unsigned char**'

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

[jira] [Updated] (AMQCPP-434) Compilation error on Solaris with gcc compiler

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

S R updated AMQCPP-434:
-----------------------

    Description: 
SUN Solaris 10

CMS Version : activemq-cpp-library-3.4.3

gcc version 3.4.3 


decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp: In member function `void decaf::internal::net::ssl::openssl::OpenSSLSocket::verifyServerCert(const std::string&)':
decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:679: error: invalid conversion from `const unsigned char**' to `unsigned char**'
decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:680: error: invalid conversion from `const unsigned char**' to `unsigned char**'


  was:

decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp: In member function `void decaf::internal::net::ssl::openssl::OpenSSLSocket::verifyServerCert(const std::string&)':
decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:679: error: invalid conversion from `const unsigned char**' to `unsigned char**'
decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:680: error: invalid conversion from `const unsigned char**' to `unsigned char**'


    
> Compilation error on Solaris with gcc compiler
> ----------------------------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>            Reporter: S R
>            Priority: Minor
>
> SUN Solaris 10
> CMS Version : activemq-cpp-library-3.4.3
> gcc version 3.4.3 
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp: In member function `void decaf::internal::net::ssl::openssl::OpenSSLSocket::verifyServerCert(const std::string&)':
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:679: error: invalid conversion from `const unsigned char**' to `unsigned char**'
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:680: error: invalid conversion from `const unsigned char**' to `unsigned char**'

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

[jira] [Commented] (AMQCPP-434) Compilation error on Solaris

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

S R commented on AMQCPP-434:
----------------------------

OK I have done that but also realized that my compiler needed to be changed because rest of code needed native compiler. I see error I posted in description now. This is even before it reaches OpenSSL.

Using cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
                
> Compilation error on Solaris
> ----------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>            Reporter: S R
>            Priority: Minor
>
> SUN Solaris 10
> CMS Version : activemq-cpp-library-3.4.3
> cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
> OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)
> CC: Warning: illegal option stlport4 ignored
> "./decaf/util/LinkedList.h", line 63: Error: decaf::util::LinkedList<cms::Connection*> is not a direct base class of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.

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

[jira] [Commented] (AMQCPP-434) Compilation error on Solaris with gcc compiler

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

Timothy Bish commented on AMQCPP-434:
-------------------------------------

I believe you need OpenSSL >= 0.9.8 in order to compile, never tested against 0.9.7.

I don't support those platforms myself, there's been some patches in the past to try and support them but I have no idea how well it works there.  YMMV.  As always patches are welcome. 
                
> Compilation error on Solaris with gcc compiler
> ----------------------------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>            Reporter: S R
>            Priority: Minor
>
> SUN Solaris 10
> CMS Version : activemq-cpp-library-3.4.3
> gcc version 3.4.3 
> OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp: In member function `void decaf::internal::net::ssl::openssl::OpenSSLSocket::verifyServerCert(const std::string&)':
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:679: error: invalid conversion from `const unsigned char**' to `unsigned char**'
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:680: error: invalid conversion from `const unsigned char**' to `unsigned char**'

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

[jira] [Comment Edited] (AMQCPP-434) Compilation error on Solaris

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

S R edited comment on AMQCPP-434 at 10/21/12 12:38 PM:
-------------------------------------------------------

============
Details now:
============
>/usr/ccs/bin/ld -V
ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.493

>cc -V
cc: Sun C 5.9 SunOS_sparc Patch 124867-01 2007/07/12

>which cc
/tools/SunStudio12/SUNWspro/bin/cc

==============================
But I see following problem :
==============================
ld: fatal: file decaf/internal/util/zip/.libs/libactivemq_cpp_la-adler32.o: unknown file type
ld: fatal: File processing errors. No output written to .libs/libactivemq-cpp.so.14.0.3
*** Error code 1
make: Fatal error: Command failed for target `libactivemq-cpp.la'
Current working directory /home/activemq-cpp-library-3.4.3/src/main
*** Error code 1
The following command caused the error:
fail= failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='src/main src/examples '; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/activemq-cpp-library-3.4.3
*** Error code 1
make: Fatal error: Command failed for target `all'


=============================

Found this via Google : https://dev.icinga.org/issues/524



                
      was (Author: zackhasit):
    ============
Details now:
============
>/usr/ccs/bin/ld -V
ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.493

>cc -V
cc: Sun C 5.9 SunOS_sparc Patch 124867-01 2007/07/12

>which cc
/tools/SunStudio12/SUNWspro/bin/cc

==============================
But I see following problem :
==============================
ld: fatal: file decaf/internal/util/zip/.libs/libactivemq_cpp_la-adler32.o: unknown file type
ld: fatal: File processing errors. No output written to .libs/libactivemq-cpp.so.14.0.3
*** Error code 1
make: Fatal error: Command failed for target `libactivemq-cpp.la'

=============================

Found this via Google : https://dev.icinga.org/issues/524



                  
> Compilation error on Solaris
> ----------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 3.4.3
>            Reporter: S R
>            Priority: Minor
>
> SUN Solaris 10
> CMS Version : activemq-cpp-library-3.4.3
> cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
> OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)
> >make
> make  all-recursive
> Making all in src/main
> source='activemq/cmsutil/CmsAccessor.cpp' object='activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo' libtool=yes \
> DEPDIR=.deps depmode=none /bin/bash ../../config/depcomp \
> /bin/bash ../../libtool  --tag=CXX   --mode=compile CC -DHAVE_CONFIG_H -I. -I../..    -mt -w -O5 -library=stlport4   -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE  -I/dev/apr-1.4.5/solaris/include/apr-1   -I/dev/apr-util-1.3.12/solaris/include/apr-1  -I/usr/sfw/include   -PIC -g -c -o activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo `test -f 'activemq/cmsutil/CmsAccessor.cpp' || echo './'`activemq/cmsutil/CmsAccessor.cpp
> libtool: compile:  CC -DHAVE_CONFIG_H -I. -I../.. -mt -w -O5 -library=stlport4 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/dev/apr-1.4.5/solaris/include/apr-1 -I/dev/apr-util-1.3.12/solaris/include/apr-1 -I/usr/sfw/include -PIC -g -c activemq/cmsutil/CmsAccessor.cpp  -KPIC -DPIC -o activemq/cmsutil/.libs/libactivemq_cpp_la-CmsAccessor.o
> CC: Warning: illegal option stlport4 ignored
> "./decaf/util/LinkedList.h", line 63: Error: decaf::util::LinkedList<cms::Connection*> is not a direct base class of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> to public.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Use ";" to terminate declarations.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: "}" expected instead of "<".
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> because of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.

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

[jira] [Comment Edited] (AMQCPP-434) Compilation error on Solaris

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

S R edited comment on AMQCPP-434 at 10/21/12 12:44 PM:
-------------------------------------------------------

============
Details now:
============
>/usr/ccs/bin/ld -V
ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.493

>cc -V
cc: Sun C 5.9 SunOS_sparc Patch 124867-01 2007/07/12

>which cc
/tools/SunStudio12/SUNWspro/bin/cc

==============================
But I see following problem :
==============================
ld: fatal: file decaf/internal/util/zip/.libs/libactivemq_cpp_la-adler32.o: unknown file type
ld: fatal: File processing errors. No output written to .libs/libactivemq-cpp.so.14.0.3
*** Error code 1
make: Fatal error: Command failed for target `libactivemq-cpp.la'
Current working directory /home/activemq-cpp-library-3.4.3/src/main
*** Error code 1
The following command caused the error:
fail= failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='src/main src/examples '; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/activemq-cpp-library-3.4.3
*** Error code 1
make: Fatal error: Command failed for target `all'


=============================
                
      was (Author: zackhasit):
    ============
Details now:
============
>/usr/ccs/bin/ld -V
ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.493

>cc -V
cc: Sun C 5.9 SunOS_sparc Patch 124867-01 2007/07/12

>which cc
/tools/SunStudio12/SUNWspro/bin/cc

==============================
But I see following problem :
==============================
ld: fatal: file decaf/internal/util/zip/.libs/libactivemq_cpp_la-adler32.o: unknown file type
ld: fatal: File processing errors. No output written to .libs/libactivemq-cpp.so.14.0.3
*** Error code 1
make: Fatal error: Command failed for target `libactivemq-cpp.la'
Current working directory /home/activemq-cpp-library-3.4.3/src/main
*** Error code 1
The following command caused the error:
fail= failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='src/main src/examples '; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/activemq-cpp-library-3.4.3
*** Error code 1
make: Fatal error: Command failed for target `all'


=============================

Found this via Google : https://dev.icinga.org/issues/524



                  
> Compilation error on Solaris
> ----------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 3.4.3
>            Reporter: S R
>            Priority: Minor
>
> SUN Solaris 10
> CMS Version : activemq-cpp-library-3.4.3
> cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
> OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)
> >make
> make  all-recursive
> Making all in src/main
> source='activemq/cmsutil/CmsAccessor.cpp' object='activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo' libtool=yes \
> DEPDIR=.deps depmode=none /bin/bash ../../config/depcomp \
> /bin/bash ../../libtool  --tag=CXX   --mode=compile CC -DHAVE_CONFIG_H -I. -I../..    -mt -w -O5 -library=stlport4   -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE  -I/dev/apr-1.4.5/solaris/include/apr-1   -I/dev/apr-util-1.3.12/solaris/include/apr-1  -I/usr/sfw/include   -PIC -g -c -o activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo `test -f 'activemq/cmsutil/CmsAccessor.cpp' || echo './'`activemq/cmsutil/CmsAccessor.cpp
> libtool: compile:  CC -DHAVE_CONFIG_H -I. -I../.. -mt -w -O5 -library=stlport4 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/dev/apr-1.4.5/solaris/include/apr-1 -I/dev/apr-util-1.3.12/solaris/include/apr-1 -I/usr/sfw/include -PIC -g -c activemq/cmsutil/CmsAccessor.cpp  -KPIC -DPIC -o activemq/cmsutil/.libs/libactivemq_cpp_la-CmsAccessor.o
> CC: Warning: illegal option stlport4 ignored
> "./decaf/util/LinkedList.h", line 63: Error: decaf::util::LinkedList<cms::Connection*> is not a direct base class of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> to public.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Use ";" to terminate declarations.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: "}" expected instead of "<".
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> because of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.

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

[jira] [Updated] (AMQCPP-434) Compilation error on Solaris

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

S R updated AMQCPP-434:
-----------------------

    Affects Version/s: 3.4.3
    
> Compilation error on Solaris
> ----------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 3.4.3
>            Reporter: S R
>            Priority: Minor
>
> SUN Solaris 10
> CMS Version : activemq-cpp-library-3.4.3
> cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
> OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)
> >make
> make  all-recursive
> Making all in src/main
> source='activemq/cmsutil/CmsAccessor.cpp' object='activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo' libtool=yes \
> DEPDIR=.deps depmode=none /bin/bash ../../config/depcomp \
> /bin/bash ../../libtool  --tag=CXX   --mode=compile CC -DHAVE_CONFIG_H -I. -I../..    -mt -w -O5 -library=stlport4   -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE  -I/dev/apr-1.4.5/solaris/include/apr-1   -I/dev/apr-util-1.3.12/solaris/include/apr-1  -I/usr/sfw/include   -PIC -g -c -o activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo `test -f 'activemq/cmsutil/CmsAccessor.cpp' || echo './'`activemq/cmsutil/CmsAccessor.cpp
> libtool: compile:  CC -DHAVE_CONFIG_H -I. -I../.. -mt -w -O5 -library=stlport4 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/dev/apr-1.4.5/solaris/include/apr-1 -I/dev/apr-util-1.3.12/solaris/include/apr-1 -I/usr/sfw/include -PIC -g -c activemq/cmsutil/CmsAccessor.cpp  -KPIC -DPIC -o activemq/cmsutil/.libs/libactivemq_cpp_la-CmsAccessor.o
> CC: Warning: illegal option stlport4 ignored
> "./decaf/util/LinkedList.h", line 63: Error: decaf::util::LinkedList<cms::Connection*> is not a direct base class of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> to public.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Use ";" to terminate declarations.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: "}" expected instead of "<".
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> because of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.

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

[jira] [Updated] (AMQCPP-434) Compilation error on Solaris

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

S R updated AMQCPP-434:
-----------------------

    Comment: was deleted

(was: ============
Details now:
============
>/usr/ccs/bin/ld -V
ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.493

>cc -V
cc: Sun C 5.9 SunOS_sparc Patch 124867-01 2007/07/12

>which cc
/tools/SunStudio12/SUNWspro/bin/cc

==============================
But I see following problem :
==============================
ld: fatal: file decaf/internal/util/zip/.libs/libactivemq_cpp_la-adler32.o: unknown file type
ld: fatal: File processing errors. No output written to .libs/libactivemq-cpp.so.14.0.3
*** Error code 1
make: Fatal error: Command failed for target `libactivemq-cpp.la'
Current working directory /home/activemq-cpp-library-3.4.3/src/main
*** Error code 1
The following command caused the error:
fail= failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='src/main src/examples '; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/activemq-cpp-library-3.4.3
*** Error code 1
make: Fatal error: Command failed for target `all'


=============================)
    
> Compilation error on Solaris
> ----------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 3.4.3
>            Reporter: S R
>            Priority: Minor
>
> SUN Solaris 10
> CMS Version : activemq-cpp-library-3.4.3
> cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
> OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)
> >make
> make  all-recursive
> Making all in src/main
> source='activemq/cmsutil/CmsAccessor.cpp' object='activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo' libtool=yes \
> DEPDIR=.deps depmode=none /bin/bash ../../config/depcomp \
> /bin/bash ../../libtool  --tag=CXX   --mode=compile CC -DHAVE_CONFIG_H -I. -I../..    -mt -w -O5 -library=stlport4   -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE  -I/dev/apr-1.4.5/solaris/include/apr-1   -I/dev/apr-util-1.3.12/solaris/include/apr-1  -I/usr/sfw/include   -PIC -g -c -o activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo `test -f 'activemq/cmsutil/CmsAccessor.cpp' || echo './'`activemq/cmsutil/CmsAccessor.cpp
> libtool: compile:  CC -DHAVE_CONFIG_H -I. -I../.. -mt -w -O5 -library=stlport4 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/dev/apr-1.4.5/solaris/include/apr-1 -I/dev/apr-util-1.3.12/solaris/include/apr-1 -I/usr/sfw/include -PIC -g -c activemq/cmsutil/CmsAccessor.cpp  -KPIC -DPIC -o activemq/cmsutil/.libs/libactivemq_cpp_la-CmsAccessor.o
> CC: Warning: illegal option stlport4 ignored
> "./decaf/util/LinkedList.h", line 63: Error: decaf::util::LinkedList<cms::Connection*> is not a direct base class of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> to public.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Use ";" to terminate declarations.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: "}" expected instead of "<".
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> because of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.

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

[jira] [Commented] (AMQCPP-434) Compilation error on Solaris

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

S R commented on AMQCPP-434:
----------------------------

I can try to get to latest compiler and try. That should not be a problem.
                
> Compilation error on Solaris
> ----------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 3.4.3
>            Reporter: S R
>            Priority: Minor
>
> SUN Solaris 10
> CMS Version : activemq-cpp-library-3.4.3
> cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
> OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)
> >make
> make  all-recursive
> Making all in src/main
> source='activemq/cmsutil/CmsAccessor.cpp' object='activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo' libtool=yes \
> DEPDIR=.deps depmode=none /bin/bash ../../config/depcomp \
> /bin/bash ../../libtool  --tag=CXX   --mode=compile CC -DHAVE_CONFIG_H -I. -I../..    -mt -w -O5 -library=stlport4   -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE  -I/dev/apr-1.4.5/solaris/include/apr-1   -I/dev/apr-util-1.3.12/solaris/include/apr-1  -I/usr/sfw/include   -PIC -g -c -o activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo `test -f 'activemq/cmsutil/CmsAccessor.cpp' || echo './'`activemq/cmsutil/CmsAccessor.cpp
> libtool: compile:  CC -DHAVE_CONFIG_H -I. -I../.. -mt -w -O5 -library=stlport4 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/dev/apr-1.4.5/solaris/include/apr-1 -I/dev/apr-util-1.3.12/solaris/include/apr-1 -I/usr/sfw/include -PIC -g -c activemq/cmsutil/CmsAccessor.cpp  -KPIC -DPIC -o activemq/cmsutil/.libs/libactivemq_cpp_la-CmsAccessor.o
> CC: Warning: illegal option stlport4 ignored
> "./decaf/util/LinkedList.h", line 63: Error: decaf::util::LinkedList<cms::Connection*> is not a direct base class of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> to public.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Use ";" to terminate declarations.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: "}" expected instead of "<".
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> because of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.

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

[jira] [Updated] (AMQCPP-434) Compilation error on Solaris

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

S R updated AMQCPP-434:
-----------------------

    Comment: was deleted

(was: After moving onto studio 12 I get this error :

ld: fatal: file decaf/internal/util/zip/.libs/libactivemq_cpp_la-adler32.o: unknown file type
ld: fatal: File processing errors. No output written to .libs/libactivemq-cpp.so.14.0.3
*** Error code 1
make: Fatal error: Command failed for target `libactivemq-cpp.la'
Current working directory /home/activemq-cpp-library-3.4.3/src/main
*** Error code 1
The following command caused the error:
fail= failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='src/main src/examples '; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/activemq-cpp-library-3.4.3
*** Error code 1
make: Fatal error: Command failed for target `all'
)
    
> Compilation error on Solaris
> ----------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 3.4.3
>            Reporter: S R
>            Priority: Minor
>
> SUN Solaris 10
> CMS Version : activemq-cpp-library-3.4.3
> cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
> OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)
> >make
> make  all-recursive
> Making all in src/main
> source='activemq/cmsutil/CmsAccessor.cpp' object='activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo' libtool=yes \
> DEPDIR=.deps depmode=none /bin/bash ../../config/depcomp \
> /bin/bash ../../libtool  --tag=CXX   --mode=compile CC -DHAVE_CONFIG_H -I. -I../..    -mt -w -O5 -library=stlport4   -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE  -I/dev/apr-1.4.5/solaris/include/apr-1   -I/dev/apr-util-1.3.12/solaris/include/apr-1  -I/usr/sfw/include   -PIC -g -c -o activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo `test -f 'activemq/cmsutil/CmsAccessor.cpp' || echo './'`activemq/cmsutil/CmsAccessor.cpp
> libtool: compile:  CC -DHAVE_CONFIG_H -I. -I../.. -mt -w -O5 -library=stlport4 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/dev/apr-1.4.5/solaris/include/apr-1 -I/dev/apr-util-1.3.12/solaris/include/apr-1 -I/usr/sfw/include -PIC -g -c activemq/cmsutil/CmsAccessor.cpp  -KPIC -DPIC -o activemq/cmsutil/.libs/libactivemq_cpp_la-CmsAccessor.o
> CC: Warning: illegal option stlport4 ignored
> "./decaf/util/LinkedList.h", line 63: Error: decaf::util::LinkedList<cms::Connection*> is not a direct base class of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> to public.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Use ";" to terminate declarations.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: "}" expected instead of "<".
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> because of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.

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

[jira] [Commented] (AMQCPP-434) Compilation error on Solaris

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

Timothy Bish commented on AMQCPP-434:
-------------------------------------

I'm fairly certain that the code won't compile with a that old SUN compiler, I think you need something that's at least from the SUN Workshop 11+ line.  You are welcome to dig in and see if some patches can be made but I'm pretty sure the C++ spec compliance on that compiler is so far off that its going to be a challenge. 
                
> Compilation error on Solaris
> ----------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 3.4.3
>            Reporter: S R
>            Priority: Minor
>
> SUN Solaris 10
> CMS Version : activemq-cpp-library-3.4.3
> cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
> OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)
> >make
> make  all-recursive
> Making all in src/main
> source='activemq/cmsutil/CmsAccessor.cpp' object='activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo' libtool=yes \
> DEPDIR=.deps depmode=none /bin/bash ../../config/depcomp \
> /bin/bash ../../libtool  --tag=CXX   --mode=compile CC -DHAVE_CONFIG_H -I. -I../..    -mt -w -O5 -library=stlport4   -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE  -I/dev/apr-1.4.5/solaris/include/apr-1   -I/dev/apr-util-1.3.12/solaris/include/apr-1  -I/usr/sfw/include   -PIC -g -c -o activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo `test -f 'activemq/cmsutil/CmsAccessor.cpp' || echo './'`activemq/cmsutil/CmsAccessor.cpp
> libtool: compile:  CC -DHAVE_CONFIG_H -I. -I../.. -mt -w -O5 -library=stlport4 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/dev/apr-1.4.5/solaris/include/apr-1 -I/dev/apr-util-1.3.12/solaris/include/apr-1 -I/usr/sfw/include -PIC -g -c activemq/cmsutil/CmsAccessor.cpp  -KPIC -DPIC -o activemq/cmsutil/.libs/libactivemq_cpp_la-CmsAccessor.o
> CC: Warning: illegal option stlport4 ignored
> "./decaf/util/LinkedList.h", line 63: Error: decaf::util::LinkedList<cms::Connection*> is not a direct base class of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> to public.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Use ";" to terminate declarations.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: "}" expected instead of "<".
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> because of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.

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

[jira] [Updated] (AMQCPP-434) Compilation error on Solaris with gcc compiler

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

S R updated AMQCPP-434:
-----------------------

    Description: 
SUN Solaris 10

CMS Version : activemq-cpp-library-3.4.3

gcc version 3.4.3 

OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)

decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp: In member function `void decaf::internal::net::ssl::openssl::OpenSSLSocket::verifyServerCert(const std::string&)':
decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:679: error: invalid conversion from `const unsigned char**' to `unsigned char**'
decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:680: error: invalid conversion from `const unsigned char**' to `unsigned char**'


  was:
SUN Solaris 10

CMS Version : activemq-cpp-library-3.4.3

gcc version 3.4.3 


decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp: In member function `void decaf::internal::net::ssl::openssl::OpenSSLSocket::verifyServerCert(const std::string&)':
decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:679: error: invalid conversion from `const unsigned char**' to `unsigned char**'
decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:680: error: invalid conversion from `const unsigned char**' to `unsigned char**'


    
> Compilation error on Solaris with gcc compiler
> ----------------------------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>            Reporter: S R
>            Priority: Minor
>
> SUN Solaris 10
> CMS Version : activemq-cpp-library-3.4.3
> gcc version 3.4.3 
> OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp: In member function `void decaf::internal::net::ssl::openssl::OpenSSLSocket::verifyServerCert(const std::string&)':
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:679: error: invalid conversion from `const unsigned char**' to `unsigned char**'
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:680: error: invalid conversion from `const unsigned char**' to `unsigned char**'

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

[jira] [Commented] (AMQCPP-434) Compilation error on Solaris with gcc compiler

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

Timothy Bish commented on AMQCPP-434:
-------------------------------------

What versions of library / compiler / OS etc.  Not enough info provided.
                
> Compilation error on Solaris with gcc compiler
> ----------------------------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>            Reporter: S R
>            Priority: Minor
>
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp: In member function `void decaf::internal::net::ssl::openssl::OpenSSLSocket::verifyServerCert(const std::string&)':
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:679: error: invalid conversion from `const unsigned char**' to `unsigned char**'
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:680: error: invalid conversion from `const unsigned char**' to `unsigned char**'

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

[jira] [Commented] (AMQCPP-434) Compilation error on Solaris with gcc compiler

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

S R commented on AMQCPP-434:
----------------------------

OK ill try with 0.9.8 Thanks
                
> Compilation error on Solaris with gcc compiler
> ----------------------------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>            Reporter: S R
>            Priority: Minor
>
> SUN Solaris 10
> CMS Version : activemq-cpp-library-3.4.3
> gcc version 3.4.3 
> OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp: In member function `void decaf::internal::net::ssl::openssl::OpenSSLSocket::verifyServerCert(const std::string&)':
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:679: error: invalid conversion from `const unsigned char**' to `unsigned char**'
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:680: error: invalid conversion from `const unsigned char**' to `unsigned char**'

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

[jira] [Commented] (AMQCPP-434) Compilation error on Solaris

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

S R commented on AMQCPP-434:
----------------------------

Details now:
===========
>/usr/ccs/bin/ld -V
ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.493

>cc -V
cc: Sun C 5.9 SunOS_sparc Patch 124867-01 2007/07/12

>which cc
/tools/SunStudio12/SUNWspro/bin/cc

==============================
But I see following problem :
==============================
ld: fatal: file decaf/internal/util/zip/.libs/libactivemq_cpp_la-adler32.o: unknown file type
ld: fatal: File processing errors. No output written to .libs/libactivemq-cpp.so.14.0.3
*** Error code 1
make: Fatal error: Command failed for target `libactivemq-cpp.la'


                
> Compilation error on Solaris
> ----------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 3.4.3
>            Reporter: S R
>            Priority: Minor
>
> SUN Solaris 10
> CMS Version : activemq-cpp-library-3.4.3
> cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
> OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)
> >make
> make  all-recursive
> Making all in src/main
> source='activemq/cmsutil/CmsAccessor.cpp' object='activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo' libtool=yes \
> DEPDIR=.deps depmode=none /bin/bash ../../config/depcomp \
> /bin/bash ../../libtool  --tag=CXX   --mode=compile CC -DHAVE_CONFIG_H -I. -I../..    -mt -w -O5 -library=stlport4   -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE  -I/dev/apr-1.4.5/solaris/include/apr-1   -I/dev/apr-util-1.3.12/solaris/include/apr-1  -I/usr/sfw/include   -PIC -g -c -o activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo `test -f 'activemq/cmsutil/CmsAccessor.cpp' || echo './'`activemq/cmsutil/CmsAccessor.cpp
> libtool: compile:  CC -DHAVE_CONFIG_H -I. -I../.. -mt -w -O5 -library=stlport4 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/dev/apr-1.4.5/solaris/include/apr-1 -I/dev/apr-util-1.3.12/solaris/include/apr-1 -I/usr/sfw/include -PIC -g -c activemq/cmsutil/CmsAccessor.cpp  -KPIC -DPIC -o activemq/cmsutil/.libs/libactivemq_cpp_la-CmsAccessor.o
> CC: Warning: illegal option stlport4 ignored
> "./decaf/util/LinkedList.h", line 63: Error: decaf::util::LinkedList<cms::Connection*> is not a direct base class of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> to public.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Use ";" to terminate declarations.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: "}" expected instead of "<".
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> because of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.

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

[jira] [Updated] (AMQCPP-434) Compilation error on Solaris

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

S R updated AMQCPP-434:
-----------------------

    Description: 
SUN Solaris 10

CMS Version : activemq-cpp-library-3.4.3

cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15

OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)

>make
make  all-recursive
Making all in src/main
source='activemq/cmsutil/CmsAccessor.cpp' object='activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/bash ../../config/depcomp \
/bin/bash ../../libtool  --tag=CXX   --mode=compile CC -DHAVE_CONFIG_H -I. -I../..    -mt -w -O5 -library=stlport4   -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE  -I/dev/apr-1.4.5/solaris/include/apr-1   -I/dev/apr-util-1.3.12/solaris/include/apr-1  -I/usr/sfw/include   -PIC -g -c -o activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo `test -f 'activemq/cmsutil/CmsAccessor.cpp' || echo './'`activemq/cmsutil/CmsAccessor.cpp
libtool: compile:  CC -DHAVE_CONFIG_H -I. -I../.. -mt -w -O5 -library=stlport4 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/dev/apr-1.4.5/solaris/include/apr-1 -I/dev/apr-util-1.3.12/solaris/include/apr-1 -I/usr/sfw/include -PIC -g -c activemq/cmsutil/CmsAccessor.cpp  -KPIC -DPIC -o activemq/cmsutil/.libs/libactivemq_cpp_la-CmsAccessor.o
CC: Warning: illegal option stlport4 ignored
"./decaf/util/LinkedList.h", line 63: Error: decaf::util::LinkedList<cms::Connection*> is not a direct base class of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.
"./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
"./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
"./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
"./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> to public.
"./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
"./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
"./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
"./decaf/util/LinkedList.h", line 63: Error: Use ";" to terminate declarations.
"./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
"./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
"./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
"./decaf/util/LinkedList.h", line 63: Error: "}" expected instead of "<".
"./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
"./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
"./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
"./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> because of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.


  was:
SUN Solaris 10

CMS Version : activemq-cpp-library-3.4.3

cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15

OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)

>make
make  all-recursive
Making all in src/main
source='activemq/cmsutil/CmsAccessor.cpp' object='activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/bash ../../config/depcomp \
/bin/bash ../../libtool  --tag=CXX   --mode=compile CC -DHAVE_CONFIG_H -I. -I../..    -mt -w -O5 -library=stlport4   -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE  -I/irb/dev2/srathee/apr-1.4.5/solaris/include/apr-1   -I/irb/dev2/srathee/apr-util-1.3.12/solaris/include/apr-1  -I/usr/sfw/include   -PIC -g -c -o activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo `test -f 'activemq/cmsutil/CmsAccessor.cpp' || echo './'`activemq/cmsutil/CmsAccessor.cpp
libtool: compile:  CC -DHAVE_CONFIG_H -I. -I../.. -mt -w -O5 -library=stlport4 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/irb/dev2/srathee/apr-1.4.5/solaris/include/apr-1 -I/irb/dev2/srathee/apr-util-1.3.12/solaris/include/apr-1 -I/usr/sfw/include -PIC -g -c activemq/cmsutil/CmsAccessor.cpp  -KPIC -DPIC -o activemq/cmsutil/.libs/libactivemq_cpp_la-CmsAccessor.o
CC: Warning: illegal option stlport4 ignored
"./decaf/util/LinkedList.h", line 63: Error: decaf::util::LinkedList<cms::Connection*> is not a direct base class of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.
"./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
"./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
"./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
"./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> to public.
"./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
"./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
"./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
"./decaf/util/LinkedList.h", line 63: Error: Use ";" to terminate declarations.
"./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
"./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
"./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
"./decaf/util/LinkedList.h", line 63: Error: "}" expected instead of "<".
"./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
"./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
"./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
"./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> because of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.


    
> Compilation error on Solaris
> ----------------------------
>
>                 Key: AMQCPP-434
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-434
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>            Reporter: S R
>            Priority: Minor
>
> SUN Solaris 10
> CMS Version : activemq-cpp-library-3.4.3
> cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15
> OpenSSL 0.9.7d 17 Mar 2004 (+ security fixes for: CVE-2005-2969 CVE-2006-2937 CVE-2006-2940 CVE-2006-3738 CVE-2006-4339 CVE-2006-4343 CVE-2007-5135 CVE-2008-5077)
> >make
> make  all-recursive
> Making all in src/main
> source='activemq/cmsutil/CmsAccessor.cpp' object='activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo' libtool=yes \
> DEPDIR=.deps depmode=none /bin/bash ../../config/depcomp \
> /bin/bash ../../libtool  --tag=CXX   --mode=compile CC -DHAVE_CONFIG_H -I. -I../..    -mt -w -O5 -library=stlport4   -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE  -I/dev/apr-1.4.5/solaris/include/apr-1   -I/dev/apr-util-1.3.12/solaris/include/apr-1  -I/usr/sfw/include   -PIC -g -c -o activemq/cmsutil/libactivemq_cpp_la-CmsAccessor.lo `test -f 'activemq/cmsutil/CmsAccessor.cpp' || echo './'`activemq/cmsutil/CmsAccessor.cpp
> libtool: compile:  CC -DHAVE_CONFIG_H -I. -I../.. -mt -w -O5 -library=stlport4 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/dev/apr-1.4.5/solaris/include/apr-1 -I/dev/apr-util-1.3.12/solaris/include/apr-1 -I/usr/sfw/include -PIC -g -c activemq/cmsutil/CmsAccessor.cpp  -KPIC -DPIC -o activemq/cmsutil/.libs/libactivemq_cpp_la-CmsAccessor.o
> CC: Warning: illegal option stlport4 ignored
> "./decaf/util/LinkedList.h", line 63: Error: decaf::util::LinkedList<cms::Connection*> is not a direct base class of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> to public.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Use ";" to terminate declarations.
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: "}" expected instead of "<".
> "./decaf/util/LinkedList.h", line 88:     Where: While specializing "decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>".
> "./decaf/util/LinkedList.h", line 88:     Where: Specialized in decaf::util::LinkedList<cms::Connection*>.
> "./activemq/cmsutil/ResourceLifecycleManager.h", line 46:     Where: Specialized in non-template code.
> "./decaf/util/LinkedList.h", line 63: Error: Cannot change access of decaf::util::LinkedList<cms::Connection*>::ListNode<decaf::util::LinkedList<cms::Connection*>::U> because of decaf::util::LinkedList<cms::Connection*>::ListNode<cms::Connection*>.

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