Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-6115

Compile Qpid C++ on Solaris

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.28
    • None
    • C++ Broker, C++ Client
    • Solaris X86 with gcc
      uname -a: SunOS solaris 5.11 11.2 i86pc i386 i86pc

      Solaris 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.

      Attachments

        1. solaris.patch
          8 kB
          Andreas Welchlin
        2. SystemInfo.cpp
          8 kB
          Raphael Fuchs
        3. SystemInfo.cpp
          7 kB
          Andreas Welchlin
        4. SystemInfo.cpp
          5 kB
          Andreas Welchlin

        Activity

          People

            astitcher Andrew Stitcher
            Andreas.Welchlin Andreas Welchlin
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified