You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "George Paul (JIRA)" <ji...@apache.org> on 2010/02/14 22:06:27 UTC

[jira] Resolved: (TS-124) Solaris compile requires -D_POSIX_PTHREAD_SEMANTICS

     [ https://issues.apache.org/jira/browse/TS-124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Paul resolved TS-124.
----------------------------

    Resolution: Fixed

> Solaris compile requires -D_POSIX_PTHREAD_SEMANTICS
> ---------------------------------------------------
>
>                 Key: TS-124
>                 URL: https://issues.apache.org/jira/browse/TS-124
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>         Environment: Solaris with SunStudio
>            Reporter: Nick Kew
>            Assignee: George Paul
>            Priority: Critical
>             Fix For: 2.1.0
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.