Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.28
-
None
-
Solaris X86 with gcc
uname -a: SunOS solaris 5.11 11.2 i86pc i386 i86pcSolaris Sparc version 5.10.
Description
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.