activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Radha Manickam <radhamanic...@gmail.com>
Subject ActiveMQ compilation in CC compiler in Solaris
Date Mon, 27 Jun 2011 04:32:46 GMT
Hi, 

I am getting the following error while compiling ActiveMQ-CPP in CC compiler
in Solaris 10.

/*libtool: compile:  CC -DHAVE_CONFIG_H -I. -I../.. -m64 -mt -w -O5
-library=stlport4 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-I/u01/kla-tencor/udb/KTFL/Libraries/64bit/include/apr-1
-I/u01/kla-tencor/udb/KTFL/Libraries/64bit/include/apr-1 -I/usr/sfw/include
-m64 -library=no%Cstd,no%Crun -c
decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp  -KPIC -DPIC -o
decaf/internal/net/ssl/openssl/.libs/libactivemq_cpp_la-OpenSSLSocket.o
"decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp", line 364: Warning
(Anachronism): Formal argument callback of type extern "C"
int(*)(int,x509_store_ctx_st*) in call to SSL_set_verify(ssl_st*, int,
extern "C" int(*)(int,x509_store_ctx_st*)) is being passed
int(*)(int,x509_store_ctx_st*).
"decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp", line 405: Warning
(Anachronism): Formal argument callback of type extern "C"
int(*)(int,x509_store_ctx_st*) in call to SSL_set_verify(ssl_st*, int,
extern "C" int(*)(int,x509_store_ctx_st*)) is being passed
int(*)(int,x509_store_ctx_st*).
"decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp", line 679: Error: Formal
argument in of type unsigned char** in call to
ASN1_item_d2i(ASN1_VALUE_st**, unsigned char**, long, const ASN1_ITEM_st*)
is being passed const unsigned char**.
"decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp", line 680: Error: Formal
argument 2 of type unsigned char** is being passed const unsigned char**.
"decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp", line 680: Error: Cannot
use int to initialize stack_st*.
3 Error(s) and 2 Warning(s) detected.
*** Error code 1
make: Fatal error: Command failed for target
`decaf/internal/net/ssl/openssl/libactivemq_cpp_la-OpenSSLSocket.lo'
Current working directory
/u01/kla-tencor/udb/KTFL/Compilation/activemq-cpp-library-3.4.0/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
/u01/kla-tencor/udb/KTFL/Compilation/activemq-cpp-library-3.4.0
*** Error code 1
make: Fatal error: Command failed for target `all'*/

Machine Configuration is as follows:

*#uname -a
SunOS fermi 5.10 Generic_141444-09 sun4v sparc SUNW,Sun-Blade-T6320*

Compiler Configuration is as follows:

*CC: Sun C++ 5.10 SunOS_sparc 2009/06/03*

I have attached the config.log file with this post.

Please anyone help me on this issue.

Thanks & Regards,
Radha.

http://activemq.2283324.n4.nabble.com/file/n3626956/config.log config.log 

--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-compilation-in-CC-compiler-in-Solaris-tp3626956p3626956.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message