You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andreas Welchlin (JIRA)" <ji...@apache.org> on 2014/12/10 15:51:13 UTC
[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-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org