[
https://issues.apache.org/jira/browse/TS-3548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phil Sorber updated TS-3548:
----------------------------
Fix Version/s: 5.3.0
> psiginfo differs on illumos vs. Linux
> -------------------------------------
>
> Key: TS-3548
> URL: https://issues.apache.org/jira/browse/TS-3548
> Project: Traffic Server
> Issue Type: Bug
> Components: Core
> Reporter: Eric Sproul
> Assignee: James Peach
> Fix For: 5.3.0, 6.0.0
>
>
> The arguments to psiginfo() are different on illumos platforms such as
> OmniOS. This results in a build error:
> {noformat}
> CXXLD CompileParseRules
> ./CompileParseRules
> CXX ParseRules.lo
> CCLD mkdfa
> signals.cc: In function 'void signal_format_siginfo(int, siginfo_t*, const
> char*)':
> signals.cc:162:21: error: invalid conversion from 'const char*' to 'char*'
> [-fpermissive]
> psiginfo(info, msg);
> ^
> In file included from ink_platform.h:104:0,
> from libts.h:45,
> from signals.cc:29:
> /usr/include/siginfo.h:53:13: error: initializing argument 2 of 'void
> psiginfo(siginfo_t*, char*)' [-fpermissive]
> extern void psiginfo(siginfo_t *, char *);
> ^
> gmake[3]: *** [signals.lo] Error 1
> {noformat}
> This happens with 5.2.1 as well as 5.3.0-rc2.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)