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/11 19:27:02 UTC

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

    [ 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