qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Welchlin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-6115) Compile Qpid C++ on Solaris
Date Wed, 24 Sep 2014 08:09:33 GMT
Andreas Welchlin created QPID-6115:
--------------------------------------

             Summary: Compile Qpid C++ on Solaris
                 Key: QPID-6115
                 URL: https://issues.apache.org/jira/browse/QPID-6115
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker, C++ Client
    Affects Versions: 0.28
         Environment: Solaris X86 with gcc
uname -a: SunOS solaris 5.11 11.2 i86pc i386 i86pc

            Reporter: Andreas Welchlin


Qpid does not compile on Solaris. CMakeLists.txt and also qpid/solaris/SystemInfo.cpp need
to be enhanced.

The Solaris linker has no argument like:
"-Wl,--version-script=..."
So it needs to be deactivated on Solaris in cpp/src/CMakeLists.txt by changing the following:
set (LINK_VERSION_SCRIPT_FLAG "-Wl,--version-script=${QPID_LINKMAP}") 
needs to be replaced by:
 if (NOT CMAKE_SYSTEM_NAME STREQUAL SunOS)
      set (LINK_VERSION_SCRIPT_FLAG "-Wl,--version-script=${QPID_LINKMAP}")
 endif (NOT CMAKE_SYSTEM_NAME STREQUAL SunOS) 

The enhancements in SystemInfo.cpp are added as file.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message