Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-124

Solaris compile requires -D_POSIX_PTHREAD_SEMANTICS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 2.1.0
    • Build
    • None
    • 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

      Attachments

        Issue Links

          Activity

            People

              georgep George Paul
              nick@webthing.com Nick Kew
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: