[asterisk-bugs] [JIRA] (ASTERISK-24458) chan_phone fails to build on big endian systems

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Dec 8 11:28:34 CST 2014


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

Matt Jordan updated ASTERISK-24458:
-----------------------------------

    Target Release Version/s: 13.1.0

> chan_phone fails to build on big endian systems
> -----------------------------------------------
>
>                 Key: ASTERISK-24458
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24458
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_phone
>    Affects Versions: 13.0.0-beta3
>            Reporter: Tzafrir Cohen
>            Assignee: Matt Jordan
>            Severity: Critical
>      Target Release: 13.1.0
>
>
> See build log in https://buildd.debian.org/status/fetch.php?pkg=asterisk&arch=powerpc&ver=1%3A13.0.0~dfsg-1&stamp=1414362167
> Short version:
>     if (frame->subclass.format.id == AST_FORMAT_SLINEAR)
>                                      ^
> chan_phone.c:830:37: note: each undeclared identifier is reported only once for each function it appears in
> make[3]: *** [chan_phone.o] Error 1
> Same happens on powerpc, sparc and s390x.
> Code in question:
> #if __BYTE_ORDER == __BIG_ENDIAN
>                         if (frame->subclass.format.id == AST_FORMAT_SLINEAR)
>                                 swap = 1; /* Swap big-endian samples to little-endian as we copy */
> #endif



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list