activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "S R (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AMQCPP-434) Compilation error on Solaris
Date Fri, 19 Oct 2012 16:04:12 GMT

    [ 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

Mime
View raw message