[jira] [Updated] (QPID-6115) Compile Qpid C++ on Solaris
[ https://issues.apache.org/jira/browse/QPID-6115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andreas Welchlin updated QPID-6115: --- Attachment: SystemInfo.cpp What I wrote is correct for Solaris 11 (5.11) but on Solaris 10 (5.10) no systemcall getifaddr exists. So I upload a new SystemInfo.cpp which works on Solaris 10 and 11. 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, 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] [Updated] (QPID-6115) Compile Qpid C++ on Solaris
[ https://issues.apache.org/jira/browse/QPID-6115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andreas Welchlin updated QPID-6115: --- Environment: Solaris X86 with gcc uname -a: SunOS solaris 5.11 11.2 i86pc i386 i86pc Solaris Sparc version 5.10. was: Solaris X86 with gcc uname -a: SunOS solaris 5.11 11.2 i86pc i386 i86pc 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, 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
[jira] [Updated] (QPID-6115) Compile Qpid C++ on Solaris
[ https://issues.apache.org/jira/browse/QPID-6115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andreas Welchlin updated QPID-6115: --- Attachment: solaris.patch The Solaris patch file. 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, 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] [Created] (QPID-6115) Compile Qpid C++ on Solaris
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-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org