[ https://issues.apache.org/jira/browse/TS-1858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Gruno resolved TS-1858. ------------------------------ Resolution: Fixed fix works~ > 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