Traffic Server
  1. Traffic Server
  2. TS-124

Solaris compile requires -D_POSIX_PTHREAD_SEMANTICS

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: Build
    • Labels:
      None
    • Environment:

      Solaris with SunStudio

      Description

      ctime_r has two different prototypes, with either two or three arguments. To get the compiler to recognise the two-argument form used in libinktomi++/InkTime.cc requires _POSIX_PTHREAD_SEMANTICS to be defined in the build.

      This can probably be harmlessly added to the Makefile across platforms.

      Googling found a useful explanation at http://www.openldap.org/lists/openldap-bugs/199812/msg00110.html

        Issue Links

          Activity

          Nick Kew created issue -
          Leif Hedstrom made changes -
          Field Original Value New Value
          Fix Version/s 2.1.0 [ 12314485 ]
          George Paul made changes -
          Link This issue relates to TS-11 [ TS-11 ]
          George Paul made changes -
          Assignee George Paul [ georgep ]
          George Paul made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Leif Hedstrom made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Gavin made changes -
          Workflow jira [ 12489806 ] TS Workflow [ 12522445 ]

            People

            • Assignee:
              George Paul
              Reporter:
              Nick Kew
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development