You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Daniel Gruno (JIRA)" <ji...@apache.org> on 2013/04/28 13:12:16 UTC
[jira] [Assigned] (TS-1858) Redefinition of timersub on OmniOS with
the ESI plugin
[ https://issues.apache.org/jira/browse/TS-1858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Gruno reassigned TS-1858:
--------------------------------
Assignee: Daniel Gruno
> Redefinition of timersub on OmniOS with the ESI plugin
> ------------------------------------------------------
>
> Key: TS-1858
> URL: https://issues.apache.org/jira/browse/TS-1858
> Project: Traffic Server
> Issue Type: Bug
> Components: Plugins
> Reporter: Daniel Gruno
> Assignee: Daniel Gruno
>
> On OmniOS, timersub is already defined in sys/time.h, but we seem to think it's not, since it's a Solaris derived system, and thus we get:
> Making all in esi
> gmake[3]: Entering directory `/var/jenkins/workspace/master_omnios_x64/plugins/experimental/esi'
> CXX DocNode.lo
> CXX EsiParser.lo
> CXX EsiGzip.lo
> CXX EsiProcessor.lo
> In file included from lib/EsiProcessor.cc:26:0:
> lib/FailureInfo.h:31:0: error: "timersub" redefined [-Werror]
> /usr/include/sys/time.h:169:0: note: this is the location of the previous definition
> cc1plus: all warnings being treated as errors
> gmake[3]: *** [EsiProcessor.lo] Error 1
> This should be fixed by checking for the existence of the definition before (re)defining it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira