[
https://issues.apache.org/jira/browse/AMQCPP-440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13499009#comment-13499009
]
Timothy Bish commented on AMQCPP-440:
-------------------------------------
The build is configured via the autotools, so perhaps an update of your
toolchain. Or there's just something unique to your platform, its hard to say.
Its possible there's something that can be patched in the configure script but
you'd need to do some research on what causes this error and how it can be
solved.
> Compilation/archive error - activemq-cpp library 3.4.5 make complains about
> ranlib
> ----------------------------------------------------------------------------------
>
> Key: AMQCPP-440
> URL: https://issues.apache.org/jira/browse/AMQCPP-440
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Affects Versions: 3.4.5
> Environment: OS: RedHat AS 4.0 Update7 32 bit.
> Software:
> activemq-cpp-library-3.4.5
> ar 2.15.92.0.2
> ranlib 2.15.92.0.2
> gcc 3.4.6
> GNU Make 3.80
> libtool 1.5.26
> automake 1.10.1
> autoconf 2.69
> apr 1.4.6
> apr-util 1.5.1
> m4 1.4.16
> openssl 1.0.0g
> Reporter: Suresh Velupula
> Assignee: Timothy Bish
>
> Problem while running make while creating archive.. Complains about ranlib.
> /.libs/libactivemq_cpp_la-OpenSSLContextSpi.o
> decaf/internal/net/ssl/openssl/.libs/libactivemq_cpp_la-OpenSSLParameters.o
> ... decaf/util/zip/.libs/libactivemq_cpp_la-InflaterInputStream.o
> decaf/util/zip/.libs/libactivemq_cpp_la-ZipException.o -Wl,-rpath
> -Wl,/usr/local/suresh/lib -Wl,-rpath -Wl,/usr/local/suresh/lib
> /usr/local/suresh/lib/libapr-1.so -luuid -lrt -lcrypt
> /usr/local/suresh/lib/libaprutil-1.so /usr/lib/libexpat.so -lssl -lcrypto
> -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz
> -L/usr/kerberos/lib -lpthread -L/usr/lib/gcc/i386-redhat-linux/3.4.6
> -L/usr/lib/gcc/i386-redhat-linux/3.4.6/../../.. -lstdc++ -lm -lc -lgcc_s
> /usr/lib/gcc/i386-redhat-linux/3.4.6/crtendS.o
> /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../crtn.o -pthread -Wl,-soname
> -Wl,libactivemq-cpp.so.14 -o .libs/libactivemq-cpp.so.14.0.4
> (cd .libs && rm -f libactivemq-cpp.so.14 && ln -s libactivemq-cpp.so.14.0.4
> libactivemq-cpp.so.14)
> (cd .libs && rm -f libactivemq-cpp.so && ln -s libactivemq-cpp.so.14.0.4
> libactivemq-cpp.so)
> copying selected object files to avoid basename conflicts...
> rm -fr .libs/libactivemq-cpp.lax
> mkdir .libs/libactivemq-cpp.lax
> ln cms/libactivemq_cpp_la-Message.o
> .libs/libactivemq-cpp.lax/lt1-libactivemq_cpp_la-Message.o || cp
> cms/libactivemq_cpp_la-Message.o
> .libs/libactivemq-cpp.lax/lt1-libactivemq_cpp_la-Message.o
> ln decaf/internal/util/libactivemq_cpp_la-ResourceLifecycleManager.o
> .libs/libactivemq-cpp.lax/lt2-libactivemq_cpp_la-ResourceLifecycleManager.o
> || cp decaf/internal/util/libactivemq_cpp_la-ResourceLifecycleManager.o
> .libs/libactivemq-cpp.lax/lt2-libactivemq_cpp_la-ResourceLifecycleManager.o
> ln decaf/util/libactivemq_cpp_la-Queue.o
> .libs/libactivemq-cpp.lax/lt3-libactivemq_cpp_la-Queue.o || cp
> decaf/util/libactivemq_cpp_la-Queue.o
> .libs/libactivemq-cpp.lax/lt3-libactivemq_cpp_la-Queue.o
> ar cru .libs/libactivemq-cpp.a ...
> decaf/util/zip/libactivemq_cpp_la-ZipException.o
> ranlib
> Usage: ranlib [options] archive
> Generate an index to speed access to archives
> The options are:
> -h --help Print this help message
> -V --version Print version information
> ranlib: supported targets: elf32-i386 a.out-i386-linux efi-app-ia32
> elf32-little elf32-big srec symbolsrec tekhex binary ihex trad-core
> make[2]: *** [libactivemq-cpp.la] Error 1
> make[2]: Leaving directory `/suresh/activemq-cpp-library-3.4.5/src/main'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/suresh/activemq-cpp-library-3.4.5'
> make: *** [all] Error 2
> [activemq-cpp-library-3.4.5]#
--
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