[ https://issues.apache.org/jira/browse/QPID-6115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14166827#comment-14166827 ]
Andreas Welchlin commented on QPID-6115: ---------------------------------------- I created a patch file which has the diff between the official qpid-0.28.tar.gz and the Solaris changes (solaris.patch). Sorry for the late reply! > 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 > Assignee: Andrew Stitcher > Labels: build > Attachments: SystemInfo.cpp > > Original Estimate: 24h > Remaining Estimate: 24h > > 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-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org