[asterisk-bugs] [JIRA] Closed: (ASTERISK-20366) Build errors on OpenSolaris

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Oct 8 08:04:28 CDT 2012


     [ https://issues.asterisk.org/jira/browse/ASTERISK-20366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan closed ASTERISK-20366.
----------------------------------

    Resolution: Fixed

> Build errors on OpenSolaris
> ---------------------------
>
>                 Key: ASTERISK-20366
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20366
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_rtp_asterisk
>    Affects Versions: 11.0.0-beta1
>         Environment: OpenSolaris
>            Reporter: Ben Klang
>         Attachments: 0001-RFC-pjproject-Fix-for-Solaris-builds.-Do-not-undef-s.patch, 0002-main-acl.c-Trivial.-best_score-should-be-defined-for.patch
>
>
> While building Asterisk 11 on OpenSolaris I get this error:
> {noformat}
>    [CC] res_rtp_asterisk.c -> res_rtp_asterisk.o
> In file included from /export/home/admin/asterisk-11-svn/include/asterisk/stun.h:29,
>                  from res_rtp_asterisk.c:51:
> /export/home/admin/asterisk-11-svn/include/asterisk/network.h: In function `inaddrcmp':
> /export/home/admin/asterisk-11-svn/include/asterisk/network.h:92: error: structure has no member named `s_addr'
> /export/home/admin/asterisk-11-svn/include/asterisk/network.h:92: error: structure has no member named `s_addr'
> res_rtp_asterisk.c: In function `ast_rtp_on_ice_tx_pkt':
> res_rtp_asterisk.c:706: warning: dereferencing type-punned pointer will break strict-aliasing rules
> res_rtp_asterisk.c:710: warning: dereferencing type-punned pointer will break strict-aliasing rules
> res_rtp_asterisk.c: In function `rtp_add_candidates_to_ice':
> res_rtp_asterisk.c:1085: error: structure has no member named `s_addr'
> make[2]: *** [res_rtp_asterisk.o] Error 1
> make[1]: *** [res] Error 2
> make[1]: Leaving directory `/export/home/admin/asterisk-11-svn'
> gmake: *** [_cleantest_all] Error 2
> {noformat}
> I'm marking as a regression because Asterisk 10 builds and runs fine on this platform.  Please correct me if this should not be a regression.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list