[
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