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

          There are no comments yet on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development