You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Igor Galić (JIRA)" <ji...@apache.org> on 2013/02/04 15:46:12 UTC

[jira] [Commented] (TS-1689) Wccp doesn't compile on OmniOS/gcc-4.7

    [ https://issues.apache.org/jira/browse/TS-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13570299#comment-13570299 ] 

Igor Galić commented on TS-1689:
--------------------------------

The first part is missing a {{BSD_COMP}} define, since solaris considers {{SIOCGIFCONF}} obsolete and only declares it when BSD compatibility is wished for.

The second part is, similar to TS-1688 missing a {{string.h}} include.
                
> Wccp doesn't compile on OmniOS/gcc-4.7
> --------------------------------------
>
>                 Key: TS-1689
>                 URL: https://issues.apache.org/jira/browse/TS-1689
>             Project: Traffic Server
>          Issue Type: Bug
>            Reporter: Igor Galić
>
> {noformat}
>   CXX      WccpStatic.o
> WccpStatic.cc: In function ‘uint32_t wccp::Get_Local_Address(int)’:
> WccpStatic.cc:62:21: error: ‘SIOCGIFCONF’ was not declared in this scope
> WccpStatic.cc: In function ‘ts::Errata wccp::log_errno(ts::Errata::Code, const char*)’:
> WccpStatic.cc:150:78: error: ‘strerror_r’ was not declared in this scope
> WccpStatic.cc: In function ‘ts::Errata wccp::vlogf_errno(ts::Errata::Code, const char*, __va_list_tag (&)[1])’:
> WccpStatic.cc:165:35: error: ‘strerror_r’ was not declared in this scope
> WccpStatic.cc: In function ‘ts::Errata wccp::log_errno(ts::Errata::Code, const char*)’:
> WccpStatic.cc:151:1: error: control reaches end of non-void function [-Werror=return-type]
> cc1plus: all warnings being treated as errors
> gmake: *** [WccpStatic.o] 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