[jira] [Commented] (QPID-6115) Compile Qpid C++ on Solaris
[ https://issues.apache.org/jira/browse/QPID-6115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14644338#comment-14644338 ] Raphael Fuchs commented on QPID-6115: - I had to make some minor extensions for qpid 0.34. Please check new file SystemInfo.cpp. 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 Solaris Sparc version 5.10. Reporter: Andreas Welchlin Assignee: Andrew Stitcher Labels: build Attachments: SystemInfo.cpp, SystemInfo.cpp, SystemInfo.cpp, solaris.patch 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
[jira] [Commented] (QPID-6115) Compile Qpid C++ on Solaris
[ https://issues.apache.org/jira/browse/QPID-6115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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