From users-return-11297-apmail-qpid-users-archive=qpid.apache.org@qpid.apache.org Mon Sep 22 13:47:57 2014 Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5238111C40 for ; Mon, 22 Sep 2014 13:47:57 +0000 (UTC) Received: (qmail 30583 invoked by uid 500); 22 Sep 2014 13:47:57 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 30549 invoked by uid 500); 22 Sep 2014 13:47:57 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 30538 invoked by uid 99); 22 Sep 2014 13:47:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Sep 2014 13:47:56 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [109.75.181.108] (HELO mail.common.de) (109.75.181.108) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Sep 2014 13:47:28 +0000 X-Spam-Level: X-Footer: d2VsY2hsaW4uZGU= Received: from [192.168.0.101] ([217.250.199.245]) (authenticated user andreas@welchlin.de) by mail.common.de (Kerio Connect 7.4.2) (using TLSv1/SSLv3 with cipher AES128-SHA (128 bits)) for users@qpid.apache.org; Mon, 22 Sep 2014 15:47:26 +0200 Message-ID: <54202882.1010904@welchlin.de> Date: Mon, 22 Sep 2014 15:47:46 +0200 From: Andreas Welchlin User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: users@qpid.apache.org Subject: qpid-0.28 - Linker Problem on Solaris Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, hits=0.0 required=5.0 tests=AWL: 0.062,BAYES_00: -1.665,TOTAL_SCORE: -1.603,autolearn=ham Hi List, I tried to compile qpid-0.28 on Solaris (uname -a prints: SunOS solaris 5.11 11.2 i86pc i386 i86pc). First I amended and compiled proton 0.7 which worked fine. I would like to share this but first I want to do some tests using QPID. Afterwards I tried to compile qpid-0.28: 1.) I called cmake .. The output of 'cmake ..' is found at the end of this mail. 2.) I called 'make clean all' and the output is [ 0%] Building CXX object src/CMakeFiles/qpidtypes.dir/qpid/types/Exception.cpp.o [ 0%] Building CXX object src/CMakeFiles/qpidtypes.dir/qpid/types/Uuid.cpp.o [ 1%] Building CXX object src/CMakeFiles/qpidtypes.dir/qpid/types/Variant.cpp.o Linking CXX shared library libqpidtypes.so ld: fatal: unrecognized option '--' ld: fatal: use the '-z help' option for usage information collect2: error: ld returned 1 exit status *** Error code 1 The following command caused the error: cd /export/home/noname/install/qpid-0.28/cpp/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/qpidtypes.dir/link.txt --verbose= make: Fatal error: Command failed for target `src/libqpidtypes.so.1.0.0' Current working directory /export/home/noname/install/qpid-0.28/cpp/build *** Error code 1 The following command caused the error: make -f src/CMakeFiles/qpidtypes.dir/build.make src/CMakeFiles/qpidtypes.dir/build make: Fatal error: Command failed for target `src/CMakeFiles/qpidtypes.dir/all' Current working directory /export/home/noname/install/qpid-0.28/cpp/build *** Error code 1 The following command caused the error: make -f CMakeFiles/Makefile2 all make: Fatal error: Command failed for target `all' 3.) I tried it with the Gnu Linker by calling: export LD_ALTEXEC=/usr/bin/gld make clean all The output was: [ 0%] Building CXX object src/CMakeFiles/qpidtypes.dir/qpid/types/Exception.cpp.o [ 0%] Building CXX object src/CMakeFiles/qpidtypes.dir/qpid/types/Uuid.cpp.o [ 1%] Building CXX object src/CMakeFiles/qpidtypes.dir/qpid/types/Variant.cpp.o Linking CXX shared library libqpidtypes.so /usr/bin/gld: anonymous version tag cannot be combined with other version tags collect2: error: ld returned 1 exit status *** Error code 1 The following command caused the error: cd /export/home/noname/install/qpid-0.28/cpp/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/qpidtypes.dir/link.txt --verbose= make: Fatal error: Command failed for target `src/libqpidtypes.so.1.0.0' Current working directory /export/home/noname/install/qpid-0.28/cpp/build *** Error code 1 The following command caused the error: make -f src/CMakeFiles/qpidtypes.dir/build.make src/CMakeFiles/qpidtypes.dir/build make: Fatal error: Command failed for target `src/CMakeFiles/qpidtypes.dir/all' Current working directory /export/home/noname/install/qpid-0.28/cpp/build *** Error code 1 The following command caused the error: make -f CMakeFiles/Makefile2 all make: Fatal error: Command failed for target `all' Is there anyone who managed to link correctly on Solaris? Any hints? Regards, Andreas --------------- output of 'cmake ..' -------------------------------------------------- -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Found PythonInterp: /usr/bin/python (found version "2.6.8") -e:1: Use RbConfig instead of obsolete and deprecated Config. -e:1: Use RbConfig instead of obsolete and deprecated Config. -e:1: Use RbConfig instead of obsolete and deprecated Config. -e:1: Use RbConfig instead of obsolete and deprecated Config. -e:1: Use RbConfig instead of obsolete and deprecated Config. -e:1: Use RbConfig instead of obsolete and deprecated Config. -e:1: Use RbConfig instead of obsolete and deprecated Config. -e:1: Use RbConfig instead of obsolete and deprecated Config. -e:1: Use RbConfig instead of obsolete and deprecated Config. -e:1: Use RbConfig instead of obsolete and deprecated Config. -- Found Ruby: /usr/bin/ruby (found version "1.9.1") -- Found Doxygen: /usr/bin/doxygen -- Could NOT find VALGRIND (missing: VALGRIND_EXECUTABLE) -- Looking for sasl_checkpass in sasl2 -- Looking for sasl_checkpass in sasl2 - not found -- Looking for include files FOUND_SASL_H -- Looking for include files FOUND_SASL_H - found -- Could NOT find SASL (missing: FOUND_SASL_LIB) -- No need to generate AMQP protocol sources -- No need to generate Qpid Management Framework sources -- Boost version: 1.56.0 -- Found the following Boost libraries: -- program_options -- system -- Looking for clock_gettime -- Looking for clock_gettime - found -- Looking for uuid_generate in uuid -- Looking for uuid_generate in uuid - found -- Looking for include files HAVE_UUID_H -- Looking for include files HAVE_UUID_H - found -- Looking for include files HAVE_SDT -- Looking for include files HAVE_SDT - found -- Looking for include files HAVE_POLL -- Looking for include files HAVE_POLL - found -- Looking for include files HAVE_EPOLL -- Looking for include files HAVE_EPOLL - not found. -- checking for module 'nss' -- found nss, version 3.14.3 -- Looking for _init in xerces-c -- Looking for _init in xerces-c - not found -- Looking for C++ include xercesc/framework/MemBufInputSource.hpp -- Looking for C++ include xercesc/framework/MemBufInputSource.hpp - not found -- Looking for C++ include xqilla/xqilla-simple.hpp -- Looking for C++ include xqilla/xqilla-simple.hpp - not found -- Looking for C++ include xqilla/ast/XQEffectiveBooleanValue.hpp -- Looking for C++ include xqilla/ast/XQEffectiveBooleanValue.hpp - not found -- Looking for ibv_create_qp in ibverbs -- Looking for ibv_create_qp in ibverbs - not found -- Looking for rdma_create_id in rdmacm -- Looking for rdma_create_id in rdmacm - not found -- Looking for include files HAVE_IBVERBS_H -- Looking for include files HAVE_IBVERBS_H - not found. -- Looking for include files HAVE_RDMACM_H -- Looking for include files HAVE_RDMACM_H - not found. -- Found Proton: optimized;/usr/lib/libqpid-proton.so;debug;/usr/lib/libqpid-proton.so (found version "0.7") -- Qpid proton found, amqp 1.0 support enabled -- Looking for LOG_AUTHPRIV -- Looking for LOG_AUTHPRIV - not found. -- Looking for LOG_FTP -- Looking for LOG_FTP - not found. -- Found BerkeleyDB: /usr/lib/libdb_cxx.so -- Looking for io_queue_init in aio -- Looking for io_queue_init in aio - not found -- Looking for include files HAVE_AIO_H -- Looking for include files HAVE_AIO_H - not found. -- Legacystore requires libaio which is absent. -- Legacystore requires libaio.h which is absent. -- Legacystore is excluded from build. -- Found BerkeleyDB: /usr/lib/libdb_cxx.so -- Linearstore requires libaio which is absent. -- Linearstore requires libaio.h which is absent. -- Linearstore is excluded from build. -- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) -- Configuring done -- Generating done -- Build files have been written to: /export/home/noname/install/qpid-0.28/cpp/build ------------------------------------ end output of cmake .. ------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org