[
https://issues.apache.org/jira/browse/TS-1726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Igor Galić updated TS-1726:
---------------------------
Attachment: esi.patch
This needs review. It's pretty ugly. And the {{timesub()}} is Solaris10 only.
It works out fine on OmniOS, so we should probably handle it in autoconf, maybe…
> ESI plugin fails compiling on Solaris
> -------------------------------------
>
> Key: TS-1726
> URL: https://issues.apache.org/jira/browse/TS-1726
> Project: Traffic Server
> Issue Type: Bug
> Components: Plugins
> Reporter: Igor Galić
> Attachments: esi.patch
>
>
> {noformat}
> gmake[3]: Leaving directory
> `/export/home/buildbot/slave5/tserver-solaris-trunk/build/plugins/experimental/lua'
> Making all in esi
> gmake[3]: Entering directory
> `/export/home/buildbot/slave5/tserver-solaris-trunk/build/plugins/experimental/esi'
> /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
> -I. -I../../../lib/ts -I/opt/csw/include -D_LARGEFILE64_SOURCE=1
> -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT -Dsolaris
> -I/opt/cswinclude -I./lib -I./fetcher -I./test -I../../../proxy/api
> -I../../../proxy/api -Wno-deprecated -m64 -std=c++11 -g -pipe -Wall -Werror
> -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing
> -Wno-invalid-offsetof -MT FailureInfo.lo -MD -MP -MF .deps/FailureInfo.Tpo -c
> -o FailureInfo.lo `test -f 'lib/FailureInfo.cc' || echo
> './'`lib/FailureInfo.cc
> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../lib/ts
> -I/opt/csw/include -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1
> -D_GNU_SOURCE -D_REENTRANT -Dsolaris -I/opt/cswinclude -I./lib -I./fetcher
> -I./test -I../../../proxy/api -I../../../proxy/api -Wno-deprecated -m64
> -std=c++11 -g -pipe -Wall -Werror -O3 -feliminate-unused-debug-symbols
> -fno-strict-aliasing -Wno-invalid-offsetof -MT FailureInfo.lo -MD -MP -MF
> .deps/FailureInfo.Tpo -c lib/FailureInfo.cc -fPIC -DPIC -o
> .libs/FailureInfo.o
> lib/FailureInfo.cc: In member function 'void
> FailureInfo::registerSuccFail(bool)':
> lib/FailureInfo.cc:34:39: error: 'timersub' was not declared in this scope
> gmake[3]: *** [FailureInfo.lo] Error 1
> gmake[3]: Leaving directory
> `/export/home/buildbot/slave5/tserver-solaris-trunk/build/plugins/experimental/esi'
> gmake[2]: *** [all-recursive] Error 1
> {noformat}
--
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